Using a route map to advertise a default route

You can use a route map to configure the device to advertise a default route to all neighboring ISs. The following task enables the advertisement of a default route if the route map “myroutemap” is satisfied for the IS-IS IPv6 address family.

Before you begin

The route-map “myroutemap” must already be configured.

About this task

Procedure

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router isis command to enter IS-IS router configuration mode and enable IS-IS on the device.
    device(config)# router isis
    
  3. Enter the address-family ipv6 unicast command to enable ISIS address-family IPv6 unicast configuration mode.
    device(config-isis-router)# address-family ipv6 unicast
    
  4. Enter the default-information-originate command with the route-map parameter and specify a route-map parameter to use the route map to enable the advertisement of a default route.
    device(config-router-isis-ipv6u)# default-information-originate route-map myroutemap
    

Example

The following example enables the advertisement of a default route if the route map “myroutemap” is satisfied for the IPv6 address family.

device# configure terminal
device(config)# router isis
device(config-isis-router)# address-family ipv6 unicast
device(config-router-isis-ipv6u)# default-information-originate route-map myroutemap