08-ACL and QoS Command Reference

HomeSupportResource CenterSwitchesS12500X-AF SeriesS12500X-AF SeriesTechnical DocumentsReference GuidesCommand ReferencesH3C S12500X-AF Switch Series Command References(R28xx)-6W10008-ACL and QoS Command Reference
04-Data buffer commands
Title Size Download
04-Data buffer commands 117.28 KB

Data buffer commands

Inappropriate data buffer changes can cause system problems. Before manually changing data buffer settings, make sure you understand its impact on your device. As a best practice, use the burst-mode enable command if the system requires large buffer spaces. The burst-mode enable command and the buffer apply command are mutually exclusive. If you have configured the data buffer by using one command, you must execute the undo form of the command before using the other command.

buffer apply

Use buffer apply to apply manually configured data buffer settings.

Use undo buffer apply to restore the default.

Syntax

buffer apply

undo buffer apply

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

For data buffer settings to take effect, you must execute this command after configuring data buffer settings.

After applying manually configured data buffer settings, you cannot directly modify the applied settings. To modify them, you must cancel the application, reconfigure data buffer settings, and reapply the new settings.

Examples

# Apply manually configured data buffer settings.

<Sysname> system-view

[Sysname] buffer apply

buffer packet-drop alarm enable

Use buffer packet-drop alarm enable to enable packet-drop alarms.

Use undo buffer packet-drop alarm enable to disable packet-drop alarms.

Syntax

buffer packet-drop alarm enable

undo buffer packet-drop alarm enable

Default

Packet-drop alarms are disabled.

 Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

The device generates and reports packet-drop alarms to a network management system (such as IMC) for displaying the data buffer usage.

This command does not take effect only on the Headroom buffer.

 

Examples

# Enable packet-drop alarms.

<Sysname> system-view

[Sysname] buffer packet-drop alarm enable

Related commands

buffer usage threshold queue (interface view)

buffer usage threshold queue (system view)

buffer packet-drop alarm interval

buffer packet-drop alarm interval

Use buffer packet-drop alarm interval to set the interval for sending packet-drop alarms.

Use undo buffer packet-drop alarm interval to restore the default.

Syntax

buffer packet-drop alarm interval interval

undo buffer packet-drop alarm interval

Default

The interval for sending packet-drop alarms is 5 seconds.

 Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

interval: Specifies the interval for sending packet-drop alarms, in the range of 0 to 60 seconds. The value of 0 indicates that packet-drop alarms are sent immediately after they are generated.

 Usage guidelines

This command takes effect only when packet-drop alarms are enabled.

 

Examples

# Set the interval for sending packet-drop alarms to 20 seconds.

<Sysname> system-view

[Sysname] buffer packet-drop alarm interval 20

Related commands

buffer packet-drop alarm enable

buffer queue guaranteed (interface view)

Use buffer queue guaranteed to set the fixed-area ratio or size for a queue.

Use undo buffer queue guaranteed to delete the fixed-area ratio or size setting of a queue.

Syntax

buffer egress cell queue queue-id guaranteed ratio ratio

undo buffer egress cell queue queue-id guaranteed

Default

The fixed-area ratio for a queue is 13%.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

egress: Specifies the egress buffer.

cell: Specifies cell resources.

queue-id: Specifies a queue by its ID in the range of 0 to 7.

ratio ratio: Specifies the fixed-area space ratio, in percentage. The value range for ratio is 0 to 100.

Usage guidelines

By default, all queues have an equal share of the fixed area. You can set the fixed-area ratio for a queue. The other queues equally share the remaining part.

The fixed-area space for a queue cannot be used by other queues. Therefore, it is also called the minimum guaranteed buffer for the queue. The sum of the fixed-area ratios configured for all queues cannot exceed 100%. The queue that causes the sum of the fixed-area ratios to exceed 100% fails to be configured and still uses the default setting.

Examples

# Configure queue 0 on FortyGigE 1/0/1 to use 20% fixed-area space of cell resources in the egress buffer.

<Sysname> system-view

[Sysname] interface fortygige 1/0/1

