Switch 7700 Configuration Guide
OSPF 91
Perform the following configuration in OSPF view.
By default, OSPF does not import the routing information of other protocols.
The protocol variable specifies a source routing protocol that can be imported,
such as direct, static, RIP, or BGP.
Configure Parameters for OSPF to Import External Routes
When OSPF imports the routing information discovered by other routing protocols
in the autonomous system, some additional parameters need configuring, such as
the default route cost and the default tag of route distribution, as described in
Table 42. Route ID can be used to identify the protocol-related information. For
example, OSPF can use it to identify the AS number when receiving BGP.
Perform the following configuration in OSPF view.
By default, no default cost and tag are available when importing external routes,
and the type of the imported route is type-2. The interval of importing the external
route is 1 second. The upper limit to the external routes imported is 1000 per
second.
Tabl e 41 Configure OSPF to Import the Routes of Other Protocols
Operation Command
Configure OSPF to impor
routes of other protocols
import-route protocol [ cost value ] [ type value ] [ tag value
] [ route-policy route-policy-name ]
Cancel importing routing
information of other protocols
undo import-route protocol
Tabl e 42 Configure Parameters for OSPF to Import External Routes
Operation Command
Configure the minimum interval for
OSPF to import the external routes
default interval seconds
Restore the default value of the
minimum interval for OSPF to
import the external routes
undo default interval
Configure the upper limit to the
routes that OSPF import each time
default limit routes
Restore the default upper limit to
the external routes that can be
imported at a time
undo default limit
Configure the default cost for the
OSPF to import external routes
default cost value
Restore the default cost for the
OSPF to import external routes
undo default cost
Configure the default tag for the
OSPF to import external routes
default tag tag
Restore the default tag for the
OSPF to import external routes
undo default tag
Configure the default type of
external routes that OSPF will
import
default type { 1 | 2 }
Restore the default type of the
external routes imported by OSPF
undo default type