Icmp Type And Code - Avaya W310 User Manual

Wlan
Hide thumbs Also See for W310:
Table of Contents

Advertisement

The port name or number range criteria can be any of the following:
a range — type
which the rule applies
equal — type
to which the rule applies
greater than — type
ports with a name or number greater than the specified name or number
less than — type
with a name or number less than the specified name or number
any — type
Use the
not
ports defined by the command.
The following command specifies a source TCP port named telnet for rule 1 in access
control list 301:
W310-1(ACL 301/ip rule 1)# tcp source-port eq telnet
The following command specifies any destination UDP port less than 1024 for rule 3 in QoS
list 404:
W310-1(QoS 404/rule 3)# udp destination-port lt 1024
The following command specifies any destination TCP port in the range 5000 through 5010
for rule 1 in access control list 301:
W310-1(ACL 301/ip rule 1)# tcp destination-port range 5000 5010
The following command specifies any source TCP port except a port named http for rule 7 in
access control list 304:
W310-1(ACL 304/ip rule 7)# not tcp source-port eq http

ICMP Type and Code

To apply the rule to a specific type of ICMP packet, use the
sets the IP protocol parameter to ICMP, and specifies an ICMP type and code to which the
rule applies. You can specify the ICMP type and code by integer or text string, as shown in
the examples below. To apply the rule to all ICMP packets except the specified type and
code, use the
Avaya W310 User's Guide
, followed by two port numbers, to set a range of port numbers to
range
, followed by a port name or number, to set a port name or port number
eq
, followed by a port name or port number, to apply the rule to all
gt
, followed by a port name or port number, to apply the rule to all ports
lt
to apply the rule to all port names and port numbers
any
form of the appropriate command to specify that the rule does not apply to the
form of this command.
not
Configuring Policy
command. This command
icmp
253

Advertisement

Table of Contents
loading

Table of Contents