beautypg.com

Asus GigaX3124 User Manual

Page 99

background image

GigaX3124 Layer3 Switch CLI Command Reference

74

[IFNAME] Egress interface name

Command Mode Mac access-list extended mode
No/clear

no (permit|deny) MACADDR MASK any (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 0000.0000.0001 0000.0000.00ff

any cost 2 [gi1/0/1]

ASUS(config-mac-acl)# permit 0000.0000.0001 0000.0000.00ff

any vlan 10 [gi1/0/1]

12.8 (permit|deny) MACADDR MASK any vlan

<1-4094> cos <0-7> [IFNAME]

Syntax

(permit|deny) MACADDR MASK any vlan <1-4094> cos <0-7>

[IFNAME]

Parameters

permit Specify packets to forward

deny Specify packets to reject.

MACADDR Source MAC address xxxx.xxxx.xxxx

MASK Source MAC address mask xxxx.xxxx.xxxx

any any destination Mac address

vlan IEEE 802.1Q VLAN

<1-4094> VLAN ID

cos Class of Service

<0-7> the priority value

[IFNAME] Egress interface name

Command Mode Mac access-list extended mode
No/clear

no (permit|deny) MACADDR MASK any vlan <1-4094> cos

<0-7> [IFNAME]

Show

show access-lists [ACLNAME]