Skip to content

A simple script designed to change the VLAN configuration of access ports on Cisco switches running IOS.

Notifications You must be signed in to change notification settings

pablopenton/cisco_switchport_config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cisco Switchport Config

This script is designed to identify switch ports with a certain configuration and change them as desired for switches running IOS.

For example, the current version of this script imagines a scenario where the VLANs for switch ports needs to be changed from their current VLAN to a new one.

Ordinarily, this would be a tedious, time-consuming process that’s prone to unpredictable human error. This script aims to eliminate that by allowing engineers at any level of experience to assist with automation by removing the logical, programmatic layer and just letting them update a simple data file.

script

This script can loop over multiple switches, switch stacks, and even multiple IDFs.

Before

Before

After

After

This script can also be modified to audit other switch port configurations, like ensuring access ports have “spanning-tree bpduguard enable” or even to check whether ACLs are applied for SSH access to the devices.

A more technical explanation can be found in the documentation.

About

A simple script designed to change the VLAN configuration of access ports on Cisco switches running IOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages