Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • You must configure an IPv6 license using the license ipv6 command before using the IPv6 routing protocol configuration commands on the E Series router.
    • All IPv6 routing protocol configurations are removed from the virtual router when you issue the no ipv6 command.

    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

    Published: 2014-08-13