beautypg.com

Configuring ospf – H3C Technologies H3C S10500 Series Switches User Manual

Page 23

background image

12

To do…

Use the command…

Remarks

Enter system view

system-view

Enter RIP view and bind the RIP
process to a VPN instance

rip [ process-id ] vpn-instance
vpn-instance-name

Required

Redistribute routes of the routing
protocol processes connecting the
MCE with the PE and the sites,

respectively

import-route protocol [ process-id ]
[ allow-ibgp ] [ cost cost |
route-policy route-policy-name |

tag tag ] *

Required
By default, no route of any other

protocol is redistributed into RIP.

If the RIP process is for an MCE
and a site, the routes to be

redistributed must be from the

routing protocol process used
for advertising the routes of the

VPN between the MCE and PE.

If the RIP process is for an MCE
and a PE, the routes to be
redistributed must be from the

routing protocol process used

for advertising the routes of the

VPN between the MCE and the
sites.

Configure the default cost value for
the redistributed routes

default cost value

Optional
0 by default

NOTE:

After you configure a RIP process, you must enable RIP. The configuration procedure is the same as the
common RIP configuration. For more information about RIP, see

Layer 3—IP Routing Configuration

Guide.

Configuring OSPF

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.
On the MCE, you must not only configure the binding between a VPN instance, an OSPF process, and
the router ID, but also redistribute the VPN routes locally maintained to the routing table of the OSPF

process.
Follow these steps to configure route exchange through OSPF:

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

Enable the

multi-VPN-instance function
of OSPF

vpn-instance-capability simple

Required
Disabled by default