
Operation Manual – VPLS
H3C S9500 Series Routing Switches
Chapter 1 VPLS Configuration
1-23
# Configure MPLS L2VPN.
[NPE1] mpls l2vpn
# Configure the basic attributes of VPLS instance aaa, which uses LDP.
[NPE1] vsi aaa static
[NPE1-vsi-aaa] pwsignal ldp
[NPE1-vsi-aaa-ldp] vsi-id 500
[NPE1-vsi-aaa-ldp] peer 60.4.4.4 upe
[NPE1-vsi-aaa-ldp] peer 60.3.3.3
[NPE1-vsi-aaa-ldp] peer 60.2.2.2
[NPE1-vsi-aaa-ldp] quit
[NPE1-vsi-aaa] quit
# Bind VPLS instance aaa to MPLS-VPLS virtual service interface.
[NPE1] interface MPLS-VPLS 0/0/2
[NPE1-MPLS-VPLS0/0/2] l2vpn-vpls service binding vsi aaa
[NPE1-MPLS-VPLS0/0/2] quit
4)
Configure NPE 2
# Configure MPLS basic capability.
<Sysname> system-view
[Sysname] sysname NPE2
[NPE2] mpls lsr-id 60.2.2.2
[NPE2] mpls
[NPE2–mpls] quit
[NPE2] mpls ldp
[NPE2–mpls-ldp] quit
# Configure to redirect VPLS traffic to the virtual service port that corresponds to the
L3+ card.
[NPE2] interface MPLS-VPLS 0/0/2
[NPE2-MPLS-VPLS0/0/2] l2vpn-vpls service binding service-id 1
[NPE2-MPLS-VPLS0/0/2] quit
# Configure MPLS basic capability on the interface connected with UPE.
[NPE2] vlan 30
[NPE2-vlan30] port Ethernet 4/1/3
[NPE2-vlan30] quit
[NPE2] interface Vlan-interface 30
[NPE2-Vlan-interface30] ip address 60.42.42.1 24
[NPE2-Vlan-interface30] mpls
[NPE2-Vlan-interface30] mpls ldp
[NPE2-Vlan-interface30] quit
# Configure MPLS basic capability on the interface connected with NPE 1.