H3C S9500 Series Operation Manual page 927

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Note:
The configuration on the other three CE switches (CE2 to CE4) is similar to that on CE1,
the details are omitted here.
2)
Configure PE1
# Configure vpn-instance for VPNA on PE1, as well as other associated attributes to
control advertisement of VPN routing information.
[PE1] ip vpn-instance vpna
[PE1-vpn-vpna] route-distinguisher 100:1
[PE1-vpn-vpna] vpn-target 111:1 both
[PE1-vpn-vpna] quit
# Configure PE1 and CE1 as MP-EBGP neighbors, import CE1 VPN routes learned
into MBGP VPN-instance address family.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpna
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] group 168 external
[PE1-bgp-af-vpn-instance] peer 168.1.1.1 group 168 as-number 65410
[PE1-bgp-af- vpn-instance] quit
[PE1-bgp] quit
# Bind the VLAN interface connecting PE1 and CE1 to the VPNA. Note that you should
first configure association between the VLAN interface and VPN-instance, and then
configure the IP address of the VLAN interface.
[PE1] vlan 202
[PE1-vlan202] port gigabitethernet 2/1/2
[PE1-vlan202] quit
[PE1] interface Vlan-interface 202
[PE1-Vlan-interface202] ip binding vpn-instance vpna
[PE1-Vlan-interface202] ip address 168.1.1.2 255.255.0.0
[PE1-Vlan-interface202] quit
# Configure Loopback interface. (For PE, the IP address for Loopback interface must
be a host address with 32-bit mask, to prevent the route is aggregated and then LSP
cannot process correctly interior-layer labels.)
[PE1] interface loopback0
[PE1-LoopBack 0] ip address 202.100.1.1 255.255.255.255
[PE1-LoopBack 0] quit
# Configure MPLS basic capacity and enable MPLS and LDP on VLAN interface
connecting PE1 and P. Create LSP and achieve MPLS packet forwarding.
Chapter 1 MPLS L3VPN Configuration
1-30

Advertisement

Table of Contents
loading

Table of Contents