![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 621](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453621.webp)
[NPE1]
explicit-path npe1-to-npe2
[NPE1-explicit-path-npe1-to-npe2]
next hop 100.2.1.2
[NPE1-explicit-path-npe1-to-npe2]
quit
[NPE1]
interface tunnel 2/0/0
[NPE1-Tunnel2/0/0]
ip address unnumbered interface loopback 1
[NPE1-Tunnel2/0/0]
tunnel-protocol mpls te
[NPE1-Tunnel2/0/0]
destination 3.3.3.3
[NPE1-Tunnel2/0/0]
mpls te tunnel-id 100
[NPE1-Tunnel2/0/0]
mpls te signal-protocol rsvp-te
[NPE1-Tunnel2/0/0]
mpls te path explicit-path work
[NPE1-Tunnel2/0/0]
mpls te commit
[NPE1-Tunnel2/0/0]
quit
# Configure NPE2.
[NPE2]
explicit-path npe2-to-npe1
[NPE2-explicit-path-npe2-to-npe1]
next hop 100.4.1.2
[NPE2-explicit-path-npe2-to-npe1]
quit
[NPE2]
interface tunnel 3/0/0
[NPE2-Tunnel3/0/0]
ip address unnumbered interface loopback 1
[NPE2-Tunnel3/0/0]
tunnel-protocol mpls te
[NPE2-Tunnel3/0/0]
destination 2.2.2.2
[NPE2-Tunnel3/0/0]
mpls te tunnel-id 200
[NPE2-Tunnel3/0/0]
mpls te signal-protocol rsvp-te
[NPE2-Tunnel3/0/0]
mpls te path explicit-path work
[NPE2-Tunnel3/0/0]
mpls te commit
[NPE2-Tunnel3/0/0]
quit
After the preceding configuration, run the
display interface tunnel
command on each NPE.
You can view the tunnel interface is Up. Take the display on NPE1 as an example.
[NPE1]
display interface tunnel
Tunnel2/0/0 current state : UP
Line protocol current state : UP
Description : Tunnel2/0/0 Interface
The Maximum Transmit Unit is 1500 bytes
Internet Address is unnumbered, using address of LoopBack1(2.2.2.2/32)
Encapsulation is TUNNEL, loopback not set
Tunnel destination 3.3.3.3
Tunnel protocol/transport MPLS/MPLS, ILM is available,
primary tunnel id is 0x1002001, secondary tunnel id is 0x0
The tunnelIfIndex is 0xc000505
5 minutes output rate 0 bits/s, 0 packets/s
0 packets output, 0 bytes
0 packets output dropped
Step 6
Configure MPLS OAM on NPEs. NPE1 acts as the ingress and NPE2 acts as the egress.
# Configure NPE1.
[NPE1]
mpls
[NPE1-mpls]
mpls oam
[NPE1-mpls]
quit
[NPE1]
mpls oam ingress tunnel2/0/0 type ffd frequency 100
[NPE1]
mpls oam ingress enable all
# Configure NPE2.
[NPE2]
mpls
[NPE2-mpls]
mpls oam
[NPE2-mpls]
quit
[NPE2]
mpls oam egress lsr-id 2.2.2.2 tunnel-id 100 auto-protocol backward-lsp
tunnel 3/0/0 private
After the preceding configuration, you can use the command to view the parameters and status
of MPLS OAM on the ingress NPE1 and egress NPE2. The command output shows that the
ingress and egress are in normal detection state.
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.
604