Pbr Exceptions (Permit) - Dell Z9500 Configuration Manual

Z-series core and aggregation switche
Hide thumbs Also See for Z9500:
Table of Contents

Advertisement

PBR Exceptions (Permit)

To create an exception to a redirect list, use thepermit command. Exceptions are used when a forwarding decision should be
based on the routing table rather than a routing policy.
The Dell Networking OS assigns the first available sequence number to a rule configured without a sequence number and
inserts the rule into the PBR CAM region next to the existing entries. Because the order of rules is important, ensure that you
configure any necessary sequence numbers.
Never apply the permit statement because the redirect list covers all source and destination IP addresses.
ip redirect-list rcl0
seq 5 redirect 2.2.2.2 ip any any
seq 10 permit ip host 3.3.3.3 any
To ensure the permit permit statement or PBR exception is effective, use a lower sequence number, as shown:
ip redirect-list rcl0
seq 10 permit ip host 3.3.3.3 any
seq 15 redirect 2.2.2.2 ip any any
Apply a Redirect-list to an Interface using a Redirect-group
IP redirect lists are supported on physical interfaces as well as 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 in Interface mode. You can apply multiple redirect-lists
to a redirect-group. It is also possible to create two or more redirect-groups on one interface for backup purposes.
Table 60. Apply a Redirect-list to an Interface using a Redirect-group
Command Syntax
ip redirect-group redirect-
list-name
In this example, the list "xyz" is applied to the tenGigabitEthernet 4/0 interface.
Applying a Redirect-list to an Interface Example:
Dell(conf-if-te-2/0)#ip redirect-group xyz
Dell(conf-if-te-2/0)#
Applying a Redirect-list to an Interface Example:
Dell(conf-if-te-1/0)#ip redirect-group test
Dell(conf-if-te-1/0)#ip redirect-group xyz
Dell(conf-if-te-1/0)#show config
!
interface TenGigabitEthernet 1/0
no ip address
ip redirect-group test
ip redirect-group xyz
Command Mode
INTERFACE
Purpose
Apply a redirect list (policy-based
routing) to an interface. redirect-list-
name is the name of a redirect list to
apply to this interface. FORMAT: up to 16
characters. Delete the redirect list from
this interface with the [no] ip redirect-
group command.
Policy-based Routing (PBR)
624

Advertisement

Table of Contents
loading

Table of Contents