
Operation Manual – VPLS
H3C S9500 Series Routing Switches
Chapter 1 VPLS Configuration
1-16
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
# Configure to redirect VPLS traffic to the virtual service port that corresponds to the
L3+ card.
[PE1] interface MPLS-VPLS 0/0/2
[PE1-MPLS-VPLS0/0/2] l2vpn-vpls service binding service-id 1
[PE1-MPLS-VPLS0/0/2] quit
# Create VLAN 10 and VLAN-interface 10.
[PE1] vlan 10
[PE1-vlan10] port Ethernet 4/1/1
[PE1-vlan10] quit
[PE1] interface Vlan-interface 10
[PE1-Vlan-interface10] ip address 10.10.10.10 24
# Configure MPLS basic capability on the VLAN interface.
[PE1-Vlan-interface10] mpls
[PE1-Vlan-interface10] mpls ldp
[PE1-Vlan-interface10] quit
# Configure BGP extension.
[PE1] bgp 100
[PE1-bgp] peer 2.2.2.9 as-number 100
[PE1-bgp] peer 2.2.2.9 connection-interface loopback 0
[PE1-bgp] vpls-family
[PE1-bgp-af-vpls] peer 2.2.2.9 enable
[PE1-bgp-af-vpls] quit
[PE1-bgp] quit
# Configure MPLS L2VPN.
[PE1] mpls l2vpn
# Configure the basic attributes of VPLS instance aaa, which uses LDP.
[PE1] vsi aaa static
[PE1-vsi-aaa] pwsignal ldp
[PE1-vsi-aaa-ldp] vsi-id 500
[PE1-vsi-aaa-ldp] peer 2.2.2.9
[PE1-vsi-aaa-ldp] quit
[PE1-vsi-aaa] quit
# Configure the basic attributes of VPLS instance bbb, which uses BGP.
[PE1] vsi bbb auto