• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 关于我们

08-ACL和QoS命令参考

目录

03-数据缓冲区命令

本章节下载 03-数据缓冲区命令  (332.51 KB)

03-数据缓冲区命令


1 数据缓冲区

1.1  数据缓冲区配置命令

数据缓冲区的配置比较复杂,而且对设备的转发功能有重要的影响,建议用户不要轻易修改数据缓冲区的参数。在需要较大的缓存空间时,建议使用Burst功能来自动分配缓冲区。

burst-mode enablebuffer apply命令互斥,用户在开启Burst功能后,不能应用手工配置数据缓冲区的相应配置,反之亦然。如果已经使用某一种方式进行了配置,则必须先取消该方式的配置之后,才能使用另外一种方式进行配置。

1.1.1  buffer apply

buffer apply命令用来应用用户对数据缓冲区所做的配置。

undo buffer apply命令用来恢复缺省情况。

【命令】

buffer apply

undo buffer apply

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

用户对数据缓冲区进行配置后,必须使用buffer apply命令进行应用,这些配置才能生效。

配置被应用后就不能被修改,需要先取消应用,再修改、应用,新的配置才能生效。

【举例】

# 应用用户对数据缓冲区所做的配置。

<Sysname> system-view

[Sysname] buffer apply

1.1.2  buffer packet-drop alarm enable

buffer packet-drop alarm enable命令用来开启数据缓冲区丢包告警功能。

undo buffer packet-drop alarm enable命令用来关闭数据缓冲区丢包告警功能。

【命令】

buffer packet-drop alarm enable

undo buffer packet-drop alarm enable

【缺省情况】

数据缓冲区丢包告警功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

开启数据缓冲区丢包告警功能后,设备会生成数据缓冲区丢包告警信息,并将告警信息周期性的发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备数据缓冲区的使用情况。

本功能对Headroom数据缓冲区不起作用。

【举例】

# 开启数据缓冲区丢包告警功能。

<Sysname> system-view

[Sysname] buffer packet-drop alarm enable

【相关命令】

·     buffer usage threshold queue (interface view)

·     buffer usage threshold queue (system view)

·     buffer packet-drop alarm interval

1.1.3  buffer packet-drop alarm interval

buffer packet-drop alarm interval命令用来配置数据缓冲区丢包告警发送周期。

undo buffer packet-drop alarm interval命令用来恢复缺省情况。

【命令】

buffer packet-drop alarm interval interval

undo buffer packet-drop alarm interval

【缺省情况】

数据缓冲区丢包告警发送周期为5秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

interval:数据缓冲区丢包告警发送周期,取值范围为0~60,单位为秒,0表示出现丢包时立即发送告警信息。

【使用指导】

必须开启数据缓冲区丢包告警功能,否则,数据缓冲区丢包告警发送周期的配置不会生效。

【举例】

# 配置数据缓冲区丢包告警发送周期为20秒。

<Sysname> system-view

[Sysname] buffer packet-drop alarm interval 20

【相关命令】

·     buffer packet-drop alarm enable

1.1.4  buffer queue guaranteed (system view)

buffer queue guaranteed命令用来配置队列最多可使用的固定区域的大小。

undo buffer queue guaranteed命令用来取消指定队列最多可使用的固定区域的大小的配置。

【命令】

buffer egress [ slot slot-number ] cell queue queue-id guaranteed ratio ratio

undo buffer egress [ slot slot-number ] cell queue queue-id guaranteed

【缺省情况】

所有队列最多可使用的固定区域大小均为12%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

slot slot-number:指定设备编号,取值只能为1。

cell:表示cell资源。

queue-id:需要配置的队列编号,取值范围为0~7。

ratio ratio:队列最多可使用的缓存大小占整个固定区域的大小的百分比。该参数的取值范围为0~100。

【使用指导】

缺省情况下,所有队列均分固定区域,但用户也可以使用该命令调整指定队列最多可使用的固定区域的比例,其它未配置的队列则均分剩余的固定区域。

配置该命令后,系统就与给队列预留指定大小的空间,即便该队列没有报文存储需求,其他队列也不能抢占。所有队列所配置的固定区域大小之和,不应超过可配置的总固定区域大小,否则配置失败。

【举例】

# 配置队列0最多可使用的cell固定区域的比例为整个cell固定缓冲区大小的20%。

<Sysname> system-view

[Sysname] buffer egress cell queue 0 guaranteed ratio 20

1.1.5  buffer queue guaranteed (interface view)

buffer queue guaranteed命令用来配置队列最多可使用的固定区域的大小。

undo buffer queue guaranteed命令用来取消指定队列最多可使用的固定区域的大小的配置。

【命令】

buffer egress cell queue queue-id guaranteed ratio ratio

undo buffer egress cell queue queue-id guaranteed

【缺省情况】

所有队列最多可使用的固定区域大小均为12%。

【视图】

接口视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送缓冲区进行配置。

