R3303-HP 6600/HSR6600 Routers MPLS Configuration Guide

229
# 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
[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