The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Hot Standby Router Protocol (HSRP) show commands.
To display Hot Standby Router Protocol (HSRP) information for each HSRP group, use the show hsrp command.
show hsrp [ interface { ethernet slot / port | port-channel number | vlan vlan-id }] [ group group-number ] [ active | init | listen | standby ] [ all ] [ brief ] [ detail ] [ ipv4 ]
|
|
---|---|
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.
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:
|
|
---|---|
To display the Hot Standby Router Protocol (HSRP) group delay information, use the show hsrp delay command.
show hsrp delay [ interface { ethernet slot / port | port-channel number [. sub_if_number ] | vlan vlan_id }] [ group group-number ] [ all ] [ brief ]
|
|
---|---|
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.
This example shows how to display HSRP delay information:
|
|
---|---|
To display Hot Standby Router Protocol (HSRP) summary information for each HSRP group, use the show hsrp summary command.
|
|
---|---|
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.
This example shows how to display a summary of HSRP information:
|
|
---|---|