beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 285

background image

6-60

This example uses OSPF. The detailed configuration steps are omitted.

The 32-bit loopback interface address used as the LSR ID needs to be advertised by OSPF.

After you complete the above configurations, each ASBR PE and the PE in the same AS should be
able to establish OSPF adjacencies. Issuing the display ospf peer command, you can see that the
adjacencies reach the state of Full, and that PEs can learn the loopback addresses of each other.

Each ASBR PE and the PE in the same AS should be able to ping each other.

2) Configure MPLS basic capability and MPLS LDP on the MPLS backbone to establish LDP LSPs

# Configure MPLS basic capability on PE 1 and enable MPLS LDP on the interface connected to
ASBR PE 1.

system-view

[PE1] mpls lsr-id 1.1.1.9

[PE1] mpls

[PE1-mpls] quit

[PE1] mpls ldp

[PE1-mpls-ldp] quit

[PE1] interface vlan-interface 12

[PE1-Vlan-interface12] mpls

[PE1-Vlan-interface12] mpls ldp

[PE1-Vlan-interface12] quit

# Configure MPLS basic capability on ASBR PE 1 and enable MPLS LDP on the interface connected
to PE 1.

system-view

[ASBR-PE1] mpls lsr-id 2.2.2.9

[ASBR-PE1] mpls

[ASBR-PE1-mpls] quit

[ASBR-PE1] mpls ldp

[ASBR-PE1-mpls-ldp] quit

[ASBR-PE1] interface vlan-interface 12

[ASBR-PE1-Vlan-interface12] mpls

[ASBR-PE1-Vlan-interface12] mpls ldp

[ASBR-PE1-Vlan-interface12] quit

# Configure MPLS basic capability on ASBR PE 2 and enable MPLS LDP on the interface connected
to PE 2.

system-view

[ASBR-PE2] mpls lsr-id 3.3.3.9

[ASBR-PE2] mpls

[ASBR-PE2-mpls] quit

[ASBR-PE2] mpls ldp

[ASBR-PE2-mpls-ldp] quit

[ASBR-PE2] interface vlan-interface 12

[ASBR-PE2-Vlan-interface12] mpls

[ASBR-PE2-Vlan-interface12] mpls ldp