cell:表示cell资源。

queue-id:表示队列编号,取值范围为0~7。

ratio ratio:队列的最大固定区域占用比,以百分数形式表示。该参数的取值范围为0~100。

【使用指导】

缺省情况下,所有队列均分固定区域,但用户也可以使用该命令调整指定队列最多可使用的固定区域的比例,其它未配置的队列则均分剩余的固定区域。

配置该命令后,系统就给队列预留指定大小的空间,即便该队列没有报文存储需求,其他队列也不能抢占。所有队列所配置的固定区域大小之和,不应超过可配置的总固定区域大小,否则配置失败。

【举例】

# 配置发送缓冲区中接口FourHundredGigE1/0/1下的队列0最多可使用固定区域cell资源的比例为20%。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

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

1.1.6  buffer queue map-to service-pool

buffer queue map-to service-pool命令用来配置队列与服务池的映射关系。

undo buffer queue map-to命令用来恢复缺省情况。

【命令】

buffer { egress | ingress } queue queue-id map-to service-pool sp-id

undo buffer { egress | ingress } queue queue-id map-to

【缺省情况】

所有队列均映射到服务池0。

【视图】

接口视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送缓冲区进行配置。

ingress:表示对接收缓冲区进行配置。

queue-id:表示需要配置的队列编号,取值范围为0~7。

service-pool sp-id:表示服务池的编号。取值范围为1~3。

【使用指导】

配置本命令前,必须先通过buffer service-pool shared命令配置服务池最多可使用的共享区域的比例。

由于队列与队列中缓存的报文的802.1p优先级存在映射关系,即dot1p-lp映射表,所以:

·     对于发送缓冲区,本命令中配置的queue-id指队列ID,而非队列中缓存的报文的802.1p优先级值。

·     对于接收缓冲区,本命令中配置的queue-id指报文的802.1p优先级,而非缓存此类报文的队列的ID。

【举例】

# 配置发送缓冲区中接口FourHundredGigE1/0/1下的队列1映射到服务池1。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

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

【相关命令】

·     buffer service-pool shared

1.1.7  buffer queue shared (system view)

buffer queue shared命令用来配置队列最多可使用的共享区域的大小。

undo buffer queue shared命令用来取消指定队列最多可使用的共享区域的大小的配置。

【命令】

buffer egress [ slot slot-number ] cell queue queue-id shared { ratio ratio | size }

undo buffer egress [ slot slot-number ] cell queue queue-id shared

【缺省情况】

所有队列最多可使用的共享区域大小均为20%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

slot slot-number:指定设备编号,取值只能为1。

cell:表示cell资源。

queue-id:需要配置的队列编号,取值范围为0~7。未指定该参数时,表示配置所有端口可使用的共享区域的比例。

ratio ratio:队列的最大共享缓存占用比,以百分数形式表示。该参数的取值范围为0~100。

size:队列的最大共享缓存占用cell资源个数。取值范围为0~257862,对于S9825系列交换机实际生效范围为0~216535。

【使用指导】

缺省情况下,所有队列均分共享区域,但用户也可以调整指定队列最多可使用的共享区域的比例,其它未配置的队列最多可使用的共享区域的比例仍遵循缺省值。最终,各队列最多可使用的共享区域的大小将由芯片根据buffer shared配置,以及实际需要收发报文的数量决定。

【举例】

# 配置队列0在cell资源中的最大共享缓存占用比为10%。

<Sysname> system-view

[Sysname] buffer egress cell queue 0 shared ratio 10

1.1.8  buffer queue shared (interface view)

buffer queue shared命令用来配置队列最多可使用的共享区域的大小。

undo buffer queue shared命令用来取消指定队列最多可使用的共享区域的大小的配置。

【命令】

buffer egress cell queue queue-id shared { ratio ratio | size }

undo buffer egress cell queue queue-id shared

【缺省情况】

所有队列最多可使用的共享区域大小均为20%。

【视图】

接口视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送缓冲区进行配置。

cell:表示cell资源。

queue-id:表示队列编号,取值范围为0~7。

ratio ratio:队列的最大共享区域占用比,以百分数形式表示。该参数的取值范围为0~100。

size:队列最多可使用共享区域的字节数,取值范围为0~313600。

【使用指导】

缺省情况下,所有队列均分共享区域,但用户也可以使用该命令调整指定队列最多可使用的共享区域的比例,其它未配置的队列最多可使用的共享区域的比例仍遵循缺省值。最终,各队列最多可使用的共享区域的大小将由芯片根据buffer shared配置,以及实际需要收发报文的数量决定。

【举例】

# 配置发送缓冲区中接口FourHundredGigE1/0/1下队列0最多可使用共享区域cell资源的比例为20%。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

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

1.1.9  buffer service-pool shared

buffer service-pool shared命令用来配置服务池可使用的共享区域的大小。

undo buffer service-pool shared命令用来取消指定服务池可使用的共享区域大小的配置。

