Switch 7700 Command reference Guide, v2.0

Table Of Contents
OSPF Configuration Commands 135
Description
Using the default tag command, you can configure the default tag of OSPF when
it redistributes an external route.
Using the undo default tag command, you can restore the default tag of OSPF
when it redistributes the external route.
OSPF requires a default tag when redistributing a route found by other routing
protocols.
Related command: default type.
Example
To set a default tag of 10 to OSPF imported external routes, enter the following:
[SW7700-ospf]default tag 10
default type Syntax
default type { 1 | 2 }
undo default type
View
OSPF view
Parameter
1 Enter to set the default to external routes of type 1.
2 Enter to set the default to external routes of type 2.
Description
Using the default type command, you can configure the default type when
OSPF redistributes external routes.
Using the undo default type command, you can restore the default type. By
default, external routes of type 2 are imported.
OSPF requires a default type when redistributing a route found by other routing
protocols.
Related command: default tag.
Example
To specify the default type as type 1 when OSPF imports an external route, enter
the following:
[SW7700-ospf]default type 1
default-cost Syntax
default-cost value
undo default-cost