Administrator Guide

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 traffic.
NOTE: You can apply the l2–switch option to redirect Layer2 traffic only on a VLAN interface. This VLAN interface must
be configured with an IP address for ARP resolution. The Layer2 PBR option matches the layer2 traffic flow. If you un-
configure this option, then the Layer2 traffic is not matched.The Layer3 routing is not affected 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-te-1/1)#ip redirect-group xyz
DellEMC(conf-if-te-1/1)#
Example: Applying a Redirect-list to an Interface
DellEMC(conf-if-te-1/1)#ip redirect-group test
DellEMC(conf-if-te-1/1)#ip redirect-group xyz
DellEMC(conf-if-te-1/1)#show config
!
interface TenGigabitEthernet 1/1
no ip address
ip redirect-group test
ip redirect-group xyz
shutdown
DellEMC(conf-if-te-1/1)#
DellEMC(conf-if-gi-1/1)#ip redirect-group test
DellEMC(conf-if-gi-1/1)#ip redirect-group xyz
DellEMC(conf-if-gi-1/1)#show config
!
interface GigabitEthernet 1/1
no ip address
ip redirect-group test
ip redirect-group xyz
shutdown
DellEMC(conf-if-gi-1/1)#
In addition to supporting multiple redirect-lists in a redirect-group, multiple redirect-groups are supported on a single interface. Dell EMC
Networking OS has the capability to support multiple groups on an interface for backup purposes.
Show Redirect List Configuration
To view the configuration redirect list configuration, use the following commands.
1. View the redirect list configuration and the associated interfaces.
EXEC mode
show ip redirect-list redirect-list-name
2. View the redirect list entries programmed in the CAM.
EXEC mode
show cam pbr
Policy-based Routing (PBR)
643