Difference between revisions of "Cisco HSRP"
From HackerNet
Helikopter (talk | contribs) m (→NX-OS) |
Helikopter (talk | contribs) (IOS) |
||
Line 1: | Line 1: | ||
HSRP är ett FHRP. | HSRP är ett FHRP. | ||
+ | |||
+ | ==IOS== | ||
+ | interface [interface] | ||
+ | standby 1 ip [ip address] | ||
+ | standby 1 preempt | ||
+ | standby 1 priority [priority] | ||
+ | standby 1 track [interface] [priority decrement] | ||
+ | standby 1 timers [hold] [dead] | ||
+ | standby 1 authentication [PSK] | ||
+ | standby 1 authentication md5 key-string [psk] timeout 60 | ||
==NX-OS== | ==NX-OS== |
Revision as of 22:46, 7 November 2015
HSRP är ett FHRP.
IOS
interface [interface] standby 1 ip [ip address] standby 1 preempt standby 1 priority [priority] standby 1 track [interface] [priority decrement] standby 1 timers [hold] [dead] standby 1 authentication [PSK] standby 1 authentication md5 key-string [psk] timeout 60
NX-OS
Switch 1
feature hsrp interface e1/1 ip 10.0.0.2/24 hsrp bfd hsrp 1 ip 10.0.0.1 follow master1
Switch 2
feature hsrp interface e1/1 ip 10.0.0.3/24 hsrp bfd hsrp 1 ip 10.0.0.1 priority 110 name master1
Det är rekommenderat att köra BFD istället för att ändra HSRP-timers.
För att stödja HSRP under ISSU (In-Service Software Upgrades) så kan man aktivera förlängda kontrollmeddelanden för HSRP.
hsrp timers extended-hold