设为首页收藏本站language 语言切换
查看: 2916|回复: 11
收起左侧

[求助] MSTP+VRRP配置问题,一直ping不通网关,求解决!

[复制链接]
发表于 2017-3-23 10:44:52 | 显示全部楼层 |阅读模式
10鸿鹄币
本帖最后由 燕麦包 于 2017-3-23 15:56 编辑

用IOU做MSTP+VRRP实验,PC1一直ping不通网关,找不出原因,希望有大神能帮我解决一下问题!(我只有PC1做测试)

实验拓扑:

拓扑图

拓扑图


以下是各交换机配置信息,可以直接导入去测试

SW1配置信息:
SW1#show run
Building configuration...

Current configuration : 2284 bytes
!
! Last configuration change at 02:07:40 UTC Thu Mar 23 2017
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW1
!
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 test
revision 1
instance 1 vlan 10, 20
instance 2 vlan 30, 40
!         
spanning-tree mst 1 priority 4096
spanning-tree mst 2 priority 8192
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!         
interface Ethernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet0/2
duplex auto
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
switchport trunk encapsulation dot1q
switchport mode trunk
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.10.252 255.255.255.0
vrrp 10 ip 192.168.10.254
vrrp 10 priority 120
!
interface Vlan20
ip address 192.168.20.252 255.255.255.0
vrrp 20 ip 192.168.20.254
vrrp 20 priority 120
!
interface Vlan30
ip address 192.168.30.252 255.255.255.0
vrrp 30 ip 192.168.30.254
!
interface Vlan40
ip address 192.168.40.252 255.255.255.0
vrrp 40 ip 192.168.40.254
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!         
end


SW2配置信息:
SW2#show run
Building configuration...

Current configuration : 2284 bytes
!
! Last configuration change at 02:14:24 UTC Thu Mar 23 2017
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW2
!
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 test
revision 1
instance 1 vlan 10, 20
instance 2 vlan 30, 40
!         
spanning-tree mst 1 priority 8192
spanning-tree mst 2 priority 4096
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!         
interface Ethernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet0/2
duplex auto
!
interface Ethernet0/3
duplex auto
!
interface Ethernet1/0
duplex auto
!
interface Ethernet1/1
switchport trunk encapsulation dot1q
switchport mode trunk
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.10.253 255.255.255.0
vrrp 10 ip 192.168.10.254
!
interface Vlan20
ip address 192.168.20.253 255.255.255.0
vrrp 20 ip 192.168.20.254
!
interface Vlan30
ip address 192.168.30.253 255.255.255.0
vrrp 30 ip 192.168.30.254
vrrp 30 priority 120
!
interface Vlan40
ip address 192.168.40.253 255.255.255.0
vrrp 40 ip 192.168.40.254
vrrp 40 priority 120
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!         
end


SW3配置信息:
SW3#show run
Building configuration...

Current configuration : 1897 bytes
!
! Last configuration change at 02:16:30 UTC Thu Mar 23 2017
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW3
!
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 routing
no ip icmp rate-limit unreachable
!
no 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 test
revision 1
instance 1 vlan 10, 20
instance 2 vlan 30, 40
!
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport access vlan 10
duplex auto
!
interface Ethernet0/1
switchport access vlan 20
duplex auto
!
interface Ethernet0/2
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
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
end


SW4配置信息:
SW4# show run
Building configuration...

Current configuration : 1907 bytes
!
! Last configuration change at 02:18:44 UTC Thu Mar 23 2017
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname SW4
!
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 routing
no ip icmp rate-limit unreachable
!
no 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 test
revision 1
instance 1 vlan 10, 20
instance 2 vlan 30, 40
!
!
!
!
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport access vlan 30
duplex auto
!
interface Ethernet0/1
switchport access vlan 40
duplex auto
!
interface Ethernet0/2
switchport access vlan 10
duplex auto
!
interface Ethernet0/3
switchport access vlan 20
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
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Ethernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
duplex auto
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
!
no ip http server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
end

添加了两条命令:在SW1和SW2上做了MST 0的主备根:
SW1(config)#spanning-tree mst 0 root primary
SW2(config)#spanning-tree mst 0 root secondary


新的spanning-tree信息:

