Source And Destination Port Range - Avaya G350 Administration

Hide thumbs Also See for G350:
Table of Contents

Advertisement

Configuring policy
Defining rules
The following command specifies a source IP address in the range 64.<any>.24.<any> for rule 6 in
access control list 350:
G350-001(ACL 350/ip rule 6)# source-ip 64.*.24.*

Source and destination port range

To specify a range of source and destination ports to which the rule applies, use the following commands,
followed by either port name or port number range criteria:
tcp source-port
tcp destination-port
udp source-port
udp destination-port
This command also sets the IP protocol parameter to TCP or UDP.
The port name or number range criteria can be any of the following:
a range — type
rule applies
equal — type
the rule applies
greater than — type
a name or number greater than the specified name or number
less than — type
name or number less than the specified name or number
any — type
Use the
form of the appropriate command to specify that the rule does not apply to the ports defined
no
by the command.
The following command specifies a source TCP port named telnet for rule 1 in access control list 301:
G350-001(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:
G350-001(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:
G350-001(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:
G350-001(ACL 304/ip rule 7)# no tcp source-port eq http
168
— the rule applies to TCP packets from ports that match the defined criteria
— the rule applies to TCP packets to ports that match the defined criteria
— the rule applies to UDP packets from ports that match the defined criteria
— the rule applies to UDP packets to ports that match the defined criteria
range
, followed by two port numbers, to set a range of port numbers to which the
eq
, followed by a port name or number, to set a port name or port number to which
gt
, followed by a port name or port number, to apply the rule to all ports with
, followed by a port name or port number, to apply the rule to all ports with a
lt
to apply the rule to all port names and port numbers
any
Administration of the Avaya G350 Media Gateway
June 2004

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents