Port name or number range criteria
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:
G350-001(super-Capture 520/ip rule 20)# tcp destination-port range 1 3
Done!
G350-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:
G350-001(super-Capture 520/ip rule 20)# tcp source-port eq ftp
Done!
G350-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:
G350-001(super-Capture 520/ip rule 20)# udp destination-port gt 10
Done!
G350-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:
G350-001(super-Capture 520/ip rule 20)# udp source-port lt 10
Done!
G350-001(super-Capture 520/ip rule 20)#
Any. Type any to apply the rule to all port names and port numbers. For example:
●
G350-001(super-Capture 520/ip rule 20)# tcp source-port any
Done!
G350-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:
G350-001(super-Capture 520/ip rule 20)# not udp source-port lt 10
Done!
G350-001(super-Capture 520/ip rule 20)#
Configuring and analyzing packet sniffing
Issue 3 February 2007
379