Dell S3048-ON Configuration Manual page 580

Hide thumbs Also See for S3048-ON:
Table of Contents

Advertisement

FORMAT: slot/port
ip-protocol-number or protocol-type is the type of protocol to be redirected
FORMAT: 0-255 for IP protocol number, or enter protocol type
source ip-address or any or host ip-address is the Source's IP address
FORMAT: A.B.C.D/NN, or ANY or HOST IP address
destination ip-address or any or host ip-address is the Destination's IP address
FORMAT: A.B.C.D/NN, or ANY or HOST IP address
To delete a rule, use the no redirect command.
The redirect rule supports Non-contiguous bitmasks for PBR in the Destination router IP address
The following example shows how to create a rule for a redirect list by configuring:
IP address of the next-hop router in the forwarding route
IP protocol number
Source address with mask information
Destination address with mask information
Example: Creating a Rule
Dell(conf-redirect-list)#redirect ?
A.B.C.D
Dell(conf-redirect-list)#redirect 3.3.3.3 ?
<0-255>
icmp
ip
tcp
udp
Dell(conf-redirect-list)#redirect 3.3.3.3 ip ?
A.B.C.D
any
host
Dell(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 ?
Mask
Dell(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 ?
A.B.C.D
any
host
Dell(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 ?
Mask
Dell(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 /32 ?
Dell(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 /32
Dell(conf-redirect-list)#do show ip redirect-list
IP redirect-list xyz:
Defined as:
seq 5 redirect 3.3.3.3 ip host 222.1.1.1 host 77.1.1.1
Applied interfaces:
None
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
580
Policy-based Routing (PBR)
Forwarding router's address
An IP protocol number
Internet Control Message Protocol
Any Internet Protocol
Transmission Control Protocol
User Datagram Protocol
Source address
Any source host
A single source host
A.B.C.D or /nn Mask in dotted decimal or in slash format
Destination address
Any destination host
A single destination host
A.B.C.D or /nn Mask in dotted decimal or in slash format

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents