Enable or disable IPv4 ICMP Broadcast per VRF

On disabling the ICMP broadcast processing, all the packets containing ICMP sent to broadcast addresses, will be dropped when they reach the control plane.

About this task

Use these commands to enable or disable the IPv4 ICMP broadcast feature on the VRF router.

Procedure

  1. Enter VRF Router Configuration mode for a specific VRF context:

    enable

    configure terminal

    router vrf WORD<1-16>

  2. Enable IPv4 ICMP broadcast feature, enter:

    ip icmp echo-broadcast-request

  3. Disable IPv4 ICMP broadcast feature, enter:

    no ip icmp echo-broadcast-request

  4. Set the IPv4 ICMP broadcast feature to default state, enter:
    default ip icmp echo-broadcast-request
    Note

    Note

    By default, the IPv4 ICMP broadcast feature is enabled.

  5. View the IPv4 ICMP broadcast feature state:

    show ip routing