Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Assuring all Switch ports and VLANS are SPANed

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
Silver

Re: Assuring all Switch ports and VLANS are SPANed

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.

Re: Assuring all Switch ports and VLANS are SPANed

"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.

109
Views
0
Helpful
2
Replies