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.

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 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
    

Example

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