Deployment Guide

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
Example: Applying a Redirect-list to an Interface
In addition to supporting multiple redirect-lists in a redirect-group, multiple redirect-groups are supported on a single interface. Dell
Networking OS has the capability to support multiple groups on an interface for backup purposes.
Show Redirect List Conguration
To view the conguration redirect list conguration, use the following commands.
1 View the redirect list conguration 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
show cam-usage
List the redirect list conguration using the show ip redirect-list redirect-list-name command. The non-contiguous
mask displays in dotted format (x.x.x.x). The contiguous mask displays in /x format.
Use the show ip redirect-list (without the list name) to display all the redirect-lists congured on the device.
NOTE
: If you apply the redirect-list to an interface, the output of the show ip redirect-list redirect-list-
name command displays reachability status for the specied next-hop.
Example: Showing CAM PBR Conguration
594
Policy-based Routing (PBR)