Switch

switch

This command is used to login remotely to another switch in the fabric.

Syntax   switch switch-name name-string id switch-id command

switch-name name-string

Specify the name of the switch in the fabric.

id switch-id

Specify the identifier of the switch.

command

Specify the command and arguments to execute on the remote switch.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   The Command Line Interface (CLI) can be used to login remotely from any switch to another switch in the in fabric. Use this command to remotely log into another server-switch and execute commands on it.

Examples  To log into switch-ops from switch-eng, use the following command:

CLI (network-admin@switch-eng)> switch name switch-ops

To log into switch-ops and execute the command node-info, use the following command:

CLI (network-admin@switch-eng) > switch name switch-ops node-info

Name:                    switch-ops

fab-name:                pn-fab

mgmt-ip:                 10.10.10.7/16

mgmt-vlan:               0

out-port:                0

version:                 1.2.2633,pn-nvos-b144a-kvm

state:                   enabled

ports:                   72

See Also   

switch-config-export

switch-config-import

switch-config-show

switch-config-copy-to-export

switch-config-copy-to-import

switch-info-show

switch-reboot

switch-setup-modify

switch-setup-show

switch-status-show