Specifications
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
96
Enabling Switch Port Analyzer
You can monitor traffic on a given port by forwarding incoming and outgoing traffic on the port to
another port in the same VLAN. A Switch Port Analyzer (SPAN) port cannot monitor ports in a different
VLAN, and a SPAN port must be a static-access port. Any number of ports can be defined as SPAN ports,
and any combination of ports can be monitored. SPAN is supported for up to 2 sessions.
Follow the steps below to enable SPAN.
SUMMARY STEPS
1. enable
2. configure terminal
3. monitor session session-id {destination | source} {interface | vlan interface-id | vlan-id}} [, | - |
both | tx | rx]
4. end
DETAILED STEPS
Disabling SPAN
Follow these steps to disable SPAN.
SUMMARY STEPS
1. enable
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-id {destination | source}
{interface | vlan interface-id | vlan-id}}
[, | - |
both | tx | rx]
Example:
Router(config)# monitor session session-id
{
destination | source} {interface | vlan
interface-id | vlan-id}}
[, | - | both | tx | rx]
Enables port monitoring for a specific session (“number”).
• Optionally, supply a SPAN destination interface and a
source interface.
Step 4
end
Example:
Router(config)# end
Returns to privileged EXEC mode.