Related commands:
Examples
default-route-advertise (IS-IS view)
Syntax
View
Parameters
Description
Examples
Use the
undo cost-style
Only packets of narrow cost style can be received and sent by default.
isis cost.
# Configure the router to send only packets of narrow cost style, but receive both
narrow and wide cost style ones.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] cost-style narrow-compatible
default-route-advertise [ route-policy route-policy-name | [ level-1 | level-2 |
level-1-2 ] ] *
undo default-route-advertise [ route-policy route-policy-name ]
IS-IS view
route-policy-name: Specifies the name of a routing policy, a string of 1 to 19
characters.
level-1: Specifies the level of the default route as Level-1.
level-2: Specifies the level of the default route as Level-2.
level-1-2: Specifies the level of the default route as Level-1-2.
n
If no level is specified, a Level-2 default route is generated.
Use the
default-route-advertise
default route.
Use the
undo default-route-advertise
This function is disabled by default.
The Level-1 default route is advertised to other routers in the same area, while the
Level-2 default route is advertised to all the Level-2 and Level-1-2 routers.
Using the apply isis level-1 command in routing policy view will generate a
default route in L1 LSP. Using the apply isis level-2 command in routing policy
view will generate a default route in L2 LSP. Using the apply isis level-1-2
command in routing policy view will generate a default route in L1 LSP and L2 LSP
respectively.
# Generate a default route in L2 LSP.
command to restore the default.
command to generate a Level-1 or Level-2
command to disable the function.
1041