The peers are enabled to exchange VPNv4 routing information.
----End
3.4.5 Configuring Routing Exchange Between PE and CE
Context
Choose one of the following methods to configure a routing policy as required:
l Configuring EBGP between PE and CE
l Configuring IBGP between PE and CE
l Configuring a static route between PE and CE
l Configuring RIP between PE and CE
l Configuring OSPF between PE and CE
l Configuring IS-IS between PE and CE
Procedure
l Configuring EBGP between PE and CE
Do as follows on the PEs.
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 view is displayed.
4. Run:
peer peer-address as-number number
The CE is configured as the BGP peer on the VPN.
5. (Optional) Run:
peer { ipv4-address | group-name } ebgp-max-hop [ number ]
The maximum number of hops on an EBGP connection is set.
Generally, the EBGP peers must be directly connected through physical links. If there
are no physical links, run the peer ebgp-max-hop command. This command allows
EBGP peers to set up TCP sessions to each other through multiple hops.
6. (Optional) Import the directly connected routes on the local CE to the VPN routing
table and advertise the routes to the remote PE if necessary. Do as follows:
– Run:
import-route direct [ med value | route-policy policy-name ]
*
The directly connected routes destined for the local CE are imported.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 3 BGP/MPLS IP VPN Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-13