![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 221](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453221.webp)
[UPE2]
vsi vsi2 static
[UPE2-vsi-vsi2]
pwsignal ldp
[UPE2-vsi-vsi2-ldp]
vsi-id 102
[UPE2-vsi-vsi2-ldp]
peer 3.3.3.9
[UPE2-vsi-vsi2-ldp]
peer 4.4.4.9
[UPE2-vsi-vsi2-ldp]
quit
[UPE2-vsi-vsi2]
encapsulation ethernet
[UPE2-vsi-vsi2]
track admin-vsi admin-vsi2
[UPE2-vsi-vsi2]
quit
[UPE2]
interface gigabitethenet 1/0/2.1
[UPE2-GigabitEthernet1/0/2.1]
vlan-type dot1q 102
[UPE2-GigabitEthernet1/0/2.1]
l2 binding vsi vsi2
[UPE2-GigabitEthernet1/0/2.1]
quit
An NPE does not need to learn the MAC addresses of other NPEs, so it is recommended
that NPEs connect to the mVSIs on UPEs through VLL. The VC ID must be the same as
the ID of the VSI that the NPE accesses.
# Configure NPE1.
[NPE1]
interface virtual-ethernet2/0/4.1
[NPE1-Virtual-Ethernet2/0/4.1]
vlan-type dot1q 1
[NPE1-Virtual-Ethernet2/0/4.1]
mpls l2vc 1.1.1.9 101
[NPE1-Virtual-Ethernet2/0/4.1]
quit
[NPE1]
interface virtual-ethernet2/0/6.1
[NPE1-Virtual-Ethernet2/0/6.1]
vlan-type dot1q 1
[NPE1-Virtual-Ethernet2/0/6.1]
mpls l2vc 2.2.2.9 102
[NPE1-Virtual-Ethernet2/0/6.1]
quit
# Configure NPE2.
[NPE2]
interface virtual-ethernet2/0/4.1
[NPE2-Virtual-Ethernet2/0/4.1]
vlan-type dot1q 1
[NPE2-Virtual-Ethernet2/0/4.1]
mpls l2vc 1.1.1.9 101
[NPE2-Virtual-Ethernet2/0/4.1]
quit
[NPE2]
interface virtual-ethernet2/0/6.1
[NPE2-Virtual-Ethernet2/0/6.1]
vlan-type dot1q 1
[NPE2-Virtual-Ethernet2/0/6.1]
mpls l2vc 2.2.2.9 102
[NPE2-Virtual-Ethernet2/0/6.1]
quit
After the configuration is complete, run the
display vsi
command on UPEs. You can view
that the
VSI State
in the output is
up
.
Take UPE1 as an example.
[UPE1]
display vsi name vsi1
Total VSI number is 1, 1 is up, 0 is down, 1 is LDP mode, 0 is BGP mode
Vsi Mem PW Mac Encap Mtu Vsi
Name Disc Type Learn Type Value State
--------------------------------------------------------------------------
vsi1 static ldp unqualify vlan 1500
up
vsi1 static ldp unqualify ethernet 1500
up
Run the
display mpls l2vc interface
command on NPEs. You can view that the
VC
State
in the output is
up
.
Take NPE1 as an example.
[NPE1]
display mpls l2vc interface virtual-ethernet2/0/4.1
*client interface : Virtual-Ethernet2/0/4.1 is up
Administrator PW : no
session state : up
AC status : up
VC state : up
VC ID : 101
VC type : vlan
destination : 1.1.1.9
local group ID : 0 remote group ID : 0
local VC label : 140288 remote VC label : 140292
local AC OAM State : up
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
4 VRRP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
204