Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC Configuration Guide for the S3100 Series 9.14.2.4

PDF

Create a Rule for a Redirect-list

To set the rules for the redirect list, use the following command. 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.
Configure a rule for the redirect list.
CONF-REDIRECT-LIST mode
seq {number} redirect {ip-address | tunnel tunnel-id} [track <obj-id>}{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
  • tunnel is used to configure the tunnel settings
  • tunnel-id is used to redirect the traffic
  • track <obj-id> is used to track the object-id
  • track is to enable the tracking
  • 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
To delete a rule, use the no redirect command.
The redirect rule supports Non-contiguous bitmasks for PBR in the Destination router IP address

The following example shows how to create a rule for a redirect list by configuring:

  • IP address of the next-hop router in the forwarding route
  • IP protocol number
  • Source address with mask information
  • Destination address with mask information

Example: Creating a Rule

DellEMC(conf-redirect-list)#redirect ?
A.B.C.D                 Forwarding router's address             
                        
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ?
<0-255>                 An IP protocol number                   
icmp                    Internet Control Message Protocol       
ip                      Any Internet Protocol                   
tcp                     Transmission Control Protocol           
udp                     User Datagram Protocol                  
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ip ?
A.B.C.D                 Source address                          
any                     Any source host                         
host                    A single source host                    
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 ?
Mask                    A.B.C.D or /nn Mask in dotted decimal or in slash format      
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 ?
A.B.C.D                 Destination address                     
any                     Any destination host                    
host                    A single destination host               
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 ?
Mask                    A.B.C.D or /nn Mask in dotted decimal or in slash format      
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 /32 ?
DellEMC(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 /32 
DellEMC(conf-redirect-list)#do show ip redirect-list 

IP redirect-list xyz:
 Defined as:
  seq 5 redirect 3.3.3.3 ip host 222.1.1.1 host 77.1.1.1
  Applied interfaces:
  None

You can apply multiple rules to a single redirect-list. The rules are applied in ascending order, starting with the rule that has the lowest sequence number in a redirect-list displays the correct method for applying multiple rules to one list.

Example: Creating Multiple Rules for a Redirect-List

DellEMC(conf)#ip redirect-list test
DellEMC(conf-redirect-list)#seq 10 redirect 10.1.1.2 ip 20.1.1.0/24 any
DellEMC(conf-redirect-list)#seq 15 redirect 10.1.1.3 ip 20.1.1.0/25 any
DellEMC(conf-redirect-list)#seq 20 redirect 10.1.1.3 ip 20.1.1.128/24 any
DellEMC(conf-redirect-list)#show config
!
ip redirect-list test
 seq 10 redirect 10.1.1.2 ip 20.1.1.0/24 any
 seq 15 redirect 10.1.1.3 ip 20.1.1.0/25 any
 seq 20 redirect 10.1.1.3 ip 20.1.1.0/24 any
DellEMC(conf-redirect-list)#
NOTE Starting with the Dell EMC Networking OS version 9.4(0.0), the use of multiple recursive routes with the same source-address and destination-address combination in a redirect policy on an router.

A recursive route is a route for which the immediate next-hop address is learned dynamically through a routing protocol and acquired through a route lookup in the routing table. You can configure multiple recursive routes in a redirect list by entering multiple seq redirect commands with the same source and destination address and specify a different next-hop IP address. In this way, the recursive routes are used as different forwarding routes for dynamic failover. If the primary path goes down and the recursive route is removed from the routing table, the seq redirect command is ignored and the next command in the list with a different route is used.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\