Command Line Reference Guide

1036 | Policy-based Routing (PBR)
www.dell.com | support.dell.com
redirect
c e s
Configure a rule for the redirect list.
Syntax
redirect {ip-address | sonet slot/port} {ip-protocol-number | protocol-type [bit]} {source mask |
any | host ip-address} {destination mask | any | host ip-address} [operator]
To remove this filter, use one of the following:
•Use the no seq sequence-number command syntax if you know the filters sequence number.
•Use the no redirect {ip-address | sonet slot/port} {ip-protocol-number [bit] | protocol-type}
{source mask | any | host ip-address} {destination mask | any | host ip-address} [operator]
Parameters
Defaults
No default behavior or values
Command Modes
REDIRECT-LIST
Command
History
ip-address Enter the IP address of the forwarding router.
sonet slot/port Enter the keyword sonet followed by the slot/port information.
ip-protocol-
number
Enter a number from 0 to 255 for the protocol identified in the IP protocol header.
protocol-type Enter one of the following keywords as the protocol type:
icmp for Internet Control Message Protocol
ip for Any Internet Protocol
tcp for Transmission Control Protocol
udp for User Datagram Protocol
bit
(OPTIONAL) For TCP protocol type only, enter one or a combination of the following TCP flags:
ack = acknowledgement
fin = finish (no more data from the user)
psh = push function
rst = reset the connection
syn = synchronize sequence number
urg = urgent field
source
Enter the IP address of the network or host from which the packets were sent.
mask
Enter a network mask in /prefix format (/x).
any Enter the keyword any to specify that all traffic is subject to the filter.
host ip-address
Enter the keyword
host
followed by the IP address to specify a host IP address.
destination
Enter the IP address of the network or host to which the packets are sent.
operator
(OPTIONAL) For TCP and UDP parameters only. Enter one of the following logical operands:
eq = equal to
neq = not equal to
gt = greater than
lt = less than
range = inclusive range of ports (you must specify two ports for the port command parameter.)
Version 8.4.2.1 Introduced on the C-Series and S-Series
Version 8.4.2.0 Introduced on the E-Series TeraScale
Version 7.4.1.0 Added the bit variable for TCP protocols only
Version 6.5.3.0 Introduced on the E-Series ExaScale