【命令】

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

undo buffer { egress | ingress } [ slot slot-number ] cell service-pool sp-id shared

【缺省情况】

服务池0可使用的共享区域的大小为100%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送缓冲区进行配置。

slot slot-number:指定设备编号,取值只能为1。

cell:表示cell资源。

service-pool sp-id:表示服务池的编号。取值范围为1~3。

ratio ratio:服务池的最大共享区域占用比,以百分数形式表示。该参数的取值范围为0~99。

【使用指导】

配置本命令后,需执行buffer apply命令才会生效。

所有服务池配置的可使用共享区域的数值之和不应超过共享区域的总大小,否则配置失败。

【举例】

# 配置发送缓冲区中的服务池1可使用的共享区域的cell资源比例为50%。

<Sysname> system-view

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

【相关命令】

·     buffer apply

1.1.10  buffer threshold alarm enable

buffer threshold alarm enable命令用来开启数据缓冲区超门限告警功能。

undo buffer threshold alarm enable命令用来关闭数据缓冲区超门限告警功能。

【命令】

buffer threshold alarm { egress | headroom | ingress } enable

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

【缺省情况】

数据缓冲区超门限告警功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

headroom:表示对Headroom数据缓冲区进行配置。

ingress:表示对接收数据缓冲区进行配置。

【使用指导】

开启数据缓冲区超门限告警功能后,设备会生成数据缓冲区超门限告警信息,并将告警信息周期性的发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备数据缓冲区的使用情况。

【举例】

# 开启接收数据缓冲区超门限告警功能。

<Sysname> system-view

[Sysname] buffer threshold alarm ingress enable

【相关命令】

·     buffer usage threshold headroom

·     buffer usage threshold headroom queue

·     buffer usage threshold queue (interface view)

·     buffer usage threshold queue (system view)

1.1.11  buffer threshold alarm interval

buffer threshold alarm interval命令用来配置数据缓冲区超门限告警发送周期。

undo buffer threshold alarm interval命令用来恢复缺省情况。

【命令】

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

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

【缺省情况】

数据缓冲区超门限告警发送周期为5秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

headroom:表示对Headroom数据缓冲区进行配置。

ingress:表示对接收数据缓冲区进行配置。

interval:数据缓冲区超门限告警发送周期,取值范围为0~60,单位为秒。0表示出现数据缓冲区超门限使用时立即发送告警信息。

【使用指导】

必须开启数据缓冲区超门限告警功能,否则,数据缓冲区超门限告警发送周期的配置不会生效。

【举例】

# 配置接收数据缓冲区超门限告警发送周期为20秒。

<Sysname> system-view

[Sysname] buffer threshold alarm ingress interval 20

【相关命令】

·     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)

1.1.12  buffer total-shared

buffer total-shared命令用来配置数据缓冲区中共享区域的大小。

undo buffer total-shared命令用来取消数据缓冲区中共享区域的大小的配置。

【命令】

buffer egress [ slot slot-number ] cell total-shared ratio ratio

undo buffer egress [ slot slot-number ] cell total-shared

【缺省情况】

在未配置本命令的情况下,使用display buffer命令可以查看其缺省值。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

slot slot-number:指定设备编号,取值只能为1。

cell:表示cell资源。

ratio ratio:缓冲区中共享区域所占的比例,以百分数形式表示。该参数的取值范围为0~100。

【使用指导】

设备上整个数据缓冲区的大小是固定的,用户配置共享区域的大小后,其余部分将自动成为固定区域。

【举例】

# 配置当前设备cell资源中的共享区域所占比例为50%。

<Sysname> system-view

[Sysname] buffer egress cell total-shared ratio 50

 

1.1.13  buffer usage threshold

buffer usage threshold命令用来配置接口的数据缓冲区使用门限值。

undo buffer usage threshold命令用来恢复缺省情况。

【命令】

buffer usage threshold slot slot-number ratio ratio

undo buffer usage threshold slot slot-number

【缺省情况】

设备上接口的数据缓冲区使用门限值为100。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:指定设备编号,取值只能为1。

ratio ratio:以百分比形式配置接口的数据缓冲区使用门限值,ratio的取值为1~100。

【使用指导】

配置接口的数据缓冲区使用门限后,设备会自动记录接口对缓冲区的使用情况。当接口上某一队列中需要处理的报文增多,造成该接口对数据缓冲区的使用比率超过设定的门限值时,系统会为该队列增加一次超量使用缓冲区的计数。

通过display buffer usage interface命令,可以查看接口的数据缓冲区使用统计信息。

【举例】

# 配置设备上所有接口的数据缓冲区使用门限值为50%

<Sysname> system-view

[Sysname] buffer usage threshold slot 1 ratio 50

【相关命令】

·     display buffer usage interface

·      

1.1.14  buffer usage threshold headroom

buffer usage threshold headroom命令用来配置全局Headroom缓冲区使用门限值。

