Step 5
Run:
quit
Return to the system view.
Step 6
Run:
bgp
as-number
The BGP view is displayed.
Step 7
Run:
peer
ipv4-address
as-number
as-number
The peer ASBR is specified as the EBGP peer.
Step 8
(Optional) Run:
peer
{
ipv4-address
|
group-name
}
ebgp-max-hop
[
hop-count
]
The maximum number of hops is configured for the EBGP connection.
Generally, one or multiple directly-connected physical links exist between EBGP peers. If the
directly-connected physical link(s) are not available, you must run the
peer ebgp-max-hop
command to ensure that the TCP connection can be set up between the EBGP peers through
multiple hops.
Step 9
Run:
ipv4-family
vpnv4
[
unicast
]
The BGP-VPNv4 address family is displayed.
Step 10
Run:
peer
ipv4-address
enable
The exchange of IPv4 VPN routes with the peer ASBR is enabled.
----End
3.7.4 Controlling the Receiving and Sending of VPN Routes by
Using Routing Policies
An ASBR can either save all VPNv4 routes or partial VPNv4 routes (by filtering VPN targets
through a routing policy).
Context
The following describes two methods for controlling the receiving and sending of VPN routes:
l
Without VPN Target Filtering
In this way, the ASBR stores all the VPN IPv4 routes.
l
VPN Target Filtering
In this way, the ASBR stores partial VPN IPv4 routes through routing policies.
In practical applications, only one of the preceding methods is selected.
Procedure
l
Without VPN Target Filtering
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.
130