[Sysname-FortyGigE1/0/1] buffer egress cell queue 0 guaranteed ratio 20

buffer queue map-to service-pool

Use buffer queue map-to service-pool to map a queue to a service pool.

Use undo buffer queue map-to service-pool to restore the default.

Syntax

buffer ingress queue queue-id map-to service-pool sp-id

undo buffer ingress queue queue-id map-to

Default

All queues are mapped to service pool 0.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

egress: Specifies the egress buffer.

queue-id: Specifies a queue by its ID in the range of 0 to 7.

service-pool sp-id: Specifies a service pool by its ID. The value range for the sp-id argument is 1 to 3.

Usage guidelines

Before configuring this command, use the buffer service-pool shared command to set the maximum shared-area ratio for the service pool.

For the ingress buffer, the queue ID specified represents the 802.1p priority. The actual queue ID mapped to the service pool is determined by the dot1p-lp priority map.

Examples

# Map queue 1 on FortyGigE 1/0/1 to service pool 1.

<Sysname> system-view

[Sysname] interface fortygige 1/0/1

[Sysname-FortyGigE1/0/1] buffer egress queue 1 map-to service-pool 1

Related commands

buffer service-pool shared

buffer queue shared (interface view)

Use buffer queue shared to set the maximum shared-area ratio or size for a queue.

Use undo buffer queue shared to delete the maximum shared-area ratio or size setting of a queue.

Syntax

buffer egress cell queue queue-id shared ratio ratio

undo buffer egress cell queue queue-id shared

Default

The maximum shared-area ratio for a queue is 20%.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

egress: Specifies the egress buffer.

cell: Specifies cell resources.

queue-id: Specifies a queue by its ID in the range of 0 to 7.

ratio ratio: Specifies the maximum shared-area ratio, in percentage. The value range for ratio is 0 to 100.

Usage guidelines

By default, all queues have an equal share of the shared area. You can set the shared-area ratio for a queue. The unconfigured queues use the default setting. The shared-area space for each queue is finally determined by the chip based on your configuration and the number of packets to be received and sent.

Examples

# Configure queue 0 on FortyGigE 1/0/1 to use 20% shared-area space of cell resources in the egress buffer.

<Sysname> system-view

[Sysname] interface fortygige 1/0/1

[Sysname-FortyGigE1/0/1] buffer egress cell queue 0 shared ratio 20

buffer service-pool shared

Use buffer service-pool shared to set the maximum shared-area ratio or size for a service pool.

Use undo buffer service-pool shared to delete the maximum shared-area ratio or size setting of a service pool.

Syntax

In standalone mode:

buffer ingress [ slot slot-number ] cell service-pool sp-id shared ratio ratio

undo buffer ingress [ slot slot-number ] cell service-pool sp-id shared

In IRF mode:

buffer ingress [ chassis chassis-number slot slot-number ] cell service-pool sp-id shared ratio ratio

undo buffer ingress [ chassis chassis-number slot slot-number ] cell service-pool sp-id shared

Default

All of the shared area is reserved for service pool 0.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ingress: Specifies the ingress buffer.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

cell: Specifies cell resources.

service-pool sp-id: Specifies a service pool by its ID. The value range for the sp-id argument is 1 to 3.

ratio ratio: Specifies the maximum shared-area ratio, in percentage. The value range for ratio is 0 to 99.

Usage guidelines

This command takes effect after you executed the buffer apply command.

The sum of the fixed-area ratios configured for all queues cannot exceed 100%. The queue that causes the sum of the fixed-area ratios to exceed 100% fails to be configured and still uses the default setting.

In standalone mode:In IRF mode:

If you specify the slot slot-number option, this commmand applies to the specified slot. If you do not specify the option, this commmand applies to all slots. The configuration for a slot have higher priority over the configuration for all slots.

In IRF mode:

If you specify the chassis chassis-number slot slot-number option, this commmand applies to the specified slot. If you do not specify the option, this commmand applies to all slots. The configuration for a slot have higher priority over the configuration for all slots.

Examples

# Configure service pool 1 to use up to 50% shared-area space of cell resources in the egress buffer.

<Sysname> system-view

