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 Quidway
S7700 Smart Routing Switch 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, do as follows 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 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
Follow-up Procedure
Choose one of the preceding methods as required. For detailed configurations, see
a Routing Protocol Between PE and CE
.
3.5.7 Checking the Configuration
After the networking of Hub and Spoke is configured, you can view VPN routing information
on the PE or CE.
Prerequisite
The configurations of the Hub and Spoke function are complete.
Procedure
l
Run the
display ip routing-table vpn-instance
vpn-instance-name
command to check
routing information about the VPN-in and VPN-out on the Hub-PE.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
124