2.12. DIAG Commands

2.12.1. diagnostic-information discard

Command Purpose

Use this command to enable the function of diagnostic-information discard.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

diagnostic-information discard enable

no diagnostic-information discard enable

Parameter

Parameter Description

Parameter Value

enable

enable

The string of enable.

Command Mode

Global Config

Default

no diagnostic-information discard enable

Usage

The command uses to enable the function of diagnostic-information discard.

Examples

The following example shows how to enable the function of diagnostic-information discard:

Switch# configure terminal
Switch(config)# diagnostic-information discard enable

The following example shows how to disable the function of diagnostic-information discard:

Switch# configure terminal
Switch(config)# no diagnostic-information discard enable

2.12.2. show diagnostic-information discard

Command Purpose

Use this command to display the situation of packet discard.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show diagnostic-information discard

clear diagnostic-information discard

Parameter

Parameter Description

Parameter Value

discard

discard

The string of discard.

Command Mode

Privileged EXEC

Default

None

Usage

The command uses to dispaly the situation of packet discard.

Examples

The following example shows how to display the situation of packet discard:

Switch# show diagnostic-information discard

Diagnostic-Information Discard:
Drop-Reason                    Description
------------------------------+------------------------------------
CTC_DROP_TTL_CHK               TTL check fail
CTC_DROP_ACL_DENY              Acl deny
CTC_DROP_PKT_ERR               Packet check error
CTC_DROP_ISOLATE_CHK           Port isolate check fail
CTC_DROP_TRANSIT_DISABLE       Transit disable
CTC_DROP_IP_CHK                Ip address or packet check fail
CTC_DROP_VLAN_FILTER           Vlan filtering
CTC_DROP_STP_CHK               Stp check fail
CTC_DROP_CHKSUM_ERR            Checksum error
CTC_DROP_PARSER_ERR            Parser error
CTC_DROP_TRAFFIC_MANAGER       Trafic manager check fail
CTC_DROP_NET_RX                Netrx check fail
CTC_DROP_NET_TX                Nettx check fail
Others                         Other drop reasons

The following example shows how to clear packet discard:

Switch# clear diagnostic-information discard

Related Commands

N/A