3Com Switch 8800 Configuration Guide Chapter 37 BGP/MPLS VPN Configuration

37-64

[PE1-Pos1/1/0] mpls ldp
[PE1-Pos1/1/0] quit
Configure basic MPLS capability on ASBR-PE1, enable LDP on the interface connected to PE1, and enable MPLS on the interface connected to ASBR-PE2.
[ASBR-PE1] mpls lsr-id 172.1.1.1
[ASBR-PE1-mpls] lsp-trigger all
[ASBR-PE1-mpls] quit
[ASBR-PE1] mpls ldp
[ASBR-PE1-mpls-ldp] quit
[ASBR-PE1] interface pos1/1/0
[ASBR-PE1-Pos1/1/0] mpls
[ASBR-PE1-Pos1/1/0] mpls ldp
[ASBR-PE1-Pos1/1/0] quit
[ASBR-PE1] interface pos2/1/0
[ASBR-PE1-Pos2/1/0] mpls
[ASBR-PE1-Pos2/1/0] quit
Configure basic MPLS capability on ASBR-PE2, enable LDP on the interface connected to PE2, and enable MPLS on the interface connected to ASBR-PE1.
[ASBR-PE2] mpls lsr-id 162.1.1.1
[ASBR-PE2-mpls] lsp-trigger all
[ASBR-PE2-mpls] quit
[ASBR-PE2] mpls ldp
[ASBR-PE2-mpls-ldp] quit
[ASBR-PE2] interface pos1/1/0
[ASBR-PE2-Pos1/1/0] mpls
[ASBR-PE2-Pos1/1/0] mpls ldp
[ASBR-PE2-Pos1/1/0] quit
[ASBR-PE2] interface pos2/1/0
[ASBR-PE2-Pos2/1/0] mpls
[ASBR-PE2-Pos2/1/0] quit
Configure basic MPLS capability on PE2 and enable LDP on the interface connected to ASBR-PE2.
[PE2] mpls lsr-id 162.1.1.2
[PE2-mpls] lsp-trigger all
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface pos1/1/0
[PE2-Pos1/1/0] mpls
[PE2-Pos1/1/0] mpls ldp
[PE2-Pos1/1/0] quit