![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 245](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453245.webp)
l
Verify the MSTP configuration.
# Run the
display stp brief
command on the UPE to view the role that GE 2/0/1 plays. GE
2/0/1 directly connecting the UPE to NPE1 is a root interface in MSTI1 after NPE1 has been
configured as the root bridge.
[UPE]
display stp brief
MSTID Port Role STP State Protection
0 GigabitEthernet2/0/1 ALTE DISCARDING NONE
0 GigabitEthernet2/0/2 ROOT FORWARDING NONE
1 GigabitEthernet2/0/1
ROOT
FORWARDING NONE
1 GigabitEthernet2/0/2 ALTE DISCARDING NONE
# Run the
display stp brief
command on NPE1 to view the role that GE 1/0/1 and Eth-Trunk
1 play. GE 1/0/1 and Eth-Trunk 1 on NPE1 are designated interfaces in MSTI1 after NPE1
has been configured as the root bridge.
[NPE1]
display stp brief
MSTID Port Role STP State Protection
0 GigabitEthernet1/0/1 DESI FORWARDING NONE
0 Eth-Trunk1 ROOT FORWARDING NONE
1 GigabitEthernet1/0/1
DESI
FORWARDING NONE
1 Eth-Trunk1
DESI
FORWARDING NONE
# Run the
display stp brief
command on NPE2 to view the role that Eth-Trunk 1 plays. Eth-
Trunk 1 on NPE2 is a root interface in MSTI1 after NPE1 has been configured as the root
bridge.
[NPE2]
display stp brief
MSTID Port Role STP State Protection
0 GigabitEthernet1/0/1 DESI FORWARDING NONE
0 Eth-Trunk1 DESI FORWARDING NONE
1 GigabitEthernet1/0/1 DESI FORWARDING NONE
1 Eth-Trunk1
ROOT
FORWARDING NONE
Step 3
Configure VRRP on each NPE.
# On NPE1, create VRRP backup group 1 and set the VRRP priority to 130.
[NPE1]
interface vlanif10
[NPE1-vlanif10]
vrrp vrid 1 virtual-ip 10.1.1.1
[NPE1-vlanif10]
vrrp vrid 1 priority 130
[NPE1-vlanif10]
quit
# On NPE2, create VRRP backup group 1. The VRRP backup group uses the default priority
100.
[NPE2]
interface vlanif10
[NPE2-vlanif10]
vrrp vrid 1 virtual-ip 10.1.1.1
[NPE2-vlanif10]
quit
NPE1 has a higher priority than NPE2 and therefore functions as the master device.
Step 4
Verify the VRRP configuration.
# After completing the configuration, run the
display vrrp
command on each NPE to view
information about the VRRP backup group. NPE1 is in the
Master
state and NPE2 is in the
Backup
state in VRRP backup group 1.
[NPE1]
display vrrp
Vlanif10 | Virtual Router 1
State :
Master
Virtual IP : 10.1.1.1
Master IP : 10.1.1.2
PriorityRun : 130
PriorityConfig : 130
MasterPriority : 130
Preempt : YES Delay Time : 0 s
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
4 VRRP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
228