R3303-HP HSR6800 Routers MPLS Configuration Guide
228
[PE1-vsi-bbb] pwsignal bgp
[PE1-vsi-bbb-bgp] route-distinguisher 100:1
[PE1-vsi-bbb-bgp] vpn-target 111:1
[PE1-vsi-bbb-bgp] site 1 range 10
[PE1-vsi-bbb-bgp] quit
[PE1-vsi-bbb] quit
# Create VPLS instance ccc that uses static labels.
[PE1] vsi ccc static
[PE1-vsi-ccc] pwsignal static
[PE1-vsi-ccc-static] peer 2.2.2.9
[PE1-vsi-ccc-static-2.2.2.9] static label local 100 remote 200
[PE1-vsi-ccc-static-2.2.2.9] quit
[PE1-vsi-ccc-static] quit
[PE1-vsi-ccc] quit
# Configure interface GigabitEthernet 2/1/2 and bind VPLS instance aaa, bbb, or ccc to the
interface.
[PE1] interface gigabitethernet 2/1/2
To bind VPLS instance aaa to the interface:
[PE1-GigabitEthernet2/1/2] l2 binding vsi aaa
To bind VPLS instance bbb to the interface:
[PE1-GigabitEthernet2/1/2] l2 binding vsi bbb
To bind VPLS instance ccc to the interface:
[PE1-GigabitEthernet2/1/2] l2 binding vsi bbb
[PE1-GigabitEthernet2/1/2] quit
2. Configure PE 2:
# Configure an IGP, such as OSPF. (Details not shown.)
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname PE2
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 2.2.2.9 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 2.2.2.9
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
# Configure an IP address for interface GigabitEthernet 2/1/1.
[PE2] interface gigabitethernet 2/1/1
[PE2-GigabitEthernet2/1/1] ip address 10.10.10.11 24
# Configure basic MPLS on GigabitEthernet 2/1/1.
[PE2-GigabitEthernet2/1/1] mpls
[PE2-GigabitEthernet2/1/1] mpls ldp
[PE2-GigabitEthernet2/1/1] quit
# Configure the remote LDP peer.
[PE2] mpls ldp remote-peer 2