The BGP VPNv4 sub-address family view is displayed.
7. Run:
peer ipv4-address enable
The VPNv4 route exchange capability with the remote PE is enabled.
----End
3.9.7 Configuring the Route Exchange Between a CE and a PE
The routing protocol between a PE and a CE can be BGP, static route, or IGP.
Procedure
l Configuring a PE.
1. Run:
system-view
The system view is displayed.
2. Run:
bgp as-number
The BGP view is displayed.
3. Run:
ipv4-family vpn-instance vpn-instance-name
The BGP-VPN instance IPv4 address family view is displayed.
4. Run:
peer ipv4-address as-number as-number
The CE is configured to be the peer of the VPN private network.
5. (Optional) Run:
peer { ipv4-address | group-name } ebgp-max-hop [ hop-count ]
The maximum number of hops in the EBGP connection is specified.
6. (Optional) Run:
network ip-address mask
The direct routes are advertised to the local CE.
7. (Optional) Run:
peer ip-address allow-as-loop [ number ]
The routing loop is permitted.
8. (Optional) Run:
peer ip-address substitute-as
The function of BGP AS number substitution is enabled.
l Configuring a CE.
1. Run:
system-view
The system view is displayed.
2. Run:
bgp as-number
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.
118