switch-local

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.

Syntax   switch-local

Defaults   None.

Access   CLI

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

See Also   

switch

switch-config-export

switch-config-import

switch-config-copy-to-export

switch-config-copy-to-import

switch-info-show

switch-reboot

switch-setup-modify

switch-setup-show