Administrator Guide

Applied interfaces:
Te 2/2/1
NOTE: If, the redirect-list is applied to an interface, the output of show ip redirect-list redirect-list-name command displays
reachability status for the specied next-hop.
Showing CAM PBR Conguration Example :
Dell#show cam pbr stack-unit 1 port-set 0
TCP Flag: Bit 5 - URG, Bit 4 - ACK, Bit 3 - PSH, Bit 2 - RST, Bit 1 - SYN, Bit 0 - FIN
Cam Port VlanID Proto Tcp Src Dst SrcIp DstIp Next-hop Egress
Index Flag Port Port MAC Port
------------------------------------------------------------------------------------------------
-----------------
06080 0 N/A IP 0x0 0 0 200.200.200.200
200.200.200.200 199.199.199.199 199.199.199.199
N/A NA
06081 0 N/A TCP 0x10 0 40 234.234.234.234 255.234.234.234 222.222.222.222/24
00:00:00:00:00:09 8/1
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
Example: Applying a Redirect-list to an Interface
Policy-based Routing (PBR)
723