show hostname

Syntax

show hostname [vsx-peer]

Description

Shows the current host name.

Command context

Manager (#)

Parameters

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Administrators

Example

Setting and showing the host name:

switch# show hostname
switch
switch# configure terminal
switch(config)# hostname myswitch
myswitch(config)# do show hostname
myswitch