Show Commands
This chapter describes the Cisco NX-OS Hot Standby Router Protocol (HSRP) show commands.
show hsrp
To display Hot Standby Router Protocol (HSRP) information for each HSRP group, use the show hsrp command.
show hsrp [ interface { ethernet slot /[ QSFP-module /] port | port-channel number | vlan vlan-id }] [ group group-number ] [ active | init | listen | standby ] [ all ] [ brief ] [ detail ] [ ipv4 ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show hsrp command to display information about HSRP groups. The brief keyword displays a single line of information about each virtual gateway or virtual forwarder.
If you have not configured authentication, the show hsrp command will display the following string:
This is the default behavior of HSRP as defined in RFC 2281 :
This command does not require a license.
Note Make sure the LAN Base Services license is installed on the switch to enable Layer 3 interfaces.
Examples
This example shows how to display the default information about HSRP:
Note The authentication text string in the preceding example indicates that authentication has not been configured on the interface.
This example shows how to display a brief summary of HSRP information:
Related Commands
|
|
---|---|
show hsrp delay
To display the Hot Standby Router Protocol (HSRP) group delay information, use the show hsrp delay command.
show hsrp delay [ interface { ethernet slot /[ QSFP-module /] port | port-channel number [. sub_if_number ] | vlan vlan_id }] [ group group-number ] [ all ] [ brief ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command does not require a license.
Note Make sure the LAN Base Services license is installed on the switch to enable Layer 3 interfaces.
Examples
This example shows how to display HSRP delay information:
Related Commands
|
|
---|---|
show hsrp summary
To display Hot Standby Router Protocol (HSRP) summary information for each HSRP group, use the show hsrp summary command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command does not require a license.
Note Make sure the LAN Base Services license is installed on the switch to enable Layer 3 interfaces.
Examples
This example shows how to display a summary of HSRP information:
Related Commands
|
|
---|---|