Home > Configuration > NS > setnsacl_srcport

setnsacl_srcport

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

Syntax



Parameters

aclname

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

srcport

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

operatoR

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

srcportval

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

Return Value

Returns simpleResult

See Also