This section describes how to configure Intermediate System to Intermediate System (IS-IS) to generate IPv6 default routes to control the advertising of IS-IS routing information.
The destination address and mask of a default route are all 0s. If the destination address of a packet does not match any entry in the routing table of a device, the device sends the packet along the default route. If neither the default route nor the destination address of the packet exists in the routing table, the device discards the packet and informs the source end that the destination address or network is unreachable.
IS-IS can generate IPv6 default routes using either of the following mode:
Command-triggered IPv6 default route generation mode
You can run the ipv6 default-route-advertise command on a device so that the device adds an IPv6 default route to the LSP before sending the LSP to a neighbor. Therefore, the neighbor can learn this IPv6 default route.
ATT bit 1-triggered IPv6 default route generation mode
IS-IS defines that a Level-1-2 router sets the ATT bit to 1 in the LSP to be advertised to a Level-1 area if the Level-1-2 router can reach more Level-1 areas through the Level-2 area than through the Level-1 area. After a Level-1 router in the Level-1 area receives the LSP, it generates a default route destined for the Level-1-2 router. Based on the network requirements, you can configure whether the Level-1-2 router sets the ATT bit carried in the LSP and whether a Level-1 router generates a default route after it receives the LSP carrying ATT bit 1.
This mode applies only to Level-1 routers.