01-08-2007 07:08 AM - edited 03-05-2019 01:39 PM
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
01-08-2007 07:52 AM
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.
01-08-2007 07:56 AM
"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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide