Home > Configuration > NS > setnsacl_destport

setnsacl_destport

Use this method to set port number or range of port numbers to match against the destination port number of an incoming IPv4 packet. In the method line interface, separate the range with a hyphen. For example: 40-90.

Note: The destination port can be specified only for TCP and UDP protocols.

Syntax



Parameters

aclname

Name of the ACL rule whose parameters you want to modify.
This is mandatory parameter.

destport

Port number or range of port numbers to match against the destination port number of an incoming IPv4 packet. In the method line interface, separate the range with a hyphen. For example: 40-90. Note: The destination port can be specified only for TCP and UDP protocols.

operatoR

Either the equals (=) or does not equal (!=) logical operator.
Possible Values : =, !=, EQ, NEQ.

destportval

Port number or range of port numbers to match against the destination port number of an incoming IPv4 packet. In the method line interface, separate the range with a hyphen. For example: 40-90. Note: The destination port can be specified only for TCP and UDP protocols.

Return Value

Returns simpleResult

See Also