No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Congestion Monitoring and Analysis Configuration Commands

Congestion Monitoring and Analysis Configuration Commands

NOTE:

Only the CE8850-32CQ-EI, CE8860EI support congestion monitoring and analysis.

display qos buffer-monitoring parse result

Function

The display qos buffer-monitoring parse result command displays the packet analysis result of an interface.

Format

display qos buffer-monitoring parse result [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays the congestion analysis result on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When the buffer usage of a queue enabled with congestion monitoring exceeds the upper buffer threshold, you can run this command to check the congestion analysis result of the interface.

Precautions
  • The device parses only Layer 3 information of IPv4, TCP, UDP, and ICMP packets, and only Layer 2 information of other packets.
  • Congestion analysis can be enabled on only one interface of the device.
  • The device sorts analysis results based on the proportion of congested packets and displays only 10 types of the most congested packets.

Example

# Display the congestion analysis result on 10GE1/1/1.
<HUAWEI> display qos buffer-monitoring parse result interface 10ge 1/1/1 
Time: 2015-11-04 09:45:55 
------------------------------------------------------------------------------- 
Num Eth-Type  Dst-MAC          Src-MAC         VLAN  8021P   In-VLAN   In-8021P 
    Protocol  Dst-IPAddr       Src-IPAddr         Dst-Port  Src-Port       DSCP 
------------------------------------------------------------------------------- 
  0 0x0800    0000-0000-0001   0010-9400-0002    77      0        --         -- 
    TCP       192.168.0.1      192.168.1.2             1024      1024          0 
------------------------------------------------------------------------------- 
Table 17-29  Description of the display qos buffer-monitoring parse result command output

Item

Description

Time

Time when the congestion analysis result was recorded.

Num

Sequence number of packets in the congestion analysis result. The sequence number is in descending order depending on the proportion of packets that cause congestion.

Eth-Type

Ethernet packet type.

Dst-MAC

Destination MAC address.

Src-MAC

Source MAC address.

VLAN

Outer VLAN ID.

8021P

802.1p priority in the outer VLAN tag.

In-VLAN

Inner VLAN ID.

In-8021P

802.1p priority in the inner VLAN tag.

Protocal

Protocol number.

Dst-IPAddr

Destination IP address.

Src-IPAddr

Source IP address.

Dst-Port

Destination port number.

Src-Port

Source port number.

DSCP

DSCP priority.

display qos buffer-monitoring result

Function

The display qos buffer-monitoring result command displays real-time congestion monitoring information.

Format

display qos buffer-monitoring result interface interface-type interface-number

Parameters

Parameter

Description

Value

interface interface-type interface-number

Specifies real-time congestion monitoring information on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After queue-based congestion monitoring is enabled, you can run this command to check real-time congestion monitoring information about each queue on an interface.

Example

# Display real-time congestion monitoring information about queues on 10GE1/1/1.
<HUAWEI> display qos buffer-monitoring result interface 10ge 1/1/1 
Queue Time                        BufferUsage(Bytes)     Percent(%) 
-------------------------------------------------------------------- 
    0 2015-11-11 14:36:15.208                1602016            100 
    1 2015-11-11 14:36:15.214                      0              0 
    2 2015-11-11 14:36:15.221                      0              0 
    3 2015-11-11 14:36:15.226                      0              0 
    4 2015-11-11 14:36:15.232                      0              0 
    5 2015-11-11 14:36:15.238                      0              0 
    6 2015-11-11 14:36:15.245                      0              0 
    7 2015-11-11 14:36:15.250                      0              0
-------------------------------------------------------------------- 
Table 17-30  Description of the display qos buffer-monitoring result command output

Item

Description

Queue

Queue index.

Time

Time when real-time congestion monitoring information was recorded.

BufferUsage(Bytes)

Real-time queue buffer value, in bytes.

Percent(%)

Real-time queue buffer usage, in percentage.

display qos buffer-monitoring result history

Function

The display qos buffer-monitoring result history command displays historical congestion monitoring information about queues.

Format

display qos buffer-monitoring result history interface interface-type interface-number [ queue queue-index ] [ record-number record-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Specifies historical congestion monitoring information about each queue on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

queue queue-index

Specifies historical congestion monitoring information about a specified queue.

The value is an integer that ranges from 0 to 7.

record-number record-number

Specifies historical congestion monitoring information of specified records.

The value is an integer that ranges from 1 to 100. The default value is 10.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When the buffer usage of a queue enabled with congestion monitoring is higher than or equal to the lower buffer threshold, you can run this command to check historical congestion monitoring information about each queue on an interface.

Precautions
  • The device saves a maximum of 100 pieces of historical congestion monitoring information for each queue.
  • The accuracy between two pieces of historical congestion monitoring information for the same queue is within 2 ms.
  • All historical congestion monitoring information can be saved for a maximum of 30s.

Example

# Display historical congestion monitoring information about queues on 10GE1/1/1.
<HUAWEI> display qos buffer-monitoring result history interface 10ge 1/1/1 
Queue Time                         BufferUsage(Bytes)    Percent(%) 
-------------------------------------------------------------------- 
    0 2015-11-11 14:36:27.691                 1602016           100 
      2015-11-11 14:36:27.690                 1599728           100 
      2015-11-11 14:36:27.689                 1599728           100 
      2015-11-11 14:36:27.688                 1599728           100 
      2015-11-11 14:36:27.687                 1599728           100 
      2015-11-11 14:36:27.686                 1600976           100 
      2015-11-11 14:36:27.685                 1602016           100 
      2015-11-11 14:36:27.684                 1602016           100 
      2015-11-11 14:36:27.683                 1602016           100 
      2015-11-11 14:36:27.682                 1599728           100 
--------------------------------------------------------------------
Table 17-31  Description of the display qos buffer-monitoring result history command output

Item

Description

Queue

Queue index.

Time

Time when historical congestion monitoring information was recorded.

BufferUsage(Bytes)

Historical queue buffer value, in bytes.

Percent(%)

Historical queue buffer usage, in percentage.

qos buffer-monitoring enable

Function

The qos buffer-monitoring enable command enables queue-based congestion monitoring.

The undo qos buffer-monitoring enable command disables queue-based congestion monitoring.

By default, queue-based congestion monitoring is disabled.

Format

qos [ queue queue-index ] buffer-monitoring enable

undo qos [ queue queue-index ] buffer-monitoring enable

Parameters

Parameter

Description

Value

queue queue-index

Specifies the index of a queue.

The value is an integer that ranges from 0 to 7.

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

On an enterprise network, congestion mainly affects network performance and results in problems such as transmission delay and signal loss. Congestion monitoring and analysis of each interface queue on a network device help you to learn the buffer usage of each queue and information about packets that cause congestion, providing guidance to planning and adjusting network traffic.

Example

# Enable congestion monitoring of queue 4 on 10GE1/4/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/4/1
[~HUAWEI-10GE1/4/1] qos queue 4 buffer-monitoring enable

qos buffer-monitoring parse enable

Function

The qos buffer-monitoring parse enable command enables congestion analysis on an interface.

The undo qos buffer-monitoring parse enable command disables congestion analysis on an interface.

By default, congestion analysis is disabled on an interface.

Format

qos buffer-monitoring parse enable

undo qos buffer-monitoring parse enable

Parameters

None

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an enterprise network, congestion mainly affects network performance and results in problems such as transmission delay and signal loss. Congestion monitoring and analysis of each interface queue on a network device help you to learn the buffer usage of each queue and information about packets that cause congestion, providing guidance to planning and adjusting network traffic.

Precautions

  • Interface-based congestion analysis affects the system performance, so do not enable interface-based congestion analysis for a long period of time.

  • Congestion analysis can be enabled on only one interface of the device.

Example

# Enable congestion analysis on 10GE1/4/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/4/1
[~HUAWEI-10GE1/4/1] qos buffer-monitoring parse enable

qos buffer-monitoring percent

Function

The qos buffer-monitoring percent command configures upper and lower buffer thresholds of queues.

The undo qos buffer-monitoring percent command restores the default upper and lower buffer thresholds of queues.

By default, the lower buffer threshold is 5% of the queue buffer space and the upper buffer threshold is 90% of the queue buffer space.

Format

qos [ queue queue-index ] buffer-monitoring percent low low-percent high high-percent

undo qos [ queue queue-index ] buffer-monitoring percent [ low low-percent high high-percent ]

Parameters

Parameter

Description

Value

queue queue-index

Specifies the index of a queue.

The value is an integer that ranges from 0 to 7.

low low-percent

Specifies the lower buffer threshold.

The value is an integer that ranges from 0 to 99, in percentage. The default value is 5.

high high-percent

Specifies the upper buffer threshold.

The value is an integer that ranges from 1 to 100, in percentage. The default value is 90.

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

When the buffer usage of a queue reaches the lower buffer threshold, the device saves read historical congestion monitoring information so that you can learn the buffer usage of the queue. When the buffer usage of any queue on an interface reaches the upper buffer threshold and the device is enabled with congestion analysis, the device obtains and analyzes packets on the interface so that you can learn information about packets that cause congestion.

Example

# Set the lower and upper buffer thresholds of queue 4 on 10GE1/4/1 to 20% and 70%, respectively.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/4/1
[~HUAWEI-10GE1/4/1] qos queue 4 buffer-monitoring percent low 20 high 70
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 52487

Downloads: 339

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next