2016年2月3日 星期三

HSRP track on serial

HSRP track on serial interface




===============================
R1#sh run
Building configuration...

Current configuration : 1589 bytes
!
!
hostname R1
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 192.168.1.250 255.255.255.0
 duplex auto
 speed auto
 standby 1 ip 192.168.1.254
 standby 1 priority 110
 standby 1 preempt
 standby 1 authentication md5 key-string 123
 standby 1 track 1 decrement 50
!!
router ospf 1
 log-adjacency-changes
 network 10.1.1.0 0.0.0.3 area 0.0.0.0
 network 192.168.1.0 0.0.0.255 area 0.0.0.0
!
end


R1#    

===============================


===============================
R2#sh run
Building configuration...
!
hostname R2
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 192.168.1.251 255.255.255.0
 duplex auto
 speed auto
 standby 1 ip 192.168.1.254
 standby 1 preempt
 standby 1 authentication md5 key-string 123
 standby 1 track 1 decrement 50
!
interface Serial1/0
 ip address 10.1.2.1 255.255.255.252
 encapsulation ppp
 serial restart-delay 0
!
router ospf 1
 log-adjacency-changes
 network 10.1.2.0 0.0.0.3 area 0.0.0.0
 network 192.168.1.0 0.0.0.255 area 0.0.0.0
!         
!
end


R2# 
===============================


===============================
R3#sh run
Building configuration...
!
hostname R3
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 172.22.0.250 255.255.255.0
 duplex auto
 speed auto
 standby 1 ip 172.22.0.254
 standby 1 priority 110
 standby 1 preempt
 standby 1 authentication md5 key-string 123
 standby 1 track 1 decrement 50
!
!
interface Serial1/0
 ip address 10.1.1.2 255.255.255.0
 encapsulation ppp
 serial restart-delay 0
!
!
router ospf 1
 log-adjacency-changes
 network 10.1.1.0 0.0.0.3 area 0.0.0.0
 network 172.22.0.0 0.0.0.255 area 0.0.0.0
!         
!
end


R3#   
===============================

===============================
R4#
R4#sh run
!
hostname R4
!
track 1 interface Serial1/0 line-protocol
!
interface FastEthernet0/0
 ip address 172.22.0.251 255.255.255.0
 duplex auto
 speed auto
 standby 1 ip 172.22.0.254
 standby 1 preempt
 standby 1 authentication md5 key-string 123
 standby 1 track 1 decrement 50 
!
interface Serial1/0
 ip address 10.1.2.2 255.255.255.252
 encapsulation ppp
 serial restart-delay 0
!
!
router ospf 1
 log-adjacency-changes
 network 10.1.2.0 0.0.0.3 area 0.0.0.0
 network 172.22.0.0 0.0.0.255 area 0.0.0.0
!


R4#     
===============================




















沒有留言:

張貼留言