cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
266
Views
0
Helpful
2
Replies

Assuring all Switch ports and VLANS are SPANed

gregory.dotoli
Level 1
Level 1

I have the configs for many of the switches below. I need to assure each VLAN and port is being copied (Spanned) to a destination port for an IDS.

What is the best method to identify ports that are not spanned? Since I have all the configs, I'd like to script this using regex. Does anyone have any ideas?

Model

3560

4006

WS-C2924-XL-EN (C2900XL series)

WS-C2948

WS-C3550-48-SMI (C3550 series)

WS-C4006

WS-C4503

2 Replies 2

Pavel Bykov
Level 5
Level 5

If you want to SPAN for VOICE, i'd suggest you just span voice vlan, and nothing else. Also, 7 switches is not that many for the script. You'd spend more time writing a script than applying commands.

Nevertheless, normally "show vlan" and "show interface status" or "show port status" displays the values which you can then plug into the script.

sourabhagarwal
Level 4
Level 4

"show monitor" command will show what is the span session running on each device and what is the Rx and Tx port configured for that particular span session.

Review Cisco Networking products for a $25 gift card