Parameter Description
Parameter
<1-128>
src-mac <HH.HH.HH.HH.HH.
HH>
mask <HH.HH.HH.HH.HH.HH>
Example
The following example creates a MAC drop rule:
zte(cfg)# create protocol-protect mac-drop rule 1 src-mac
00.11.22.33.44.55 mask ff.ff.ff.ff.ff.ff
4.32.2 set protocol-protect alarm enable/disable
Purpose
This command enables or disables the port-based PP alarm function.
Command Mode
Global configuration mode
Syntax
set protocol-protect alarm port <portlist>{enable | disable}
Parameter Description
Parameter
<portlist>
enable
disable
Default
The PP function is enabled.
Example
The following example disables the PP alarm function on port 1:
zte(cfg)#set protocol-protect alarm port 1 disable
SJ-20131111172707-003|2013-11-27 (R1.0)
Description
Rule index.
Source MAC address.
Mask.
Description
Port list.
Enables the PP function.
Disables the PP function.
4-493
Chapter 4 Service Configuration
ZTE Proprietary and Confidential