Command Line Reference Guide
Version 8.4.2.1 Introduced on the C-Series and S-Series.
Version 8.4.2.0 Introduced on the E-Series TeraScale.
Version 7.5.1.0 Introduced on the E-Series ExaScale.
redirect
Configure a rule for the redirect list.
Z9000
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:
• 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.
Parameters
ip-address Enter the IP address of the forwarding router.
slot/port Enter the keyword slot / port followed by the slot/port
information.
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
bit (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
1142
Policy-based Routing (PBR)