This command is used to execute CLI commands on the local switch. In some network topologies, complex names may be assigned to switches. switch-local executes commands on a local switch without specifying the switch name.
History Command introduced in nvOS Version 2.2.6.
Usage Use this command to execute commands on a local switch. Once you enter a specific CLI command, you can revert to the scope local.
Examples To execute a command on a local switch, use the following example:
CLI network-admin@switch > switch-local port-config
To execute commands on the fabric, enter a command without switch-local specified in the command line.
CLI network-admin@switch > vlan-modify