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 ip-address allow-as-loop [ number ]
Allow the routing loop. Here the value of number is set as 1, which means the route
with the AS repeated once can be sent.
l Configuring IGP between the Hub-PE and Hub-CE
In this way, instead of BGP, IGP or static routes are adopted between the Spoke-PE and
the Spoke-CE. For details, refer to the chapter "BGP/MPLS IP VPN" in the Huawei AR1200
Series Enterprise Routers Feature Desripiton- VPN.
l Configuring static routes between the Hub-PE and the Hub-CE
In this way, EBGP, IGP, or static routes can be adopted between the Spoke-PE and the
Spoke-CE.
If the Hub-CE uses the default route to access the Hub-PE, to advertise the default route to
all the Spoke-PEs, perform the following steps on the Hub-PE:
1. Run:
system-view
The system view is displayed.
2. Run:
ip route-static vpn-instance vpn-source-name 0.0.0.0 0.0.0.0 nexthop-
address [ preference preference | tag tag ]
*
[ description text ]
Here, vpn-instance-name refers to the VPN-out. nexthop-address is the IP address of
the Hub-CE interface that is connected with the PE interface bound with the VPN-
out.
3. Run:
bgp as-number
The BGP view is displayed.
4. Run:
ipv4-family vpn-instance vpn-instance-name
The BGP VPN instance IPv4 address family view is displayed. vpn-instance-name
refers to the VPN-out.
5. Run:
network 0.0.0.0 0
Advertise the default route to all the Spoke-PEs through MP-BGP.
----End
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.
91