![H3C S5500-EI series Скачать руководство пользователя страница 424](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960424.webp)
407
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
Follow these steps 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.
Configuring static routing between MCE and PE
Follow these steps to configure static routing between MCE and PE:
To do…
Use the command…
Remarks
Enter system view
system-view
—
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
]
Configure static
routes for a VPN
instance
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
]
Required
Use either
command.
Configure the
default precedence
for static routes
ip route-static default-preference
default-preference-value
Optional
60 by default
Configuring RIP between MCE and PE
Follow these steps to configure RIP between MCE and PE: