You can configure a null static route to drop packets to a certain destination. This is useful when the traffic should not be forwarded if the preferred route is unavailable.
Note
You cannot add a null or interface-based static route to a network if there is already a static route of any type with the same metric you specify for the null or interface-based route.The following procedure creates a preferred route and a null route to the same destination. The null route drops packets when the preferred route is not available.
device# configure terminal
device(config)# ipv6 route 2001:DB8::0/64 fe80::1 ve 3
device(config)# ipv6 route 2001:DB8::0/64 null 0 2
The following example creates a primary route to all 2001 : DB8 : : 0/64 destinations through virtual interface (ve) 3. It creates an alternative null route to drop the packets when the primary route is not available.
device# configure terminal device(config)# ipv6 route 2001 : DB8 : : 0/64 fe80::1 ve 3 device(config)# ipv6 route 2001 : DB8 : : 0/64 null 0 2