H3C Technologies H3C SR8800 User Manual
Page 384

373
Destinations : 9 Routes : 9
Destination/Mask Proto Pre Cost NextHop Interface
1.1.1.9/32 Direct 0 0 127.0.0.1 InLoop0
2.2.2.9/32 OSPF 10 1 172.1.1.2 POS2/1/1
3.3.3.9/32 OSPF 10 2 172.1.1.2 POS2/1/1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
172.1.1.0/24 Direct 0 0 172.1.1.1 POS2/1/1
172.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0
172.1.1.2/32 Direct 0 0 172.1.1.2 POS2/1/1
172.2.1.0/24 OSPF 10 1 172.1.1.2 POS2/1/1
[PE1] display ospf peer verbose
OSPF Process 1 with Router ID 1.1.1.9
Neighbors
Area 0.0.0.0 interface 172.1.1.1(POS2/1/1)'s neighbors
Router ID: 172.1.1.2 Address: 172.1.1.2 GR State: Normal
State: Full Mode:Nbr is Master Priority: 1
DR: None BDR: None MTU: 1500
Dead timer due in 38 sec
Neighbor is up for 00:02:44
Authentication Sequence: [ 0 ]
Neighbor state change count: 5
2.
Configure basic MPLS and enable MPLS LDP on the MPLS backbone to establish LDP LSPs.
# Configure PE 1.
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface pos2/1/1
[PE1-POS2/1/1] mpls
[PE1-POS2/1/1] mpls ldp
[PE1-POS2/1/1] quit
# Configure the P router.
[P] mpls lsr-id 2.2.2.9
[P] mpls
[P-mpls] quit
[P] mpls ldp
[P-mpls-ldp] quit
[P] interface pos2/1/1
[P-POS2/1/1] mpls
[P-POS2/1/1] mpls ldp
[P-POS2/1/1] quit
[P] interface POS 2/1/2
[P-POS2/1/2] mpls
[P-POS2/1/2] mpls ldp
[P-POS2/1/2] quit
# Configure PE 2.