D-Link DWS-1008 User Manual
Displaying and Positioning Location Policy Rules
The order of location policy rules is significant. MSS checks a location policy rule that is higher in the list
before those lower in the list. Rules are listed in the order in which you create them, unless you move
them.
To position location policy rules within the location policy, use
before
rule-number
and
modify
rule-number
in the
set location policy command, or use the clear location policy
rule-number
command.
For example, suppose you have configured the following location policy rules:
DWS-1008
show location policy
Id Clauses
----------------------------------------------------------------
1) deny if user eq *.theirfirm.com
2) permit vlan guest_1 if vlan neq *.ourfirm.com
3) permit vlan bld4.tac inacl tac_24.in if user eq *.ny.ourfirm.com
4) permit inacl svcs_2.in outacl svcs_3.out if vlan eq bldg4.*
To move the first rule to the end of the list and display the results, type the following commands:
DWS-1008
clear location policy 1
success: clause 1 is removed.
DWS-1008
set location policy deny if user eq *.theirfirm.com
DWS-1008
show location policy
Id Clauses
----------------------------------------------------------------
1) permit vlan guest_1 if vlan neq *.ourfirm.com
2) permit vlan bld4.tac inacl tac_24.in if user eq *.ny.ourfirm.com
3) permit inacl svcs_2.in outacl svcs_3.out if vlan eq bldg4.*
4) deny if user eq *.theirfirm.com
Clearing Location Policy Rules and Disabling the
Location Policy
To delete a location policy rule, use the following command:
clear location policy
rule-number
Type
show location policy to display the numbers of configured location policy rules. To disable the
location policy on a DWS-1008 switch, delete all the location policy rules.
Содержание DWS-1008
Страница 1: ......