Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
60
Switch# configure terminal
Switch(config)# ipv6 access-list ipv6-std-control
Switch(config-ipv6-acl)# permit any ff02::0:2/16
Switch(config-ipv6-acl)# permit any host ff02::1:2
Switch(config-ipv6-acl)#
4-20 permit | deny (mac access-list)
This command is used to define the rule for packets that will be permitted or denied. Use the no form
command to remove an entry
[SEQUENCE-NUMBER] {permit | deny} {any | host SRC-MAC-ADDR | SRC-MAC-ADDR SRC-
MAC-WILDCARD} {any | host DST-MAC-ADDR | DST-MAC-ADDR DST-MAC-WILDCARD}
[ethernet-type TYPE MASK [cos VALUE] [vlan VLAN-ID] [time-range PROFILE-NAME]
no SEQUENCE-NUMBER
Parameters
SEQUENCE-NUMBER
Specifies the sequence number. The range is from 1 to 65535. The
lower the number is, the higher the priority of the permit/deny rule.
any
Specifies any source MAC address or any destination MAC address.
host SRC-MAC-ADDR
Specifies a specific source host MAC address.
SRC-MAC-ADDR SRC-MAC-
WILDCARD
Specifies a group of source MAC addresses by using a wildcard
bitmap. The bit corresponding to the bit value 1 will be ignored. The bit
corresponding to the bit value 0 will be checked.
host DST-MAC-ADDR
Specifies a specific destination host MAC address.
DST-MAC-ADDR DST-MAC-
WILDCARD
Specifies a group of destination MAC addresses by using a wildcard
bitmap. The bit corresponding to the bit value 1 will be ignored. The bit
corresponding to the bit value 0 will be checked.
ethernet-type TYPE MASK
(Optional) Specifies that the Ethernet type which is a hexidecimal
number from 0 to FFFF or the name of an Ethernet type which can be
one of the following: aarp, appletalk, decnet-iv, etype-6000, etype-
8042, lat, lavc-sca, mop-console, mop-dump, vines-echo, vines-ip,
xns-idp., arp.
cos VALUE
(Optional) Specifies the priority value of 0 to 7.
vlan VLAN-ID
(Optional) Specifies the VLAN-ID.
time-range PROFILE-NAME
(Optional) Specifies the name of time period profile associated with the
access list delineating its activation period
Default
None.
Command Mode
MAC Access-list Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline