Example
The following example binds rule 1 with port 2:
zte(cfg)#set protocol-protect mac-drop rule 1 bind port 2
4.33.8 clear protocol-protect mac-drop counter
Purpose
This command clears the counter of packets dropped by the MAC drop function.
Command Mode
Global configuration mode
Syntax
clear protocol-protect mac-drop counter [port <portlist>]
Parameter Description
Parameter
<portlist>
Example
The following example clears dropped packet statistics on port 1:
zte(cfg)#clear protocol-protect mac-drop counter port 1
4.33.9 clear protocol-protect mac-drop port rule
Purpose
This command clears MAC drop rules on a specified port or all ports.
Command Mode
Global configuration mode
Syntax
clear protocol-protect mac-drop port <portlist>[rule <1-128>]
Parameter Description
Parameter
<1-128>
<portlist>
SJ-20130731155059-003|2013-11-27 (R1.0)
Description
Port list
Description
Rule index
Port list
4-509
Chapter 4 Service Configuration
ZTE Proprietary and Confidential