Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual page 327

Software guide
Table of Contents

Advertisement

Chapter 25
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) sh span
78-12647-02
: 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
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Configuring SPAN
25-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents