3Com 7750 Series Switch User Manual


  Open as PDF
of 1177
 
3Com Switch 7750 Series
Command Reference Guide – ACL Chapter 1 ACL Commands
1-19
Table 1-12 TCP/UDP-specific rule information
Parameter Type Function Description
source-port
operator port1
[ port2 ]
Source
port(s)
Defines the
source port
information of
UDP/TCP
packets
destination-port
operator port1
[ port2 ]
Destination
port(s)
Defines the
destination port
information of
UDP/TCP
packets
The value of operator can
be lt (less than), gt (greater
than), eq (equal to), neq
(not equal to) or range
(within the range of) Only
the range requires two port
numbers as the operands,
and other operators require
only one port number as the
operand.
port1 and port2: TCP/UDP
port number(s), expressed
with name(s) or numerals;
when expressed with
numerals, the value range
is 0 to 65,535.
established
“TCP
connection
established”
flag
Specifies that
the rule will
match TCP
connection
packets with the
ack or rst flag
TCP-specific argument
Note:
Only the A type card supports the “range” operation on the TCP/UDP port.
If the protocol type is ICMP, you can also define the following information:
Table 1-13 ICMP-specific rule information
Parameter Type Function Description
icmp-type
icmp-type
icmp-code
Type and
message
code
information
of ICMP
packets
Specifies the
type and
message code
information of
ICMP packets
in the rule
icmp-type: ICMP message
type, ranging 0 to 255
icmp-code: ICMP message
code, ranging 0 to 255
If the protocol type is ICMP, you can also directly input the ICMP message name after
the icmp-type argument.
Table 1-14 describes some common ICMP messages.