493
[PEagg-ospf-1-area-0.0.0.0] quit
[PEagg-ospf-1] quit
b.
Configure basic MPLS and MPLS LDP on PE 1, P, and PE-agg:
# Configure PE 1.
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls ldp
[PE1-ldp] lsp-trigger all
[PE1-ldp] quit
[PE1] interface pos 1/1/0
[PE1-Pos1/1/0] mpls enable
[PE1-Pos1/1/0] mpls ldp enable
[PE1-Pos1/1/0] quit
# Configure the P device.
[P] mpls lsr-id 2.2.2.9
[P] mpls ldp
[P-ldp] lsp-trigger all
[P-ldp] quit
[P] interface pos 1/1/0
[P-Pos1/1/0] mpls enable
[P-Pos1/1/0] mpls ldp enable
[P-Pos1/1/0] quit
[P] interface pos 1/1/1
[P-Pos1/1/1] mpls enable
[P-Pos1/1/1] mpls ldp enable
[P-Pos1/1/1] quit
# Configure PE-agg.
[PEagg] mpls lsr-id 3.3.3.9
[PEagg] mpls ldp
[PEagg-ldp] lsp-trigger all
[PEagg-ldp] quit
[PEagg] interface pos 1/1/0
[PEagg-Pos1/1/0] mpls enable
[PEagg-Pos1/1/0] mpls ldp enable
[PEagg-Pos1/1/0] quit
c.
Enable L2VPN on PE 1 and PE-agg:
# Configure PE 1.
[PE1] l2vpn enable
# Configure PE-agg.
[PEagg] l2vpn enable
d.
Create VSIs on PE 1 and PE-agg:
# On PE 1, create VSI
vpna
, and specify the PW signaling protocol for the VSI as LDP.
[PE1] vsi vpna
[PE1-vsi-vpna] pwsignaling ldp
# On PE 1, create LDP PW 500 to the peer PE 3.3.3.9.
[PE1-vsi-vpna-ldp] peer 3.3.3.9 pw-id 500
[PE1-vsi-vpna-ldp-3.3.3.9-500] quit
[PE1-vsi-vpna-ldp] quit