[Sysname] buffer egress cell service-pool 1 shared ratio 50

Related commands

buffer apply

buffer threshold alarm enable

Use buffer threshold alarm enable to enable threshold-crossing alarms.

Use undo buffer threshold alarm enable to disable threshold-crossing alarms.

Syntax

buffer threshold alarm { egress | headroom | ingress } enable

undo buffer threshold alarm { egress | headroom | ingress } enable

Default

Threshold-crossing alarms are disabled.

 Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ingress: Specifies the ingress buffer.

headroom: Specifies the Headroom buffer.

egress: Specifies the egress buffer.

Usage guidelines

The device generates and reports threshold-crossing alarms to a network management system (such as IMC) for displaying the data buffer usage.

 

Examples

# Enable threshold-crossing alarms.

<Sysname> system-view

[Sysname] buffer threshold alarm ingress enable

Related commands

buffer usage threshold headroom

buffer usage threshold headroom queue

buffer usage threshold queue (interface view)

buffer usage threshold queue (system view)

buffer threshold alarm interval

Use buffer threshold alarm interval to set the interval for sending threshold-crossing alarms.

Use undo buffer threshold alarm interval to restore the default.

Syntax

buffer threshold alarm { egress | headroom | ingress } interval interval

undo buffer threshold alarm { egress | headroom | ingress } interval

Default

The interval for sending threshold-crossing alarms is 5 seconds.

 Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ingress: Specifies the ingress buffer.

headroom: Specifies the Headroom buffer.

egress: Specifies the egress buffer.

interval: Specifies the interval for sending threshold-crossing alarms, in the range of 0 to 60 seconds. 0 indicates that threshold-crossing alarms are sent immediately after they are generated.

 Usage guidelines

This command takes effect only when threshold-crossing alarms are enabled.

 

Examples

# Set the interval for sending threshold-crossing alarms to 20 seconds.

<Sysname> system-view

[Sysname] buffer threshold alarm ingress interval 20

Related commands

buffer threshold alarm enable

buffer usage threshold headroom

buffer usage threshold headroom queue

buffer usage threshold queue (interface view)

buffer usage threshold queue (system view)

buffer usage threshold

Use buffer usage threshold to set a per-interface buffer usage threshold.

Use undo buffer usage threshold to restore the default.

Syntax

In standalone mode:

buffer usage threshold slot slot-number ratio ratio

undo buffer usage threshold slot slot-number

In IRF mode:

buffer usage threshold chassis chassis-number slot slot-number ratio ratio

undo buffer usage threshold chassis chassis-number slot slot-number

Default

The per-interface buffer usage threshold is 100%.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

ratio ratio: Specifies the buffer usage threshold in percentage, in the range of 1 to 100.

Usage guidelines

This command takes effect only when the packet statistics collection mode is queue (configured by using the statistic mode queue command).

After you configure this command, the switch automatically records buffer usage for each interface. When a queue on an interface uses more buffer space than the set threshold, the system counts one threshold violation for the queue.

To display the buffer usage statistics for interfaces, use the display buffer usage interface command.

Examples

# (In standalone mode.) Set the per-interface buffer usage threshold to 50% for card 3.

<Sysname> system-view

[Sysname] buffer usage threshold slot 3 ratio 50

# (In IRF mode.) Set the per-interface buffer usage threshold to 50% for card 3 on IRF member device 2.

<Sysname> system-view

[Sysname] buffer usage threshold chassis 2 slot 3 ratio 50

Related commands

display buffer usage interface

buffer usage threshold all-queue

Use buffer usage threshold all-queue to set the alarm threshold for all queues.

Use undo buffer usage threshold all-queue to restore the default.

Syntax

In standalone mode:

buffer egress usage threshold all-queue slot slot-number ratio ratio

undo buffer egress usage threshold all-queue slot slot-number ratio

In IRF mode:

buffer egress usage threshold all-queue chassis chassis-number slot slot-number ratio ratio

undo buffer egress usage threshold all-queue chassis chassis-number slot slot-number ratio

Default

The alarm threshold is 100% for all queues.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

