Administrator Guide

Create a Rule for a Redirect-list
The following example creates a redirect list by the name of “xyz.
Dell(conf)#ip redirect-list ?
WORD Redirect-list name (max 16 chars)
Dell(conf)#ip redirect-list xyz
Use the following command in CONFIGURATION REDIRECT-LIST mode to set the rules for the redirect list. You can enter the
command multiple times and create a sequence of redirect rules. Use the seq nn redirect version of the command to organize your rules.
Table 67. Create a Rule for a Redirect-list
Command Syntax Command
Mode
Purpose
{seq sequence-number}
redirect {ip-address|
tunnel tunnel-id}
[track obj-id]
{protocol-type}
{source mask | any |
host ip-address}
{destination mask |
any | host ip-address}
[bit] [operators]}
REDIRECT
-LIST
Congure a rule for the redirect list.
ip-address is the forwarding router’s address
tunnel — keyword to congure the tunnel settings.
tunnel-id is used to redirect the trac.
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
Optional
sequence-number (Optional) — Congures a rule with an assigned sequence number for
the redirect list. Enter a number from 1 to 65535.
track — keyword to enable tracking.
track <obj-id> is used to track the object-id for a host reachability track object. Enter a
number from 1 to 500. The track object should correspond to the host tracking of the
forwarding router’s IP address congured in this rule.
ip-protocol-number or protocol-type is the type of protocol to be redirected
FORMAT: 0-255 for IP protocol number, or enter protocol type (Optional):
icmp — Internet Control Message Protocol
ip — Any Internet Protocol
tcp — Transmission Control Protocol
udp — User Datagram Protocol
bit — (Optional) For TCP protocol type only, enter one or a combination of the following
TCP ags:
ack = acknowledgement
n = nish (no more data from the user)
psh = push function
rst = reset the connection
yn = synchronize sequence numbers
718
Policy-based Routing (PBR)