241
NOTE:
After you configure a VPN site as an iBGP peer of the MCE, the MCE does not advertise the BGP routes
learned from the VPN site to other iBGP peers, including VPNv4 peers. Only when you configure the VPN
site as a client of the RR (the MCE), does the MCE advertise routes learned from it to other iBGP peers.
2.
Configure a VPN site
To configure a VPN site:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure the MCE as the iBGP
peer
peer
{
group-name
|
ip-address
}
[
as-number
as-number
]
Required
Redistribute the IGP routes of the
VPN
import-route
protocol
[
process-id
]
[
med
med-value
|
route-policy
route-policy-name
] *
Optional
A VPN site must advertise the VPN
network addresses it can reach to
the connected MCE.
Configuring routing between MCE and PE
MCE-PE routing configuration includes these tasks:
•
Bind the MCE-PE interfaces to VPN instances
•
Perform route configurations
•
Redistribute VPN routes into the routing protocol running between the MCE and the PE.
NOTE:
Configurations in this section are configured on the MCE. Configurations on the PE are similar to those on
the PE in common MPLS L3VPN network solutions (see “
Configuring routing between PE and CE
”).
Configuring static routing between MCE and PE
To configure static routing between MCE and PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure static
routes for a VPN
instance
ip
route-static
dest-address
{
mask
|
mask-length
}
{
gateway-address
|
interface-type interface-number
[
gateway-address
] |
vpn-instance
d-vpn-instance-name
gateway-address
} [
preference
preference-value
] [
tag
tag-value
]
[
description
description-text
]
Required
Use either
command.
ip route-static
vpn-instance
s-vpn-instance-name&
<1-6
>
dest-address
{
mask
|
mask-length
} {
gateway-address
[
public
] |
interface-type interface-number
[
gateway-address
] |
vpn-instance
d-vpn-instance-name gateway-address
} [
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
Configure the
default precedence
for static routes
ip route-static default-preference
default-preference-value
Optional
60 by default