Configuration prerequisites, Configuring a vpn instance, Configuring route advertisement between pe and ce – H3C Technologies H3C S7500E Series Switches User Manual
Page 253: Configuring static routes between pes and ces, 28 configuring a vpn instance

6-28
As for the route exchange between a PE and a CE, you can configure static routes, multiple RIP
instances, multiple OSPF instances, multiple IS-IS instances, or BGP according to the networking
situations. MP-IBGP is adopted between PEs.
Configuration Prerequisites
Before configuring basic MPLS L3VPN, complete these tasks:
z
Configure IGP for the MPLS backbone (PEs and Ps) to achieve IP connectivity
z
Configure MPLS basic capability for the MPLS backbone (PEs and Ps)
z
Configure MPLS LDP for the MPLS backbone (PEs and Ps) so that LDP LSPs can be established
z
On CEs, configure the IP addresses of the interfaces for accessing the PEs
Configuring a VPN Instance
Follow these steps to configure a VPN instance:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VPN instance and enter
VPN instance view
ip vpn-instance
vpn-instance-name
Required
No VPN instance exists by default.
Configure an RD for the VPN
instance
route-distinguisher
route-distinguisher
Required
Associate the current VPN
instance with one or more VPN
targets
vpn-target vpn-target
&<1-8>
[ both | export-extcommunity |
import-extcommunity
]
Required
Return to system view
quit
—
Enter interface view
interface interface-type
interface-number
—
Associate the current interface
with the VPN instance
ip binding vpn-instance
vpn-instance-name
Required
By default, an interface is
associated with no VPN instance.
Configuring Route Advertisement between PE and CE
Route advertisement between PE and CE can depend on static routes, RIP, OSPF, IS-IS, or EBGP.
You may choose one as needed.
Configuring static routes between PEs and CEs
Follow these steps to configure static routes between PEs and CEs:
To do…
Use the command…
Remarks
Enter system view
system-view
—