beautypg.com

Mac filter commands, 1 command summary, Mac filter commands (143) – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 143

background image

Ethernet Switch CLI Reference Guide

143

C

H A P T E R

36

MAC Filter Commands

Use these commands to filter traffic going through the Switch based on the MAC addresses
and VLAN group (ID).

"

Use the running configuration commands to look at the current MAC filter
settings. See

Chapter 54 on page 195

.

"

MAC filtering implementation differs across Switch models.

• Some models allow you to specify a filter rule and discard all packets with the specified

MAC address (source or destination) and VID.

• Other models allow you to choose whether you want to discard traffic originating from the

specified MAC address and VID (src), sent to the specified MAC address (dst) or both.

See

Section 36.2 on page 144

and

Section 36.3 on page 144

for examples.

36.1 Command Summary

The following section lists the commands for this feature.

Table 84 mac-filter Command Summary

COMMAND

DESCRIPTION

M

P

mac-filter name <name> mac <mac-
addr
> vlan <vlan-id>

Configures a static MAC address port filtering rule.
name: 1-32 alphanumeric characters

C

13

no mac-filter mac <mac-addr>
vlan <vlan-id>

Deletes the specified MAC filter rule.

C

13

mac-filter name <name> mac <mac-
addr
> vlan <vlan-id> inactive

Disables a static MAC address port filtering rule.
name: 1-32 alphanumeric characters

C

13

no mac-filter mac <mac-addr>
vlan <vlan-id> inactive

Enables the specified MAC-filter rule.

C

13

mac-filter name <name> mac <mac-
addr
> vlan <vlan-id> drop

Specifies the source and or destination filter parameters.

C

13