![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 640](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453640.webp)
[PE3]
mpls
[PE3-mpls]
quit
[PE3]
mpls ldp
[PE3-ldp]
quit
[PE3]
interface pos 1/0/0
[PE3-Pos1/0/0]
mpls
[PE3-Pos1/0/0]
mpls ldp
[PE3-Pos1/0/0]
quit
[PE3]
interface pos 2/0/0
[PE3-Pos2/0/0]
mpls
[PE3-Pos2/0/0]
mpls ldp
[PE3-Pos2/0/0]
quit
After the preceding configuration, LDP sessions are set up between PEs. Run the
display mpls
ldp session
command. The command output shows that the LDP session status is
Operational
.
Take the display on PE1 as an example:
[PE1]
display mpls ldp session
LDP Session(s) in Public Network
------------------------------------------------------------------------------
Peer-ID Status LAM SsnRole SsnAge KA-Sent/Rcv
------------------------------------------------------------------------------
3.3.3.3:0 Operational DU Passive 000:02:22 572/572
4.4.4.4:0 Operational DU Passive 000:02:21 566/566
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
LAM : Label Advertisement Mode SsnAge Unit : DDD:HH:MM
Step 3
Configure VPN instances on PE1 and PE2 so that CE1 can access both PEs.
# Configure PE1.
[PE1]
ip vpn-instance vpna
[PE1-vpn-instance-vpna]
route-distinguisher 100:1
[PE1-vpn-instance-vpna]
vpn-target 111:1 both
[PE1-vpn-instance-vpna]
quit
[PE1]
interface gigabitethernet 3/0/0
[PE1-GigabitEthernet3/0/0]
ip binding vpn-instance vpna
[PE1-GigabitEthernet3/0/0]
ip address 10.1.1.2 24
[PE1-GigabitEthernet3/0/0]
quit
# Configure PE2.
[PE2]
ip vpn-instance vpna
[PE2-vpn-instance-vpna]
route-distinguisher 100:2
[PE2-vpn-instance-vpna]
vpn-target 111:1 both
[PE2-vpn-instance-vpna]
quit
[PE2]
interface gigabitethernet 3/0/0
[PE2-GigabitEthernet3/0/0]
ip binding vpn-instance vpna
[PE2-GigabitEthernet3/0/0]
ip address 10.1.1.2 24
[PE2-GigabitEthernet3/0/0]
quit
# Configure CE1. Note that the IP addresses of the interfaces on the master and slave interface
boards are the same.
[CE1]
interface gigabitethernet 1/0/0
[CE1-GigabitEthernet1/0/0]
ip address 10.1.1.1 24
[CE1-GigabitEthernet1/0/0]
quit
[CE1]
interface gigabitethernet 2/0/0
[CE1-GigabitEthernet2/0/0]
ip address 10.1.1.1 24
[CE1-GigabitEthernet2/0/0]
quit
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
623