Network
Cisco configurations of HSRP (Hot Standby Routing Protocol)
Aiders
2015. 5. 6. 10:06
◈ Active Device
Interface vlan1
ip address 192.168.0.252 255.255.255.0
standby 1 ip 192.168.0.254 / vip
standby 1 timers 1 3 // This option is to perform a change of active stat on active device to standby stat, if is no the answer with checking it for 3 seconds by every 1 second.(There is a default value.)
standby 1 priority 200 // 숫자의 크기가 높을수록 우선순위 (미 지정시 Default 100)
standby 1 preempt delay minimum 1 // 최소 1초뒤 Standby를 Active로
◈ Standby Device
Interface vlan1
ip address 192.168.0.253 255.255.255.0
standby 1 timers 1 3
standby 1 preempt
standby 1 ip 192.168.0.254
◈ Both Active & Standby Device
Interface Ethernet 0/0
switchport
switchport trunk encapsulation dot1q
switchport mode trunk