undo buffer usage threshold headroom命令用来恢复缺省情况。

【命令】

buffer usage threshold headroom slot slot-number ratio ratio

undo buffer usage threshold headroom slot-number ratio

【缺省情况】

全局所有接口下每个队列的Headroom缓冲区使用门限值均为100%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:指定设备编号,取值只能为1。

ratio ratio:以百分比形式配置设备Headroom缓冲区使用门限值,ratio的取值范围为1~100。

【使用指导】

仅开启数据缓冲区超门限告警功能后,Headroom缓冲区使用门限值的配置才会生效。超门限使用Headroom缓冲区时,设备会生成告警信息,并将告警信息发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备Headroom缓冲区的使用情况。

本命令仅支持在接口板上下发。

【举例】

# 配置slot 1上所有接口下每个队列的Headroom缓冲区使用门限值为50%。

<Sysname> system-view

[Sysname] buffer usage threshold headroom slot 1 ratio 50

【相关命令】

·     buffer threshold alarm enable

1.1.15  buffer usage threshold headroom queue

buffer usage threshold headroom queue命令用来配置接口Headroom缓冲区使用门限值。

undo buffer usage threshold headroom queue命令用来恢复缺省情况。

【命令】

buffer usage threshold headroom queue queue-id ratio ratio

undo buffer usage threshold headroom queue queue-id ratio

【缺省情况】

接口Headroom缓冲区与全局Headroom缓冲区使用门限值相同。

【视图】

接口视图

【缺省用户角色】

network-admin

【参数】

queue-id:配置接口指定队列Headroom缓冲区使用门限值,queue-id的取值范围为0~7。

ratio ratio:以百分比形式配置指定队列的Headroom缓冲区使用门限值,ratio的取值范围为1~100。

【使用指导】

仅开启数据缓冲区超门限告警功能后,Headroom缓冲区使用门限值的配置才会生效。超门限使用Headroom缓冲区时,设备会生成告警信息,并将告警信息发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备Headroom缓冲区的使用情况。

【举例】

# 配置接口FourHundredGigE1/0/1队列1的Headroom缓冲区使用门限值为50%。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

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

【相关命令】

·     buffer threshold alarm enable

1.1.16  buffer usage threshold queue (interface view)

buffer usage threshold queue命令用来配置接口队列接收或发送数据缓冲区使用门限值。

undo buffer usage threshold queue命令用来恢复缺省情况。

【命令】

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

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

【缺省情况】

接口队列接收或发送数据缓冲区与全局队列接收或发送数据缓冲区使用门限值相同。

【视图】

接口视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

ingress:表示对接收数据缓冲区进行配置。

queue-id:配置接口指定队列的数据缓冲区使用门限值,queue-id的取值范围为0~7。

ratio ratio:以百分比形式配置指定接口队列的数据缓冲区使用门限值,ratio的取值范围为1~100。

【使用指导】

本命令配置的数据缓冲区不包括Headroom缓冲区。

仅开启数据缓冲区超门限告警功能后,接口队列接收或发送数据缓冲区使用门限值的配置才会生效。超门限使用数据缓冲区时,设备会生成告警信息,并将告警信息发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备接收或发送数据缓冲区的使用情况。

【举例】

# 配置接口FourHundredGigE1/0/1队列1的接收数据缓冲区使用门限值为50%。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] buffer ingress usage threshold queue 1 ratio 50

【相关命令】

·     buffer threshold alarm enable

1.1.17  buffer usage threshold queue (system view)

buffer usage threshold queue命令用来配置全局队列接收或发送数据缓冲区使用门限值。

undo buffer usage threshold queue命令用来恢复缺省情况。

【命令】

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

【缺省情况】

全局所有接口下每个队列的接收或发送数据缓冲区使用门限值均为100%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送数据缓冲区进行配置。

ingress:表示对接收数据缓冲区进行配置。

slot slot-number:指定设备编号,取值只能为1。

queue-id:配置设备指定队列数据缓冲区使用门限值,queue-id的取值范围为0~7。

ratio ratio:以百分比形式配置设备队列的数据缓冲区使用门限值,ratio的取值范围为1~100。

【使用指导】

本命令配置的数据缓冲区不包括Headroom缓冲区。

仅开启数据缓冲区超门限告警功能后,全局队列接收或发送数据缓冲区使用门限值的配置才会生效。超门限使用数据缓冲区时,设备会生成告警信息,并将告警信息发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备数据缓冲区的使用情况。

【举例】

# 配置slot 1队列1的接收数据缓冲区使用门限值为50%。

<Sysname> system-view

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

【相关命令】

·     buffer threshold alarm enable

1.1.18  buffer usage threshold service-pool

buffer usage threshold service-pool命令用来配置服务池使用率的告警门限值。

undo buffer usage threshold service-pool命令用来恢复缺省情况。

【命令】

