Advertising a default route

IS-IS cannot redistribute a default route to its neighbors. This task enables IS-IS to advertise a default route of 0.0.0.0/0 in an LSP to the same-level neighbors. Upon receiving the default route, the neighbors add it into their routing table.

To advertise a default route:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter IS-IS IPv4 unicast address family view.

  • isis [ process-id ] [ vpn-instance vpn-instance-name ]

  • cost-style { wide | wide-compatible }

  • address-family ipv4 [ unicast ]

  • N/A

    3. Advertise a Level-1 or Level-2 default route.

    default-route-advertise [ [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name ] *

    By default, IS-IS does not advertise a Level-1 or Level-2 default route.