Version 8.4.2.1
Version 8.4.2.0
Version 7.5.1.0
redirect
Configure a rule for the redirect list.
S4810
Syntax
redirect {ip-address | slot/port} {ip-protocol-number |
protocol-type [bit]} {source mask | any | host ip-address}
{destination mask | any | host ip-address} [operator]
To remove this filter, use one of the following:
•
•
Parameters
ip-address
slot/port
ip-protocol-
number
protocol-type
bit
Policy-based Routing (PBR)
Introduced on the C-Series and S-Series.
Introduced on the E-Series TeraScale.
Introduced on the E-Series ExaScale.
Use the no seq sequence-number command if you know the filter's
sequence number.
You can also use the no redirect {ip-address | slot/port} {ip-
protocol-number [bit] | protocol-type} {source mask | any |
host ip-address} {destination mask | any | host ip-address}
[operator] command.
Enter the IP address of the forwarding router.
Enter the keyword slot / port followed by the slot/port
information.
Enter a number from 0 to 255 for the protocol identified in
the IP protocol header.
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
(OPTIONAL) For the 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
1275