buffer egress usage threshold service-pool sp-id slot slot-number ratio ratio

undo buffer egress usage threshold service-pool sp-id slot slot-number ratio

【缺省情况】

服务池使用率的告警门限值为100%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

egress:表示对发送缓冲区进行配置。

service-pool sp-id:表示服务池的编号。取值范围为0~3。

slot slot-number:指定设备编号,取值只能为1。

ratio ratio:服务池使用率的告警门限值,以百分数形式表示。该参数的取值范围为1~100。

【使用指导】

仅开启数据缓冲区超门限告警功能后,本配置才会生效。超门限使用服务池时,设备会生成告警信息,并将告警信息发送给iMC等网管软件,网管软件会生成相应的告警提示,方便查看设备SP的使用情况。

【举例】

# 配置slot 1上发送缓冲区中服务池0使用率的告警门限值为50%。

<Sysname> system-view

[Sysname] buffer egress usage threshold service-pool 0 slot 1 ratio 50

【相关命令】

·     buffer queue shared (interface view)

·     buffer queue shared (system view)

·     buffer service-pool shared

·     buffer threshold alarm enable

·     buffer threshold alarm interval

1.1.19  burst-mode enable

burst-mode enable命令用来开启数据缓冲区自动分配功能。

undo burst-mode enable命令用来关闭数据缓冲区自动分配功能。

【命令】

burst-mode enable

undo burst-mode enable

【缺省情况】

数据缓冲区自动分配功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

在下列情况下,开启数据缓冲区自动分配功能可以提高报文缓存功能和降低报文丢包率:

·     广播或者组播报文流量密集,瞬间突发大流量的网络环境中;

·     报文从高速链路进入设备,由低速链路转发出去;或者报文从相同速率的多个接口同时进入设备,由一个相同速率的接口转发出去。

【举例】

# 开启数据缓冲区自动分配功能。

<Sysname> system-view

[Sysname] burst-mode enable

1.1.20  display buffer

display buffer命令用来显示数据缓冲区的比例。

【命令】

