2. Run:
bgp as-number
The BGP view is displayed.
3. Run:
ipv4-family vpnv4 [ unicast ]
The BGP VPNv4 address family is displayed.
4. Run:
peer ipv4-address enable
The exchange of VPN IPv4 routes with the peer RR is enabled.
5. Run:
peer ipv4-address next-hop-invariable
The next hop is not changed when the route is advertised to the EBGP peer.
----End
3.8.5 Configuring the Route Exchange Between CE and PE
The routing protocol between a PE and a CE can be BGP, static route, or IGP.
Context
For detailed configurations, see Configuring a Routing Protocol Between PE and CE.
3.8.6 Checking the Configuration
After configuring inter-AS VPN Option C, you can view information about all the BGP peer
relationships, VPNv4 routes on PEs or ASBRs, and labels of IPv4 routes on ASBRs.
Prerequisites
The configurations of the inter-AS VPN Option C function are complete.
Procedure
l Run the display bgp vpnv4 all peer command to check the BGP peers on the PE.
l Run the display bgp vpnv4 all routing-table command to check the VPN IPv4 routing
table on the PE or ASBR.
l Run the display bgp routing-table label command to check information about the label
of the IPv4 route on the ASBR.
l Run the display ip routing-table vpn-instance vpn-instance-name command to check the
VPN routing table on the PE.
----End
Example
Run the display bgp vpnv4 all peer command on the PE. If the status of the EBGP peer between
PEs is "Established", the configuration is successful.
Run the display bgp vpnv4 all routing-table command. You can view that the PE has the VPN
IPv4 routes while the ASBR has no VPN IPv4 route.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
111