- 论坛徽章:
- 0
|
确实是这样,我把端口都track后,可以了
- ==============================
- route-1(config-if)#standby 1 track fastEthernet 0/0/0
- route-1(config-if)#exit
- route-1(config-if)#standby 2 track GigabitEthernet 0/0
- route-1(config-if)#end
- route-1#wr
- Building configuration...
- [OK]
- route-1#
- *Dec 18 08:43:10.659: %SYS-5-CONFIG_I: Configured from console by root on console
- *Dec 18 08:43:12.931: %HSRP-6-STATECHANGE: Vlan100 Grp 2 state Active -> Speak
- route-1#
- route-1#
- route-1#
- route-1#
- *Dec 18 08:44:16.459: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
- *Dec 18 08:44:17.459: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
- *Dec 18 08:44:17.927: %HSRP-6-STATECHANGE: Vlan100 Grp 2 state Standby -> Active
- *Dec 18 08:45:17.627: %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Standby -> Active
- route-1#sh stan
- route-1#sh standby
- GigabitEthernet0/0 - Group 1
- State is Active
- 5 state changes, last state change 00:00:34
- Virtual IP address is 192.168.108.103
- Active virtual MAC address is 0000.0c07.ac01
- Local virtual MAC address is 0000.0c07.ac01 (v1 default)
- Hello time 5 sec, hold time 15 sec
- Next hello sent in 0.500 secs
- Preemption enabled, delay min 60 secs
- Active router is local
- Standby router is 192.168.108.102, priority 105 (expires in 10.496 sec)
- Priority 110 (configured 110)
- Track interface GigabitEthernet0/0 state Up decrement 10
- Track interface FastEthernet0/0/0 state Up decrement 10
- IP redundancy name is "hsrp-Gi0/0-1" (default)
- Vlan100 - Group 2
- State is Active
- 5 state changes, last state change 00:01:34
- Virtual IP address is 192.168.106.3
- Active virtual MAC address is 0000.0c07.ac02
- Local virtual MAC address is 0000.0c07.ac02 (v1 default)
- Hello time 5 sec, hold time 15 sec
- Next hello sent in 0.796 secs
- Preemption enabled
- Active router is local
- Standby router is 192.168.106.2, priority 105 (expires in 14.332 sec)
- Priority 110 (configured 110)
- Track interface GigabitEthernet0/0 state Up decrement 10
- Track interface FastEthernet0/0/0 state Up decrement 10
- IP redundancy name is "hsrp-Vl100-2" (default)
- route-1#
- *Dec 18 08:46:36.455: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to down
- *Dec 18 08:46:36.455: %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Active -> Init
- *Dec 18 08:46:37.455: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
- *Dec 18 08:46:37.927: %HSRP-6-STATECHANGE: Vlan100 Grp 2 state Active -> Speak
- *Dec 18 08:47:26.459: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
- *Dec 18 08:47:27.459: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
- *Dec 18 08:47:27.927: %HSRP-6-STATECHANGE: Vlan100 Grp 2 state Standby -> Active
- *Dec 18 08:48:27.627: %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Standby -> Active
- route-1#
- route-1#
- route-1#sh stand
- route-1#sh standby
- GigabitEthernet0/0 - Group 1
- State is Active
- 8 state changes, last state change 00:01:18
- Virtual IP address is 192.168.108.103
- Active virtual MAC address is 0000.0c07.ac01
- Local virtual MAC address is 0000.0c07.ac01 (v1 default)
- Hello time 5 sec, hold time 15 sec
- Next hello sent in 1.592 secs
- Preemption enabled, delay min 60 secs
- Active router is local
- Standby router is 192.168.108.102, priority 105 (expires in 11.588 sec)
- Priority 110 (configured 110)
- Track interface GigabitEthernet0/0 state Up decrement 10
- Track interface FastEthernet0/0/0 state Up decrement 10
- IP redundancy name is "hsrp-Gi0/0-1" (default)
- Vlan100 - Group 2
- State is Active
- 8 state changes, last state change 00:02:18
- Virtual IP address is 192.168.106.3
- Active virtual MAC address is 0000.0c07.ac02
- Local virtual MAC address is 0000.0c07.ac02 (v1 default)
- Hello time 5 sec, hold time 15 sec
- Next hello sent in 1.892 secs
- --More--
- *Dec 18 08:49:53.707: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0/0, changed state to down
- *Dec 18 08:49:53.707: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan100, changed state to down
- *Dec 18 08:49:53.707: %HSRP-6-STATECHANGE: Vlan100 Grp 2 state Active -> Init
- *Dec 18 08:49:54.707: %LINK-3-UPDOWN: Interface FastEthernet0/0/0, changed state to down
- *Dec 18 08:49:57.627: %HSRP-6-STATECHANGE: GigabitEthernet0/0 Grp 1 state Activ Preemption enabled
- Active router is unknown
- Standby router is unknown
- Priority 100 (configured 110)
- Track interface GigabitEthernet0/0 state Up decrement 10
-
- route-1#
- route-1#
- route-1#
- route-1#sh standby
- GigabitEthernet0/0 - Group 1
- State is Standby
- 10 state changes, last state change 00:00:24
- Virtual IP address is 192.168.108.103
- Active virtual MAC address is 0000.0c07.ac01
- Local virtual MAC address is 0000.0c07.ac01 (v1 default)
- Hello time 5 sec, hold time 15 sec
- Next hello sent in 0.584 secs
- Preemption enabled, delay min 60 secs
- Active router is 192.168.108.102, priority 105 (expires in 10.580 sec)
- Standby router is local
- Priority 100 (configured 110)
- Track interface GigabitEthernet0/0 state Up decrement 10
- Track interface FastEthernet0/0/0 state Down decrement 10
- IP redundancy name is "hsrp-Gi0/0-1" (default)
- Vlan100 - Group 2
- State is Init (interface down)
- 9 state changes, last state change 00:00:43
- Virtual IP address is 192.168.106.3
- Active virtual MAC address is unknown
- Local virtual MAC address is 0000.0c07.ac02 (v1 default)
- Hello time 5 sec, hold time 15 sec
- Preemption enabled
- Active router is unknown
- Standby router is unknown
- Priority 100 (configured 110)
- Track interface GigabitEthernet0/0 state Up decrement 10
- Track interface FastEthernet0/0/0 state Down decrement 10
- IP redundancy name is "hsrp-Vl100-2" (default)
- route-1#
复制代码 |
|