05-17-2017 05:11 AM - edited 03-08-2019 10:36 AM
Hi everyone,
As I'm a bit new at configuring switches, I now have a task to perform quickly on several switches we have in the company.
Here's what I do:
sh int status | i ( 20 )
I need to setup all ports that belongs to a VLAN (VLAN ID 20 here) but doing ranges can be a source of error in my case.
Is there a fastest way to do that?
Equipement used is Catalyst 3560 PoE-48
Thanks in advance.
05-17-2017 05:27 AM
You could prepare the config changes "offline" (in a text file for example - either by hand or by some scripting based on that port list) and double-check it before copy-pasting the commands in a telnet or console session...
05-17-2017 05:41 AM
Thanks Iulian for your input.
So if I understand well, there's nothing I can do with CLI's 'but just to apply your suggestion?
05-17-2017 05:49 AM
No easy way that I'm aware of - it may be possible to write a TCL script (and run it on the switch using tclsh) to do it, but I have absolutely no experience with that...
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