Take the display on PE1 as an example:
[PE1]
display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 29 Routes : 30
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
3.3.3.3/32 ISIS 15 10 D 100.3.1.2 GigabitEthernet2/0/0
4.4.4.4/32 ISIS 15 10 D 100.1.1.2 POS1/0/0
10.1.1.0/24 Direct 0 0 D 10.1.1.2
GigabitEthernet3/0/0
10.1.1.2/32 Direct 0 0 D 127.0.0.1
10.1.1.255/32 Direct 0 0 D 127.0.0.1
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
100.1.1.0/24 Direct 0 0 D 100.1.1.1 POS1/0/0
100.1.1.1/32 Direct 0 0 D 127.0.0.1
100.1.1.255/32 Direct 0 0 D 127.0.0.1
100.2.1.0/24 ISIS 15 20 D 100.3.1.2 GigabitEthernet2/0/0
ISIS 15 20 D 100.1.1.2 POS1/0/0
100.3.1.0/24 Direct 0 0 D 100.3.1.1 GigabitEthernet2/0/0
100.3.1.1/32 Direct 0 0 D 127.0.0.1
100.3.1.255/32 Direct 0 0 D 127.0.0.1
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Step 2
Configure basic MPLS functions and MPLS LDP on the MPLS backbone network and set up
LDP LSPs.
# Configure PE1.
[PE1]
mpls lsr-id 2.2.2.2
[PE1]
mpls
[PE1-mpls]
quit
[PE1]
mpls ldp
[PE1-ldp]
quit
[PE1]
interface pos 1/0/0
[PE1-Pos1/0/0]
mpls
[PE1-Pos1/0/0]
mpls ldp
[PE1-Pos1/0/0]
quit
[PE1]
interface pos 2/0/0
[PE1-Pos2/0/0]
mpls
[PE1-Pos2/0/0]
mpls ldp
[PE1-Pos2/0/0]
quit
# Configure PE2.
[PE2]
mpls lsr-id 3.3.3.3
[PE2]
mpls
[PE2-mpls]
quit
[PE2]
mpls ldp
[PE2-ldp]
quit
[PE2]
interface pos 1/0/0
[PE2-Pos1/0/0]
mpls
[PE2-Pos1/0/0]
mpls ldp
[PE2-Pos1/0/0]
quit
[PE2]
interface pos 2/0/0
[PE2-Pos2/0/0]
mpls
[PE2-Pos2/0/0]
mpls ldp
[PE2-Pos2/0/0]
quit
# Configure PE3.
[PE3]
mpls lsr-id 4.4.4.4
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.
622