ratio ratio: Specifies the alarm threshold in percentage, in the range of 1 to 100.

 Usage guidelines

This command takes effect only when threshold-crossing alarms are enabled.

When a queue causes the total buffer usage on the interface to exceed the alarm threshold, the device generates and reports a threshold-crossing alarm to a network management system (such as IMC).

 

Examples

# (In standalone mode.) Set the alarm threshold to 50% for all queues in slot 1.

<Sysname> system-view

[Sysname] buffer egress usage threshold all-queue slot 1 ratio 50

Related commands

buffer queue shared (interface view)

buffer queue shared (system view)

buffer service-pool shared

buffer threshold alarm enable

buffer threshold alarm interval

buffer usage threshold headroom

Use buffer usage threshold headroom to set the global per-queue alarm threshold for the Headroom buffer.

Use undo buffer usage threshold headroom to restore the default.

Syntax

In standalone mode:

buffer usage threshold headroom slot slot-number ratio ratio

undo buffer usage threshold headroom slot slot-number ratio

In IRF mode:

buffer usage threshold headroom chassis chassis-number slot slot-number ratio ratio

undo buffer usage threshold headroom chassis chassis-number slot slot-number ratio

Default

The global per-queue alarm threshold for the Headroom buffer is 100%.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

ratio ratio: Specifies the alarm threshold in percentage, in the range of 1 to 100.

 Usage guidelines

This command takes effect only when threshold-crossing alarms are enabled. When a queue exceeds the global alarm threshold for the Headroom buffer, the device generates and reports a threshold-crossing alarm to a network management system (such as IMC).

 

Examples

# (In standalone mode.)  Set the global per-queue alarm threshold to 50% for slot 1.

<Sysname> system-view

[Sysname] buffer usage threshold headroom slot 1 ratio 50

# (In IRF mode.)  Set the global per-queue alarm threshold to 50% for slot 2 in chassis 1.

<Sysname> system-view

[Sysname] buffer usage threshold headroom chassis 1 slot 2 ratio 50

Related commands

buffer threshold alarm enable

buffer usage threshold headroom queue

Use buffer usage threshold headroom queue to set the Headroom buffer alarm threshold for a queue on an interface.

Use undo buffer usage threshold headroom queue to restore the default.

Syntax

buffer usage threshold headroom queue queue-id ratio ratio

undo buffer usage threshold headroom queue queue-id ratio

Default

The global per-queue alarm threshold for the Headroom buffer is used.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

queue-id: Specifies a queue by its ID in the range of 0 to 7.

ratio ratio: Specifies the alarm threshold in percentage, in the range of 1 to 100.

 Usage guidelines

This command takes effect only when threshold-crossing alarms are enabled. When a queue exceeds the alarm threshold, the device generates and reports a threshold-crossing alarm to a network management system (such as IMC).

 

Examples

# Set the Headroom buffer alarm threshold to 50% for queue 1 on FortyGigE 1/0/1.

<Sysname> system-view

[Sysname] interface fortygige 1/0/1

[Sysname–FortyGigE1/0/1] buffer usage threshold headroom queue 1 ratio 50

Related commands

buffer threshold alarm enable

buffer usage threshold queue (interface view)

Use buffer usage threshold queue to set the ingress or egress buffer alarm threshold for a queue on an interface.

Use undo buffer usage threshold queue to restore the default.

Syntax

buffer { egress | ingress } usage threshold queue queue-id ratio ratio

undo buffer { egress | ingress } usage threshold queue queue-id ratio

Default

The global per-queue alarm threshold for the ingress or egress buffer is used.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

ingress: Specifies the ingress buffer.

egress: Specifies the egress buffer.

queue-id: Specifies a queue by its ID in the range of 0 to 7.

ratio ratio: Specifies the alarm threshold in percentage, in the range of 1 to 100.

 Usage guidelines

This command takes effect only when threshold-crossing alarms are enabled. When a queue exceeds the alarm threshold for the ingress or egress buffer, the device generates and reports a threshold-crossing alarm to a network management system (such as IMC).

 

Examples

# Set the ingress buffer alarm threshold to 50% for queue 1 on FortyGigE 1/0/1.

