Specifications

20-22 policy Commands
EWC.enterasys.com:vnsmode:default-policy:apfilters# show
Custom AP Filters: enable
filter 1 proto icmp 20.20.10.0 255.255.255.0 type 9 31 in dst out src allow
filter 2 proto tcp 50.20.0.0 255.255.0.0 all_ports in dst out src allow
filter 3 (default) proto none 0.0.0.0 all_ports in dst out none allow
filter 4 (default) proto none 0.0.0.0 all_ports in none out src allow
20.5.11.3 delete
UsethedeletecommandtoremoveacustomfilterfromtheAPfilterlist.Thedeletecommandis
accessiblefromthepolicy:<namedpolicy>:apfilterscontext.
Syntax
delete <pos>
Parameters
Examples
Thefollowingexampledeletescustomfilter1anddisplaystheremainingdefaultrules:
EWC.enterasys.com:policy:p1:apfilters# delete 1
EWC.enterasys.com:policy:p1:apfilters# show
Custom AP Filters: enable
filter 1 (default) proto none 0.0.0.0 all_ports in dst out none allow
filter 2 (default) proto none 0.0.0.0 all_ports in none out src allow
20.5.11.4 move
Usethemovecommandtomoveacustomfilterfromitscurrentpositioninthefilterlisttothe
specifiedfilterlistposition.Themovecommandisaccessiblefromthepolicy:<named
policy>:apfilterscontext.
Syntax
move <cur-pos> <new-pos>
Parameters
Examples
Thefollowingexample:
•Movestheruleinlistposition2tolistposition1
<pos> Specifiesthecustomfilterlistpositionofthefiltertobedeleted.Valid
valuesarefrom0‐255.
<curpos>
<newpos>
Specifiesthecurrentpositioninthefilterlistoftheruletobemoved,
followedbythenewlistpositionforthecustomfilter.Validvaluesare
from0‐255.