beautypg.com

Configuring the maximum number of ospf ecmp routes, Configuring ospf to redistribute external routes – H3C Technologies H3C S3600 Series Switches User Manual

Page 346

background image

4-19

Configuring the Maximum Number of OSPF ECMP Routes

Follow these steps to configure the maximum number of OSPF ECMP routes:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter OSPF view

ospf [ process-id [ router-id
router-id ] ]

Configure the maximum
number of OSPF ECMP routes

multi-path-number value

Optional

3 by default

Configuring OSPF to Redistribute External Routes

Follow these steps to configure OSPF to redistribute external routes:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter OSPF view

ospf [ process-id [ router-id
router-id ] ]

Configure OSPF to
redistribute routes from
another protocol

import-route protocol [ process-id ]
[ cost value | type value | tag value |
route-policy route-policy-name ] *

Required

By default, OSPF does not
import the routing information
of other protocols.

Configure OSPF to filter
outgoing routes

filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ protocol ]

Optional

By default, OSPF does not filter
advertised routes.

Enable OSPF to import
the default route

default-route-advertise [ always |
cost value | type type-value |
route-policy route-policy-name ]*

Optional

By default, OSPF does not
import the default route.

Configure the default
parameters for
redistributed routes,
including cost, interval,
limit, tag, and type

default { cost value | interval
seconds | limit routes | tag tag | type
type } *

Optional

These parameters respectively
default to:

z

Cost: 1

z

Interval: 1 (second)

z

Limit: 1000

z

Tag: 1

z

Type: 2

This manual is related to the following products: