beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 320

background image

309

[CE1-Vlan-interface12] mpls

[CE1-Vlan-interface12] mpls ldp

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

[CE1-Vlan-interface12] quit

After the configurations, PE 3 and CE 1 can establish an LDP session and IS-IS neighbor relationship

between them.

NOTE:

The configurations for PE 4 and CE 2 are similar to those for PE 3 and CE 1. (Details not shown)

3.

Perform configuration to allow CEs of the customer carrier to access PEs of the provider carrier,
and redistribute IS-IS routes to BGP and BGP routes to IS-IS on the PEs.

# Configure PE 1 and inject IS-IS routes.

[PE1] ip vpn-instance vpn1

[PE1-vpn-instance-vpn1] route-distinguisher 200:1

[PE1-vpn-instance-vpn1] vpn-target 1:1

[PE1-vpn-instance-vpn1] quit

[PE1] mpls ldp vpn-instance vpn1

[PE1-mpls-ldp-vpn-instance-vpn1] quit

[PE1] isis 2 vpn-instance vpn1

[PE1-isis-2] network-entity 10.0000.0000.0000.0003.00

[PE1-isis-2] import-route bgp allow-ibgp

[PE1-isis-2] quit

[PE1] interface vlan-interface 11

[PE1-Vlan-interface11] ip binding vpn-instance vpn1

[PE1-Vlan-interface11] ip address 11.1.1.2 24

[PE1-Vlan-interface11] isis enable 2

[PE1-Vlan-interface11] mpls

[PE1-Vlan-interface11] mpls ldp

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

[PE1-Vlan-interface11] quit

[PE1] bgp 100

[PE1-bgp] ipv4-family vpn-instance vpn1

[PE1-bgp-vpn1] import isis 2

[PE1-bgp-vpn1] quit

[PE1-bgp] quit

# Configure CE 1.

[CE1] interface vlan-interface 11

[CE1-Vlan-interface11] ip address 11.1.1.1 24

[CE1-Vlan-interface11] isis enable 2

[CE1-Vlan-interface11] mpls

[CE1-Vlan-interface11] mpls ldp

[CE1-Vlan-interface11] mpls ldp transport-address interface

[CE1-Vlan-interface11] quit

After the configurations, PE 1 and CE 1 can establish the LDP session and IS-IS neighbor relationship
between them.