R3303-HP HSR6800 Routers MPLS Configuration Guide
229
[PE2-mpls-remote-2] remote-ip 1.1.1.9
[PE2-mpls-remote-2] quit
# Configure MP-BGP for VPLS.
[PE2] bgp 100
[PE2-bgp] peer 1.1.1.9 as-number 100
[PE2-bgp] peer 1.1.1.9 connection-interface loopback 0
[PE2-bgp] vpls-family
[PE2-bgp-af-vpls] peer 1.1.1.9 enable
[PE2-bgp-af-vpls] quit
[PE2-bgp] quit
# Enable L2VPN and MPLS L2VPN.
[PE2] l2vpn
[PE2-l2vpn] mpls l2vpn
[PE2-l2vpn] quit
# Create VPLS instance aaa that uses LDP signaling.
[PE2] vsi aaa static
[PE2-vsi-aaa] pwsignal ldp
[PE2-vsi-aaa-ldp] vsi-id 500
[PE2-vsi-aaa-ldp] peer 1.1.1.9
[PE2-vsi-aaa-ldp] quit
[PE2-vsi-aaa] quit
# Create VPLS instance bbb that uses BGP signaling.
[PE2] vsi bbb auto
[PE2-vsi-bbb] pwsignal bgp
[PE2-vsi-bbb-bgp] route-distinguisher 100:1
[PE2-vsi-bbb-bgp] vpn-target 111:1
[PE2-vsi-bbb-bgp] site 2 range 10
[PE2-vsi-bbb-bgp] quit
[PE2-vsi-bbb] quit
# Create VPLS instance ccc that uses static labels.
[PE2] vsi ccc static
[PE2-vsi-ccc] pwsignal static
[PE2-vsi-ccc-static] peer 1.1.1.9
[PE2-vsi-ccc-static-1.1.1.9] static label local 200 remote 100
[PE2-vsi-ccc-static-1.1.1.9] quit
[PE2-vsi-ccc-static] quit
[PE2-vsi-ccc] quit
# Configure interface GigabitEthernet 2/1/2 and bind VPLS instance aaa, bbb, or ccc to the
interface.
[PE2] interface gigabitethernet 2/1/2
To bind VPLS instance aaa to the interface:
[PE2-GigabitEthernet2/1/2] l2 binding vsi aaa
To bind VPLS instance bbb to the interface:
[PE2-GigabitEthernet2/1/2] l2 binding vsi bbb
To bind VPLS instance ccc to the interface:
[PE2-GigabitEthernet2/1/2] l2 binding vsi ccc