Users Guide
redirect
Congure a rule for the redirect list.
Syntax
redirect {ip-address | slot/port} | tunnel tunnel-id}[track <obj-id>] {ip-
protocol-number | protocol-type [bit]} {source mask | any | host ip-
address} {destination mask | any | host ip-address} [operator]
To remove this lter, use one of the following:
• Use the no seq sequence-number command if you know the lter’s sequence number.
•
You can also use the no redirect {ip-address | slot/port}| tunnel tunnel-id}
[track <obj-id>] {ip-protocol-number [bit] | protocol-type} {source mask
| any | host ip-address} {destination mask | any | host ip-address}
[operator] command.
Parameters
redirect Enter the keyword redirect to assign the sequence to the redirect list.
ip-address Enter the IP address of the forwarding router.
slot/port Enter the keyword slot / port followed by the slot/port information.
tunnel Enter the keyword tunnel to congure the tunnel setting.
tunnel-id Enter the keyword tunnel-id to redirect the trac.
track Enter the keyword track to enable the tracking.
track <obj-id> Enter the keyword track <obj-id> to track object-id.
ip-protocol-number Enter a number from 0 to 255 for the protocol identied 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 the TCP protocol type only, enter one or a combination of the
following TCP ags:
• ack = acknowledgement
• fin = nish (no more data from the user)
•
psh = push function
• rst = reset the connection
• syn = synchronize sequence number
• urg = urgent eld
source Enter the IP address of the network or host from which the packets were sent.
mask Enter a network mask in /prex format (/x).
any Enter the keyword any to specify that all trac is subject to the lter.
host ip-address Enter the keyword host then the IP address to specify a host IP address.
1138
Policy-based Routing (PBR)