User Guide

Table Of Contents
Configuring and Managing Security ACLs 359
Nortel WLAN Security Switch 2300 Series Configuration Guide
Setting TCP and UDP ACLs
Security ACLs can filter TCP and UDP packets by source and destination IP address, precedence, and TOS level. You
can apply a TCP ACL to established TCP sessions only, not to new TCP sessions. In addition, security ACLs for TCP
and UDP can filter packets according to a source port on the source IP address and/or a destination port on the destina-
tion IP address, if you specify a port number and an operator in the ACE. (For a list of TCP and UDP port numbers, see
http://www.iana.org/assignments/port-numbers.)
The operator indicates whether to filter packets arriving from or destined for a port whose number is equal to (eq),
greater than (gt), less than (lt), not equal to (neq), or in a range that includes (range) the specified port. To specify a
range of TCP or UDP ports, you enter the beginning and ending port numbers.
Setting a TCP ACL
The following command filters TCP packets:
set security acl ip acl-name {permit [cos cos] | deny} tcp {source-ip-addr mask [operator
port [port2]] destination-ip-addr mask [operator port [port2]]} [precedence
precedence] [tos tos] [established] [before editbuffer-index | modify editbuffer-index]
[hits]
For example, the following command permits packets sent from IP address 192.168.1.5 to 192.168.1.6 with the TCP
destination port equal to 524, a precedence of 7, and a type of service of 15, on an established TCP session, and counts
the number of hits generated by the ACE:
23x0# set security acl ip acl-4 permit tcp 192.168.1.5 0.0.0.0 192.168.1.6 0.0.0.0 eq 524
precedence 7 tos 15 established hits
(For information about TOS and precedence levels, see the Nortel Mobility System Software Command Reference. For
CoS details, see “Class of Service” on page 355.)
Setting a UDP ACL
The following command filters UDP packets:
set security acl ip acl-name {permit [cos cos] | deny} udp {source-ip-addr mask [operator
port [port2]] destination-ip-addr mask [operator port [port2]]} [precedence
precedence] [tos tos] [before editbuffer-index | modify editbuffer-index] [hits]
For example, the following command permits UDP packets sent from IP address 192.168.1.7 to IP address 192.168.1.8,
with any UDP destination port less than 65,535. It puts this ACE first in the ACL, and counts the number of hits
generated by the ACE.
23x0# set security acl ip acl-5 permit udp 192.168.1.7 0.0.0.0 192.168.1.8 0.0.0.0 lt 65535
precedence 7 tos 15 before 1 hits
Note. The CLI does not accept port names in ACLs. To filter on ports by name, you must
use WLAN Management Software . For more information, see the Nortel WLAN
Management Software Reference Manual.