Home > Configuration > NS > setnspbr_srcport

setnspbr_srcport

Use this method to set port number or range of port numbers to match against the source port number of an outgoing 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

name

Name of the PBR 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 outgoing 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.

srcportval

Port number or range of port numbers to match against the source port number of an outgoing 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