1111

undo default { cost limit tag type } *

View OSPF view

Parameters cost: Specifies the default cost for redistributed routes, in the range 0 to 16777214.

limit: Specifies the default upper limit of routes redistributed per time, in the range 1 to 2147483647.

tag: Specifies the default tag for redistributed routes, in the range 0 to 4294967295.

type: Specifies the default type for redistributed routes: 1 or 2.

Description Use the default command to configure default parameters for redistributed routes: cost, route type (Type1 or Type2), tag, and the upper limit.

Use the undo default command to restore default values.

The cost, route type, tag, and the upper limit are 1, 2, 1 and 1000 by default.

Related commands: import-route (OSPF view).

Examples # Configure default parameters cost as 10, upper limit as 20000, tag as 100 and type as 2 for redistributed external routes.

<Sysname> system-view

[Sysname] ospf 100

[Sysname-ospf-100] default cost 10 limit 20000 tag 100 type 2

default-cost (OSPF area view)

Syntax default-cost cost

undo default-cost

View OSPF area view

Parameters cost: Specifies a cost for the default route advertised to the Stub or NSSA area, in the range 0 to 16777214.

Description Use the default-costcommand to specify a cost for the default route advertised to the stub or NSSA area.

Use the undo default-costcommand to restore the default value.

The cost defaults to 1.

This command is only applicable to the ABR of a stub area or the ABR/ASBR of an

NSSA area.

Page 1111
Image 1111
3Com MSR 50 Default-cost Ospf area view, Undo default cost limit tag type, Related commands import-route Ospf view, 1111