Administrator Guide
• Create a Rule for a Redirect-list
• Create a Track-id list. For complete tracking information, refer to Object Tracking chapter.
• Apply a Redirect-list to an Interface using a Redirect-group
Create a Redirect List
Use the following command in CONFIGURATION mode:
1 Create a redirect list by entering the list name. Format: 16 characters
CONFIGURATION mode
ip redirect-list redirect-list-name
Delete the redirect list with the no ip redirect-list command.
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
Create a Rule for a Redirect-list
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.
1 Configure a rule for the redirect list.
CONF-REDIRECT-LIST mode
seq {number} redirect {ip-address}{ip-protocol-number | protocol-type [bit]}
{source mask | any | host ip-address}{destination mask | any | host ip-address}
• number is the number in sequence to initiate this rule
• ip-address is the Forwarding router’s address
• FORMAT: A.B.C.D
• FORMAT: slot/port
• 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
• source ip-address or any or host ip-address is the Source’s IP address
• FORMAT: A.B.C.D/NN, or ANY or HOST IP address
• destination ip-address or any or host ip-address is the Destination’s IP address
• FORMAT: A.B.C.D/NN, or ANY or HOST IP address
Delete a rule with the no redirect command.
The redirect rule supports Non-contiguous bitmasks for PBR in the Destination router IP address
The below step shows a step-by-step example of how to create a rule for a redirect list by configuring:
• IP address of the next-hop router in the forwarding route
Policy-based Routing (PBR) 675