拓扑如上图,IOU1和2是三层交换机,3和4是二层交换机。
配置完之后IOU1和2的HSRP都是ACTIVE状态,重启后直接INIT起不来了,详细配置如下,求大神解答~
IOU1:
hostname IOU1
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
!
!
no ip domain-lookup
no ipv6 cef
ipv6 multicast rpf use-bgp
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name ccnp
instance 1 vlan 10
instance 2 vlan 20
!
spanning-tree mst 1 priority 24576
spanning-tree mst 2 priority 28672
!
!
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
track 1 interface Ethernet0/0 line-protocol
!
!
!
!
interface Ethernet0/0
no switchport
ip address 12.1.1.1 255.255.255.0
!
interface Ethernet0/1
no switchport
ip address 14.1.1.1 255.255.255.0
!
interface Ethernet0/2
no switchport
ip address 13.1.1.1 255.255.255.0
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
duplex auto
!
interface Ethernet1/2
duplex auto
!
interface Ethernet1/3
duplex auto
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
duplex auto
!
interface Ethernet3/1
duplex auto
!
interface Ethernet3/2
duplex auto
!
interface Ethernet3/3
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.1.10 255.255.255.0
standby 10 ip 192.168.1.254
standby 10 priority 105
standby 10 preempt
standby 10 authentication ccnp
standby 10 track 1 decrement 10
standby 20 track 1 decrement 10
!
interface Vlan20
ip address 192.168.2.20 255.255.255.0
standby 10 track 1 decrement 10
standby 20 ip 192.168.2.254
standby 20 preempt
standby 20 authentication ccnp
standby 20 track 1 decrement 10
!
router rip
network 12.0.0.0
network 13.0.0.0
network 14.0.0.0
!
!
!
no ip http server
!
IOU2:
hostname IOU2
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
!
!
no ip domain-lookup
no ipv6 cef
ipv6 multicast rpf use-bgp
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name ccnp
instance 1 vlan 10
instance 2 vlan 20
!
spanning-tree mst 1 priority 28672
spanning-tree mst 2 priority 24576
!
!
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
track 1 interface Ethernet0/0 line-protocol
!
track 2 interface Ethernet0/0 line-protocol
!
!
!
!
interface Ethernet0/0
no switchport
ip address 12.1.1.2 255.255.255.0
!
interface Ethernet0/1
no switchport
ip address 24.1.1.2 255.255.255.0
!
interface Ethernet0/2
no switchport
ip address 23.1.1.2 255.255.255.0
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
duplex auto
!
interface Ethernet1/2
duplex auto
!
interface Ethernet1/3
duplex auto
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
duplex auto
!
interface Ethernet3/1
duplex auto
!
interface Ethernet3/2
duplex auto
!
interface Ethernet3/3
duplex auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.1.11 255.255.255.0
standby 10 ip 192.168.1.254
standby 10 preempt
standby 10 authentication ccnp
standby 10 track 1 decrement 10
standby 10 track 2 decrement 10
standby 20 track 1 decrement 10
standby 20 track 2 decrement 10
!
interface Vlan20
ip address 192.168.2.21 255.255.255.0
standby 10 track 1 decrement 10
standby 10 track 2 decrement 10
standby 20 ip 192.168.2.254
standby 20 priority 105
standby 20 preempt
standby 20 authentication ccnp
standby 20 track 1 decrement 10
standby 20 track 2 decrement 10
!
router rip
network 12.0.0.0
network 13.0.0.0
network 14.0.0.0
!
!
!
no ip http server
IOU3:
hostname IOU3
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
!
!
no ip domain-lookup
no ipv6 cef
ipv6 multicast rpf use-bgp
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name ccnp
instance 1 vlan 10
instance 2 vlan 20
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
interface Ethernet0/0
no switchport
ip address 13.1.1.3 255.255.255.0
!
interface Ethernet0/1
no switchport
ip address 23.1.1.3 255.255.255.0
!
interface Ethernet0/2
switchport access vlan 10
switchport mode access
duplex auto
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
duplex auto
!
interface Ethernet1/2
duplex auto
!
interface Ethernet1/3
duplex auto
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
duplex auto
!
interface Ethernet3/1
duplex auto
!
interface Ethernet3/2
duplex auto
!
interface Ethernet3/3
duplex auto
!
interface Vlan1
no ip address
shutdown
!
router rip
network 13.0.0.0
network 23.0.0.0
!
!
!
no ip http server
IOU4:
hostname IOU4
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
no ip icmp rate-limit unreachable
!
ip cef
!
!
no ip domain-lookup
no ipv6 cef
ipv6 multicast rpf use-bgp
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name ccnp
instance 1 vlan 10
instance 2 vlan 20
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
interface Ethernet0/0
no switchport
ip address 24.1.1.4 255.255.255.0
!
interface Ethernet0/1
no switchport
ip address 14.1.1.4 255.255.255.0
!
interface Ethernet0/2
switchport access vlan 20
switchport mode access
duplex auto
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
duplex auto
!
interface Ethernet1/2
duplex auto
!
interface Ethernet1/3
duplex auto
!
interface Ethernet2/0
duplex auto
!
interface Ethernet2/1
duplex auto
!
interface Ethernet2/2
duplex auto
!
interface Ethernet2/3
duplex auto
!
interface Ethernet3/0
duplex auto
!
interface Ethernet3/1
duplex auto
!
interface Ethernet3/2
duplex auto
!
interface Ethernet3/3
duplex auto
!
interface Vlan1
no ip address
shutdown
!
router rip
network 14.0.0.0
network 24.0.0.0
!
!
!
no ip http server