
Configuring the Cisco Gigabit EtherSwitch EHWIC
How to Configure Gigabit EtherSwitch EHWICs
39
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
Note Tx, Rx, or both Tx and Rx monitoring is supported.
• Configuring the SPAN Sources, page 39
• Configuring SPAN Destinations, page 39
• Verifying the SPAN Session, page 39
• Removing Sources or Destinations from a SPAN Session, page 39
Configuring the SPAN Sources
To configure the source for a SPAN session, use the monitor session session source {interface type
0/slot/port | vlan vlan_ID [, | - | rx | tx | both]} command in global configuration mode. This command
specifies the SPAN session, the source interfaces or VLANs, and the traffic direction to be monitored.
Router(config)#monitor session 1 source interface gigabitethernet 0/1/0
Configuring SPAN Destinations
To configure the destination for a SPAN session, use the monitor session session destination {interface
type 0/slot/port | vlan vlan_ID [, | - | rx | tx | both]} command in global configuration mode.
Router(config)#monitor session 1 destination interface gigabitethernet 0/1/1
Verifying the SPAN Session
Use the show monitor session command to verify the sources and destinations configured for the SPAN
session.
Router#show monitor session 1
Session 1
---------
Source Ports:
RX Only: None
TX Only: None
Both: Gi0/1/0
Source VLANs:
RX Only: None
TX Only: None
Both: None
Destination Ports: Gi0/1/1
Filter VLANs: None
Removing Sources or Destinations from a SPAN Session
To remove sources or destinations from the SPAN session, use the no monitor session session command
in global configuration mode as shown in the following example:
Router(config)#no monitor session 1
Kommentare zu diesen Handbüchern