Cisco WS-C4003 Software Guide - Page 326
Configuring SPAN
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 326 highlights
Configuring SPAN Chapter 25 Configuring SPAN and RSPAN Configuring SPAN To configure SPAN, perform this task in privileged mode: Step 1 Step 2 Task Command Configure a SPAN source and a SPAN destination port. set span {src_mod/src_ports | src_vlan} dest_mod/dest_port [rx | tx | both] [filter vlan] [inpkts {enable | disable}] [learning {enable | disable}] [create] Verify the SPAN configuration. show span Caution If the SPAN destination port is connected to another device and reception of incoming packets is enabled (using the inpkts enable keywords), the SPAN destination port receives traffic for the VLAN that the SPAN destination port belongs to. However, the SPAN destination port does not participate in spanning tree for that VLAN, so avoid creating network loops with the SPAN destination port. This example shows how to configure SPAN so that both the transmit and receive traffic from port 2/4 (the SPAN source) is mirrored on port 3/6 (the SPAN destination): Console> (enable) set span 2/4 3/6 Overwrote Port 3/6 to monitor transmit/receive traffic of Port 2/4 Incoming Packets disabled. Learning enabled. Console> (enable) show span Destination : Port 3/6 Admin Source : Port 2/4 Oper Source : None Direction : transmit/receive Incoming Packets: disabled Learning : enabled Filter : - Status : active Total local span sessions: 1 Console> (enable) This example shows how to set VLAN 522 as the SPAN source and port 2/1 as the SPAN destination: Console> (enable) set span 522 2/1 Overwrote Port 2/1 to monitor transmit/receive traffic of VLAN 522 Incoming Packets disabled. Learning enabled. Console> (enable) show span Destination : Port 2/1 Admin Source : VLAN 522 Oper Source : Port 2/1-2 Direction : transmit/receive Incoming Packets: disabled Learning : enabled Filter : - Status : active Total local span sessions: 1 Console> (enable) 25-6 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 78-12647-02