<Sysname> system-view

[Sysname] interface fortygige 1/0/1

[Sysname–FortyGigE1/0/1] buffer ingress usage threshold queue 1 ratio 50

Related commands

buffer threshold alarm enable

buffer usage threshold queue (system view)

Use buffer usage threshold queue to set the global ingress or egress buffer alarm threshold for a queue.

Use undo buffer usage threshold queue to restore the default.

Syntax

In standalone mode:

buffer { egress | ingress } usage threshold slot slot-number  queue queue-id ratio ratio

undo buffer { egress | ingress } usage threshold slot slot-number queue queue-id ratio

In IRF mode:

buffer { egress | ingress } usage threshold chassis chassis-number slot slot-number queue queue-id ratio ratio

undo buffer { egress | ingress } usage threshold chassis chassis-number slot slot-number queue queue-id ratio

Default

The global ingress or egress buffer alarm threshold for a queue is 100%.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ingress: Specifies the ingress buffer.

egress: Specifies the egress buffer.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

queue-id: Specifies a queue by its ID in the range of 0 to 7.

ratio ratio: Specifies the alarm threshold in percentage, in the range of 1 to 100.

 Usage guidelines

This command takes effect only when threshold-crossing alarms are enabled. When a queue exceeds the global ingress or egress alarm threshold, the device generates and reports a threshold-crossing alarm to a network management system (such as IMC).

 

Examples

# (In standalone mode.)  Set the global ingress alarm threshold to 50% for queue 1 in slot 1.

<Sysname> system-view

[Sysname] buffer ingress usage threshold slot 1 queue 1 ratio 50

# (In IRF mode.)  Set the global ingress alarm threshold to 50% for queue 1 in slot 2 of chassis 1.

<Sysname> system-view

[Sysname] buffer ingress usage threshold chassis 1 slot 2 queue 1 ratio 50

Related commands

buffer threshold alarm enable

burst-mode enable

Use burst-mode enable to enable the Burst feature.

Use undo burst-mode enable to disable the Burst feature.

Syntax

burst-mode enable

undo burst-mode enable

Default

The Burst feature is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

The Burst feature is especially useful for reducing packet losses under the following circumstances:

·     Traffic enters a device from a high-speed interface and goes out of a low-speed interface.

·     Traffic enters a device from multiple same-rate interfaces and goes out of an interface with the same rate.

The Burst feature takes effect only on known unicast packets.

 

Examples

# Enable the Burst feature.

<Sysname> system-view

[Sysname] burst-mode enable

display buffer usage

Use display buffer usage to display buffer usage.

Syntax

In standalone mode:

display buffer usage [ slot slot-number ]

In IRF mode:

