Huawei quidway s7700 Configuration Manual page 126

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Issue 01 (2011-07-15)
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 view is displayed.
4.
(Optional) Run:
as-number as-number
An AS number for the VPN instance is specified.
During network transfer or service identification, a device needs to be simulated as
multiple BGP devices logically. In this case, you can run the as-number command
to configure an AS number for each VPN instance.
NOTE
The AS number configured in the BGP-VPN instance view cannot be the same as the AS
number configured in the BGP view.
5.
Run:
peer ipv4-address as-number as-number
The CE is specified as the peer of the VPN.
6.
(Optional) When the direct route of the local CE need be imported to the VPN routing
table (for being advertised to the remote PE), select either of the following
configurations:
– Run the import-route direct [ med med | route-policy route-policy-name ]*
command to import the direct routes of the local CE to the VPN routing table..
– Run the network ipv4-address [ mask | mask-length ] [ route-policy route-policy-
name ] command to import a specific direct route of the local CE to the VPN routing
table.
NOTE
The PE can automatically learn the direct route to the local CE. The route has a higher priority
than the direct route that is advertised by IBGP. Therefore, if this step is not performed, the PE
does not advertise the direct route to the remote PE by using MP-BGP.
Do as follows on the CE:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
peer ipv4-address as-number as-number
The PE is specified as the IBGP peer.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 BGP MPLS IP VPN Configuration
111

Advertisement

Table of Contents
loading

Table of Contents