CLI Guide
redirect
Configure a rule for the redirect list.
Syntax
redirect {ip-address | slot/port} | tunnel tunnel-id}[track
<obj-id>] {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}| tunnel
tunnel-id}[track <obj-id>] {ip-protocol-number [bit] |
protocol-type} {source mask | any | host ip-address}
{destination mask | any | host ip-address} [operator]
command.
Parameters
redirect Enter the keyword redirect to assign the sequence to the
redirect list.
ip-address Enter the IP address of the forwarding router.
slot/port Enter the keyword slot / port followed by the slot/port
information.
tunnel Enter the keyword tunnel to configure the tunnel setting.
tunnel-id Enter the keyword tunnel-id to redirect the traffic.
track Enter the keyword track to enable the tracking.
track <obj-id> Enter the keyword track <obj-id> to track object-id.
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
Policy-based Routing (PBR)
1317