Home > Configuration > NS > setnsacl_srcip

setnsacl_srcip

Use this method to set iP address or range of IP addresses to match against the source IP address of an incoming IPv4 packet. In the method line interface, separate the range with a hyphen. For example: 10.102.29.30-10.102.29.189.

Syntax



Parameters

aclname

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

srcip

IP address or range of IP addresses to match against the source IP address of an incoming IPv4 packet. In the method line interface, separate the range with a hyphen. For example: 10.102.29.30-10.102.29.189.

operatoR

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

srcipval

IP address or range of IP addresses to match against the source IP address of an incoming IPv4 packet. In the method line interface, separate the range with a hyphen. For example:10.102.29.30-10.102.29.189.

Return Value

Returns simpleResult

See Also