beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 24

background image

13

To do…

Use the command…

Remarks

Configure the OSPF domain
ID

domain-id domain-id
[ secondary ]

Optional
0 by default.
Configure this command for an OSPF

process for route exchange with a site.
This configuration is required on the MCE.

On the VPN site, perform the common OSPF
configuration.

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 | type type | tag tag |
route-policy route-policy-name ]

*

Required
By default, no route of any other protocol is
redistributed into OSPF.

If the OSPF 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 OSPF 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 a filtering policy

to filter the redistributed
routes

filter-policy { acl-number |

ip-prefix ip-prefix-name } export
[ protocol [ process-id ] ]

Optional
By default, OSPF does not filter redistributed

routes.

Configure the default values
of the parameters for the

redistributed routes,
including the route cost,

count limit, tag, and type

default { cost cost | limit limit |
tag tag | type type } *

Optional
This configuration is used for connecting the

PE.
By default, the default values of the

parameters are as follows:

Cost: 1

Number of external routes redistributed
in a specified period: 1000

Tag: 1

Type: 2

Configure the type codes of
OSPF extended community

attributes

ext-community-type { domain-id
type-code1 | router-id

type-code2 | route-type

type-code3 }

Optional
The defaults are as follows:
0x0005 for Domain ID
0x0107 for Router ID
0x0306 for Route Type
Configure this command on a PE.