Using a route map to advertise a default route

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

  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 ipv4 unicast command to enable ISIS address-family IPv4 unicast configuration mode.
    device(config-isis-router)# address-family ipv4 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-ipv4u)# default-information-originate route-map myroutemap
    

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

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