Service Manual
ip redirect-group
Apply a redirect list (policy-based routing) on an interface. You can apply multiple redirect lists to an interface by entering this
command multiple times.
Syntax
ip redirect-group redirect-list-name
To remove a redirect list from an interface, use the no ip redirect-group name command.
Parameters
redirect-list-
name
Enter the name of a configured redirect list.
Defaults none
Command Modes INTERFACE (conf-if-vl-)
Command
History
Version Description
9.8(0.0P5) Introduced on the S4048-ON.
9.8(0.0P2) Introduced on the S3048-ON.
9.7(0.0) Introduced on the S6000-ON.
9.4(0.0) Introduced on the S4810, S4820T, S6000, and Z9000.
8.4.2.1 Introduced on the C-Series and S-Series.
8.4.2.0 Introduced on the E-Series Tera Scale.
7.7.1.0 Introduced on the E-Series ExaScale.
Usage
Information
You can apply any number of redirect-groups to an interface. A redirect list can contain any number of
configured rules. These rules includes the next-hop IP address where the incoming traffic is to be
redirected.
If the next hop address is reachable, traffic is forwarded to the specified next hop. Otherwise, the normal
routing table is used to forward traffic. When a redirect-group is applied to an interface and the next-hop
is reachable, the rules are added into the PBR CAM region. When incoming traffic hits an entry in the
CAM, the traffic is redirected to the corresponding next-hop IP address specified in the rule.
NOTE: Apply the redirect list to physical, VLAN, or LAG interfaces only.
Related
Commands
● show cam pbr – displays the content of the PBR CAM.
● show ip redirect-list – displays the redirect-list configuration.
ip redirect-list
Configure a redirect list and enter REDIRECT-LIST mode.
Syntax
ip redirect-list redirect-list-name
To remove a redirect list, use the no ip redirect-list command.
Parameters
redirect-list-
name
Enter the name of a redirect list.
Defaults None
Command Modes CONFIGURATION
1086 Policy-based Routing (PBR)