![H3C S5500-EI series Скачать руководство пользователя страница 420](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960420.webp)
403
To do…
Use the command…
Remarks
Enable RIP on the interface
attached to the specified network
network
network-address
Required
By default, RIP is disabled on an
interface.
Redistribute remote site routes
advertised by the PE
import-route
protocol
[
process-id
]
[
allow-ibgp
] [
cost
cost
|
route-policy
route-policy-name
|
tag
tag
] *
Required
By default, no route is redistributed
into RIP.
Configure the default cost value for
the redistributed routes
default cost
value
Optional
0 by default
NOTE:
For more information about RIP, see
Layer 3—IP Routing Configuration Guide.
Configuring OSPF between MCE and VPN site
An OSPF process belongs to the public network or a single VPN instance. If you create an OSPF process
without binding it to a VPN instance, the process belongs to the public network.
By configuring OSPF process-to-VPN instance bindings on a MCE, you allow routes of different VPNs to
be exchanged between the MCE and the sites through different OSPF processes, ensuring the separation
and security of VPN routes.
Follow these steps to configure OSPF between MCE and VPN site:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create an OSPF process for a VPN
instance and enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
Required
Perform this configuration on the
MCE. On a VPN site, create a
normal OSPF process.
Configure the OSPF domain ID
domain-id
domain-id
[
secondary
]
Optional
0 by default.
Perform this configuration on the
MCE. On a VPN site, perform the
common OSPF configuration.
Redistribute remote site routes
advertised by the PE
import-route
protocol
[
process-id
|
allow-ibgp
] [
cost
cost
|
type
type
|
tag
tag
|
route-policy
route-policy-name
] *
Required
By default, no route of any other
routing protocol is redistributed
into OSPF.
Create an OSPF area and enter
OSPF area view
area
area-id
Required
By default, no OSPF area is
created.
Enable OSPF on the interface
attached to the specified network
in the area
network
ip-address wildcard-mask
Required
By default, an interface neither
belongs to any area nor runs
OSPF.