Command Line Reference Guide
seq
Configure a filter with an assigned sequence number for the redirect list.
S5000
Syntax
seq sequence-number {permit | redirect {ip-address} {ip-
protocol-number | protocol-type} {source mask | any | host ip-
address} {destination mask | any | host ip-address} [bit]
[operator]
To delete a filter, use the no seq sequence-number command.
Parameters
sequence-
number
Enter a number from 1 to 65535.
permit Enter the keyword permit assign the sequence to the permit list.
redirect Enter the keyword redirect to assign the sequence to the redirect
list.
ip-address
Enter the IP address of the forwarding router.
ip-protocol-
number
ip-protocol-number Enter a number from 0 to 255 for the protocol
identified in the IP protocol header.
protocol-type
Enter one of the following keywords as the protocol type:
• icmp for internet control message protocol
• ip for any internet protocol
• tcp for transmission control protocol
• udp for user datagram protocol
source
Enter the IP address of the network or host from which the packets
were sent.
mask
Enter a network mask in /prefix format (/x).
any Enter the keyword any to specify that all traffic is subject to the filter.
host
ip-address
Enter the keyword host followed by the IP address to specify a host
IP address.
destination
destination Enter the IP address of the network or host to which the
packets are sent.
bit
(OPTIONAL) For TCP protocol type only, enter one or a combination of
the following TCP flags:
• ack = acknowledgement
• fin = finish (no more data from the user)
• psh = push function
• rst = reset the connection
• syn = synchronize sequence number
• urg = urgent field
974