Cisco Cisco IOS Software Release 12.4(15)T

Page de 54
 
Extended VLAN ID
  monitor session
14
Cisco IOS Release 12.4(15)T
monitor session
Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
To start a new Switched Port Analyzer (SPAN) session, add or delete interfaces from an existing SPAN 
session, or delete a SPAN session, use the monitor session command in global configuration mode. To 
remove one or more source interfaces or destination interfaces from the SPAN session, use the no form 
of this command.
Source Interface
monitor session session source interface type/slot/port [, | - | rx | tx | both]
no monitor session session source interface type/slot/port [, | - | rx | tx | both]
Destination Interface
monitor session session destination interface type/slot/port [, | -]
no monitor session session destination interface type/slot/port [, | -]
Session
monitor session session 
no monitor session session
Cisco 6500/6000 Catalyst Switches and Cisco 7600 Series Routers
To start a new ERSPAN, SPAN, or RSPAN session, add or delete interfaces or VLANs to or from an 
existing session, filter ERSPAN, SPAN, or RSPAN traffic to specific VLANs, or delete a session, use the 
monitor session command in global configuration mode. To remove one or more source or destination 
interfaces from the session, remove a source VLAN from the session, or delete a session, use the no form 
of this command.
Setting the Source Interface or VLAN
monitor session session source {interface type | vlan vlan-id [rx tx | both] | 
remote vlan rspan-vlan-id}
no monitor session session source {interface type | vlan vlan-id [rx tx | both] | remote vlan 
rspan-vlan-id}
Setting the Destination Interface or VLAN
monitor session session destination {interface type | vlan vlan-id | remote vlan vlan-id | 
analysis-module slot-number | {data-port port-number}
no monitor session session destination {interface type | vlan vlan-id | remote vlan vlan-id | 
analysis-module slot-number | data-port port-number}
Setting the Filter VLAN
monitor session session-number filter vlan vlan-range
no monitor session session-number filter vlan vlan-range