beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 301

background image

290

Neighbors

Area 0.0.0.0 interface 172.1.1.1(POS5/1/1)'s neighbors

Router ID: 2.2.2.9 Address: 172.1.1.2 GR State: Normal

State: Full Mode:Nbr is Master Priority: 1

DR: 172.1.1.1 BDR: 172.1.1.2 MTU: 0

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 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 pos 5/1/1

[PE1-POS5/1/1] mpls

[PE1-POS5/1/1] mpls ldp

[PE1-POS5/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 pos 5/1/1

[P-POS5/1/1] mpls

[P-POS5/1/1] mpls ldp

[P-POS5/1/1] quit

[P] interface pos 5/1/2

[P-POS5/1/2] mpls

[P-POS5/1/2] mpls ldp

[P-POS5/1/2] quit

# Configure PE 2.

[PE2] mpls lsr-id 3.3.3.9

[PE2] mpls

[PE2-mpls] quit

[PE2] mpls ldp

[PE2-mpls-ldp] quit

[PE2] interface pos 5/1/1

[PE2-POS5/1/1] mpls

[PE2-POS5/1/1] mpls ldp

[PE2-POS5/1/1] quit

After you complete the configurations, P establishes an LDP session with PE 1 and PE 2 respectively.
Issue the display mpls ldp session command. The output shows that the session status is

Operational. Issue the display mpls ldp lsp command. The output shows the LSPs established by

LDP. Take PE 1 as an example: