DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
840
Example
To create a new rule for an existed IPv6 ACL:
DWS-3160-24PC:admin#config wireless access_list ipv6 aclIpv6-1 add_rule 1 type
deny match_every true
Command: config wireless access_list ipv6 aclIpv6-1 add_rule 1 type deny
match_every true
Success.
DWS-3160-24PC:admin#config wireless access_list ipv6 aclIpv6-1 add_rule 2 type
deny match_every false src_ipv6 src_prefix
2001:FECD:BA23:CD1F:DCB1:1010:9234:4088 src_prefix_length 22
Command: config wireless access_list ipv6 aclIpv6-1 add_rule 2 type deny
match_every false src_ipv6 src_prefix 2001:FECD:BA23:CD1F:DCB1:1010:9234:4088
src_prefix_length 22
Success.
DWS-3160-24PC:admin#
To update the ‘type’ value of a specified rule of an standard IPv6 ACL to be ‘permit’:
DWS-3160-24PC:admin# config wireless access_list ipv6 aclIpv6-1 edit_rule 1
type permit
Command: config wireless access_list ipv6 aclIpv6-1 edit_rule 1 type permit
Success.
DWS-3160-24PC:admin#
To delete a rule from an existed IPv6 ACL:
DWS-3160-24PC:admin#config wireless access_list ipv6 aclIpv6-1 del_rule 3
Command: config wireless access_list ipv6 aclIpv6-1 del_rule 3
Success.
DWS-3160-24PC:admin#
92-7
config wireless access_list mac
Description
This command is used to configure the related parameters of MAC wireless access lists.
Format
config wireless access_list mac <name 1-31> [rename <name 1-31> | add_rule <value 1-12>
type [deny | permit] match_every [true | false {srcmac mac <macaddr> mask <macmask> |
dstmac [mac <macaddr> mask <macmask> | bpdu] | ethertypekey [appletalk | arp | ibmsna |
ipv4 | ipv6 | ipx | mplsmcast | mplsucast | netbios | rarp | user_value <hex 0x600-0xffff>] |
cos <value 0-7> | vlan <vlanid 0-4095>}] | del_rule <value 1-12> | edit_rule <value 1-12> [type
[deny | permit] | match_every [true | false] | srcmac mac <macaddr> mask <macmask> |
dstmac mac <macaddr> mask <macmask> | ethertypekey [appletalk | arp | ibmsna | ipv4 |