Below is the HSRP configuration example.
Below is the HSRP configuration example.
N7K-1:-
feature hsrp
feature interface-vlan
vlan 100
int eth1/1
switchport mode trunk
no shut
int vlan 100
ip address 100.1.1.2/24
hsrp 100
ip 100.1.1.1
preempt
priority 105
N7K-2:-
feature hsrp
feature interface-vlan
vlan 100
int eth1/1
switchport mode trunk
no shut
int vlan 100
ip address 100.1.1.3/24
hsrp 100
ip 100.1.1.1
preempt
no shut
Verification:-
1. show hsrp
brief
N7K-1#show hsrp brief
P indicates configured to preempt.
|
Interface Grp
Prio P State Active addr Standby addr Group addr
Vlan100 100
105 P Active local 100.1.1.3 100.1.1.1
|
2. show hsrp interface vlan 100
N7K-1#show hsrp interface vlan 100
Vlan100 - Group 100 (HSRP-V1) (IPv4)
Local state is
Active, priority 105 (Cfged 105), may preempt Forwarding
threshold(for vPC), lower: 1 upper: 105
Hellotime 3
sec, holdtime 10 sec
Next hello sent
in 0.821000 sec(s)
Virtual IP
address is 100.1.1.1 (Cfged)
Active router
is local
Standby router
is 100.1.1.3 , priority 100 expires in 0.411000 sec(s)
Authentication
text "cisco"
Virtual mac
address is 0000.0c07.ac64 (Default MAC)
1 state
changes, last state change 00:04:11
IP redundancy
name is hsrp-Vlan100-100 (default)
|
No comments:
Post a Comment