display buffer [ slot slot-number ] [ queue [ queue-id ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:指定设备编号,取值只能为1。

queue queue-id:显示队列最多可使用的固定区域的比例以及队列最多可使用的共享区域的比例,queue-id的取值范围为0~7。指定queue-id时,显示指定队列的相关信息;不指定queue-id时,显示所有队列的相关信息。未指定本参数时,显示共享区域的比例。

【举例】

# 显示数据缓冲区的比例。

<Sysname> display buffer

Slot  Type    Eg(Total-shared)

1     cell    100

 

          Eg: Size of the sending buffer

Total-shared: Size of the shared buffer for all ports

        Unit: Ratio

# 显示队列最多可使用的固定区域的比例以及队列最多可使用的共享区域的比例。

<Sysname> display buffer queue

Slot  Queue        Type    Eg(Guaranteed , Shared)

1     0-7          cell    0 , 20

 

          Eg: Size of the sending buffer

  Guaranteed: Size of the minimum guaranteed buffer per queue

      Shared: Size of the maximum shared buffer per queue

        Unit: Ratio

表1-1 display buffer命令显示信息描述表

字段

描述

Type

缓冲区类型,包括packet资源和cell资源

Queue

队列ID,范围为0~7

Eg

Egress,出方向的数据缓冲区配置

(Total-shared )

Total-shared表示所有端口共享区域的比例。如果显示为“--”字符串,则表示设备不支持该缓冲区

(Guaranteed , Shared)

Guaranteed表示每个队列最多可使用的固定区域的比例。如果显示为“--”字符串,则表示设备不支持该数据缓冲区

Shared表示每个队列最多可使用的共享区域的比例。如果显示为“--”字符串,则表示设备不支持该数据缓冲区

Unit

数据缓冲区的单位,为%

 

1.1.21  display buffer usage

display buffer usage命令用来显示数据缓冲区的使用率。

【命令】

display buffer usage [ slot slot-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:指定设备编号,取值只能为1。

【举例】

# 显示数据缓冲区的使用率。

<Sysname> display buffer usage

Ingress total-shared cell buffer usage on slot 1 :                             

XPE0                                                                           

Total:   77787 KB                                                              

Used:       0 KB                                                               

Free:   77787 KB                                                               

Global_headroom_total:    1240 KB                                              

Global_headroom_used:       0 KB                                               

SP0_headroom_total:    1240 KB                                                 

SP0_headroom_used:       0 KB                                                  

SP0_headroom_peak:       0 KB                                                   

SP0_buffer_total:   77787 KB                                                   

SP0_buffer_used:       0 KB                                                    

SP0_buffer_peak:       0 KB                                                     

SP1_headroom_total:       0 KB                                                 

SP1_headroom_used:       0 KB                                                  

SP1_headroom_peak:       0 KB                                                   

SP1_buffer_total:       0 KB                                                   

SP1_buffer_used:       0 KB                                                    

SP1_buffer_peak:       0 KB                                                     

SP2_headroom_total:       0 KB                                                 

SP2_headroom_used:       0 KB                                                  

SP2_headroom_peak:       0 KB                                                  

SP2_buffer_total:       0 KB                                                   

SP2_buffer_used:       0 KB                                                    

SP2_buffer_peak:       0 KB                                                    

SP3_headroom_total:       0 KB                                                 

SP3_headroom_used:       0 KB                                                  

SP3_headroom_peak:       0 KB                                                  

SP3_buffer_total:       0 KB                                                   

SP3_buffer_used:       0 KB                                                    

SP3_buffer_peak:       0 KB                                                    

XPE1                                                                            

Total:   77787 KB                                                              

Used:       0 KB                                                               

Free:   77787 KB                                                                

Global_headroom_total:    1240 KB                                              

Global_headroom_used:       0 KB                                               

SP0_headroom_total:    1240 KB                                                  

SP0_headroom_used:       0 KB                                                  

SP0_headroom_peak:       0 KB                                                  

SP0_buffer_total:   77787 KB                                                    

SP0_buffer_used:       0 KB                                                    

SP0_buffer_peak:       0 KB                                                    

SP1_headroom_total:       0 KB                                                  

SP1_headroom_used:       0 KB                                                  

SP1_headroom_peak:       0 KB                                                  

SP1_buffer_total:       0 KB                                                    

SP1_buffer_used:       0 KB                                                    

SP1_buffer_peak:       0 KB                                                    

SP2_headroom_total:       0 KB                                                 

SP2_headroom_used:       0 KB                                                  

SP2_headroom_peak:       0 KB                                                  

SP2_buffer_total:       0 KB                                                   

SP2_buffer_used:       0 KB                                                    

SP2_buffer_peak:       0 KB                                                    

SP3_headroom_total:       0 KB                                                 

SP3_headroom_used:       0 KB                                                  

SP3_headroom_peak:       0 KB                                                  

SP3_buffer_total:       0 KB                                                   

SP3_buffer_used:       0 KB                                                    

SP3_buffer_peak:       0 KB                                                    

Egress total-shared cell buffer usage on slot 1 :                              

XPE0                                                                            

Total:   77787 KB                                                              

Used:       0 KB                                                               

Free:   77787 KB                                                                

SP0_buffer_total:   77787 KB                                                   

SP0_buffer_used:       0 KB                                                    

SP0_buffer_peak:       0 KB                                                     

SP1_buffer_total:       0 KB                                                   

SP1_buffer_used:       0 KB                                                    

SP1_buffer_peak:       0 KB                                                     

SP2_buffer_total:       0 KB                                                   

SP2_buffer_used:       0 KB                                                    

SP2_buffer_peak:       0 KB                                                     

SP3_buffer_total:       0 KB                                                   

SP3_buffer_used:       0 KB                                                    

SP3_buffer_peak:       0 KB                                                    

XPE1                                                                            

Total:   77787 KB                                                              

Used:       0 KB                                                               

Free:   77787 KB                                                                

SP0_buffer_total:   77787 KB                                                   

SP0_buffer_used:       0 KB                                                    

SP0_buffer_peak:       0 KB                                                     

SP1_buffer_total:       0 KB                                                   

SP1_buffer_used:       0 KB                                                    

SP1_buffer_peak:       0 KB                                                    

SP2_buffer_total:       0 KB                                                   

SP2_buffer_used:       0 KB                                                    

SP2_buffer_peak:       0 KB                                                    

SP3_buffer_total:       0 KB                                                   

SP3_buffer_used:       0 KB                                                    

SP3_buffer_peak:       0 KB                                                    

                                 5sec   1min   5min                            

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

FourHundredGigE1/0/1     XPE 1     0%     0%     0%                            

FourHundredGigE1/0/2     XPE 1     0%     0%     0%                            

FourHundredGigE1/0/3     XPE 0     0%     0%     0%                            

FourHundredGigE1/0/4     XPE 0     0%     0%     0%                             

FourHundredGigE1/0/5     XPE 0     0%     0%     0%                            

FourHundredGigE1/0/6     XPE 0     0%     0%     0%                            

FourHundredGigE1/0/7     XPE 0     0%     0%     0%                             

FourHundredGigE1/0/8     XPE 0     0%     0%     0%                            

FourHundredGigE1/0/9     XPE 1     0%     0%     0%                            

FourHundredGigE1/0/10    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/11    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/12    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/13    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/14    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/15    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/16    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/17    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/18    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/19    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/20    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/21    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/22    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/23    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/24    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/25    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/26    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/27    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/28    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/29    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/30    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/31    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/32    XPE 0     0%     0%     0%                             

FourHundredGigE1/0/33    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/34    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/35    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/36    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/37    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/38    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/39    XPE 0     0%     0%     0%                            

TwoHundredGigE1/0/40:1   XPE 0     0%     0%     0%                            

TwoHundredGigE1/0/40:2   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/41    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/42    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/43    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/44    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/45    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/46    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/47    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/48    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/49    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/50    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/51    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/52    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/53    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/54    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/55    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/56    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/57    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/58    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/59    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/60    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/61    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/62    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/63    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/64    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/65    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/66    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/67    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/68    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/69    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/70    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/71    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/72    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/73    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/74    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/75    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/76    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/77    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/78    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/79    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/80    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/81    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/82    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/83    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/84    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/85    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/86    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/87    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/88    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/89    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/90    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/91    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/92    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/93    XPE 1     0%     0%     0%                             

FourHundredGigE1/0/94    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/95    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/96    XPE 0     0%     0%     0%                             

FourHundredGigE1/0/97    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/98    XPE 1     0%     0%     0%                            

FourHundredGigE1/0/99    XPE 0     0%     0%     0%                            

FourHundredGigE1/0/100   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/101   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/102   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/103   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/104   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/105   XPE 1     0%     0%     0%                            

FourHundredGigE1/0/106   XPE 1     0%     0%     0%                            

FourHundredGigE1/0/107   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/108   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/109   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/110   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/111   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/112   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/113   XPE 1     0%     0%     0%                            

FourHundredGigE1/0/114   XPE 1     0%     0%     0%                            

FourHundredGigE1/0/115   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/116   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/117   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/118   XPE 0     0%     0%     0%                             

FourHundredGigE1/0/119   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/120   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/121   XPE 1     0%     0%     0%                             

FourHundredGigE1/0/122   XPE 1     0%     0%     0%                            

FourHundredGigE1/0/123   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/124   XPE 0     0%     0%     0%                             

FourHundredGigE1/0/125   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/126   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/127   XPE 0     0%     0%     0%                            

FourHundredGigE1/0/128   XPE 0     0%     0%     0%   

 

表1-2 display buffer usage命令显示信息描述表

字段

描述

Egress total-shared cell buffer usage on slot

表示在指定设备上cell缓冲区共享区域的使用率

XPE

设备支持的缓冲区类型

Total

缓冲区容量

Used

已使用的缓冲区容量

Free

可用缓冲区容量

Global_headroom

Headroom数据缓冲区总容量大小

SP

服务池

headroom_used

Headroom数据缓冲区使用值

Headroom_peak

Headroom的使用峰值大小,即本次显示与上次显示之间的峰值

buffer_total

数据缓冲区总大小

buffer_used

共享缓冲区的使用值

buffer_peak

数据缓冲区使用峰值大小,即本次显示与上次显示之间的峰值

5sec

过去5秒内该端口使用的缓冲区百分比例

1min

过去1分钟内该端口使用的缓冲区百分比例

5min

过去5分钟内该端口使用的缓冲区百分比例

1.1.22  display buffer usage interface

display buffer usage interface命令用来显示接口的数据缓冲区使用统计信息。

【命令】

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

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface-type interface-number:指定接口,interface-type为接口类型,interface-number为接口编号。未指定interface-type参数时,显示设备上所有以太网接口的数据缓冲区使用统计信息;已指定interface-type但未指定interface-number时,显示设备上所有指定类型的以太网接口的数据缓冲区使用统计信息。

verbose:显示详细信息。如果不指定本参数,则显示简要信息。

【举例】

# 显示接口FourHundredGigE1/0/1的数据缓冲区简要使用统计信息。

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

Interface                         QueueID Total                            Used

                            Threshold(%) Violations                            

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

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

400GE1/0/1                        0       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                     

                                  1       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                     

                                  2       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                     

                                  3       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                     

                                  4       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                      

                                  5       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                     

                                  6       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0                                     

                                  7       250880 cell     63723520 bytes   0 cel

l          0 bytes          100          0           

表1-3 display buffer usage interface命令显示信息描述表

字段

描述

Interface

接口名称

QueueID

队列编号

Total

队列可用的数据缓冲区大小,单位为Byte

Used

队列已使用的数据缓冲区大小,单位为Byte

Threshold(%)

队列的数据缓冲区使用门限值,该值与队列所在接口的缓冲区使用门限值保持一致

Violations

队列超量使用缓冲区的计数,表示队列使用缓冲区超过设定门限值的次数

该字段仅在设备重启时,才会清零后重新计数

# 显示接口FourHundredGigE1/0/1的数据缓冲区详细使用统计信息。

<Sysname> display buffer usage interface fourhundredgige 1/0/1 verbose

400GE1/0/1

FourHundredGigE1/0/1                                                           

  Ingress:                                                                     

    QueueID: 0                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                               

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                        

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                               

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                                

    QueueID: 1                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                                

      Threshold(%): 100                                 Violations: 0          

                                                                               

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                               

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                                

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                               

    QueueID: 2                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                                

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                               

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                        

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                               

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                                

    QueueID: 3                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                                

      Threshold(%): 100                                 Violations: 0          

                                                                               

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                                

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                               

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                               

    QueueID: 4                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                                

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                               

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                        

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                               

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                               

    QueueID: 5                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                               

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                                

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                               

    QueueID: 6                                                                 

      Total: 313600 cell 79654400 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                                

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                               

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0            

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                               

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                            

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                               

    QueueID: 7                                                                  

      Total: 313607 cell 79656178 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      Shared: 0 cell 0 bytes                            Headroom: 0 cell 0 bytes

                                                                                

      XoffThres: 313600 cell 79654400 bytes             IsDynamic: 0           

                                                                               

      Used(%): 0                                        Free: 313600 cell 796544

00 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          HeadroomUsed(%): 0     

                                                                                

      HeadroomFree: 0 cell 0 bytes                      HeadroomPeak: 0 cell 0 b

ytes                                                                           

      UsedPeakTime: -                                   HeadroomPeakTime: -    

                                                                               

  Egress:                                                                      

    QueueID: 0                                                                  

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0           

                                                                               

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                               

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                        

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                               

    QueueID: 1                                                                 

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                                

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                                

    QueueID: 2                                                                 

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                                

      Threshold(%): 100                                 Violations: 0          

                                                                               

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1            

                                                                               

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                                

    QueueID: 3                                                                 

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                               

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                                

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                               

    QueueID: 4                                                                 

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                                

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                               

      DeadlockCount: 0                                  DeadlockRecover: 0      

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                               

    QueueID: 5                                                                 

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                                

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                               

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                        

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                               

    QueueID: 6                                                                  

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                                

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -        

                                                                                

    QueueID: 7                                                                 

      Total: 250880 cell 63723520 bytes                 Used: 0 cell 0 bytes   

                                                                               

      Threshold(%): 100                                 Violations: 0          

                                                                               

      TailDropThres: 250880 cell 63723520 bytes         IsDynamic: 1           

                                                                                

      DeadlockCount: 0                                  DeadlockRecover: 0     

                                                                               

      Used(%): 0                                        Free: 250880 cell 637235

20 bytes                                                                       

      UsedPeak: 0 cell 0 bytes                          UsedPeakTime: -                                                              

                    

表1-4 display buffer usage interface verbose命令显示信息描述表

字段

描述

Ingress

接收数据缓冲区的统计数据

Egress

发送数据缓冲区的统计数据

QueueID

显示指定队列对数据缓冲区的使用统计信息

Total

队列可用的数据缓冲区大小,单位为cell资源个数及Byte字节数

Used

队列已使用的数据缓冲区大小,单位为cell资源个数及Byte字节数

Threshold(%)

队列的数据缓冲区使用门限值,该值与队列所在接口的缓冲区使用门限值保持一致

Violations

队列超量使用缓冲区的计数,表示队列使用缓冲区超过设定门限值的次数

该字段在设备重启时,会清零重新计数

Shared

队列已使用共享数据缓冲区的cell资源个数及Byte字节数

Headroom

队列已使用Headroom缓冲区的cell资源个数及Byte字节数。开启PFC功能的端口上某优先级队列进入PFC XOFF状态后,端口会发送XOFF帧通知对端设备暂停向本端发送对应优先级报文,如果对端设备未收到XOFF帧时已发出了流量,则端口会使用Headroom缓冲区缓存这部分流量

Xoffthres

反压帧触发门限值:

·     当用户配置为动态时显示的数值为具体配置的百分比

·     当用户配置为静态门限时显示的数值为具体配置的cell资源个数及Byte字节数

配置命令的详细介绍请参见“二层技术-以太网交换命令参考”中的“PFC命令”

TailDropThres

尾丢弃门限值,该值由buffer queue shared命令配置的占用比计算得到,命令的详细介绍请参见“ACL和QoS命令参考”中的“数据缓冲区”

Is dynamic

对于入方向,该字段取值如下:

·     0:表示反压帧触发门限为静态

·     1:表示反压帧触发门限为动态

对于出方向,该字段取值为1,表示尾丢弃门限为动态

Used(%)

队列已使用的数据缓冲区大小,单位为%

Free

队列剩余可使用的数据缓冲区大小,单位为字节

UsedPeak

队列曾使用的数据缓冲区峰值大小,单位为字节

HeadroomUsed(%)

队列已使用的Headroom数据缓冲区大小,单位为%

HeadroomFree

队列剩余可使用的Headroom数据缓冲区大小,单位为字节

HeadroomPeak

队列曾使用的Headroom数据缓冲区峰值大小,单位为字节

UsedPeakTime

队列曾使用的数据缓冲区峰值出现的时间,未使用数据缓冲区时显示为-

HeadroomPeakTime

队列曾使用的Headroom数据缓冲区峰值出现的时间,未使用Headroom数据缓冲区时显示为-

DeadlockCount

PFC死锁次数

DeadlockRecover

PFC死锁恢复次数

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们