beautypg.com

Modifying a redirect policy – Alcatel-Lucent 7750 SR OS User Manual

Page 347

background image

Filter Policies

7750 SR OS Router Configuration Guide

Page 347

Modifying a Redirect Policy

To access a specific redirect policy, you must specify the policy name. Use the

no

form of the

command to remove the command parameters or return the parameter to the default setting.

Example

:

config>filter# redirect-policy redirect1

config>filter>redirect-policy# description "New redirect info"

config>filter>redirect-policy# destination 10.10.10.106

config>filter>redirect-policy>dest# no url-test "URL_to_106"

config>filter>redirect-policy>dest# url-test "URL_to_Proxy"

config>filter>redirect-policy>dest>url-test$ url http://

www.alcatel.com

config>filter>redirect-policy>dest>url-test# interval 10

config>filter>redirect-policy>dest>url-test# timeout 10

config>filter>redirect-policy>dest>url-test# return-code 1

4294967295 raise-priority 255

A:ALA-7>config>filter# info

----------------------------------------------

...

redirect-policy "redirect1" create

description "New redirect info"

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

exit

no shutdown

exit

destination 10.10.10.106 create

priority 90

url-test "URL_to_Proxy"

url "http://www.alcatel.com"

interval 10

timeout 10

return-code 1 4294967295 raise-priority 255

exit

no shutdown

exit

no shutdown

exit

...

----------------------------------------------

A:ALA-7>config>filter#