1 mac count show command, 2 mac count enable command – ZyXEL Communications IES-708-22A User Manual

Page 296

Advertising
background image

Chapter 47 MAC Commands

IES-708-22A User’s Guide

296

Use MAC count commands to limit how many MAC addresses may be dynamically learned.
MAC count commands are listed next. When the MAC filter accept mode is enabled (see

Section 47.2 on page 293

), the IES-708-22A ignores the MAC count setting and accepts all of

the MAC addresses listed for the port in the MAC filter settings.

47.3.1 MAC Count Show Command

Syntax:

ras> switch mac count show [portlist]

where

This command displays the MAC count settings on the specified DSL port(s) or on all DSL
ports if no port is specified.
The following example displays the MAC count settings for DSL port 4.

47.3.2 MAC Count Enable Command

Syntax:

ras> switch mac count enable <portlist>

where

This command enables the MAC count filter on the specified DSL port(s). When the MAC
filter accept mode is enabled (see

Section 47.2 on page 293

), the IES-708-22A ignores the

MAC count setting and accepts all of the MAC addresses listed for the port in the MAC filter
settings.
The following example turns on the MAC count filter on DSL port 4.

[portlist]

=

You can specify a single DSL port <1>, all DSL ports <*> or a
list of DSL ports <1,3,5>. You can also include a range of ports
<1,5,6~8>.

ras> switch mac count show 4
port status count
---- ------ -----
4 V 128

<portlist>

=

You can specify a single DSL port <1>, all DSL ports <*> or a
list of DSL ports <1,3,5>. You can also include a range of ports
<1,5,6~8>.

ras> switch mac count enable 4

Advertising