reset cpu-defend statistics

Function

The reset cpu-defend statistics command deletes the statistics about the attack defense.

Format

reset cpu-defend car { blacklist | whitelist } statistics [ slot slot-id ]

reset cpu-defend { all | application-apperceive | tcpip-defend | urpf } statistics [ slot slot-id ]

reset cpu-defend car { fragment | tcpsyn } statistics [ slot slot-id ]

reset cpu-defend car whitelist-v6 [ bgpv6 | ospfv3 ] statistics [ slot slot-id ]

reset cpu-defend total-packet statistics [ slot slot-id ]

reset cpu-defend car { user-defined-flow flow-id } statistics [ slot slot-id ]

reset cpu-defend car { index index } statistics [ slot slot-id ]

reset cpu-defend car whitelist { bgp | ldp | ospf | radius | rsvp | isis } statistics [ slot slot-id ]

reset cpu-defend tcpip-defend-v6 statistics [ slot slot-id ]

reset cpu-defend car protocol { arp | bfd | bgp | dhcp | dns-client | ftp-server | ftp-client | hwtacacs | icmp | igmp | isis | lacp | ldp | lspping | msdp | ntp | ospf | pim | radius | rip | rsvp | snmp | ssh-server | ssh-client | telnet-client | telnet-server | tftp | vrrp | bpdu | 802.1ag | telnetv6-server | telnetv6-client | tftpv6-client | icmpv6 | dnsv6 | pimv6 | sshv6-server | ospfv3 | bgpv6 | ftpv6-client | ftpv6-server | arp-miss | ipv4-fib-miss | ipv4-multicast-fib-miss | ipv4-ttl-expire | ipv6-fib-miss | ipv6-nd-miss | ipv6-ttl-expire | lldp | mpls-arp-miss | mpls-ttl-expire | syslog | eapol | netstream | ns | na | rs | ra | mld | snmpv6 | dhcpv6 | web | portal | web-auth-server | diameter | openflow | http-redirect-chasten | atm-inarp | unicast-vrrp | soft-gre | traffic-behavior-log | icmp-broadcast-address-echo | mka | pcep | vrrpv6 | radiusv6 | hwtacacsv6 | lsppingv6 | syslogv6 | web-auth-serverv6 } statistics [ slot slot-id ]

Parameters

Parameter Description Value
arp

Specify arp packet.

-

bfd

Specify bfd packet.

-

bgp

Specify bgp.

-

dhcp

DHCP access type.

-

dns-client

Specify dns-client packet.

-

ftp-server

Specify ftp-server packet.

-

ftp-client

Specify ftp-client packet.

-

hwtacacs

Specify hwtacacs packet.

-

icmp

Specify icmp packet.

-

igmp

Specify igmp packet.

-

isis

Specify isis packet.

-

lacp

Specify lacp packet.

-

ldp

Specify ldp.

-

lspping

Specify lspping packet.

-

msdp

Specify msdp packet.

-

ntp

Specify ntp packet.

-

ospf

Specify ospf.

-

pim

Specify pim packet.

-

radius

Specify radius packet.

-

rip

Specify rip.

-

rsvp

Specify rsvp.

-

snmp

Specify snmp.

-

ssh-server

Specify ssh-server packet.

-

ssh-client

Specify ssh-client packet.

-

telnet-client

Specify telnet-client packet.

-

telnet-server

Specify telnet-server packet.

-

tftp

Specify tftp.

-

vrrp

Specify vrrp packet.

-

bpdu

BPDU.

-

802.1ag

802.1ag.

-

telnetv6-server

Specify telenetv6 server packet.

-

telnetv6-client

Specify telnetv6 client packet.

-

tftpv6-client

Specify tftpv6 client packet.

-

icmpv6

Specify icmpv6 packet.

-

dnsv6

Specify dnsv6 packet.

-

pimv6

Specify pimv6 packet.

-

sshv6-server

Specify sshv6 server packet.

-

ospfv3

Specify ospfv3 packet.

-

bgpv6

Specify bgpv6 packet.

-

ftpv6-client

Specify ftpv6 client packet.

-

ftpv6-server

Specify ftpv6 server packet.

-

arp-miss

ARP miss.

-

ipv4-fib-miss

IPV4 FIB miss.

-

ipv4-multicast-fib-miss

IPV4 multicast FIB miss.

-

ipv4-ttl-expire

IPV4 TTL expires packets.

-

ipv6-fib-miss

IPV6 FIB miss.

-

ipv6-nd-miss

IPV6 ND miss.

-

ipv6-ttl-expire

IPV6 TTL expires packets.

-

lldp

LLDP protocol.

-

mpls-arp-miss

MPLS ARP miss.

-

mpls-ttl-expire

MPLS TTL expires.

-

syslog

SYSLOG protocol.

-

eapol

Eapol protocol.

-

netstream

Netstream protocol.

-

ns

Specify ns packet.

-

na

Specify na packet.

-

rs

Specify rs packet.

-

ra

Specify ra packet.

-

mld

Specify mld packet.

-

snmpv6

Specify snmpv6 packet.

-

dhcpv6

Specify dhcpv6 packet.

-

web

Specify web packet.

-

portal

Specify portal packet.

-

web-auth-server

Specify web-auth-server.

-

diameter

Specify diameter packet.

-

openflow

Specify diameter packet.

-

http-redirect-chasten

Http-redirect packet of chasten user.

-

unicast-vrrp

UNICAST VRRP protocol.

-

soft-gre

SOFT-GRE protocol.

-

traffic-behavior-log

Traffic-behavior-log protocol.

-

icmp-broadcast-address-echo

Specify Icmp Broadcast Address Echo Reply Packets configuration information.

-

mka

MKA protocol.

-

pcep

PCEP protocol.

-

vrrpv6

VRRPV6 protocol.

-

radiusv6

RADIUSV6 protocol.

-

hwtacacsv6

HWTACACSV6 protocol.

-

lsppingv6

LSPPINGV6 protocol.

-

syslogv6

SYSLOGV6 protocol.

-

web-auth-serverv6

WEB-AUTH-SERVERV6 protocol.

-

statistics

Statistics.

-

slot slot-id

Specifies the slot ID of a board.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

reset

Reset.

-

protocol

Protocol.

-

blacklist

Blacklist.

-

whitelist

Whitelist.

-

fragment

Vicious fragment flood packet.

-

tcpsyn

Vicious TCPSYN packet.

-

index index

Specifies a protocol index.

The value is an integer ranging from 35 to 1658.

total-packet

Total-packet.

-

all

ALL.

-

application-apperceive

Application Apperceive.

-

tcpip-defend

Defensive for tcpip Datagrams Attack drop packet.

-

tcpip-defend-v6

Tcpip defend packet.

-

urpf

Specify urpf packet.

-

whitelist-v6

Whitelist ipv6.

-

user-defined-flow

User defined flow.

-

user-defined-flow flow-id

Specifies the ID of the user-defined flow.

The value is an integer that ranges from 1 to 64.

atm-inarp

Specify atm-inarp packet.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
cpu-defend write

Usage Guidelines

Usage Scenario

To clear the statistics about the attack defense, run the reset cpu-defend statistics command.

Precautions

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

Example

# Delete the statistics on the attack defense of the BGP packets in slot 1.
<HUAWEI> reset cpu-defend car protocol bgp statistics slot 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >