Disabling replies to broadcast ping requests

By default, devices are enabled to respond to broadcast ICMP echo packets, which are ping requests. (See Disabling ICMP messages. You can disable response to ping requests on a global basis using the following CLI 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