Disabling replies to broadcast ping requests

By default, devices are enabled to respond to broadcast ICMP echo packets, which are ping requests (for more information, see Disabling ICMP messages).

To disable response to broadcast ICMP echo packets (ping requests), enter the following command:

switch(config)# no ip icmp echo broadcast-request

Syntax:


no ip icmp echo broadcast-request

If you need to re-enable response to ping requests, enter the following command:

switch(config)# ip icmp echo broadcast-request