01-23-2023 07:30 AM - last edited on 01-23-2023 10:00 PM by Translator
Hello.
I'm trying to enumerate a network path...
SERVER1-(172.16.1.77/24) ==> (Nexus9K= 172.16.1.5/24= vlan333= 01234.5678.9abc) ==> ??
Now, the
SSH interface on this Nexus9k is 172.16.2.1, MAC= 0000.0c07.ac00
By definition, 0000.0c07.ac00 is a HSRP virtual MAC address.
-----
SWITCH9K# sh run | inc standby
(! nothing !)
SWITCH9K# sh standby
% Invalid command at '^' marker.
-----
Questions:
1. Why can't I see a HSRP config here?
2. What is going on here?
Thank you.
Solved! Go to Solution.
01-23-2023 07:44 AM - last edited on 01-23-2023 09:08 PM by Translator
Hello!
Nexus 9000 series switches run the
NX-OS
network operating system, not the
IOS or IOS-XE
network operating system. The commands used to validate HSRP configuration and operational status are different on
NX-OS
compared to
IOS/IOS-XE
To review HSRP configuration on the switch, use the
show running-config hsrp
command. To validate HSRP operational status, use the
show hsrp
series of commands. The
NX-OS
command line's context-sensitive help will aid you in finding more specific commands in the
show hsrp
tree that can narrow down your troubleshooting.
I hope this helps - thank you!
-Christopher
01-23-2023 07:47 AM - last edited on 01-23-2023 09:13 PM by Translator
Hi there,
show standby
CLI is IOS XE CLI. You mentioned you are using a Nexus 9000 so you would need to use
show hsrp
instead. Example:
N7700-1-WAN# show hsrp brief
*:IPv6 group #:group belongs to a bundle
P indicates configured to preempt.
|
Interface Grp Prio P State Active addr Standby addr Group addr
Vlan22 22 200 P Active local 10.226.22.3 10.226.22.1 (conf)
Vlan102 102 200 P Active local 10.226.102.3 10.226.102.1 (conf)
Vlan103 103 200 P Active local 10.226.103.3 10.226.103.1 (conf)
Vlan104 104 200 P Active local 10.226.104.3 10.226.104.1 (conf)
Vlan218 218 200 P Active local 10.226.10.3 10.226.10.1 (conf)
Vlan219 219 200 P Active local 10.226.21.3 10.226.21.1 (conf)
N7700-1-WAN# show hsrp | inc 0c9f|Vlan|IP
Vlan22 - Group 22 (HSRP-V2) (IPv4)
Virtual IP address is 10.226.22.1 (Cfged)
Virtual mac address is 0000.0c9f.f016 (Default MAC)
IP redundancy name is hsrp-Vlan22-22 (default)
Vlan102 - Group 102 (HSRP-V2) (IPv4)
Virtual IP address is 10.226.102.1 (Cfged)
Virtual mac address is 0000.0c9f.f066 (Default MAC)
N7700-1-WAN# show run hsrp
!Command: show running-config hsrp
!Running configuration last done at: Wed Jan 18 14:22:22 2023
!Time: Mon Jan 23 10:46:35 2023
version 8.4(5)
feature hsrp
interface Vlan22
hsrp version 2
hsrp 22
preempt
priority 200
ip 10.226.22.1
<snip>
Hope that helps.
01-23-2023 07:44 AM - last edited on 01-23-2023 09:08 PM by Translator
Hello!
Nexus 9000 series switches run the
NX-OS
network operating system, not the
IOS or IOS-XE
network operating system. The commands used to validate HSRP configuration and operational status are different on
NX-OS
compared to
IOS/IOS-XE
To review HSRP configuration on the switch, use the
show running-config hsrp
command. To validate HSRP operational status, use the
show hsrp
series of commands. The
NX-OS
command line's context-sensitive help will aid you in finding more specific commands in the
show hsrp
tree that can narrow down your troubleshooting.
I hope this helps - thank you!
-Christopher
01-23-2023 07:47 AM - last edited on 01-23-2023 09:13 PM by Translator
Hi there,
show standby
CLI is IOS XE CLI. You mentioned you are using a Nexus 9000 so you would need to use
show hsrp
instead. Example:
N7700-1-WAN# show hsrp brief
*:IPv6 group #:group belongs to a bundle
P indicates configured to preempt.
|
Interface Grp Prio P State Active addr Standby addr Group addr
Vlan22 22 200 P Active local 10.226.22.3 10.226.22.1 (conf)
Vlan102 102 200 P Active local 10.226.102.3 10.226.102.1 (conf)
Vlan103 103 200 P Active local 10.226.103.3 10.226.103.1 (conf)
Vlan104 104 200 P Active local 10.226.104.3 10.226.104.1 (conf)
Vlan218 218 200 P Active local 10.226.10.3 10.226.10.1 (conf)
Vlan219 219 200 P Active local 10.226.21.3 10.226.21.1 (conf)
N7700-1-WAN# show hsrp | inc 0c9f|Vlan|IP
Vlan22 - Group 22 (HSRP-V2) (IPv4)
Virtual IP address is 10.226.22.1 (Cfged)
Virtual mac address is 0000.0c9f.f016 (Default MAC)
IP redundancy name is hsrp-Vlan22-22 (default)
Vlan102 - Group 102 (HSRP-V2) (IPv4)
Virtual IP address is 10.226.102.1 (Cfged)
Virtual mac address is 0000.0c9f.f066 (Default MAC)
N7700-1-WAN# show run hsrp
!Command: show running-config hsrp
!Running configuration last done at: Wed Jan 18 14:22:22 2023
!Time: Mon Jan 23 10:46:35 2023
version 8.4(5)
feature hsrp
interface Vlan22
hsrp version 2
hsrp 22
preempt
priority 200
ip 10.226.22.1
<snip>
Hope that helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide