04-25-2018 08:16 AM - edited 03-01-2019 06:33 PM
Good Morning All,
we doing IP address and VLAN change project in my organization. just looking to automate this process so I don't have to go into each interface and change access/voice VLAN id manually.
for example.
if multiple interfaces are in VLAN 50 as access and 60 voice (old). The script will identify those interfaces on given switch and change them from VLAN access50/voice60 to new VLAN access70/voice80. if no voice VLAN configured on interface script skip the voice VLAN assignment step.
we mainly using Cisco 2960 S and 3850 switches in our network.
I never did any automation before so I am totally new to this.
Thanks
Sukhdeep Grewal
04-26-2018 08:12 AM
Take a look at a similiar post here: https://supportforums.cisco.com/t5/eem-scripting/eem-tcl-script-for-changing-vlan-on-ports-on-link-down-reboot/m-p/2596673#M3675
04-27-2018 01:24 PM - edited 04-27-2018 01:24 PM
Hello Daniel,
First of all thanks for your reply and link.
I did look at this post before but not sure about that reboot part.
and second, I don't think it will fulfill my one need where if port not in voice VLAN then script skip assigning voice VLAN to this port...
Best Regards
Sukhdeep
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