Cisco WS-C2950SX-48-SI Configuration Manual page 397

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Chapter 26
Configuring SPAN and RSPAN
This example shows how to set VLAN 522 as the SPAN source and port 2/12 as the SPAN destination.
Only transmit traffic is monitored. Normal incoming packets on the SPAN destination port are allowed.
Console> (enable) set span 522 2/12 tx inpkts enable
Overwrote Port 2/12 to monitor transmit/receive traffic of VLAN 522
Incoming Packets enabled. Learning enabled.
Console> (enable) show span
Destination
Admin Source
Oper Source
Direction
Incoming Packets: enabled
Filter
Status
----------------------------------------------
Total local span sessions:
Console> (enable)
This example shows how to set multiple SPAN sessions using the following configurations:
Port 3/1 as the SPAN source and port 2/3 as the SPAN destination
Port 3/2 as the SPAN source and port 2/5 as the SPAN destination
Console> (enable) set span 3/1 2/3
Overwrote Port 2/3 to monitor transmit/receive traffic of Port 3/1
Incoming Packets disabled. Learning enabled.
Console> (enable) set span 3/2 2/5 tx create
Created Port 2/5 to monitor transmit traffic of Port 3/2
Incoming Packets disabled. Learning enabled.
Console> (enable) show span
Destination
Admin Source
Oper Source
Direction
Incoming Packets: disabled
Learning
Filter
Status
--------------------------------------------
Destination
Admin Source
Oper Source
Direction
Incoming Packets: disabled
Learning
Filter
Status
--------------------------------------------
Total local span sessions:
Console> (enable)
This example shows how to configure SPAN so that both transmit and receive traffic from the trunking
port 3/4 (the SPAN source) are mirrored on port 3/5 (the SPAN destination) and both VLANs 50 and 850
are filtered:
Console> (enable) set span 3/4 3/5 both filter 50,850
Overwrote Port 3/5 to monitor transmit/receive traffic of Port 3/4
Incoming Packets disabled. Learning enabled.
Console> (enable) show span
Destination
78-15486-01
: Port 2/12
: VLAN 522
: Port 2/1-2
: transmit
: -
: active
1
: Port 2/3
: Port 3/1
: None
: transmit/receive
: enabled
: -
: inactive
: Port 2/5
: Port 3/2
: None
: transmit
: enabled
: -
: inactive
2
: Port 3/5
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Configuring SPAN
Release 8.1
26-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents