set ipv6 interface null0

Drops traffic when the null 0 statement becomes the active setting as determined by the route-hop selection process for IPv6 policy-based routing.

Syntax

set ipv6 interface null0
no set ipv6 interface null0

Modes

Route-map configuration mode

Usage Guidelines

If none of the configured next-hops or interfaces are up, this command drops the traffic.

The no form of this command removes the configuration.

Examples

The following example configures the next hop as NULL0 interface to send the traffic to the null interface, thus dropping the packet instead of forwarding it.:

device(config)# route-map test-route permit 99
device(config-route-map-test-route/permit/99)# set ipv6 interface null0