PurposeCommand or Action
Specifies the RSPAN session number, the source interfaces and the
traffic direction to be removed.
no {source | destination} {single_interface
slot/subslot/port | single_vlan} [ , | - both | rx |
tx]
Step 4
• source—Enters source interfaces.
Example:
Router(config-mon-rspan-src)# no source
interface gigabitethernet 0/0/1 tx
• slot/subslot/port—The location of the interface.
• single_interface—Specifies the Gigabit Ethernet or Ten Gigabit
Ethernet interface.
• single_vlan—Specifices the Vlan.
• both—(Optional) Monitors the received and the transmitted
traffic.
• rx—(Optional) Monitors the received traffic only.
• tx—(Optional) Monitors the transmitted traffic only.
Exits configuration mode.end
Example:
Router(config-mon-rspan-src)# end
Step 5
Sample Configurations
The following sections contain configuration example for SPAN and RSPAN on the router.
Configuration Example: Local SPAN
The following example shows how to configure local SPAN session 8 to monitor bidirectional traffic from
source interface Gigabit Ethernet interface 0/2/1:
Router(config)# monitor session 8 type local
Router(config)# source interface gigabitethernet 0/2/1
Configuration Example: Removing Sources or Destinations from a Local SPAN
Session
This following example shows how to remove a local SPAN session:
Router(config)# no monitor session 8
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
395
Configuring Switched Port Analyzer
Sample Configurations