Related Documentation
- Understanding ICMPv6 Unreachable Messages for Static Routes Sent on Null Interfaces
- Monitoring Detailed or Summary Information for IPv6 Addresses
- Monitoring Detailed or Summary Information for IPv6 Interfaces
- Monitoring the Status of IPv6 Static Routes in the Routing Table
- Monitoring IPv6 Traffic Statistics
- ipv6
- ipv6 route
- license ipv6
Enabling or Disabling the Transmission of ICMPv6 Unreachable Messages for Static Routes on Null Interfaces
You can enable or disable the transmission of ICMP unreachable messages for IPv6 packets while configuring an IPv6 static route with null 0 interface as the next-hop points.
![]() | Note:
|
To configure an IPv6 static route with a null 0 interface as the next-hop points:
- Issue the ipv6 route command
in Global Configuration mode.host1(config)#ipv6 route 2:1::/64 null0
In this example, the default behavior for packets reaching null 0 interfaces with static routers occurs, which is to discard the received packets and not send ICMPv6 unreachable messages to the originator.
To enable the transmission of ICMP unreachable messages for IPv6 packets that reach the null 0 interface configured with a static route and are discarded:
- Issue the ipv6 route command
with the reject keyword in Global Configuration
mode.host1(config)#ipv6 route 2:1::/64 null0 reject
To disable the transmission of ICMP unreachable messages for IPv6 packets that reach the null 0 interface configured with a static route and are discarded:
- Issue the ipv6 route command
with the discard keyword in Global Configuration
mode.host1(config)#ipv6 route 2:1::/64 null0 discard
Related Documentation
- Understanding ICMPv6 Unreachable Messages for Static Routes Sent on Null Interfaces
- Monitoring Detailed or Summary Information for IPv6 Addresses
- Monitoring Detailed or Summary Information for IPv6 Interfaces
- Monitoring the Status of IPv6 Static Routes in the Routing Table
- Monitoring IPv6 Traffic Statistics
- ipv6
- ipv6 route
- license ipv6