move

Use the move command to update the priority of a filter rule by moving the rule from its current position in the filter list (source) to a different list position (up or down). The move command is accessible from within the vnsmode:<default-role>:acfilters and vnsmode:<default-role>:apfilters contexts.

move src-pos dest-pos

Parameters

src-pos dest-pos Specifies the current (source) position in the filter list of the rule to be moved, followed by the new (destination) list position for the filter rule. Valid values are 0 -255. List position 1 is top priority.

Example

The following example:

  • Moves the rule in list position 2 to list position 1
  • Displays the new list ordering:
    EWC.extremenetworks.com:vnsmode:p1:acfilters# move 2 1
    EWC.extremenetworks.com:vnsmode:p1:acfilters# show
    Enable AP filtering: disable
    filter 1 proto udp 192.168.10.0 255.255.255.0 port 10 2000 both allow
    filter 2 proto tcp 192.168.10.0 255.255.255.0 port 10 2000 both allow
    filter 3 (default) proto none 0.0.0.0  all_ports both deny
    EWC.extremenetworks.com:vnsmode:p1:acfilters#