Advertising a host route – H3C Technologies H3C S7500E Series Switches User Manual

Page 105

Advertising
background image

4-36

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPF view

ospf [ process-id | router-id router-id |

vpn-instance instance-name ] *

default-route-advertise [ always | cost cost |

type type | route-policy route-policy-name ] *

Redistribute a default route

default-route-advertise summary cost cost

Optional

Not redistributed by

default.

The default-route-advertise summary cost command is applicable only to VPN, and the default

route is redistributed in a Type-3 LSA. The PE router will advertise the default route to the CE router.

Configure the default parameters for redistributed routes

You can configure default parameters such as the cost, upper limit, tag and type for redistributed

routes. Tags are used to indicate information related to protocols. For example, when redistributing

BGP routes, OSPF uses tags to identify AS IDs.

Follow these steps to configure the default parameters for redistributed routes:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPF view

ospf [ process-id | router-id router-id |

vpn-instance instance-name ] *

Configure the default

parameters for redistributed

routes (cost, route number, tag

and type)

default { cost cost | limit limit | tag tag | type

type } *

Optional

By default, the default cost

is 1, default upper limit of

routes redistributed per

time is 1000, default tag is

1 and default type of

redistributed routes is

Type-2.

Advertising a Host Route

Follow these steps to advertise a host route:

Advertising