Chapter 4 Service Configuration
Syntax
set mac aging-time
<
60-600
>
Parameter Description
Parameter
Description
<
60-600
>
Aging time (seconds).
Default
The aging time is 300 seconds.
4.7.15 set mac filter
Purpose
This command sets the source/destination MAC address filtering function.
Command Mode
Global configuration mode
Syntax
set mac filter
{
source
|
destination
|
both
}<
HH.HH.HH.HH.HH.HH
>
vlan
<
1-4094
>
Parameter Description
Parameter
Description
source
Source MAC address filtering
destination
Destination MAC address filtering
both
Source MAC address and destination MAC address bidirectional
filtering
<
HH.HH.HH.HH.HH.HH
>
MAC address to be filtered
<
1-4094
>
VLAN ID of the MAC address to be filtered
Guidelines
If a message matches the filtering configuration, it will be dropped.
4.7.16 set mac learning
Purpose
This command sets the MAC address learning mode based on global/port/trunk/VLAN.
4-99
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential