Setup Guide
!
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 congure multiple recursive routes in a redirect list by entering multiple seq
redirect commands with the same source and destination address and specify a dierent next-hop IP address. In this way, the
recursive routes are used as dierent 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 dierent route is
used.
Apply a Redirect-list to an Interface using a Redirect-group
IP redirect lists are supported on physical interfaces as well as virtual local area network (VLAN) and port-channel interfaces.
NOTE: When you apply a redirect-list on a port-channel, when trac is redirected to the next hop and the destination port-
channel is shut down, the trac is dropped. However, the trac redirected to the destination port-channel is sometimes
switched.
To apply a redirect list to an interface, use the following command. You can apply multiple redirect-lists can be applied to a redirect-group. It
is also possible to create two or more redirect-groups on one interface for backup purposes.
Apply a redirect list (policy-based routing) to an interface.
INTERFACE mode
ip redirect-group redirect-list-name test l2–switch
• redirect-list-name is the name of a redirect list to apply to this interface.
• FORMAT: up to 16 characters
• You can use the l2–switch option to apply the re-direct list to Layer2 trac.
NOTE
: You can apply the l2–switch option to redirect Layer2 trac only on a VLAN interface. This VLAN interface must
be congured with an IP address for ARP resolution. The Layer2 PBR option matches the layer2 trac ow. If you un-
congure this option, then the Layer2 trac is not matched.The Layer3 routing is not aected on the same interface on
which Layer2 PBR is applied. The port from which Layer2 packets egress and the destination MAC are re-written from
static ARP. Layer 2 packets with the re-written destination MAC are forwarded through the outgoing port on the same
incoming VLAN interface. The l2-switch option ensures that the outgoing VLAN and MAC-SA are changed and TTL
is not decremented.
To delete the redirect list from this interface, use the no ip redirect-group command.
In this example, the list xyz is applied to the 1/1 interface.
Example: Applying a Redirect-list to an Interface
DellEMC(conf-if-gi-1/1)#ip redirect-group xyz
DellEMC(conf-if-gi-1/1)#
Example: Applying a Redirect-list to an Interface
Policy-based Routing (PBR)
631