H3C S9500 Series Operation Manual page 588

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

Advertisement

Operation Manual – MPLS
H3C S9500 Series Routing Switches
1)
Configure CE1.
# Configure CE1 and PE1 as EBGP neighbors, import direct-connect routes and static
routes to import intra-CE1 VPN routes into BGP and advertise to PE1.CE1connects to
PE1 through interface Gigabitethernet 2/1/1.
[CE1] vlan 201
[CE1-vlan201] port gigabitethernet 2/1/1
[CE1-vlan201] quit
[CE1] interface Vlan-interface 201
[CE1-Vlan-interface201] ip address 168.1.1.1 255.255.0.0
[CE1-Vlan-interface201] quit
[CE1] bgp 65410
[CE1-bgp] group 168 external
[CE1-bgp] peer 168.1.1.2 group 168 as-number 100
[CE1-bgp] import-route direct
[CE1-bgp] import-route static
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
Chapter 3 BGP/MPLS VPN Configuration
3-28

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents