Default; Default-Cost - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

default

Use
default
Use
undo default
Syntax
default { cost cost-value | tag tag | type type } *
undo default { cost | tag | type } *
Default
The cost is 1, the tag is 1, and the route type is 2.
Views
OSPF view
Predefined user roles
network-admin
Parameters
cost cost-value
: Specifies a tag for redistributed routes, in the range of 0 to 4294967295.
tag tag
type type
Examples
# Set the default cost, tag, and type to 10, 100, and 2 for redistributed external routes.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] default cost 10 tag 100 type 2
Related commands
import-route

default-cost

Use
default-cost
Use
undo default-cost
Syntax
default-cost cost-value
undo default-cost
Default
The cost is 1.
Views
OSPF area view
Predefined user roles
network-admin
to configure default parameters for redistributed routes.
to remove the configuration.
: Specifies a default cost for redistributed routes, in the range of 0 to 16777214.
: Specifies a type for redistributed routes: 1 or 2.
to set a cost for the default route advertised to the stub or NSSA area.
to restore the default value.
8

Advertisement

Table of Contents
loading

Table of Contents