SW1的spanning-tree信息:
SW1#show spanning-tree

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    24576
             Address     aabb.cc00.0300
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    24576  (priority 24576 sys-id-ext 0)
             Address     aabb.cc00.0300
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et0/2               Desg FWD 2000000   128.3    Shr
Et0/3               Desg FWD 2000000   128.4    Shr
Et1/0               Desg FWD 2000000   128.5    Shr
Et1/1               Desg FWD 2000000   128.6    Shr
Et1/2               Desg FWD 2000000   128.7    Shr
Et1/3               Desg FWD 2000000   128.8    Shr
Et2/0               Desg FWD 2000000   128.9    Shr

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------

Et2/1               Desg FWD 2000000   128.10   Shr
Et2/2               Desg FWD 2000000   128.11   Shr
Et2/3               Desg FWD 2000000   128.12   Shr
Et3/0               Desg FWD 2000000   128.13   Shr
Et3/1               Desg FWD 2000000   128.14   Shr
Et3/2               Desg FWD 2000000   128.15   Shr
Et3/3               Desg FWD 2000000   128.16   Shr



MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    4097
             Address     aabb.cc00.0300
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4097   (priority 4096 sys-id-ext 1)
             Address     aabb.cc00.0300
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et1/1               Desg FWD 2000000   128.6    Shr



MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    4098
             Address     aabb.cc00.0400
             Cost        2000000
             Port        6 (Ethernet1/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    8194   (priority 8192 sys-id-ext 2)
             Address     aabb.cc00.0300
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et1/1               Root FWD 2000000   128.6    Shr

SW2的spanning-tree信息:
SW2#show spanning-tree

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    24576
             Address     aabb.cc00.0300
             Cost        0
             Port        6 (Ethernet1/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    28672  (priority 28672 sys-id-ext 0)
             Address     aabb.cc00.0400
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et0/2               Desg FWD 2000000   128.3    Shr
Et0/3               Desg FWD 2000000   128.4    Shr
Et1/0               Desg FWD 2000000   128.5    Shr
Et1/1               Root FWD 2000000   128.6    Shr
Et1/2               Desg FWD 2000000   128.7    Shr
Et1/3               Desg FWD 2000000   128.8    Shr

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------

Et2/0               Desg FWD 2000000   128.9    Shr
Et2/1               Desg FWD 2000000   128.10   Shr
Et2/2               Desg FWD 2000000   128.11   Shr
Et2/3               Desg FWD 2000000   128.12   Shr
Et3/0               Desg FWD 2000000   128.13   Shr
Et3/1               Desg FWD 2000000   128.14   Shr
Et3/2               Desg FWD 2000000   128.15   Shr
Et3/3               Desg FWD 2000000   128.16   Shr



MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    4097
             Address     aabb.cc00.0300
             Cost        2000000
             Port        6 (Ethernet1/1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    8193   (priority 8192 sys-id-ext 1)
             Address     aabb.cc00.0400
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et1/1               Root FWD 2000000   128.6    Shr



MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    4098
             Address     aabb.cc00.0400
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    4098   (priority 4096 sys-id-ext 2)
             Address     aabb.cc00.0400
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et1/1               Desg FWD 2000000   128.6    Shr

SW3的spanning-tree信息:
SW3#show spanning-tree

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    24576
             Address     aabb.cc00.0300
             Cost        0
             Port        16 (Ethernet3/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     aabb.cc00.0100
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et0/2               Desg FWD 2000000   128.3    Shr
Et0/3               Desg FWD 2000000   128.4    Shr
Et1/0               Desg FWD 2000000   128.5    Shr
Et1/1               Desg FWD 2000000   128.6    Shr
Et1/2               Desg FWD 2000000   128.7    Shr
Et1/3               Desg FWD 2000000   128.8    Shr

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------

Et2/0               Desg FWD 2000000   128.9    Shr
Et2/1               Desg FWD 2000000   128.10   Shr
Et2/2               Desg FWD 2000000   128.11   Shr
Et2/3               Desg FWD 2000000   128.12   Shr
Et3/0               Desg FWD 2000000   128.13   Shr
Et3/1               Desg FWD 2000000   128.14   Shr
Et3/2               Altn BLK 2000000   128.15   Shr
Et3/3               Root FWD 2000000   128.16   Shr



MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    4097
             Address     aabb.cc00.0300
             Cost        2000000
             Port        16 (Ethernet3/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     aabb.cc00.0100
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et3/2               Altn BLK 2000000   128.15   Shr
Et3/3               Root FWD 2000000   128.16   Shr



MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    4098
             Address     aabb.cc00.0400
             Cost        2000000
             Port        15 (Ethernet3/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32770  (priority 32768 sys-id-ext 2)
             Address     aabb.cc00.0100
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/2               Desg FWD 2000000   128.3    Shr
Et0/3               Desg FWD 2000000   128.4    Shr
Et3/2               Root FWD 2000000   128.15   Shr
Et3/3               Altn BLK 2000000   128.16   Shr

SW4的spanning-tree信息:
SW4# show spanning-tree

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    24576
             Address     aabb.cc00.0300
             Cost        0
             Port        15 (Ethernet3/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     aabb.cc00.0200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et0/2               Desg FWD 2000000   128.3    Shr
Et0/3               Desg FWD 2000000   128.4    Shr
Et1/0               Desg FWD 2000000   128.5    Shr
Et1/1               Desg FWD 2000000   128.6    Shr
Et1/2               Desg FWD 2000000   128.7    Shr
Et1/3               Desg FWD 2000000   128.8    Shr

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------

Et2/0               Desg FWD 2000000   128.9    Shr
Et2/1               Desg FWD 2000000   128.10   Shr
Et2/2               Desg FWD 2000000   128.11   Shr
Et2/3               Desg FWD 2000000   128.12   Shr
Et3/0               Desg FWD 2000000   128.13   Shr
Et3/1               Desg FWD 2000000   128.14   Shr
Et3/2               Root FWD 2000000   128.15   Shr
Et3/3               Altn BLK 2000000   128.16   Shr



MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    4097
             Address     aabb.cc00.0300
             Cost        2000000
             Port        15 (Ethernet3/2)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     aabb.cc00.0200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/2               Desg FWD 2000000   128.3    Shr
Et0/3               Desg FWD 2000000   128.4    Shr
Et3/2               Root FWD 2000000   128.15   Shr
Et3/3               Altn BLK 2000000   128.16   Shr



MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    4098
             Address     aabb.cc00.0400
             Cost        2000000
             Port        16 (Ethernet3/3)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32770  (priority 32768 sys-id-ext 2)
             Address     aabb.cc00.0200
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Et0/0               Desg FWD 2000000   128.1    Shr
Et0/1               Desg FWD 2000000   128.2    Shr
Et3/2               Altn BLK 2000000   128.15   Shr
Et3/3               Root FWD 2000000   128.16   Shr


SW1的VRRP信息:
SW1#show vrrp brief
Interface          Grp Pri Time  Own Pre State   Master addr     Group addr
Vl10               10  120 3531       Y  Master  192.168.10.252  192.168.10.254
Vl20               20  120 3531       Y  Master  192.168.20.252  192.168.20.254
Vl30               30  100 3609       Y  Backup  192.168.30.253  192.168.30.254
Vl40               40  100 3609       Y  Backup  192.168.40.253  192.168.40.254

SW2的VRRP信息:
SW2#show vrrp brief
Interface          Grp Pri Time  Own Pre State   Master addr     Group addr
Vl10               10  100 3609       Y  Backup  192.168.10.252  192.168.10.254
Vl20               20  100 3609       Y  Backup  192.168.20.252  192.168.20.254
Vl30               30  120 3531       Y  Master  192.168.30.253  192.168.30.254
Vl40               40  120 3531       Y  Master  192.168.40.253  192.168.40.254

本来各个实例的接口是正常的,只要用PC去ping 192.168.10.252 就出现异常了,SW1出现假死,实例的接口有问题,如下图:ping 192.168.10.252

ping

ping

实例 0:

MSTP 0

MSTP 0

实例 1:

MSTP 2

MSTP 2

实例 2:


发现ARP有点奇怪所有SVI的MAC地址都是一样的:
SW1的ARP表:

SW1ARP

SW1ARP

SW2的ARP表:

SW2ARP

SW2ARP



路由表也没有VRRP的虚拟地址,把VRRP去掉,用PC1去ping真实地址(192.168.10.252和192.168.10.253)有时候通有时候不通,交换机总会卡死一下,过一会就好,总感觉有环路,但是又找不出在哪,希望有大神指点!






MSTP 1

MSTP 1

最佳答案

查看完整内容

应该是你的生成树的地方出问题了,你看还有地方出于LRN状态,应该是一直出于收敛不了的状态,所以去掉VRRP之后有时通有时不通,你的生成树的LINK TYPE改成P2P类型试试,SHARE模式应该是半双工时自动协商的LINK TYPE,可能会影响传输,你先把所有的link type改了P2P看看行不行的通
发表于 2017-3-23 10:44:53 | 显示全部楼层
应该是你的生成树的地方出问题了,你看还有地方出于LRN状态,应该是一直出于收敛不了的状态,所以去掉VRRP之后有时通有时不通,你的生成树的LINK TYPE改成P2P类型试试,SHARE模式应该是半双工时自动协商的LINK TYPE,可能会影响传输,你先把所有的link type改了P2P看看行不行的通
沙发 2017-3-23 10:44:53 回复 收起回复
回复

使用道具 举报

发表于 2017-3-23 11:32:48 | 显示全部楼层

就算开了MST,最好VLAN1也要在主备交换上互为主备根,防止vlan1在主备交换机上出现BLK端口。。。
说得不详细。。。  
什么ping什么不通?
哪里ping 哪里不通?
板凳 2017-3-23 11:32:48 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-3-23 11:47:07 | 显示全部楼层
visionary 发表于 2017-3-23 11:32
就算开了MST,最好VLAN1也要在主备交换上互为主备根,防止vlan1在主备交换机上出现BLK端口。。 ...
现在给MST 0 也做了主备根。
用PC1去ping真实地址(192.168.10.252和192.168.10.253)有时候通有时候不通
地板 2017-3-23 11:47:07 回复 收起回复
回复

使用道具 举报

发表于 2017-3-23 11:58:38 | 显示全部楼层
你看下你发的show的截图,SW3的e3/3接口还是处于LRN状态,所以说你的生成树有问题,后面的link type上也显示shr dispute,你就该去调link type ,spanning-tree link-type point-to-point
5# 2017-3-23 11:58:38 回复 收起回复
回复

使用道具 举报

发表于 2017-3-23 11:58:45 | 显示全部楼层
你看下你发的show的截图,SW3的e3/3接口还是处于LRN状态,所以说你的生成树有问题,后面的link type上也显示shr dispute,你就该去调link type ,spanning-tree link-type point-to-point
6# 2017-3-23 11:58:45 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-3-23 12:01:31 | 显示全部楼层
Simet_Zheng 发表于 2017-3-23 11:58
你看下你发的show的截图,SW3的e3/3接口还是处于LRN状态,所以说你的生成树有问题,后面的link type上也显 ...

这个是刚刚没收敛的时候截图的,我把上面的更新了,现在看端口是没问题的。
7# 2017-3-23 12:01:31 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-3-23 12:02:18 | 显示全部楼层
Simet_Zheng 发表于 2017-3-23 11:37
应该是你的生成树的地方出问题了,你看还有地方出于LRN状态,应该是一直出于收敛不了的状态,所以去掉VRRP ...

重新show了一遍,现在没问题的,但是ping不通的问题依然存在。
8# 2017-3-23 12:02:18 回复 收起回复
回复

使用道具 举报

发表于 2017-3-23 14:24:53 | 显示全部楼层
把ip routing开了,把以太网口都手动全双工试下,查下各接口下的arp表,把icmp debug
打开测试。
9# 2017-3-23 14:24:53 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2017-3-23 15:45:36 | 显示全部楼层
visionary 发表于 2017-3-23 14:24
把ip routing开了,把以太网口都手动全双工试下,查下各接口下的arp表,把icmp debug
打开测试。

已经把所有交换机的所以接口都开启为全双工模式了,只有SW1和SW2有ARP信息,发现ARP的SVI的MAC地址都是一样的。发现本来MST的各个端口都是正常的,只要一ping,SW1出现假死,SW3的端口异常,过一会又恢复正常了。debug IP ICMP 只要SW1又信息,这个正常,因为只pingSW1上的IP。以下是图片:

ARP信息:
SW1

SW1ARP

SW1ARP

SW2

SW2ARP

SW2ARP

ping192.168.10.252

ping

ping

实例0

MSTP 0

MSTP 0

实例1

MSTP 1

MSTP 1

实例2

MSTP 2

MSTP 2


debug ip ICMP

ICMP

ICMP
10# 2017-3-23 15:45:36 回复 收起回复
回复

使用道具 举报

发表于 2017-3-23 19:15:18 | 显示全部楼层
  查下CPU进程,看下资源占用,或者抓下包,看下是否有了广播风暴。查下各连接的端口是否有异常数据。
时断时续的话,要不是过载就是风暴,模拟器的话不会有接口线缆问题,不过也不排除模拟有bug.....
11# 2017-3-23 19:15:18 回复 收起回复
回复

使用道具 举报

发表于 2018-11-7 10:01:32 | 显示全部楼层
666
12# 2018-11-7 10:01:32 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-12 05:04 , Processed in 0.387559 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表