reset access statistics packet discard

Function

The reset access statistics packet discard mac-spoofing command clears statistics about MAC-spoofing-dropped packets of access users.

The reset access statistics packet discard urpf command clears statistics about URPF-dropped packets of access users.

This command is supported only on the NetEngine 8000 F1A.

Format

reset access statistics packet discard { mac-spoofing | urpf } [ ipoe | pppoe ] [ ipv4 | ipv6 ] { interface { interface-type interface-name | interface-number } | slot slot-id }

Parameters

Parameter Description Value
mac-spoofing

Clears statistics about MAC-spoofing-dropped packets of access users.

-

urpf

Clears statistics about URPF-dropped packets of access users.

-

ipoe

Clears statistics about URPF-dropped packets of IPoX users.

-

pppoe

Clears statistics about URPF-dropped packets of PPPoX users.

-

ipv4

Clears statistics about MAC-spoofing-dropped IPv4 packets.

-

ipv6

Clears statistics about MAC-spoofing-dropped IPv6 packets.

-

interface-type interface-number

Specifies the type and number of an interface.

-

slot slot-id

Specifies a slot ID.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding execute

Usage Guidelines

Usage Scenario

Before collecting statistics about MAC-spoofing-dropped packets over a specified period, run the reset access statistics packet discard mac-spoofing command to clear the existing statistics.

Before collecting statistics about URPF-dropped packets over a specified period, run the reset access statistics packet discard urpf command to clear the existing statistics.

Configuration Impact

Statistics about MAC-spoofing-dropped packets cannot be restored after they are cleared. Exercise caution when running this command.

Statistics about URPF-dropped packets cannot be restored after they are cleared. Exercise caution when running this command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Clear statistics about URPF-dropped packets on the board in slot 1.
<HUAWEI> reset access statistics packet discard urpf slot 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >