Cisco Systems A9014CFD Router User Manual


 
43-5
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 43 Configuring Switched Port Analyzer
Configuring SPAN
4. source {interface interface_type slot/port} | {vlan vlan_ID} | {service instance id interface_type
slot/port} [, | - | rx | tx | both]
5. destination {interface interface_type slot/port}
6. no shutdown
DETAILED STEPS
Removing Sources or Destination from a SPAN Session
To remove sources or destination from a SPAN session, use the following commands beginning in
executive mode:
Command Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
monitor session {
session_number
}
type local
Example:
Router(config)# monitor session 1 type local
Specifies the SPAN session number.
Step 4
source
{interface
interface_type
slot/port
}
|
{vlan
vlan_ID
}
| {service instance
id
interface_type
slot/port
} [, | - | rx
| tx
|
both]
Example:
Router(config-mon-local)# source interface
gigabitethernet 0/8
Specifies the source interfaces, VLANs, or service
instances, and the traffic direction to be monitored.
Step 5
{destination
{interface
interface_type
slot/port
}
Example:
Router(config-mon-local)# destination interface
gigabitethernet 0/11
Specifies the destination interface.
Step 6
no shutdown
Example:
Router(config-mon-local)# no shutdown
Enables the SPAN session using the no shutdown
command.