beautypg.com

Configuration procedure – H3C Technologies H3C S6800 Series Switches User Manual

Page 249

background image

236

Configuration procedure

1.

Configure MPLS L3VPN on the provider carrier backbone. Enable IS-IS as the IGP, enable LDP

between PE 1 and PE 2, and establish an MP-IBGP peer relationship between the PEs:
# Configure PE 1.

system-view

[PE1] interface loopback 0

[PE1-LoopBack0] ip address 3.3.3.9 32

[PE1-LoopBack0] quit

[PE1] mpls lsr-id 3.3.3.9

[PE1] mpls ldp

[PE1-ldp] quit

[PE1] isis 1

[PE1-isis-1] network-entity 10.0000.0000.0000.0004.00

[PE1-isis-1] quit

[PE1] interface loopback 0

[PE1-LoopBack0] isis enable 1

[PE1-LoopBack0] quit

[PE1] interface vlan-interface 12

[PE1-Vlan-interface12] ip address 30.1.1.1 24

[PE1-Vlan-interface12] isis enable 1

[PE1-Vlan-interface12] mpls enable

[PE1-Vlan-interface12] mpls ldp enable

[PE1-Vlan-interface12] mpls ldp transport-address interface

[PE1-Vlan-interface12] quit

[PE1] bgp 100

[PE1-bgp] peer 4.4.4.9 as-number 100

[PE1-bgp] peer 4.4.4.9 connect-interface loopback 0

[PE1-bgp] address-family vpnv4

[PE1-bgp-vpnv4] peer 4.4.4.9 enable

[PE1-bgp-vpnv4] quit

[PE1-bgp] quit

# Configure PE 2 in the same way that PE 1 is configured. (Details not shown.)
# On PE 1 or PE 2, execute the following commands:

{

Execute the display mpls ldp peer command to verify that an LDP session in Operational state
has been established between PE 1 and PE 2. (Details not shown.)

{

Execute the display bgp peer vpnv4 command to verify that a BGP peer relationship in

Established state has been established between PE 1 and PE 2. (Details not shown.)

{

Execute the display isis peer command to verify that the IS-IS neighbor relationship has been
established between PE 1 and PE 2. (Details not shown.)

2.

Configure the customer carrier network. Enable IS-IS as the IGP, and enable LDP between PE 3 and
CE 1, and between PE 4 and CE 2:
# Configure PE 3.

system-view

[PE3] interface loopback 0

[PE3-LoopBack0] ip address 1.1.1.9 32

[PE3-LoopBack0] quit