Enabling or disabling IPv4 ICMP broadcast globally

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 global router.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  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