Port name or number range criteria

Last Updated : Nov 06, 2012 |
Prolog information
The port name or number range criteria can be any of the following:
Range Type range, followed by two port numbers, to set a range of port numbers to which the rule applies. For example:
Gxxx-001(super-Capture 520/ip rule 20)# tcp destination-port range 1 3
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Equal Type eq, followed by a port name or number, to set a port name or port number to which the rule applies. For example:
Gxxx-001(super-Capture 520/ip rule 20)# tcp source-port eq ftp
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Greater than Type gt, followed by a port name or port number, to apply the rule to all ports with a name or number greater than the specified name or number. For example:
Gxxx-001(super-Capture 520/ip rule 20)# udp destination-port gt 10
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Less than Type lt, followed by a port name or port number, to apply the rule to all ports with a name or number less than the specified name or number. For example:
Gxxx-001(super-Capture 520/ip rule 20)# udp source-port lt 10
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Any Type any to apply the rule to all port names and port numbers. For example:
Gxxx-001(super-Capture 520/ip rule 20)# tcp source-port any
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
To apply the rule to all protocols except the specified protocol, use the not form of the applicable command. For example:
Gxxx-001(super-Capture 520/ip rule 20)# not udp source-port lt 10
Done!
Gxxx-001(super-Capture 520/ip rule 20)#