Cisco WS-C2948G-GE-TX Configuration Manual page 399

Catalyst 4500 series switch
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 by entering 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
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-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
Configuring SPAN
26-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents