beautypg.com

9 (permit|deny) host macaddr any [ifname – Asus GigaX3124 User Manual

Page 100

background image

GigaX3124 Layer3 Switch CLI Command Reference

75

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 vlan 10 cost 2 [gi1/0/1]

12.9 (permit|deny) host MACADDR any [IFNAME]

Syntax

(permit|deny) host MACADDR any [IFNAME]

Parameters

permit Specify packets to forward

deny Specify packets to reject.

host A single source host

MACADDR Source MAC address xxxx.xxxx.xxxx

any any destination Mac address

[IFNAME] Egress interface name

Command Mode Mac access-list extended mode
No/clear

(permit|deny) host MACADDR any [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 any

[gi1/0/2]

12.10 (permit|deny) host MACADDR any (cos <0-7>

| vlan <1-4094>) [IFNAME]

Syntax

(permit|deny) host MACADDR any (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