Setting An Icmp Acl - D-Link DWS-1008 - AirPremier MobileLAN Switch Product Manual

8 port 10/100 wireless switch with power over ethernet
Hide thumbs Also See for DWS-1008 - AirPremier MobileLAN Switch:
Table of Contents

Advertisement

With the following command, you can use security ACLs to set Internet Control Message Protocol
(ICMP) parameters for the ping command:
set security acl ip acl-name {permit [cos cos] | deny}
icmp {source-ip-addr mask | any} {destination-ip-addr mask | any}
[type icmp-type] [code icmp-code] [[precedence precedence] [tos tos] |
[dscp codepoint]] [before editbuffer-index | modify editbuffer-index] [hits]
An ICMP ACL can filter packets by source and destination IP address, TOS level, precedence, ICMP
type, and ICMP code. For example, the following command permits all ICMP packets coming from
192.168.1.3 and going to 192.168.1.4 that also meet the following conditions:
• CMP type is 11 (Time Exceeded).
• ICMP code is 0 (Time to Live Exceeded).
• Type-of-service level is 12 (minimum delay plus maximum throughput).
• Precedence is 7 (network control).
DWS-1008# set security acl ip acl-3 permit icmp 192.168.1.3 0.0.0.0 192.168.1.4
0.0.0.0 type 11 code 0 precedence 7 tos 12 before 1 hits
The before 1 portion of the ACE places it before any others in the ACL, so it has precedence over any
later ACEs for any parameter settings that are met. ICMP includes many messages that are identified
by a type field. Some also have a code within that type.
The table below lists some common ICMP types and codes. For more information, see www.iana.org/
assignments/icmp-parameters.
ICMP Message Type (Number)
Destination Unreachable (3)
Source Quench (4)
Time Exceeded (11)
Parameter Problem (12)
Timestamp Reply (14)
Information Request (15)
Information Reply (16)
D-Link DWS-1008 User Manual

Setting an ICMP ACL

Echo Reply (0)
Redirect (5)
Echo (8)
Timestamp (13)
ICMP Message Code (Number)
None
• Network Unreachable (0)
• Host Unreachable (1)
• Protocol Unreachable (2)
• Port Unreachable (3)
• Fragmentation Needed (4)
• Source Route Failed (5)
None
• Network Redirect (0)
• Host Redirect (1)
• Type of Service (TOS) and Network Redirect (2)
• TOS and Host Redirect (3)
None
• Time to Live (TTL) Exceeded (0)
• Fragment Reassembly Time Exceeded (1)
None
None
None
None
None


Advertisement

Table of Contents
loading

Table of Contents