{"id":24501,"date":"2026-11-16T11:17:38","date_gmt":"2026-11-16T03:17:38","guid":{"rendered":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html"},"modified":"2026-11-16T11:17:38","modified_gmt":"2026-11-16T03:17:38","slug":"how-to-block-icmp-cisco-router","status":"publish","type":"post","link":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html","title":{"rendered":"How to Block ICMP in Cisco Router"},"content":{"rendered":"<p>Internet Control Message Protocol (ICMP) is a fundamental component of the Internet Protocol suite, responsible for vital diagnostic, operational, and error-reporting mechanisms across IP networks. However, unconstrained ICMP traffic frequently presents security concerns. Attackers leverage ICMP echo requests for network reconnaissance, scanning for live hosts, fingerprinting topology, and conducting volumetric denial-of-service (DoS) attacks such as ping floods.<\/p>\n<p>While securing network boundaries against malicious ICMP activity is a standard hardening task for network engineers, applying an uncalculated, blanket deny rule (<code>deny icmp any any<\/code>) can severely compromise network health. A flawed filtering strategy can disrupt MTU negotiation, break path diagnostics, and degrade application performance. <\/p>\n<p>Securing a Cisco router against unwanted ICMP requires an architectural approach: knowing which message types to drop, which to keep, and where in the operating system to enforce filtering. This guide covers how to block ICMP on Cisco IOS routers using Extended Access Control Lists (ACLs), production-tested templates, Control Plane Policing (CoPP), Zone-Based Policy Firewalls (ZFW), and official Cisco IOS command references.<\/p>\n<hr \/>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy counter-decimal ez-toc-light-blue\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Network_Impact_Essential_ICMP_Types_and_Path_MTU_Discovery_PMTUD\" title=\"Network Impact: Essential ICMP Types and Path MTU Discovery (PMTUD)\">Network Impact: Essential ICMP Types and Path MTU Discovery (PMTUD)<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Q_Why_is_a_blanket_deny_icmp_any_any_rule_dangerous\" title=\"Q: Why is a blanket deny icmp any any rule dangerous?\">Q: Why is a blanket deny icmp any any rule dangerous?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Q_What_is_Path_MTU_Discovery_PMTUD_and_how_does_blocking_ICMP_break_it\" title=\"Q: What is Path MTU Discovery (PMTUD), and how does blocking ICMP break it?\">Q: What is Path MTU Discovery (PMTUD), and how does blocking ICMP break it?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Q_Which_ICMP_types_should_always_be_permitted\" title=\"Q: Which ICMP types should always be permitted?\">Q: Which ICMP types should always be permitted?<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Q_Which_ICMP_types_can_safely_be_blocked_or_restricted\" title=\"Q: Which ICMP types can safely be blocked or restricted?\">Q: Which ICMP types can safely be blocked or restricted?<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step-by-Step_Guide_Blocking_ICMP_Ping_on_Cisco_IOS_Using_Extended_ACLs\" title=\"Step-by-Step Guide: Blocking ICMP Ping on Cisco IOS Using Extended ACLs\">Step-by-Step Guide: Blocking ICMP Ping on Cisco IOS Using Extended ACLs<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_1_Access_Global_Configuration_Mode\" title=\"Step 1: Access Global Configuration Mode\">Step 1: Access Global Configuration Mode<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_2_Create_a_Named_Extended_Access_Control_List\" title=\"Step 2: Create a Named Extended Access Control List\">Step 2: Create a Named Extended Access Control List<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_3_Define_Permitted_Diagnostic_Traffic_Before_the_Deny_Rule\" title=\"Step 3: Define Permitted Diagnostic Traffic Before the Deny Rule\">Step 3: Define Permitted Diagnostic Traffic Before the Deny Rule<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_4_Add_the_Deny_Rule_for_ICMP_Echo_Requests\" title=\"Step 4: Add the Deny Rule for ICMP Echo Requests\">Step 4: Add the Deny Rule for ICMP Echo Requests<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_5_Permit_Remaining_IP_Traffic\" title=\"Step 5: Permit Remaining IP Traffic\">Step 5: Permit Remaining IP Traffic<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_6_Apply_the_ACL_to_the_Target_Interface\" title=\"Step 6: Apply the ACL to the Target Interface\">Step 6: Apply the ACL to the Target Interface<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_7_Verify_Filtering_and_Check_Match_Counters\" title=\"Step 7: Verify Filtering and Check Match Counters\">Step 7: Verify Filtering and Check Match Counters<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Production-Ready_Cisco_IOS_ICMP_Filtering_Configuration_Templates\" title=\"Production-Ready Cisco IOS ICMP Filtering Configuration Templates\">Production-Ready Cisco IOS ICMP Filtering Configuration Templates<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Template_1_Drop_Inbound_Pings_to_Router_Only_Allow_Transit_to_Internal_Subnets\" title=\"Template 1: Drop Inbound Pings to Router Only (Allow Transit to Internal Subnets)\">Template 1: Drop Inbound Pings to Router Only (Allow Transit to Internal Subnets)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Template_2_Comprehensive_Border_Hardening_Block_All_Inbound_Echo_Requests\" title=\"Template 2: Comprehensive Border Hardening (Block All Inbound Echo Requests)\">Template 2: Comprehensive Border Hardening (Block All Inbound Echo Requests)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Template_3_Strict_Edge_Border_Egress_Filter\" title=\"Template 3: Strict Edge Border Egress Filter\">Template 3: Strict Edge Border Egress Filter<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Architectural_Comparison_Interface_ACLs_vs_Control_Plane_Policing_CoPP\" title=\"Architectural Comparison: Interface ACLs vs. Control Plane Policing (CoPP)\">Architectural Comparison: Interface ACLs vs. Control Plane Policing (CoPP)<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Recommended_Architectural_Approach\" title=\"Recommended Architectural Approach\">Recommended Architectural Approach<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Implementing_ICMP_Filtering_with_Cisco_Zone-Based_Policy_Firewall_ZFW\" title=\"Implementing ICMP Filtering with Cisco Zone-Based Policy Firewall (ZFW)\">Implementing ICMP Filtering with Cisco Zone-Based Policy Firewall (ZFW)<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_1_Create_a_Class_Map_to_Match_ICMP\" title=\"Step 1: Create a Class Map to Match ICMP\">Step 1: Create a Class Map to Match ICMP<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_2_Define_the_Policy_Map_and_Action\" title=\"Step 2: Define the Policy Map and Action\">Step 2: Define the Policy Map and Action<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_3_Establish_Security_Zones_and_Zone-Pairs\" title=\"Step 3: Establish Security Zones and Zone-Pairs\">Step 3: Establish Security Zones and Zone-Pairs<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Step_4_Verify_ZFW_ICMP_Drops\" title=\"Step 4: Verify ZFW ICMP Drops\">Step 4: Verify ZFW ICMP Drops<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Cisco_IOS_Command_Reference_IP_Access_Lists_for_ICMP_Filtering\" title=\"Cisco IOS Command Reference: IP Access Lists for ICMP Filtering\">Cisco IOS Command Reference: IP Access Lists for ICMP Filtering<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Command_Syntax\" title=\"Command Syntax\">Command Syntax<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Parameter_Specifications\" title=\"Parameter Specifications\">Parameter Specifications<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Common_Cisco_IOS_ICMP_Keywords\" title=\"Common Cisco IOS ICMP Keywords\">Common Cisco IOS ICMP Keywords<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Verification_and_Management_Commands\" title=\"Verification and Management Commands\">Verification and Management Commands<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Network_Impact_Essential_ICMP_Types_and_Path_MTU_Discovery_PMTUD\"><\/span>Network Impact: Essential ICMP Types and Path MTU Discovery (PMTUD)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before placing any deny rule into a production access list, network administrators must distinguish between reconnaissance utilities and critical network control plane feedback loops.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Q_Why_is_a_blanket_deny_icmp_any_any_rule_dangerous\"><\/span>Q: Why is a blanket <code>deny icmp any any<\/code> rule dangerous?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>A blanket deny rule drops both diagnostic probes (such as Echo Requests) and critical error-notification messages generated by transit routers. Dropping all ICMP traffic prevents your router and downstream hosts from learning why packets cannot reach their destination, causing protocols such as TCP to stall, time out, and drop connections silently without actionable feedback.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Q_What_is_Path_MTU_Discovery_PMTUD_and_how_does_blocking_ICMP_break_it\"><\/span>Q: What is Path MTU Discovery (PMTUD), and how does blocking ICMP break it?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Path MTU Discovery (RFC 1191) is a mechanism that allows endpoints to determine the maximum transmission unit (MTU) size supported along an entire network path. Endpoints send packets with the Don&#8217;t Fragment (DF) bit set in the IP header. If an intermediate router encounters an interface where the MTU is smaller than the packet size, it must drop the packet and send back an ICMP Type 3, Code 4 message: <strong>Destination Unreachable \u2014 Fragmentation Needed and DF Set<\/strong>. <\/p>\n<p>If your Cisco router drops ICMP Type 3 Code 4 messages at an edge interface:<br \/>\n* The sender never receives the notification stating that the packet was too large.<br \/>\n* The sender repeatedly retransmits full-sized packets with the DF bit set.<br \/>\n* Small packets (such as TCP SYN\/ACK negotiations) pass through, but large data payloads fail completely.<\/p>\n<p>This condition is known as a <strong>PMTU black hole<\/strong>, and it manifests as web applications hanging during SSL\/TLS handshakes or large file transfers stalling indefinitely.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Q_Which_ICMP_types_should_always_be_permitted\"><\/span>Q: Which ICMP types should always be permitted?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To maintain standard network operations while blocking reconnaissance probes, permit the following ICMP messages:<\/p>\n<ul>\n<li><strong>ICMP Type 3 (Destination Unreachable):<\/strong> Essential for PMTUD (Code 4), port unreachables (Code 3), and host unreachables (Code 1).<\/li>\n<li><strong>ICMP Type 11 (Time Exceeded):<\/strong> Required for loop detection and standard traceroute operations (Code 0 represents Time to Live expired in transit).<\/li>\n<li><strong>ICMP Type 0 (Echo Reply):<\/strong> Must be permitted inbound if your internal hosts or the router itself need to ping external endpoints and receive replies.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Q_Which_ICMP_types_can_safely_be_blocked_or_restricted\"><\/span>Q: Which ICMP types can safely be blocked or restricted?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>ICMP Type 8 (Echo Request):<\/strong> Used by <code>ping<\/code>. Blocking inbound echo requests prevents remote hosts from determining whether an IP address is active.<\/li>\n<li><strong>ICMP Type 5 (Redirect):<\/strong> Insecure legacy mechanism that instructs hosts to update their routing tables; should virtually always be blocked at internet-facing boundaries.<\/li>\n<li><strong>ICMP Type 13\/14 (Timestamp\/Timestamp Reply):<\/strong> Used for host clock synchronization and operating system fingerprinting; safe to block.<\/li>\n<li><strong>ICMP Type 17\/18 (Address Mask Request\/Reply):<\/strong> Obsolete subnet discovery messages; safe to block.<\/li>\n<\/ul>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Step-by-Step_Guide_Blocking_ICMP_Ping_on_Cisco_IOS_Using_Extended_ACLs\"><\/span>Step-by-Step Guide: Blocking ICMP Ping on Cisco IOS Using Extended ACLs<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To prevent external scanners from discovering the router while keeping diagnostic and path-discovery functions intact, implement an extended IP access list. Standard ACLs (numbered 1\u201399) only evaluate source IP addresses and cannot differentiate between protocols or ICMP message types. Extended ACLs (numbered 100\u2013199 or named) allow granular filtering down to specific ICMP types and codes.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Access_Global_Configuration_Mode\"><\/span>Step 1: Access Global Configuration Mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Log in to your Cisco router through an authorized console or SSH session and elevate privileges:<\/p>\n<pre><code class=\"language-text\">Router&gt; enable\nRouter# configure terminal\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Create_a_Named_Extended_Access_Control_List\"><\/span>Step 2: Create a Named Extended Access Control List<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Using named ACLs simplifies ongoing administration, revision editing, and readability.<\/p>\n<pre><code class=\"language-text\">Router(config)# ip access-list extended BLOCK_EXTERNAL_ICMP\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Define_Permitted_Diagnostic_Traffic_Before_the_Deny_Rule\"><\/span>Step 3: Define Permitted Diagnostic Traffic Before the Deny Rule<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Because access lists operate on a top-down, first-match basis, explicitly permit required ICMP return traffic and PMTUD messages before inserting the deny statements:<\/p>\n<pre><code class=\"language-text\">Router(config-ext-nacl)# remark Allow Path MTU Discovery and error notifications\nRouter(config-ext-nacl)# permit icmp any any unreachable\nRouter(config-ext-nacl)# permit icmp any any time-exceeded\n\nRouter(config-ext-nacl)# remark Allow ping replies for outbound traffic initiated from our network\nRouter(config-ext-nacl)# permit icmp any any echo-reply\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Add_the_Deny_Rule_for_ICMP_Echo_Requests\"><\/span>Step 4: Add the Deny Rule for ICMP Echo Requests<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Block incoming ping requests directed to your router\u2019s interface address or internal subnets:<\/p>\n<pre><code class=\"language-text\">Router(config-ext-nacl)# remark Block external ping probes\nRouter(config-ext-nacl)# deny icmp any any echo\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Permit_Remaining_IP_Traffic\"><\/span>Step 5: Permit Remaining IP Traffic<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>By default, Cisco IOS access lists conclude with an implicit <code>deny ip any any<\/code>. If you apply this ACL to an external interface without a trailing permit statement, all inbound traffic (web, email, VPN) will drop:<\/p>\n<pre><code class=\"language-text\">Router(config-ext-nacl)# remark Permit all other standard transit IP traffic\nRouter(config-ext-nacl)# permit ip any any\nRouter(config-ext-nacl)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_6_Apply_the_ACL_to_the_Target_Interface\"><\/span>Step 6: Apply the ACL to the Target Interface<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Assign the access list to the external, untrusted interface using the <code>ip access-group<\/code> command in the <code>in<\/code> direction:<\/p>\n<pre><code class=\"language-text\">Router(config)# interface GigabitEthernet0\/0\/0\nRouter(config-if)# description WAN_UPLINK\nRouter(config-if)# ip access-group BLOCK_EXTERNAL_ICMP in\nRouter(config-if)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_7_Verify_Filtering_and_Check_Match_Counters\"><\/span>Step 7: Verify Filtering and Check Match Counters<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Validate that the access list is successfully matching and dropping incoming echo requests:<\/p>\n<pre><code class=\"language-text\">Router# show ip access-lists BLOCK_EXTERNAL_ICMP\n<\/code><\/pre>\n<p>The output will display the rule sequence numbers and match counters:<\/p>\n<pre><code class=\"language-text\">Extended IP access list BLOCK_EXTERNAL_ICMP\n    10 permit icmp any any unreachable\n    20 permit icmp any any time-exceeded\n    30 permit icmp any any echo-reply (14 matches)\n    40 deny icmp any any echo (284 matches)\n    50 permit ip any any (19420 matches)\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Production-Ready_Cisco_IOS_ICMP_Filtering_Configuration_Templates\"><\/span>Production-Ready Cisco IOS ICMP Filtering Configuration Templates<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The following modular configuration templates cover common deployment scenarios on Cisco routers. Copy and paste the appropriate block into your staging or terminal environment after replacing interface names and IP addresses.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Template_1_Drop_Inbound_Pings_to_Router_Only_Allow_Transit_to_Internal_Subnets\"><\/span>Template 1: Drop Inbound Pings to Router Only (Allow Transit to Internal Subnets)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Use this template when border routers must drop pings directed at their own WAN IP address, while still allowing customers or internal servers to respond to ICMP.<\/p>\n<pre><code class=\"language-text\">! --- Template 1: Drop Pings to Local Router Interface Only ---\nip access-list extended ACL_EDGE_PROTECT\n remark --- Permit PMTUD and Transit Diagnostics ---\n permit icmp any any packet-too-big\n permit icmp any any unreachable\n permit icmp any any time-exceeded\n permit icmp any any echo-reply\n\n remark --- Block Ping to Router's Public Interface (Assume WAN IP is 203.0.113.1) ---\n deny icmp any host 203.0.113.1 echo\n\n remark --- Permit Remaining Transit Traffic (Including pings to internal servers) ---\n permit ip any any\nexit\n\ninterface GigabitEthernet0\/0\/0\n description Internet_Facing_Interface\n ip access-group ACL_EDGE_PROTECT in\nexit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Template_2_Comprehensive_Border_Hardening_Block_All_Inbound_Echo_Requests\"><\/span>Template 2: Comprehensive Border Hardening (Block All Inbound Echo Requests)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This template blocks all inbound echo requests from external networks toward both the router and internal hosts, while permitting internal users to ping internet destinations and receive replies.<\/p>\n<pre><code class=\"language-text\">! --- Template 2: Comprehensive Inbound ICMP Hardening ---\nip access-list extended ACL_WAN_INBOUND_FILTER\n remark --- Permit Essential Control and Diagnostic Messages ---\n permit icmp any any unreachable\n permit icmp any any time-exceeded\n\n remark --- Allow Return Traffic for Locally-Initiated Pings ---\n permit icmp any any echo-reply\n\n remark --- Drop Inbound Pings and Subnet Discovery Probes ---\n deny icmp any any echo\n deny icmp any any redirect\n deny icmp any any mask-request\n deny icmp any any timestamp-request\n\n remark --- Allow Authorized Inbound Services (Examples) ---\n permit tcp any any established\n permit ip any any\nexit\n\ninterface GigabitEthernet0\/0\/0\n ip access-group ACL_WAN_INBOUND_FILTER in\nexit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Template_3_Strict_Edge_Border_Egress_Filter\"><\/span>Template 3: Strict Edge Border Egress Filter<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Apply this configuration outbound on the WAN interface to prevent spoofed ICMP messages and network enumeration data from leaking out of your enterprise.<\/p>\n<pre><code class=\"language-text\">! --- Template 3: Outbound Edge Filtering ---\nip access-list extended ACL_WAN_OUTBOUND_FILTER\n remark --- Block Internal RFC 1918 Address Leaks in ICMP Errors ---\n deny icmp 10.0.0.0 0.255.255.255 any redirect\n deny icmp 172.16.0.0 0.15.255.255 any redirect\n deny icmp 192.168.0.0 0.0.255.255 any redirect\n\n remark --- Allow PMTUD and Legitimate Outbound Traffic ---\n permit icmp any any unreachable\n permit icmp any any packet-too-big\n permit icmp any any echo\n permit ip any any\nexit\n\ninterface GigabitEthernet0\/0\/0\n ip access-group ACL_WAN_OUTBOUND_FILTER out\nexit\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Architectural_Comparison_Interface_ACLs_vs_Control_Plane_Policing_CoPP\"><\/span>Architectural Comparison: Interface ACLs vs. Control Plane Policing (CoPP)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Applying an access list on a physical interface is the most direct way to filter traffic, but it is not always the best architectural choice for protecting the router itself. Cisco routers divide processing into two distinct paths:<br \/>\n1. <strong>Data Plane:<\/strong> Transit traffic traversing the router from one interface to another.<br \/>\n2. <strong>Control Plane:<\/strong> Traffic addressed directly to the router&#8217;s local IP addresses (routing protocols, SSH, SNMP, and local ICMP processing).<\/p>\n<p>When an attacker sends a high-volume ping flood directly to an interface IP address, the router&#8217;s CPU must generate ICMP echo-reply packets. If relying solely on standard interface ACLs, you face an all-or-nothing choice: allow all pings (risking CPU starvation during a DoS attack) or deny all pings (eliminating monitoring capabilities). Control Plane Policing (CoPP) resolves this by rate-limiting control plane traffic rather than dropping it entirely.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Evaluation Criteria<\/th>\n<th style=\"text-align: left;\">Interface Extended ACL<\/th>\n<th style=\"text-align: left;\">Control Plane Policing (CoPP)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Primary Target<\/strong><\/td>\n<td style=\"text-align: left;\">Data Plane (Transit) and Control Plane<\/td>\n<td style=\"text-align: left;\">Control Plane (Router CPU\/Route Processor)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Enforcement Point<\/strong><\/td>\n<td style=\"text-align: left;\">Physical or logical interfaces (<code>ip access-group<\/code>)<\/td>\n<td style=\"text-align: left;\">Control plane interface (<code>service-policy input<\/code>)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Action Capability<\/strong><\/td>\n<td style=\"text-align: left;\">Binary action: <code>permit<\/code> or <code>deny<\/code><\/td>\n<td style=\"text-align: left;\">Rate-limiting (<code>police<\/code>), transmit, or drop<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>DoS\/Flood Mitigation<\/strong><\/td>\n<td style=\"text-align: left;\">Completely blocks traffic; no rate-limiting capability<\/td>\n<td style=\"text-align: left;\">Throttles high-rate ping floods while keeping CPU responsive<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Impact on Diagnostics<\/strong><\/td>\n<td style=\"text-align: left;\">Disables all pings matching the <code>deny<\/code> statement<\/td>\n<td style=\"text-align: left;\">Allows periodic monitoring pings; drops excess burst traffic<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Processing Mechanism<\/strong><\/td>\n<td style=\"text-align: left;\">Enforced at the interface\/ASIC level (hardware TCAM)<\/td>\n<td style=\"text-align: left;\">Evaluated before packets are punted to the main CPU<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Configuration Complexity<\/strong><\/td>\n<td style=\"text-align: left;\">Low (standard access list structure)<\/td>\n<td style=\"text-align: left;\">Moderate to High (requires MQC: class-maps and policy-maps)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Risk of PMTUD Breakage<\/strong><\/td>\n<td style=\"text-align: left;\">High if configured with an unvetted <code>deny icmp any any<\/code><\/td>\n<td style=\"text-align: left;\">Minimal; transit traffic is not evaluated by CoPP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Recommended_Architectural_Approach\"><\/span>Recommended Architectural Approach<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Use Interface ACLs<\/strong> to drop malicious or unauthorized traffic destined for downstream customer networks or internal DMZs.<\/li>\n<li><strong>Use Control Plane Policing (CoPP)<\/strong> to protect the router\u2019s local infrastructure. By policing ICMP to a modest threshold (e.g., 500 kbps), network management systems can reliably monitor node availability without exposing the Route Processor to volumetric ping attacks.<\/li>\n<\/ul>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Implementing_ICMP_Filtering_with_Cisco_Zone-Based_Policy_Firewall_ZFW\"><\/span>Implementing ICMP Filtering with Cisco Zone-Based Policy Firewall (ZFW)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In modern enterprise architectures running Cisco IOS-XE, the router often functions as a stateful Zone-Based Policy Firewall (ZFW). ZFW moves beyond stateless ACLs by using the Cisco Modular Policy Framework (Cisco Policy Language &#8211; CPL) to inspect connections statefully across defined security boundaries.<\/p>\n<p>When filtering ICMP in ZFW, traffic between interfaces in different zones is dropped by default unless explicitly permitted. Traffic destined for the router itself falls into the special <strong>Self Zone<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Create_a_Class_Map_to_Match_ICMP\"><\/span>Step 1: Create a Class Map to Match ICMP<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Define a class map that identifies ICMP traffic. You can specify match criteria using standard protocol definitions or access lists.<\/p>\n<pre><code class=\"language-text\">Router(config)# class-map type inspect match-any CMAP_ICMP\nRouter(config-cmap)# match protocol icmp\nRouter(config-cmap)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Define_the_Policy_Map_and_Action\"><\/span>Step 2: Define the Policy Map and Action<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Create a policy map that determines what action to take when traffic matches the class. For stateful security, ZFW supports three primary actions:<br \/>\n* <code>inspect<\/code>: Stateful packet inspection (automatically permits return traffic).<br \/>\n* <code>pass<\/code>: Stateless forwarding (requires symmetric rules on the return path).<br \/>\n* <code>drop<\/code>: Drops the packet silently (or with <code>log<\/code> for audit trails).<\/p>\n<p>To block ICMP echo requests while logging attempts:<\/p>\n<pre><code class=\"language-text\">Router(config)# policy-map type inspect PMAP_EXTERNAL_TO_SELF\nRouter(config-pmap)# class type inspect CMAP_ICMP\nRouter(config-pmap-c)# drop log\nRouter(config-pmap-c)# exit\nRouter(config-pmap)# class class-default\nRouter(config-pmap-c)# pass\nRouter(config-pmap-c)# exit\nRouter(config-pmap)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Establish_Security_Zones_and_Zone-Pairs\"><\/span>Step 3: Establish Security Zones and Zone-Pairs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Assign physical interfaces to zones, and bind the policy map to a directional zone-pair linking the untrusted external zone to the local router control plane (<code>self<\/code>).<\/p>\n<pre><code class=\"language-text\">! --- Define Zones ---\nRouter(config)# zone security ZONE_UNTRUSTED\nRouter(config)# zone security ZONE_INTERNAL\n\n! --- Assign Interfaces to Zones ---\nRouter(config)# interface GigabitEthernet0\/0\/0\nRouter(config-if)# zone-member security ZONE_UNTRUSTED\nRouter(config-if)# exit\n\nRouter(config)# interface GigabitEthernet0\/0\/1\nRouter(config-if)# zone-member security ZONE_INTERNAL\nRouter(config-if)# exit\n\n! --- Create Zone-Pair toward Router CPU ---\nRouter(config)# zone-pair security ZPAIR_WAN_TO_SELF source ZONE_UNTRUSTED destination self\nRouter(config-sec-zone-pair)# service-policy type inspect PMAP_EXTERNAL_TO_SELF\nRouter(config-sec-zone-pair)# exit\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Verify_ZFW_ICMP_Drops\"><\/span>Step 4: Verify ZFW ICMP Drops<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Verify stateful drops and policy execution using the <code>show policy-map<\/code> diagnostic command:<\/p>\n<pre><code class=\"language-text\">Router# show policy-map type inspect zone-pair ZPAIR_WAN_TO_SELF\n<\/code><\/pre>\n<p>The output will display the active drop counts and verification statistics:<\/p>\n<pre><code class=\"language-text\">  Zone-pair: ZPAIR_WAN_TO_SELF\n\n   Service-policy inspect : PMAP_EXTERNAL_TO_SELF\n\n     Class-map: CMAP_ICMP (match-any)\n       Match: protocol icmp\n         126 packets, 10584 bytes\n       Drop log: 126 packets, 10584 bytes\n\n     Class-map: class-default (match-any)\n       Match: any\n       Pass: 4210 packets, 353640 bytes\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Cisco_IOS_Command_Reference_IP_Access_Lists_for_ICMP_Filtering\"><\/span>Cisco IOS Command Reference: IP Access Lists for ICMP Filtering<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Below is the definitive command reference for configuring and parsing ICMP access list statements in Cisco IOS Software releases.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Command_Syntax\"><\/span>Command Syntax<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre><code class=\"language-text\">[sequence-number] {deny | permit} icmp source source-wildcard destination destination-wildcard [icmp-type [icmp-code] | icmp-message] [log | log-input]\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"Parameter_Specifications\"><\/span>Parameter Specifications<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><code>sequence-number<\/code><\/strong> <em>(Optional)<\/em>: An integer (1 to 2147483647) specifying the order of rule processing. If omitted, IOS assigns increments of 10.<\/li>\n<li><strong><code>deny | permit<\/code><\/strong>: Specifies whether matching packets are dropped or forwarded.<\/li>\n<li><strong><code>icmp<\/code><\/strong>: Protocol designator (IP protocol number 1).<\/li>\n<li><strong><code>source source-wildcard<\/code><\/strong>: Defines the source IP. Can be an IP address with wildcard bits, the keyword <code>any<\/code>, or <code>host &lt;ip-address&gt;<\/code>.<\/li>\n<li><strong><code>destination destination-wildcard<\/code><\/strong>: Defines the target IP. Can be an IP address with wildcard bits, <code>any<\/code>, or <code>host &lt;ip-address&gt;<\/code>.<\/li>\n<li><strong><code>icmp-type<\/code><\/strong> <em>(Optional)<\/em>: Integer (0\u2013255) specifying the ICMP message type.<\/li>\n<li><strong><code>icmp-code<\/code><\/strong> <em>(Optional)<\/em>: Integer (0\u2013255) specifying the sub-code for the declared ICMP type.<\/li>\n<li><strong><code>icmp-message<\/code><\/strong> <em>(Optional)<\/em>: Symbolic keyword representing standard ICMP types (see reference table below).<\/li>\n<li><strong><code>log | log-input<\/code><\/strong> <em>(Optional)<\/em>: Generates a system logging message when a packet matches the rule. <code>log-input<\/code> includes the incoming interface and source MAC address.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Common_Cisco_IOS_ICMP_Keywords\"><\/span>Common Cisco IOS ICMP Keywords<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Keyword<\/th>\n<th style=\"text-align: left;\">Type \/ Code<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<th style=\"text-align: left;\">Recommended Policy<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>echo<\/code><\/td>\n<td style=\"text-align: left;\">Type 8<\/td>\n<td style=\"text-align: left;\">Echo request (ping probe)<\/td>\n<td style=\"text-align: left;\">Block on untrusted interfaces<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>echo-reply<\/code><\/td>\n<td style=\"text-align: left;\">Type 0<\/td>\n<td style=\"text-align: left;\">Echo reply (ping response)<\/td>\n<td style=\"text-align: left;\">Permit inbound if internal network pings out<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>unreachable<\/code><\/td>\n<td style=\"text-align: left;\">Type 3 (All codes)<\/td>\n<td style=\"text-align: left;\">Destination unreachable<\/td>\n<td style=\"text-align: left;\"><strong>Permit<\/strong> (Critical for error detection)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>packet-too-big<\/code><\/td>\n<td style=\"text-align: left;\">Type 3, Code 4<\/td>\n<td style=\"text-align: left;\">Fragmentation needed, DF set<\/td>\n<td style=\"text-align: left;\"><strong>Permit<\/strong> (Mandatory for PMTUD)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>time-exceeded<\/code><\/td>\n<td style=\"text-align: left;\">Type 11 (All codes)<\/td>\n<td style=\"text-align: left;\">TTL expired in transit<\/td>\n<td style=\"text-align: left;\"><strong>Permit<\/strong> (Required for traceroute)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>redirect<\/code><\/td>\n<td style=\"text-align: left;\">Type 5 (All codes)<\/td>\n<td style=\"text-align: left;\">Route redirect<\/td>\n<td style=\"text-align: left;\">Block on perimeter interfaces<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>mask-request<\/code><\/td>\n<td style=\"text-align: left;\">Type 17<\/td>\n<td style=\"text-align: left;\">Address mask request<\/td>\n<td style=\"text-align: left;\">Block (Obsolete discovery probe)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>timestamp-request<\/code><\/td>\n<td style=\"text-align: left;\">Type 13<\/td>\n<td style=\"text-align: left;\">Timestamp request<\/td>\n<td style=\"text-align: left;\">Block (Clock identification \/ fingerprinting)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Verification_and_Management_Commands\"><\/span>Verification and Management Commands<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To inspect operational counters and interface assignments:<\/p>\n<pre><code class=\"language-text\">! View all configured access lists with sequence numbers and hit counts\nRouter# show ip access-lists\n\n! View access lists bound to an interface and direction of application\nRouter# show ip interface GigabitEthernet0\/0\/0\n\n! Clear operational packet match counters for a specific list\nRouter# clear ip access-list counters BLOCK_EXTERNAL_ICMP\n<\/code><\/pre>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Securing network perimeters against unauthorized reconnaissance does not require blinding your diagnostic systems. While unconstrained ICMP leaves routers vulnerable to scanning and CPU exhaustion, indiscriminate filtering disrupts essential mechanisms like Path MTU Discovery and packet-lifetime error reporting.<\/p>\n<p>To maintain both security and operational integrity:<br \/>\n1. Always explicitly permit ICMP <code>unreachable<\/code> and <code>time-exceeded<\/code> messages prior to defining deny rules.<br \/>\n2. Permit <code>echo-reply<\/code> packets if systems on your internal networks initiate diagnostics to the outside world.<br \/>\n3. Apply standard Extended ACLs to protect edge data planes, while reserving Control Plane Policing (CoPP) to throttle direct volumetric attacks against your router&#8217;s processor.<br \/>\n4. On modern Cisco IOS-XE platforms, take advantage of Zone-Based Policy Firewalls to enforce stateful packet filtering.<\/p>\n<div class='sfsi_Sicons' style='width: 100%; display: inline-block; vertical-align: middle; text-align:left'><div style='margin:0px 8px 0px 0px; line-height: 24px'><span>Please follow and like us:<\/span><\/div><div class='sfsi_socialwpr'><div class='sf_fb_share sf_icon' style='text-align:left;vertical-align: middle;'><a href='https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fcciedump.spoto.net%2Fblog%2Fhow-to-block-icmp-cisco-router_24501.html' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Facebook Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/fbshare_bck.png'  \/><\/a><\/div><div class='sf_twiter sf_icon' style='display: inline-block;vertical-align: middle;width: auto;margin-left: 7px;'>\r\n\t\t\t\t\t\t<a target='_blank' href='https:\/\/twitter.com\/intent\/tweet?text=How+to+Block+ICMP+in+Cisco+Router+https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html'style='display:inline-block' >\r\n\t\t\t\t\t\t\t<img data-pin-nopin= true width='auto' class='sfsi_wicon' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/visit_icons\/en_US_Tweet.svg' alt='Tweet' title='Tweet' >\r\n\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t<\/div><div class='sf_pinit sf_icon' style='text-align:left;vertical-align: middle;float:left;line-height: 33px;width:auto;margin: 0 -2px;'><a href='#'  onclick='sfsi_pinterest_modal_images(event,\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\",\"How to Block ICMP in Cisco Router\")' style='display:inline-block;'  > <img class='sfsi_wicon'  data-pin-nopin='true' width='auto' height='auto' alt='fb-share-icon' title='Pin Share' src='https:\/\/cciedump.spoto.net\/blog\/wp-content\/plugins\/ultimate-social-media-icons\/images\/share_icons\/Pinterest_Save\/en_US_save.svg'  \/><\/a><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Internet Control Message Protocol (ICMP) is a fundamental component of the Internet Protocol suite, responsible for vital diagnostic, operational, and error-reporting mechanisms across IP networks. However, unconstrained ICMP traffic frequently presents security concerns. Attackers leverage ICMP echo requests for network reconnaissance, scanning for live hosts, fingerprinting topology, and conducting volumetric denial-of-service (DoS) attacks such as&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\">read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,608],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Block ICMP in Cisco Router - SPOTO Official Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Block ICMP in Cisco Router - SPOTO Official Blog\" \/>\n<meta property=\"og:description\" content=\"Internet Control Message Protocol (ICMP) is a fundamental component of the Internet Protocol suite, responsible for vital diagnostic, operational, and error-reporting mechanisms across IP networks. However, unconstrained ICMP traffic frequently presents security concerns. Attackers leverage ICMP echo requests for network reconnaissance, scanning for live hosts, fingerprinting topology, and conducting volumetric denial-of-service (DoS) attacks such as... &raquo; read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\" \/>\n<meta property=\"og:site_name\" content=\"SPOTO Official Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-16T03:17:38+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SPOTO \u7f16\u8f91\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\",\"name\":\"SPOTO Club\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg\",\"caption\":\"SPOTO Club\"},\"logo\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\"},\"description\":\"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205\",\"sameAs\":[\"https:\/\/cciedump.spoto.net\/\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/\",\"name\":\"SPOTO Official Blog\",\"description\":\"Focus on Online IT Training for 20+ Years\",\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#webpage\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\",\"name\":\"How to Block ICMP in Cisco Router - SPOTO Official Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#website\"},\"datePublished\":\"2026-11-16T03:17:38+00:00\",\"dateModified\":\"2026-11-16T03:17:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cciedump.spoto.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Block ICMP in Cisco Router\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#webpage\"},\"author\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\"},\"headline\":\"How to Block ICMP in Cisco Router\",\"datePublished\":\"2026-11-16T03:17:38+00:00\",\"dateModified\":\"2026-11-16T03:17:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#webpage\"},\"wordCount\":1893,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638\"},\"articleSection\":[\"CCNA Certification\",\"Cisco Certification\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1\",\"name\":\"SPOTO \u7f16\u8f91\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cciedump.spoto.net\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1794560155\",\"contentUrl\":\"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1794560155\",\"caption\":\"SPOTO \u7f16\u8f91\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Block ICMP in Cisco Router - SPOTO Official Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html","og_locale":"en_US","og_type":"article","og_title":"How to Block ICMP in Cisco Router - SPOTO Official Blog","og_description":"Internet Control Message Protocol (ICMP) is a fundamental component of the Internet Protocol suite, responsible for vital diagnostic, operational, and error-reporting mechanisms across IP networks. However, unconstrained ICMP traffic frequently presents security concerns. Attackers leverage ICMP echo requests for network reconnaissance, scanning for live hosts, fingerprinting topology, and conducting volumetric denial-of-service (DoS) attacks such as... &raquo; read more","og_url":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html","og_site_name":"SPOTO Official Blog","article_published_time":"2026-11-16T03:17:38+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SPOTO \u7f16\u8f91","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Person","Organization"],"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638","name":"SPOTO Club","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/uploads\/2020\/03\/spoto-facemask-96x96.jpg","caption":"SPOTO Club"},"logo":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo"},"description":"SPOTO is an excellent leader in IT certification training for 20+ years. We offer 100% real Cisco CCNA, CCNP exam dumps, CCIE Lab study materials, PMP, CISA, CISM, AWS, Palo Alto, and other IT exam dumps. We have helped thousands of candidates around the world to pass their IT exams on the first try! As the first-class online IT training organization in China, SPOTO cooperates with many giant Internet companies in China like Tencent, Baidu, and Alibaba. What\u2019s more, we have won lots of awards in IT education training such as \u201cTop Ten Influential Brands In Online Education Industry\u201d given by Baidu, \u201cOfficial IT Online Training Organization\u201d awarded by Tencent Class, etc. Join us: https:\/\/cciedump.spoto.net\/ Contact us: E-mail: support@spoto.net Phone \/ WhatsApp: +86 18344981205","sameAs":["https:\/\/cciedump.spoto.net\/"]},{"@type":"WebSite","@id":"https:\/\/cciedump.spoto.net\/blog\/#website","url":"https:\/\/cciedump.spoto.net\/blog\/","name":"SPOTO Official Blog","description":"Focus on Online IT Training for 20+ Years","publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cciedump.spoto.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#webpage","url":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html","name":"How to Block ICMP in Cisco Router - SPOTO Official Blog","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#website"},"datePublished":"2026-11-16T03:17:38+00:00","dateModified":"2026-11-16T03:17:38+00:00","breadcrumb":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cciedump.spoto.net\/blog"},{"@type":"ListItem","position":2,"name":"How to Block ICMP in Cisco Router"}]},{"@type":"Article","@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#article","isPartOf":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#webpage"},"author":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1"},"headline":"How to Block ICMP in Cisco Router","datePublished":"2026-11-16T03:17:38+00:00","dateModified":"2026-11-16T03:17:38+00:00","mainEntityOfPage":{"@id":"https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#webpage"},"wordCount":1893,"commentCount":0,"publisher":{"@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/25594d4796697ccb1ef63d55c269c638"},"articleSection":["CCNA Certification","Cisco Certification"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cciedump.spoto.net\/blog\/how-to-block-icmp-cisco-router_24501.html#respond"]}]},{"@type":"Person","@id":"https:\/\/cciedump.spoto.net\/blog\/#\/schema\/person\/4edd6074d9632c14eda17a2205a88dd1","name":"SPOTO \u7f16\u8f91","image":{"@type":"ImageObject","@id":"https:\/\/cciedump.spoto.net\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1794560155","contentUrl":"https:\/\/cciedump.spoto.net\/blog\/wp-content\/litespeed\/avatar\/f525ded90e4ff384a19ebdbe47c80d22.jpg?ver=1794560155","caption":"SPOTO \u7f16\u8f91"}}]}},"_links":{"self":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24501"}],"collection":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/comments?post=24501"}],"version-history":[{"count":0,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/posts\/24501\/revisions"}],"wp:attachment":[{"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/media?parent=24501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/categories?post=24501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cciedump.spoto.net\/blog\/wp-json\/wp\/v2\/tags?post=24501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}