H3C SR8800 10G Mpls Configuration Manual page 313

Core routers
Table of Contents

Advertisement

[PE1] interface pos2/1/1
[PE1-POS2/1/1] mpls
[PE1-POS2/1/1] mpls ldp
[PE1-POS2/1/1] quit
# Configure basic MPLS on ASBR PE 1 and enable MPLS LDP on the interface connected to PE 1.
<ASBR-PE1> 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 pos2/1/1
[ASBR-PE1-POS2/1/1] clock master
[ASBR-PE1-POS2/1/1] mpls
[ASBR-PE1-POS2/1/1] mpls ldp
[ASBR-PE1-POS2/1/1] quit
# Configure basic MPLS on ASBR PE 2 and enable MPLS LDP on the interface connected to PE 2.
<ASBR-PE2> 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 pos2/1/1
[ASBR-PE2-POS2/1/1] clock master
[ASBR-PE2-POS2/1/1] mpls
[ASBR-PE2-POS2/1/1] mpls ldp
[ASBR-PE2-POS2/1/1] quit
# Configure basic MPLS on PE 2 and enable MPLS LDP on the interface connected to ASBR PE 2.
<PE2> system-view
[PE2] mpls lsr-id 4.4.4.9
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface pos2/1/1
[PE2-POS2/1/1] mpls
[PE2-POS2/1/1] mpls ldp
[PE2-POS2/1/1] quit
After you complete the configurations, each PE and the ASBR PE in the same AS can establish
neighbor relationship. Issue the display mpls ldp session command on the devices. The output
shows that the session status is Operational.
Configure VPN instances on PEs to allow CEs to access the network
3.
NOTE:
For the same VPN, the VPN targets for the VPN instance on the PE must match those for the VPN instance
on the ASBR-PE in the same AS. This is not required for PEs in different ASs.
302

Advertisement

Table of Contents
loading

Table of Contents