Concept 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 congure multiple recursive routes in a redirect list by entering multiple seq
redirect commands with the same source and destination address and specify a dierent next-hop IP address. In this way, the
recursive routes are used as dierent 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 dierent 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 trac is redirected to the next hop and the destination port-
channel is shut down, the trac is dropped. However, the trac 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 trac.
NOTE
: You can apply the l2–switch option to redirect Layer2 trac only on a VLAN interface. This VLAN interface must be
congured with an IP address for ARP resolution. The Layer2 PBR option matches the layer2 trac ow. If you un-
congure this option, then the Layer2 trac is not matched.The Layer3 routing is not aected 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
620
Policy-based Routing (PBR)