H3C S9500 Series Operation Manual page 62

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

Advertisement

Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
[CE2] vlan 510
[CE2-vlan510] interface vlan 510
[CE2-Vlan-interface510] ip address 168.2.2.2 255.255.0.0
[CE2-Vlan-interface510] quit
# Create a VPN instance on PE2 and bind it to the interface connected to CE2
[PE2] ip vpn-instance vpna
[PE2-vpn-instance] route-distinguisher 200:2
[PE2-vpn-instance] vpn-target 100:1 both
[PE2-vpn-instance] quit
[PE2] vlan 510
[PE2] interface vlan 510
[PE2-Vlan-interface510] ip binding vpn-instance vpna
[PE2-Vlan-interface510] ip address 168.2.2.1 255.255.0.0
[PE2-Vlan-interface510] quit
4)
Configure MP-BGP, set up IBGP peer relation between PEs, and set up EBGP
peer relation between PEs and their CEs.
Note:
Enable the exchanging of label-carried IPv4 route between the following routers:
PE1 and ASBR-PE1, PE2 and ASBR-PE2, ASBR-PE1 and ASBR-PE2.
Make each ASBR-PE change the next hop to its own when it advertises routes to
the PE in the same AS.
Configure routing policy on each ASBR-PE as follows: make the ASBR-PE assign
MPLS label when it advertises a route received from the PE in this AS to the
ASBR-PE in the peer AS, and let the ASBR-PE assign a new MPLS label when it
advertises a label-carried IPv4 route to the PE in this AS.
Up to 100 LSPs with two layer labels can be created for the public network.
# Configure CE1
[CE1] bgp 65001
[CE1-bgp] group 20 external
[CE1-bgp] peer 168.1.1.1 group 20 as-number 100
[CE1-bgp] quit
# Configure PE1: set up EBGP peer relation with CE1, IBGP peer relation with
ASBR-PE1, and Multihop MP-EBGP peer relation with PE2.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpna
[PE1-bgp-af-vpn-instance] group 10 external
[PE1-bgp-af-vpn-instance] peer 168.1.1.2 group 10 as-number 65001
Chapter 1 MPLS L3VPN Configuration
1-61

Advertisement

Table of Contents
loading

Table of Contents