The ipv6 default-route-advertise command enables a device to advertise a default IPv6 route.
The undo ipv6 default-route-advertise command disables a device from advertising a default IPv6 route.
By default, a device does not advertise default IPv6 routes.
Parameter | Description | Value |
---|---|---|
always |
Enables an IS-IS device to advertise the default IPv6 route unconditionally. This parameter is specified by default when the ipv6 default-route-advertise command is run. In this case, if the avoid-learning parameter is not specified, the device is allowed to calculate the IS-IS default IPv6 routes advertised by other devices, which may cause routing loops. |
- |
match |
When a device has an active default IPv6 route, which belongs to a process of another routing protocol or belongs to another IS-IS process, this parameter enables the device to advertise the default route through a local LSP. However, if the avoid-learning parameter is not specified, the device is allowed to calculate the IS-IS default routes advertised by other neighbors. As a result, the default route that belongs to the process of another routing protocol or belongs to another IS-IS process on the local device may become inactive. If this problem occurs, the device no longer advertises the default route through a local LSP. |
- |
default |
If a default IPv6 route generated by other routing protocols or other IS-IS processes exists in the routing table, the default IPv6 route is advertised through an LSP. |
- |
route-policy route-policy-name |
Specifies the name of a route-policy.
|
The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
route-filter route-filter-name |
Specifies the name of a route-filter.
|
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters. |
cost cost |
Specifies a cost for the default route. |
The value is an integer ranging from 0 to 4261412864. |
tag tag |
Specifies a tag for the default route to be advertised. |
The value is an integer ranging from 1 to 4294967295. |
level-1 |
Sets the level as Level-1. |
- |
level-2 |
Sets the level as Level-2. |
- |
level-1-2 |
Sets the level as Level-1-2. If you do not specify a level, Level-2 routes are generated by default. |
- |
avoid-learning |
Prevents the specified IS-IS process from adding a learned default IPv6 route to the routing table.
|
- |
learning-avoid-loop |
Generates a backup route for a default route to prevent routing loops. |
- |
Usage Scenario
This command can be run on a Level-1 or Level-2 device.
By using a route-policy, you can configure IS-IS to generate default routes only when there is a matched entry in the routing table.Prerequisites
The ipv6 default-route-advertise command takes effect only after IPv6 is enabled for the IS-IS process. For details, see isis ipv6 enable.
Precautions