182 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS
Parameter
routes
Enter a limit on the number of imported external routes, in the range 200
to 2147483647. By default, the limit is 1000.
Description
Use the default limit command to configure maximum number of allowed
imported routes.
Use the undo default limit command to restore the default value.
OSPF can import external routing information and advertise them to the whole AS.
Importing too many external routes at once can greatly affect the performance of
the device.
Related commands: default interval.
Example
To specify a limit of 200 imported external routes, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]router id 1.1.1.1
[SW5500]ospf
[SW5500-ospf-1]default limit 200
default tag Syntax
default tag
tag
undo default
tag
View
OSPF View
Parameter
tag
Enter a tag number, in the range 0 to 4294967295.
Description
Use the default tag command to configure the default tag of OSPF when it
redistributes an external route.
Use the undo default tag command to 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:
<SW5500>system-view
System View: return to User View with Ctrl+Z.