Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using ethereal with a SPAN port 2

Status
Not open for further replies.

john99999

Instructor
Apr 29, 2005
73
0
0
US
Yes, but make sure you are spanning (monitoring) the relevent ports. The 2950 can only do port monitoring and not VLAN monitoring so if all your ports are in the same VLAN you should be OK.

switch#conf t
switch#(config)monitor session 1 source interface fastethernet0/1 - 23 both
switch#(config)monitor session 1 destination interface fastethernet0/24


This will monitor ports 1-23 and push it out of port 24.

Andy
 
How do I disable this:
switch.urdomain.net>show monitor session 1
Session 1
---------
Type : Local Session
Source Ports:
RX Only: None
TX Only: None
Both: Fa0/1-23
Source VLANs:
RX Only: None
TX Only: None
Both: None
Source RSPAN VLAN: None
Destination Ports: Fa0/24
Encapsulation: Native
Reflector Port: None
Filter VLANs: None
Dest RSPAN VLAN: None
 
no mon ses 1
^

I tried that but got "error with input command at marker ^"
 
You have to do it from configuration - i.e. 'conf t' and enter it as you would a global config change:

switch#conf t <CR>
switch(config)#no monitor session all <CR>
switch(config)#exit <CR>

Andy

 
Thanks!

conf t
is the same as
conf terminal
right?
 
Yes - it should actually be 'configure terminal' but the abreviation will work - hit the ? key and see the options.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top