beautypg.com

Configuring to use ospf between a mce and a site – H3C Technologies H3C S7500E Series Switches User Manual

Page 24

background image

1-12

To do…

Use the command…

Remarks

Redistribute routes from

the remote site

advertised by the PE

import-route protocol

[ process-id ] [ allow-ibgp ]

[ cost cost | route-policy

route-policy-name

| tag tag ] *

Required

By default, RIP does not redistribute routes

from other protocols.

After enabling RIP for a VPN instance, you need also to configure to use RIP for routing information
exchange.

Configuring to Use OSPF between a MCE and a Site

An OSPF process can be bound to only one VPN instance. OSPF processes not bound to any VPN
instances belong to the public network.

Follow these steps to configure OSPF between a MCE and a site:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable OSPF for a VPN

instance (this operation

also leads you to OSPF

view)

ospf

[ process-id | router-id

router-id

| vpn-instance

vpn-instance-name

] *

Required

This operation is performed on the MCE

device. As for the corresponding configuration

on the site, you can just enable OSPF as usual.

Enable

multi-VPN-instance CE

for the OSPF process

vpn-instance-capability

simple

Required

Disabled by default

Redistribute routes from

the remote site

advertised by the PE

import-route

protocol

[ process-id | allow-ibgp ]

[ cost cost | type type | tag

tag

| route-policy

route-policy-name

] *

Required

Not redistributed by default

Configure the OSPF

domain ID

domain-id

domain-id

[ secondary ]

Optional

By default, the OSPF domain ID is 0.

This operation is performed on the MCE

device. As for the corresponding configuration

on the site, you can just enable OSPF as usual.