Skip to content
Cisco NXOS Shell with modified commands
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Ext_Cisco_NXOS_Shell_Package
Ext_Cisco_NXOS_Shell_Package.zip
README.md

README.md

Extended-Cisco-NXOS-Shell

Cisco NXOS Shell extended to also configure VLANs on Cisco NXOS ports and port channels. The modified VLAN commands reside in the Resource Drivers - Python folder, in the cisco_nxos_ext.py and cisco_nxos_ext.py files.

If you'd like to see how this shell works, import the Ext_Cisco_NXOS_Shell_Package.zip into CloudShell.

Specific modifications

Implemented the following capabilities for the cisco_nxos_ext.py file:

  • AddVlanFlow

  • RemoveVlanFlow

Modified the ConfigCommandMode init commands (in the cisco_nxos_resource_driver.py file) to support the configuration of the VLANs:

ConfigCommandMode.ENTER_COMMAND = "conf sync"

ConfigCommandMode.ENTER_ACTION_COMMANDS = ["switch-profile configure-fex"]

ConfigCommandMode.EXIT_COMMAND = "end"

Overrode ConnectivityRunner to execute the modified AddVlanFlow and RemoveVlanFlow commands

You can’t perform that action at this time.