11 (permit|deny) any host macaddr [ifname – Asus GigaX2024B User Manual

Page 107

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

87

Examples

ASUS(config)# permit host 0000.0000.0001 0000.0000.0002

0000.0000.0000 [fa1/0/2]

12.10 (permit|deny) MACADDR MACADDR host
MACADDR [IFNAME]

Syntax

(permit|deny) MACADDR MACADDR host MACADDR

[IFNAME]

Parameters

permit->

Specify packets to forward

deny->

Specify packets to reject.

MACADDR

Source MAC address xxxx.xxxx.xxxx

MACADDR

Source address mask xxxx.xxxx.xxxx

host

A single destination host

MACADDR

Destination MAC address xxxx.xxxx.xxxx

[IFNAME]

Egress interface name

Command Mode Configure terminal mode
No/clear

no (permit|deny) MACADDR MACADDR host MACADDR

[IFNAME]

Show

Show acces-lists [number|name]

Default
Description

This command specify one or more conditions denied or

permitted to decide if the packet is forwarded or dropped.

Examples

ASUS(config)# permit 0000.0000.0001 0000.0000.0000 host

0000.0000.0002 [fa1/0/2]

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

Syntax

(permit|deny) any host MACADDR [IFNAME]

Parameters

permit->

Specify packets to forward

deny->

Specify packets to reject.

.any

any source Mac address

.

host

A single destination host

.

MACADDR

Destination MAC address xxxx.xxxx.xxxx

Advertising