Reference Guide

Policy-based Routing | 755
The following text shows a step-by-step example of 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.
FTOS(conf-redirect-list)#redirect ?
A.B.C.D Forwarding router's address
sonet SONET interface
FTOS(conf-redirect-list)#redirect 3.3.3.3 ?
<0-255> An IP protocol number
icmp Internet Control Message Protocol
ip Any Internet Protocol
tcp Transmission Control Protocol
udp User Datagram Protocol
FTOS(conf-redirect-list)#redirect 3.3.3.3 ip ?
A.B.C.D Source address
any Any source host
host A single source host
FTOS(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 ?
Mask Network mask in slash format (/xx)
FTOS(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 ?
A.B.C.D Destination address
any Any destination host
host A single destination host
FTOS(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 ?
Mask Network mask in slash format (/xx)
FTOS(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 /32 ?
<cr>
FTOS(conf-redirect-list)#redirect 3.3.3.3 ip 222.1.1.1 /32 77.1.1.1 /32 FTOS(conf-redi-
rect-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
Multiple rules can be applied 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. The following example displays the correct
method for applying multiple rules to one list.
FTOS(conf)#ip redirect-list test
FTOS(conf-redirect-list)#seq 10 redirect 10.1.1.2 ip 20.1.1.0/24 any
FTOS(conf-redirect-list)#seq 15 redirect 10.1.1.3 ip 20.1.1.0/25 any
FTOS(conf-redirect-list)#seq 20 redirect 10.1.1.3 ip 20.1.1.128/24 any
FTOS(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
FTOS(conf-redirect-list)#