weixin_39722134 2017-12-01 14:32 采纳率: 0%
浏览 2291

思科交换实验(MSTP+HSRP)

图片说明

拓扑如上图,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

  • 写回答

1条回答

  • 菜园小杜 2017-12-21 11:23
    关注

    你在重启之前保存了么?我感觉你的配置文件没问题。

    评论

报告相同问题?

悬赏问题

  • ¥100 有人会搭建GPT-J-6B框架吗?有偿
  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名