HP VPN Firewall Appliances Network Management Command Reference

312
[Sysname] ospf 100
[Sysname-ospf-100] bandwidth-reference 1000
default
Use default to configure default parameters for redistributed routes.
Use undo default to restore default values.
Syntax
default { cost cost | limit limit | tag tag | type type } *
undo default { cost | limit | tag | type } *
Default
The cost, route type, tag, and the upper limit are 1, 2, 1, and 1000.
Views
OSPF view
Default command level
2: System level
Parameters
cost: Specifies the default cost for redistributed routes, in the range of 0 to 16777214.
limit: Specifies the default upper limit of routes redistributed per time, in the range of 1 to 2147483647.
tag: Specifies the tag for marking redistributed routes, in the range of 0 to 4294967295.
type: Specifies the type for redistributed routes: 1 or 2.
Examples
# Configure the default cost, upper limit, tag, and type as 10, 20000, 100, and 2 for redistributed
external routes.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] default cost 10 limit 20000 tag 100 type 2
Related commands
import-route
default-cost (OSPF area view)
Use default-cost to configure a cost for the default route advertised to the stub or NSSA area.
Use undo default-cost to restore the default value.
Syntax
default-cost cost
undo default-cost
Default
The cost defaults to 1.