display buffer usage [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays buffer usage for all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command displays buffer usage for all cards of the IRF fabric. (In IRF mode.)

Examples

# Display buffer usage.

<Sysname> display buffer usage

Egress buffer usage on chassis 1 slot 3 :

Chip0

core0:

  Total: 761856 BD

  Used:      0 BD

  Free: 761856 BD

core1:

  Total:1048576 BD

  Used:      0 BD

  Free:1048576 BD

Table 1 Command output

Field

Description

Ingress buffer usage on slot

Usage of cell resources in the shared area on a slot. A buffer descriptor (BD) is a cell resource.

Chip

Chip number.

XPE

Type of the data buffer.

Total

Total size of the data buffer.

Used

Size of used data buffer.

Free

Size of free data buffer.

display buffer usage interface

Use display buffer usage interface to display buffer usage statistics for interfaces.

Syntax

display buffer usage interface [ interface-type [ interface-number ] ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface-type [ interface-number ]: Specifies an interface by its type and number. If you do not specify the interface-type argument, this command displays buffer usage statistics for all Ethernet interfaces. If you specify the interface-type argument without the interface-number argument, this command displays buffer usage statistics for all Ethernet interfaces of the specified type.

verbose: Displays detailed buffer usage statistics. If you do not specify this keyword, the command displays brief buffer usage statistics.

Examples

# Display brief buffer usage statistics for FortyGigE 1/0/1.

<Sysname> display buffer usage interface fortygige 1/0/1

Interface              QueueID Total       Used        Threshold(%) Violations

--------------------------------------------------------------------------------

FGE1/0/1               0       761856      0           100          0

                       1       761856      0           100          0

                       2       761856      0           100          0

                       3       761856      0           100          0

                       4       761856      0           100          0

                       5       761856      0           100          0

                       6       761856      0           100          0

                       7       761856      0           100          0

Table 2 Command output

Field

Description

Total

Data buffer size in bytes allowed for a queue.

Used

Data buffer size in bytes that has been used by a queue.

Threshold(%)

Buffer usage threshold for a queue. The threshold value is the same as the per-interface threshold value.

Violations

Number of threshold violations for a queue.

The value of this field is reset upon a switch reboot.

# Display detailed buffer usage statistics for FortyGigE 1/0/1.

[Sysname] display buffer usage interface fortygige 1/0/1 verbose

FGE1/0/1

  Ingress:

    QueueID: 0

      Total: --                Used: 2                  Threshold(%): 3

      Violations: 4            Shared: 5                Headroom: 6

      XoffThres: 7             IsDynamic: 1

      Used(%): 6               Free: 15                 UsedPeak: 17

      HeadroomUsed(%): 3       HeadroomFree: 19         HeadroomPeak: 20

    QueueID: 1

      Total: --                Used: 4                  Threshold(%): 6

      Violations: 8            Shared: 10               Headroom: 12

      XoffThres: 14            IsDynamic: 1

      Used(%): 12              Free: 30                 UsedPeak: 34

      HeadroomUsed(%): 6       HeadroomFree: 38         HeadroomPeak: 40

    QueueID: 2

      Total: --                Used: 6                  Threshold(%): 9

      Violations: 12           Shared: 15               Headroom: 18

      XoffThres: 21            IsDynamic: 1

      Used(%): 18              Free: 45                 UsedPeak: 51

      HeadroomUsed(%): 9       HeadroomFree: 57         HeadroomPeak: 60

    QueueID: 3

      Total: --                Used: 8                  Threshold(%): 12

      Violations: 16           Shared: 20               Headroom: 24

      XoffThres: 28            IsDynamic: 1

      Used(%): 24              Free: 60                 UsedPeak: 68

      HeadroomUsed(%): 12      HeadroomFree: 76         HeadroomPeak: 80

    QueueID: 4

      Total: --                Used: 10                 Threshold(%): 15

      Violations: 20           Shared: 25               Headroom: 30

      XoffThres: 35            IsDynamic: 1

      Used(%): 30              Free: 75                 UsedPeak: 85

      HeadroomUsed(%): 15      HeadroomFree: 95         HeadroomPeak: 100

    QueueID: 5

      Total: --                Used: 12                 Threshold(%): 18

      Violations: 24           Shared: 30               Headroom: 36

      XoffThres: 42            IsDynamic: 1

      Used(%): 36              Free: 90                 UsedPeak: 102

      HeadroomUsed(%): 18      HeadroomFree: 114        HeadroomPeak: 120

    QueueID: 6

      Total: --                Used: 14                 Threshold(%): 21

      Violations: 28           Shared: 35               Headroom: 42

      XoffThres: 49            IsDynamic: 1

      Used(%): 42              Free: 105                UsedPeak: 119

      HeadroomUsed(%): 21      HeadroomFree: 133        HeadroomPeak: 140

    QueueID: 7

      Total: --                Used: 16                 Threshold(%): 24

      Violations: 32           Shared: 40               Headroom: 48

      XoffThres: 56            IsDynamic: 1

      Used(%): 48              Free: 120                UsedPeak: 136

      HeadroomUsed(%): 24      HeadroomFree: 152        HeadroomPeak: 160

  Egress:

    QueueID: 0

      Total: 9                 Used: 10                 Threshold(%): 11

      Violations: 12           TailDropThres: 13        IsDynamic: 1

      DeadlockCount: 21        DeadlockRecover: 22

      Used(%): 2               Free: 23                 UsedPeak: 25

    QueueID: 1

      Total: 18                Used: 20                 Threshold(%): 22

      Violations: 24           TailDropThres: 26        IsDynamic: 1

      DeadlockCount: 42        DeadlockRecover: 44

      Used(%): 4               Free: 46                 UsedPeak: 50

    QueueID: 2

      Total: 27                Used: 30                 Threshold(%): 33

      Violations: 36           TailDropThres: 39        IsDynamic: 1

      DeadlockCount: 63        DeadlockRecover: 66

      Used(%): 6               Free: 69                 UsedPeak: 75

    QueueID: 3

      Total: 36                Used: 40                 Threshold(%): 44

      Violations: 48           TailDropThres: 52        IsDynamic: 1

      DeadlockCount: 84        DeadlockRecover: 88

      Used(%): 8               Free: 92                 UsedPeak: 100

    QueueID: 4

      Total: 45                Used: 50                 Threshold(%): 55

      Violations: 60           TailDropThres: 65        IsDynamic: 1

      DeadlockCount: 105       DeadlockRecover: 110

      Used(%): 10              Free: 115                UsedPeak: 125

    QueueID: 5

      Total: 54                Used: 60                 Threshold(%): 66

      Violations: 72           TailDropThres: 78        IsDynamic: 1

      DeadlockCount: 126       DeadlockRecover: 132

      Used(%): 12              Free: 138                UsedPeak: 150

    QueueID: 6

      Total: 63                Used: 70                 Threshold(%): 77

      Violations: 84           TailDropThres: 91        IsDynamic: 1

      DeadlockCount: 147       DeadlockRecover: 154

      Used(%): 14              Free: 161                UsedPeak: 175

    QueueID: 7

      Total: 72                Used: 80                 Threshold(%): 88

      Violations: 96           TailDropThres: 104       IsDynamic: 1

      DeadlockCount: 168       DeadlockRecover: 176

      Used(%): 16              Free: 184                UsedPeak: 200

Table 3 Command output

Field

Description

Ingress

Usage statistics for the ingress buffer.

Egress

Usage statistics for the egress buffer.

Total

Data buffer size allowed for a queue, in bytes.

Used

Data buffer size that has been used by a queue, in bytes.

Threshold(%)

Buffer usage threshold for a queue. The threshold value is the same as the per-interface threshold value.

Violations

Number of threshold violations for a queue.

The value of this field is reset upon a switch reboot.

Shared

Number of cell resources in the shared area used by a queue.

Headroom

Number of cell resources in the Headroom area used by a queue.

When a queue on an interface enabled with PFC enters PFC XOFF state, the interface sends XOFF frames to notify the peer interface to stop sending packets to that queue. Packets sent by the peer interface before it receives XOFF frames are stored in the Headroom area.

XoffThres

Back pressure frame triggering threshold.

If a dynamic back pressure frame triggering threshold is configured, this field displays a percentage value. If a static back pressure frame triggering threshold is configured, this field displays an absolute value.

TailDropThres

Tail drop threshold, in the number of cell resources calculated according to the ratio value set in the buffer queue shared command.

IsDynamic

For the inbound direction, this field can be one of the following values:

·     0—Indicates a static back pressure frame triggering threshold.

·     1—Indicates a dynamic back pressure frame triggering threshold.

For the outbound direction, this field can only be 1, which indicates a dynamic tail drop threshold.

Used(%)

Buffer usage in percentage.

Free

Free buffer in bytes.

UsedPeak

Peak used buffer in bytes during the time between two executions of the display buffer usage interface command.

HeadroomUsed(%)

Headroom area usage in percentage for the ingress buffer.

HeadroomFree

Free Headroom area in bytes for the ingress buffer.

HeadroomPeak

Peak used Headroom area in bytes during the time between two executions of the display buffer usage interface command.

DeadlockCount

Number of times the device entered the PFC deadlock state in the egress buffer.

DeadlockRecover

Number of times the device released the PFC deadlock state in the egress buffer.

 

NOTE:

For more information about back pressure frame triggering thresholds and PFC deadlock, see Ethernet interface configuration in Layer 2—LAN Switching Configuration Guide.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网