Asus GigaX3124 User Manual
Page 103

GigaX3124 Layer3 Switch CLI Command Reference
78
12.13 (permit|deny) host MACADDR host
MACADDR (cos <0-7> | vlan <1-4094>)
[IFNAME]
Syntax
(permit|deny) host MACADDR host MACADDR (cos <0-7> | vlan
<1-4094>) [IFNAME]
Parameters
permit Specify packets to forward
deny Specify packets to reject.
host A single source host
MACADDR Source MAC address xxxx.xxxx.xxxx
host A single destination host
MACADDR Destination MAC address xxxx.xxxx.xxxx
cos Class of Service
<0-7> the priority value
vlan IEEE 802.1Q VLAN
<1-4094> VLAN ID
[IFNAME] Egress interface name
Command Mode Mac access-list extended mode
No/clear
no (permit|deny) host MACADDR host MACADDR (cos <0-7> |
vlan <1-4094>) [IFNAME]
Show
show access-lists [ACLNAME]
Default
Description
This command specifies one or more conditions denied or
permitted to decide if the packet is forwarded or dropped.
Examples
ASUS(config-mac-acl)# permit host 0000.0000.0001 host
0000.0000.0002 cos 2 [gi1/0/2]
ASUS(config-mac-acl)# permit host 0000.0000.0001 host
0000.0000.0002 vlan 10 [gi1/0/2]