Topologie de réseau physique
Si quatre périphériques sont configurés avec VLAN 100 et VLAN 300 sur les quatre périphériques, configurez des instances MSTP pour VLAN 100 et VLAN 300, puis configurez la passerelle vrrp sur les périphériques CE6851-1 et CE6851-2. Constaté que la passerelle VRRP présente un problème de double maître.
Figure 1-1 MSTP est configuré, l'interface ne peut pas être transmise par BLOCK.
Description du défaut
The vrrp status on the CE6851-1 device:
===========================================================================
display vrrp verbose
===========================================================================
Vlanif100 | Virtual Router 1
State : Master
Virtual IP : 10.1.1.111
Master IP : 10.1.1.1
PriorityRun : 120
PriorityConfig : 120
MasterPriority : 120
Preempt : YES Delay Time : 20s Remain : --
Hold Multiplier: 3
TimerRun : 1s
TimerConfig : 1s
Auth Type : NONE
Virtual MAC : 0000-5e00-0101
Check TTL : YES
Config Type : Normal
Create Time : 2018-09-02 10:28
Last Change Time : 2018-09-02 10:28
The vrrp status on the CE6851-2 device:
===========================================================================
display vrrp verbose
===========================================================================
Vlanif100 | Virtual Router 1
State : Master
Virtual IP : 10.1.1.111
Master IP : 10.1.1.2
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 100
Preempt : YES Delay Time : 0s Remain : --
Hold Multiplier: 3
TimerRun : 1s
TimerConfig : 1s
Auth Type : NONE
Virtual MAC : 0000-5e00-0101
Check TTL : YES
Config Type : Normal
Create Time : 2018-09-02 10:28
Last Change Time : 2018-09-02 10:28
Fichiers de configuration
l CE6851_4
#
vlan batch 300
#
stp region-configuration
instance 1 vlan 100
instance 2 vlan 300
#
interface Vlanif300
ip address 192.168.1.4 255.255.255.0
#
interface MEth0/0/0
ip address 10.9.162.40 255.255.255.0
#
interface 10GE1/0/11
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 300
device transceiver 10GBASE-COPPER
#
interface 10GE1/0/12
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 300
device transceiver 10GBASE-COPPER
#
ip route-static 10.9.0.0 255.255.0.0 10.9.162.253
#
l CE6851_3
#
vlan batch 100 300
#
stp region-configuration
instance 1 vlan 100
instance 2 vlan 300
#
interface Vlanif100
ip address 10.1.1.3 255.255.255.0
#
interface MEth0/0/0
ip address 10.9.162.30 255.255.255.0
#
interface 10GE1/0/1
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 100
device transceiver 10GBASE-COPPER
#
interface 10GE1/0/2
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 100
device transceiver 10GBASE-COPPER
#
ip route-static 10.9.0.0 255.255.0.0 10.9.162.253
#
l CE6851_2
#
vlan batch 100 300
#
stp region-configuration
instance 1 vlan 100
instance 2 vlan 300
#
interface Vlanif100
ip address 10.1.1.2 255.255.255.0
vrrp vrid 1 virtual-ip 10.1.1.111
#
interface Vlanif300
ip address 192.168.1.2 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.1.111
#
interface MEth0/0/0
ip address 10.9.162.20 255.255.255.0
#
interface 10GE1/0/2
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 100
device transceiver 10GBASE-COPPER
#
interface 10GE1/0/12
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 300
device transceiver 10GBASE-COPPER
#
interface 10GE1/0/20
shutdown
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 100
device transceiver 10GBASE-COPPER
#
ip route-static 10.9.0.0 255.255.0.0 10.9.162.253
#
l CE6851_1
#
vlan batch 100 300
#
stp region-configuration
instance 1 vlan 100
instance 2 vlan 300
#
interface Vlanif100
ip address 10.1.1.1 255.255.255.0
vrrp vrid 1 virtual-ip 10.1.1.111
vrrp vrid 1 priority 120
vrrp vrid 1 preempt timer delay 20
#
interface Vlanif300
ip address 192.168.1.1 255.255.255.0
vrrp vrid 2 virtual-ip 192.168.1.111
vrrp vrid 2 priority 120
vrrp vrid 2 preempt timer delay 20
#
interface MEth0/0/0
ip address 10.9.162.100 255.255.255.0
#
interface 10GE1/0/2
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 100
device transceiver 10GBASE-COPPER
#
interface 10GE1/0/12
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 300
device transceiver 10GBASE-COPPER
#
interface 10GE1/0/20
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 100
device transceiver 10GBASE-COPPER
#
ospf 1
area 0.0.0.0
network 10.1.1.0 0.0.0.255
network 192.168.1.0 0.0.0.255
#
ip route-static 10.9.0.0 255.255.0.0 10.9.162.253
#
Procédure de dépannage
Étape 1 L'état du périphérique VRRP est affiché. L'état du périphérique VRRP est affiché. Le statut de l'interface est le suivant:
==============================================================================
display stp brief
==============================================================================
MSTID Port Role STP State Protection Cost Edged
0 10GE1/0/1 ROOT forwarding none 2000 disable
0 10GE1/0/2 ALTE discarding none 2000 disable
1 10GE1/0/1 MAST forwarding none 2000 disable
1 10GE1/0/2 ALTE discarding none 2000 disable
Étape 2 Vérifiez le statut STP des trois périphériques et vérifiez que la racine d'instance STP de l'instance 1 du VLAN apprend le périphérique CE6851-4. Les informations détaillées sont les suivantes:
==============================================================================
display stp
==============================================================================
CIST Global Information:
Mode :MSTP
CIST Bridge :32768.48fd-8e02-c751
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC :32768.48fd-8e02-c6f1 / 4000 // The MAC address is the MAC address of the CE6851-4 device.
CIST RegRoot/IRPC :32768.48fd-8e02-c751 / 0 (This bridge is the root)
CIST RootPortId :128.2 (10GE1/0/1)
BPDU-Protection :Disabled
TC or TCN received :52
TC count per hello :0
STP Converge Mode :Normal
Share region-configuration :Enabled
Time since last TC :0 days 0h:38m:31s
Number of TC :10
Last TC occurred :10GE1/0/1
Topo Change Flag :0
Étape 3 Une fois que le périphérique est configuré dans le même domaine MSTP, le statut VRRP des périphériques CE685101 et CE6851-2 peut être changé en actif ou en veille. Les informations détaillées sont les suivantes:
===========================================================================
display vrrp verbose
===========================================================================
Vlanif100 | Virtual Router 1
State : Master
Virtual IP : 10.1.1.111
Master IP : 10.1.1.1
PriorityRun : 120
PriorityConfig : 120
MasterPriority : 120
Preempt : YES Delay Time : 20s Remain : --
Hold Multiplier: 3
TimerRun : 1s
TimerConfig : 1s
Auth Type : NONE
Virtual MAC : 0000-5e00-0101
Check TTL : YES
Config Type : Normal
Create Time : 2018-09-02 10:28
Last Change Time : 2018-09-02 10:28
Étape 4 Sur l'appareil CE6851-2:
===========================================================================
display vrrp On the device CE6851-2 device:ose
===========================================================================
Vlanif100 | Virtual Router 1
State : Backup
Virtual IP : 10.1.1.111
Master IP : 10.1.1.2
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 100
Preempt : YES Delay Time : 0s Remain : --
Hold Multiplier: 3
TimerRun : 1s
TimerConfig : 1s
Auth Type : NONE
Virtual MAC : 0000-5e00-0101
Check TTL : YES
Config Type : Normal
Create Time : 2018-09-02 10:28
Last Change Time : 2018-09-02 10:28
Cause première
Les périphériques CE6851-1, CE6851-2 et CE6951-3 ne sont pas configurés dans un domaine MSTP. MSTP1-4 calcule le périphérique CE6851-4 en tant que racine du MSTP. Le périphérique n'a pas de VLAN 100. Cela provoque CE6851. L'interface au-dessus du périphérique -3 est bloquée.