Apply A Redirect-List To An Interface Using A Redirect-Group - Dell S4048–ON Configuration Manual

Hide thumbs Also See for S4048–ON:
Table of Contents

Advertisement

You can apply multiple rules to a single redirect-list. The rules are applied in ascending order, starting with the rule that has the lowest
sequence number in a redirect-list displays the correct method for applying multiple rules to one list.
Example: Creating Multiple Rules for a Redirect-List
Dell(conf)#ip redirect-list test
Dell(conf-redirect-list)#seq 10 redirect 10.1.1.2 ip 20.1.1.0/24 any
Dell(conf-redirect-list)#seq 15 redirect 10.1.1.3 ip 20.1.1.0/25 any
Dell(conf-redirect-list)#seq 20 redirect 10.1.1.3 ip 20.1.1.128/24 any
Dell(conf-redirect-list)#show config
!
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
Dell(conf-redirect-list)#
NOTE:
Starting with the Dell 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 configure multiple recursive routes in a redirect list by entering multiple seq
redirect commands with the same source and destination address and specify a different next-hop IP address. In this way, the
recursive routes are used as different 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 different 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 traffic is redirected to the next hop and the destination port-
channel is shut down, the traffic is dropped. However, the traffic 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 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 tenGigabitEthernet 1/1 interface.
Policy-based Routing (PBR)
675

Advertisement

Table of Contents
loading

This manual is also suitable for:

S4048t-on

Table of Contents