Hot Standby Router Protocol (HSRP)

Aus xinux.net
Zur Navigation springen Zur Suche springen

c1841

c1841#show run interface fastEthernet 0/1
Building configuration...

Current configuration : 201 bytes
!
interface FastEthernet0/1
 ip address 10.20.30.2 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 standby 1 ip 10.20.30.1
 standby 1 priority 110
 standby 1 preempt
end

c2651

c2651#show run interface fastEthernet 0/1
Building configuration...

Current configuration : 182 bytes
!
interface FastEthernet0/1
 ip address 10.20.30.3 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
 standby 1 ip 10.20.30.1
 standby 1 priority 105
end

Kontrolle

  • c1841#show standby
FastEthernet0/1 - Group 1
 State is Active
   2 state changes, last state change 00:12:40
 Virtual IP address is 10.20.30.1
 Active virtual MAC address is 0000.0c07.ac01
   Local virtual MAC address is 0000.0c07.ac01 (v1 default)
 Hello time 3 sec, hold time 10 sec
   Next hello sent in 1.624 secs
 Preemption enabled
 Active router is local
 Standby router is 10.20.30.3, priority 105 (expires in 9.800 sec)
 Priority 110 (configured 110)
 IP redundancy name is "hsrp-Fa0/1-1" (default)
  • c2651#show standby
FastEthernet0/1 - Group 1
 State is Standby
   4 state changes, last state change 00:08:19
 Virtual IP address is 10.20.30.1
 Active virtual MAC address is 0000.0c07.ac01
   Local virtual MAC address is 0000.0c07.ac01 (v1 default)
 Hello time 3 sec, hold time 10 sec
   Next hello sent in 1.750 secs
 Preemption disabled
 Active router is 10.20.30.2, priority 110 (expires in 7.556 sec)
 Standby router is local
 Priority 105 (configured 105)
 IP redundancy name is "hsrp-Fa0/1-1" (default)
  • c1841#show standby brief
                   P indicates configured to preempt.
                   |
Interface Grp  Pri P State   Active          Standby         Virtual IP
Fa0/1     1    110 P Active  local           10.20.30.3      10.20.30.1
  • c2651#show standby brief
                     P indicates configured to preempt.
                     |
Interface   Grp Prio P State    Active          Standby         Virtual IP     
Fa0/1       1   105    Standby  10.20.30.2      local           10.20.30.1

Links

VPN