Common Configuration Tasks
Page 330 7750 SR OS Router Configuration Guide
The following displays the command usage to create a redirect policy:
Example:config>filter# redirect-policy redirect1
config>filter>redirect-policy# destination 10.10.10.104
config>filter>redirect-policy>dest# description "SNMP_to_104"
config>filter>redirect-policy>dest# priority 105
config>filter>redirect-policy>dest# snmp-test "SNMP-1"
config>filter>redirect-policy>dest>snmp-test$ drop-count 30
hold-down 120
config>filter>redirect-policy>dest>snmp-test# interval 30
config>filter>redirect-policy>dest>snmp-test# no shutdown
config>filter>redirect-policy>dest>snmp-test# exit
config>filter>redirect-policy>dest# exit
config>filter>redirect-policy# destination 10.10.10.105
config>filter>redirect-policy>dest# priority 95
config>filter>redirect-policy>dest# ping-test
config>filter>redirect-policy>dest>ping-test$ timeout 30
config>filter>redirect-policy>dest>ping-test# drop-count 5
config>filter>redirect-policy>dest>ping-test# no shutdown
config>filter>redirect-policy>dest>ping-test# exit
config>filter>redirect-policy>dest# no shutdown
config>filter>redirect-policy# destination 10.10.10.106 creat
config>filter>redirect-policy>dest$ priority 90
config>filter>redirect-policy>dest$ url-test "URL_to_106"
config>filter>redirect-policy>dest>url-test# url
http://aww.alcatel.com/ipd
config>filter>redirect-policy>dest>url-test# interval 60
config>filter>redirect-policy>dest>url-test# return-code 2323 4567
raise-priority 96
config>filter>redirect-policy>dest>url-test# no shutdown
config>filter>redirect-policy>dest>url-test# exit
config>filter>redirect-policy>dest# exit
config>filter>redirect-policy#
The following example displays the policy configuration:
A:ALA-7>config>filter# info
----------------------------------------------
redirect-policy "redirect1" create
destination 10.10.10.104 create
description "SNMP_to_104"
priority 105
snmp-test "SNMP-1"
interval 30
drop-count 30 hold-down 120
exit
no shutdown
exit
destination 10.10.10.105 create
priority 95
ping-test
timeout 30
drop-count 5