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

03-设备管理命令参考

目录

03-硬件资源管理命令

本章节下载 03-硬件资源管理命令  (953.42 KB)

03-硬件资源管理命令

  录

1 硬件资源管理

1.1 硬件资源管理配置命令

1.1.1 display alarm

1.1.2 display alarm active

1.1.3 display alarm history

1.1.4 display cpu-usage

1.1.5 display cpu-usage configuration

1.1.6 display cpu-usage history

1.1.7 display device

1.1.8 display device manuinfo

1.1.9 display device manuinfo chassis-only

1.1.10 display device manuinfo fan

1.1.11 display device manuinfo power

1.1.12 display environment

1.1.13 display fan

1.1.14 display fdisk-flash

1.1.15 display hardware-failure-detection

1.1.16 display hardware-resource acl-hash

1.1.17 display hardware-resource mdb

1.1.18 display hardware-resource bfd_enhance

1.1.19 display hardware-resource opttask-delay

1.1.20 display hardware-resource port-speed

1.1.21 display hardware-resource scd-port-speed

1.1.22 display hardware-resource smartman

1.1.23 display hardware-resource synce

1.1.24 display hardware-resource telemetry-stream

1.1.25 display memory

1.1.26 display memory dma

1.1.27 display memory-threshold

1.1.28 display memory-threshold dma

1.1.29 display power

1.1.30 display resource-monitor

1.1.31 display transceiver active-control

1.1.32 display transceiver advertising

1.1.33 display transceiver alarm

1.1.34 display transceiver application

1.1.35 display transceiver diagnosis

1.1.36 display transceiver history performance-collection

1.1.37 display transceiver interface

1.1.38 display transceiver itu-channel

1.1.39 display transceiver manuinfo

1.1.40 display transceiver optics interface

1.1.41 display transceiver status

1.1.42 display transceiver vdm

1.1.43 fdisk-flash slot

1.1.44 hardware-failure-detection

1.1.45 hardware-resource acl-hash

1.1.46 hardware-resource mdb

1.1.47 hardware-resource opttask-delay

1.1.48 hardware-resource port-speed

1.1.49 hardware-resource scd-port-speed

1.1.50 hardware-resource smartman

1.1.51 hardware-resource synce

1.1.52 hardware-resource telemetry-stream

1.1.53 itu-channel

1.1.54 locator blink

1.1.55 memory-threshold

1.1.56 memory-threshold dma

1.1.57 memory-threshold usage

1.1.58 monitor chipblock reset

1.1.59 monitor cpu-usage enable

1.1.60 monitor cpu-usage interval

1.1.61 monitor cpu-usage threshold

1.1.62 monitor resend cpu-usage

1.1.63 monitor resend cpu-usage core-interval

1.1.64 monitor resend memory-threshold dma

1.1.65 parity-error consistency-check log enable

1.1.66 parity-error consistency-check threshold

1.1.67 parity-error monitor log enable

1.1.68 parity-error monitor period

1.1.69 parity-error monitor threshold

1.1.70 parity-error unrecoverable log enable

1.1.71 parity-error unrecoverable period

1.1.72 parity-error unrecoverable reboot

1.1.73 parity-error unrecoverable threshold

1.1.74 power-exception-monitor

1.1.75 power-monitor enable

1.1.76 power-supply off

1.1.77 power-supply on

1.1.78 power-supply policy enable

1.1.79 power-supply policy redundant

1.1.80 power-supply surplus-power enable

1.1.81 reset transceiver interface

1.1.82 resource-monitor minor resend enable

1.1.83 resource-monitor output

1.1.84 resource-monitor resource

1.1.85 shutdown-interval

1.1.86 system handshake timeout

1.1.87 temperature-limit

1.1.88 transceiver diagnostic selector

1.1.89 transceiver host-fault-detect enable

1.1.90 transceiver lane enable

1.1.91 transceiver lane equalization

1.1.92 transceiver lane loopback

1.1.93 transceiver lane pattern

1.1.94 transceiver monitor enable

1.1.95 transceiver monitor interval

1.1.96 transceiver media-fault-detect enable

1.1.97 transceiver optical-channel frequency

1.1.98 transceiver optical-channel tx-power

1.1.99 transceiver performance-collection enable

1.1.100 transceiver performance-collection interval

1.1.101 transceiver power-mode

 


1 硬件资源管理

1.1  硬件资源管理配置命令

1.1.1  display alarm

display alarm命令用来显示设备硬件的告警信息。

【命令】

display alarm [ slot slot-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:显示指定单板的告警信息。slot-number表示单板所在的槽位号。不指定该参数时,则表示所有单板。

【举例】

# 显示设备硬件的告警信息。

<Sysname> display alarm

Slot CPU Level   Info

1    0   ERROR   faulty

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

字段

描述

Slot

产生告警的slot,显示为“-”,表示产生告警的元件位于机框上

CPU

告警CPU的编号

Level

告警的级别,级别由高到低依次为ERROR、WARNING、NOTICE、INFO

Info

告警的详细信息。取值为:

·     faulty:表示该slot处于faulty状态(该slot可能正在启动,或者当前处于故障状态)

·     Fan n is absent:风扇n当前不在位

·     Power n is absent:电源n当前不在位

·     Power n is faulty:电源n处于异常状态

·     The temperature of sensor n exceeds the lower limit:传感器n的温度低于低温门限

·     The temperature of sensor n exceeds the upper limit:传感器n的温度高于高温门限

1.1.2  display alarm active

display alarm active命令用来显示设备当前仍未恢复的告警信息。

【命令】

display alarm active

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【使用指导】

当设备运行异常时,使用display alarm命令可以查看到相应的告警信息。对于过去发生的、已经恢复的告警可以使用display alarm history命令查看;对于过去发生的、当前仍未恢复的告警可以使用display alarm active命令查看。

【举例】

# 显示设备当前仍未恢复的告警信息。

<Sysname>display alarm active

Seq         Level    Time                 Info

24          MINOR    2020-01-11 12:40:00  CPU usage is in minor alarm state on slot 1 cpu 0.

23           MINOR    2020-01-11 12:30:00  Memory usage is in minor alarm state on slot 1 cpu 0.

22           WARNING  2020-01-11 12:30:00  Interface GigabitEthernet2/0/2 changed to DOWN state.

表1-2 display alarm active命令显示信息描述表

字段

描述

Seq

告警序列号,告警发生时分配。

Level

告警的级别,级别由高到低依次为CRITICAL、MAJOR、MINOR、WARNING

Time

告警产生的时间

Info

告警的详细信息,涉及接口、CPU以及内存等运行异常,主要取值包括:

·     Memory usage is in minor alarm state on slot xx cpu xx:槽位xx上CPU xx的剩余内存低于一级告警门限

·     Memory usage is in severe alarm state on slot xx cpu xx:槽位xx上CPU xx的剩余内存低于二级告警门限

·     Memory usage is in critical alarm state on slot xx cpu xx:槽位xx上CPU xx的剩余内存低于三级告警门限

·     CPU usage is in minor alarm state on slot xx cpu xx:槽位xx上CPU xx的使用率高于一级告警门限

·     CPU usage is in critical alarm state on slot xx cpu xx:槽位xx上CPU xx的使用率高于二级告警门限

·     Interface interface-name changed to DOWN state:接口Interface-name变为down状态

 

1.1.3  display alarm history

display alarm history命令用来显示设备告警历史信息。

【命令】

display alarm history [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

verbose:显示告警项的详细信息。不指定该参数时,显示概要信息。

【使用指导】

当设备运行异常时,使用display alarm命令可以查看到相应的告警信息。对于过去发生的、已经恢复的告警可以使用display alarm history命令查看;对于过去发生的、当前仍未恢复的告警可以使用display alarm active命令查看。

【举例】

# 显示设备告警历史信息。

<Sysname> display alarm history

Seq         Time                 Info

23          2020-01-11 12:40:00  CPU usage severe alarm cleared on slot 1 cpu 0.

22          2020-01-11 12:30:00  Memory usage severe alarm cleared on slot 1 cpu 0.

21          2020-01-11 12:30:00  Physical state of GigabitEthernet2/0/2 changed back to UP.

20          2020-01-11 12:30:00 Protocol state of GigabitEthernet2/0/2 changed back to UP.

表1-3 display alarm active命令显示信息描述表

字段

描述

Seq

告警序列号,告警发生时分配。

Level

告警的级别,级别由高到低依次为CRITICAL、MAJOR、MINOR、WARNING

Time

告警产生的时间

Info

告警的详细信息,涉及接口、CPU以及内存等运行异常,主要取值包括:

·     Memory usage is in minor alarm state on slot xx cpu xx:槽位xx上CPU xx的剩余内存低于一级告警门限

·     Memory usage is in severe alarm state on slot xx cpu xx:槽位xx上CPU xx的剩余内存低于二级告警门限

·     Memory usage is in critical alarm state on slot xx cpu xx:槽位xx上CPU xx的剩余内存低于三级告警门限

·     CPU usage is in minor alarm state on slot xx cpu xx:槽位xx上CPU xx的使用率高于一级告警门限

·     CPU usage is in critical alarm state on slot xx cpu xx:槽位xx上CPU xx的使用率高于二级告警门限

·     Interface interface-name changed to DOWN state:接口Interface-name变为down状态

 

# 显示设备告警历史信息详细内容。

<Sysname> display alarm history verbose

Seq 24

Alarm name: CPUUsageMajor

Alarm source: Slot 1 cpu 0

Level: MAJOR

Occurred at: 2020-01-11 12:30:00

  Info: CPU usage severe alarm occurred on state slot 1 cpu 0.

Cleared at: 2020-01-11 12:40:30

  Info: CPU usage severe alarm cleared on slot 1 cpu 0.

 

Seq 23

Alarm name: MemoryUsageMajor

Level: MAJOR

Alarm source: Slot 1 CPU 0

Occurred at: 2020-01-11 12:35:00

  Info: Memory usage severe alarm occurred on slot 1 cpu 0.

Cleared at: 2020-01-11 12:45:30

  Info: Memory usage severe alarm cleared on slot 1 cpu 0.

表1-4 display alarm history verbose命令显示信息描述表

字段

描述

Seq

告警序列号,告警发生时由系统自动分配

Alarm name

告警的名称

AlarmPosition

告警对象所在位置

Occurred at

告警发生时间

Level

告警的级别,级别由高到低依次为CRITICAL、MAJOR、MINOR、WARNING

Cleared at

告警恢复时间

Info

告警的详细信息

 

1.1.4  display cpu-usage

display cpu-usage命令用来显示CPU利用率的统计信息。

【命令】

display cpu-usage [ summary ] [ slot slot-number [ cpu cpu-number [ core { core-number | all } ] ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

summary:以列表形式显示CPU利用率的统计信息。不指定该参数时,以区段形式显示CPU利用率的统计信息。

slot slot-number:显示指定单板的CPU利用率的统计信息。slot-number表示单板所在的槽位号。不指定该参数时,显示的是所有单板的相应信息。

cpu cpu-number:显示指定CPU的利用率统计信息。cpu-number表示CPU的编号。

core { core-number | all }:显示CPU核利用率的统计信息。其中,all表示显示所有CPU核利用率的统计信息;core-number表示CPU核的编号,显示指定CPU核利用率的统计信息。

【使用指导】

当最近5秒、最近1分钟、最近5分钟的CPU利用率取值均显示为“--”时,可能原因为命令行从设备内部数据库获取数据失败,请稍候重试。

【举例】

# 以段的形式显示当前CPU利用率统计信息。

<Sysname> display cpu-usage

Slot 1 CPU 0 CPU usage:

       1% in last 5 seconds

       1% in last 1 minute

       1% in last 5 minutes

# 以表的形式显示当前CPU利用率统计信息。

<Sysname> display cpu-usage summary

Slot CPU        Last 5 sec        Last 1 min        Last 5 min

1    0          17%               29%               28%

表1-5 display cpu-usage命令显示信息描述表

字段

描述

1% in last 5 seconds

设备启动后,会以5秒为周期计算并记录一次该5秒内的CPU的平均利用率。该字段显示的是最近一个5秒统计周期内CPU的平均利用率

Last 5 sec         

设备启动后,会以5秒为周期计算并记录一次该5秒内的CPU的平均利用率。该字段显示的是最近一个5秒统计周期内CPU的平均利用率。如果Last 5 sec的取值为“--”,则表示不支持统计该信息

1% in last 1 minute

设备启动后,会以1分钟为周期计算并记录一次该1分钟内的CPU的平均利用率。该字段显示的是最近一个1分钟统计周期内CPU的平均利用率

Last 1 min

设备启动后,会以1分钟为周期计算并记录一次该1分钟内的CPU的平均利用率。该字段显示的是最近一个1分钟统计周期内CPU的平均利用率。如果Last 1 min的取值为“--”,则表示不支持统计该信息

1% in last 5 minutes

设备启动后,会以5分钟为周期计算并记录一次该5分钟内的CPU的平均利用率。该字段显示的是最近一个5分钟统计周期内CPU的平均利用率

Last 5 min

设备启动后,会以5分钟为周期计算并记录一次该5分钟内的CPU的平均利用率。该字段显示的是最近一个5分钟统计周期内CPU的平均利用率。如果Last 5 min的取值为“--”,则表示不支持统计该信息

 

1.1.5  display cpu-usage configuration

display cpu-usage configuration命令用来显示CPU监控功能的相关配置。

【命令】

display cpu-usage configuration [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,显示的是主用主控板上的相应信息。

cpu cpu-number:表示CPU的编号。

【举例】

# 显示CPU监控功能的相关配置。

<Sysname> display cpu-usage configuration

CPU usage monitor is enabled.

Current monitor interval is 60 seconds.

Current severe alarm threshold is 99%.

Current minor alarm threshold is 79%.

表1-6 display cpu-usage configuration命令显示信息描述表

字段

描述

CPU usage monitor is enabled.

CPU利用率历史记录功能处于开启状态

Current monitor interval is 60 seconds.

CPU利用率历史记录的采样周期为60秒

Current severe alarm threshold is 99%.

CPU利用率严重级别告警门限为99%

Current minor alarm threshold is 79%.

CPU利用率轻度级别告警门限为79%

【相关命令】

·     monitor cpu-usage enable

·     monitor cpu-usage interval

·     monitor cpu-usage threshold

1.1.6  display cpu-usage history

display cpu-usage history命令用来以图表方式显示CPU利用率的历史信息。

【命令】

display cpu-usage history [ job job-id ] [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

job job-id:显示指定进程的CPU利用率的历史信息。job-id表示进程的编号,取值范围为1~2147483647。不指定该参数时,显示的是整个系统的相应信息(整个系统的CPU利用率等于所有进程CPU利用率之和)。可以使用display process命令可以查看当前运行的进程的编号和名称,display process命令的详细介绍请参见“网络管理和监控命令参考”中的“系统维护与调试”。

slot slot-number:显示指定单板的CPU利用率的历史信息。slot-number表示单板所在的槽位号。当不指定job和该参数时,显示的是所有单板上所有进程的相应信息;当指定job参数,但不指定该参数时,显示的是主用主控板上指定进程的相应信息。

cpu cpu-number:显示指定CPU的利用率的历史信息。cpu-number表示CPU的编号。当不指定job和该参数时,表示所有CPU。当指定job参数,但不指定该参数时,表示默认CPU。

【使用指导】

开启CPU利用率历史记录功能后,系统每隔一定时间(可通过monitor cpu-usage interval命令配置)会对CPU的利用率进行采样,并把采样结果保存到历史记录区。通过display cpu-usage history命令可以查看到最近60个采样点的值。结果以坐标的形式进行显示,显示信息中:

·     纵坐标表示利用率,采用就近显示的原则。比如,利用率的间隔为5%,则实际统计值53%将被显示成55%,实际统计值52%将被显示成50%。

·     横坐标表示时间,时间越靠左表示距离当前时间越近。

·     用连续的#号表示该时刻的利用率,某个时间点上最高处的#号对应的纵坐标值即为该时刻CPU的利用率。

【举例】

# 以图表方式显示CPU利用率的历史记录。

<Sysname> display cpu-usage history

100%|

 95%|

 90%|

 85%|

 80%|

 75%|

 70%|

 65%|

 60%|

 55%|

 50%|

 45%|

 40%|

 35%|

 30%|

 25%|

 20%|

 15%|             #

 10%|            ###  #

  5%|           ########

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

              10        20        30        40        50        60  (minutes)

                      cpu-usage (Slot 1 CPU 0) last 60 minutes (SYSTEM)

以上显示信息表明系统(用“SYSTEM”表示,运行在Slot 1 CPU 0上)在最近60分钟内CPU的利用率情况:12分钟前大约为5%,13分钟前大约为10%,14分钟前大约为15%,15分钟前大约为10%,16、17分钟前大约为5%,18分钟前大约为10%,19分钟前大约为5%,其它时间均小于或等于2%。

【相关命令】

·     monitor cpu-usage enable

·     monitor cpu-usage interval

1.1.7  display device

display device命令用来显示设备硬件信息。

【命令】

display device [ flash | usb ] [ slot slot-number [ subslot subslot-number ] | verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

flash:显示Flash的信息。

usb:显示USB接口的信息。

slot slot-number:显示指定单板的信息。slot-number表示单板所在的槽位号。不指定该参数时,表示所有单板。

subslot subslot-number:显示指定子卡的信息。subslot-number表示子卡所在的子槽位号。不指定该参数时,不会显示子卡的信息。

verbose:显示设备的详细信息。不指定该参数时,显示设备的简要信息,且此时不会显示防火墙插卡的信息。

【使用指导】

不指定flashusb参数时,显示单板的硬件信息。

【举例】

# 显示设备硬件信息。

<Sysname> display device

Slot Type             State    Subslot  Soft Ver             Patch Ver          

0    LSXM1SUPER1      Master   0        S12508R-5202         None              

1    LSXM1SUPER1      Standby  0        S12508R-5202         None               

2    NONE             Absent   0        NONE                 None               

3    LSXM1CGQ48KBR1   Normal   0        S12508R-5202         None               

4    NONE             Absent   0        NONE                 None              

5    NONE             Absent   0        NONE                 None               

6    NONE             Absent   0        NONE                 None               

7    NONE             Absent   0        NONE                 None               

8    NONE             Absent   0        NONE                 None              

9    NONE             Absent   0        NONE                 None               

10   NONE             Absent   0        NONE                 None               

11   NONE             Absent   0        NONE                 None               

12   NONE             Absent   0        NONE                 None               

13   NONE             Absent   0        NONE                 None               

14   NONE             Absent   0        NONE                 None               

15   LSXM1SFK08FR1    Normal   0        S12508R-5202         None              

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

字段

描述

Type

单板的硬件类型

Status

单板状态:

·     Standby表示该板是备用主控板

·     Master表示该板是主用主控板

·     Absent表示该槽位没有插入单板

·     Fault表示该槽位单板出错,不能正常启动

·     Normal表示该槽位单板是接口板并处于正常工作状态

·     Offline-OLO表示该槽位网板处于隔离状态

Soft Ver

当前单板上运行的软件版本

Patch Ver

当前单板上运行的、最新发布的热补丁版本。取值为None时表示没有安装热补丁

若同时安装了叠加补丁和非叠加补丁,则显示最新发布的叠加补丁。关于叠加补丁和非叠加补丁的介绍请参见“基础配置指导”中的“软件升级”

 

1.1.8  display device manuinfo

display device manuinfo命令用来显示设备硬件的电子标签信息。

【命令】

display device manuinfo [ slot slot-number [ subslot subslot-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:显示指定单板的电子标签信息。slot-number表示单板所在的槽位号。不输入该参数时,显示所有单板的相应信息。

subslot subslot-number:显示指定子卡的电子标签信息。subslot-number表示子卡所在的子槽位号。不指定该参数时,不会显示子卡的信息。

【使用指导】

电子标签信息也可以称为永久配置数据或档案信息等,在硬件的调测(调试、测试)过程中被写入到设备的存储器件中,包括硬件的名称、生产序列号、MAC地址、制造商等信息。

【举例】

# 显示设备硬件的电子标签信息。

<Sysname> display device manuinfo

显示信息略……。

1.1.9  display device manuinfo chassis-only

display device manuinfo chassis-only命令用来显示背板的电子标签信息。

【命令】

display device manuinfo chassis-only

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示机框背板的电子标签信息。

<Sysname> display device manuinfo chassis-only

显示信息略……。

1.1.10  display device manuinfo fan

display device manuinfo fan命令用来显示风扇的电子标签信息。

【命令】

display device manuinfo fan fan-id

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

fan-id:表示设备上风扇的ID编号。

【举例】

# 显示指定风扇的电子标签信息。

<Sysname> display device manuinfo fan 1

显示信息略……。

1.1.11  display device manuinfo power

display device manuinfo power命令用来显示电源的电子标签信息。

【命令】

display device manuinfo power power-id

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

power-id:表示设备上电源的ID编号。

【举例】

# 显示指定电源的电子标签信息。

<Sysname> display device manuinfo power 1

显示信息略……。

1.1.12  display environment

display environment命令用来显示设备上温度传感器的温度信息。

【命令】

display environment [ slot slot-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:显示设备中指定单板上的温度传感器的温度信息。slot-number表示单板所在的槽位号。不指定该参数时,显示所有单板的对应信息。

【使用指导】

不指定slot参数时,显示的是设备上所有温度传感器的温度信息。

【举例】

# 显示设备上所有温度传感器的温度信息。

<Sysname> display environment

System temperature information (degree centigrade):                           

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

 Slot  Sensor    Temperature  Lower  Warning  Alarm  Shutdown                  

 1     hotspot 1 26           0      75       90     95                        

 1     hotspot 2 49           0      88       96     104                       

 1     hotspot 3 49           0      75       90     95                         

 1     hotspot 4 28           0      88       96     104                       

 1     hotspot 5 31           0      75       90     95                        

 1     hotspot 6 25           0      88       96     104                        

 1     chip    0 38           0      60       60     90                        

 1     cpu     1 21           0      102      102    NA                        

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

字段

描述

System Temperature information (degree centigrade)

系统温度信息,单位为摄氏度

sensor

温度传感器

·     hotspot:表示热点温度传感器

·     cpu:表示cpu温度传感器

·     chip:表示芯片温度传感器

Slot

当显示数字时表示指定slot上温度传感器的温度信息;当显示Vent时表示位于机框、风扇框上的温度传感器的温度信息

Temperature

当前温度

Lower

低温告警门限。当显示为NA时,表示不支持该门限

Warning

一般级(Warning)高温告警门限。当显示为NA时,表示不支持该门限

Alarm

严重级(Alarm)高温告警门限。当显示为NA时,表示不支持该门限

Shutdown

关断级(Shutdown)高温告警门限,当温度传感器的温度大于该门限时,设备会自动关闭。当显示为NA时,表示不支持该门限

 

1.1.13  display fan

display fan命令用来显示风扇的工作状态。

【命令】

display fan [ fan-id ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

fan-id:表示设备内置风扇的编号。不指定该参数时,表示指定位置的所有风扇。

【举例】

# 显示设备上所有风扇的工作状态。

<Sysname> display fan

Fan-tray 1:                                                                   

 Status    : Normal                                                            

 Fan Type  : LSXM108XFAN                                                        

 Fan number: 3                                                                 

 Fan mode  : Auto                                                              

 Airflow Direction: Fan-Panel-Exhaust                                           

 Fan  Speed(rpm)                                                               

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

  1   4615                                                                      

  2   4705                                                                     

  3   4589                                                                     

 Fan-tray 2:                                                                   

 Status    : Normal                                                            

 Fan Type  : LSXM108XFAN                                                       

 Fan number: 3                                                                 

 Fan mode  : Auto                                                              

 Airflow Direction: Fan-Panel-Exhaust                                          

 Fan  Speed(rpm)                                                                

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

  1   4749                                                                     

  2   4649                                                                      

  3   4560                                                                     

                                                                               

---- More ----                                                                  

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

字段

描述

Fan-tray

风扇框编号

Status

风扇框状态:

·     Absent:风扇不在位

·     Normal:风扇正常工作

·     Fault:风扇故障

Fan Type

风扇框型号

Fan number

风扇数量

Fan mode

风扇框模式

Airflow Direction

风扇模块的实际风道方向:

·     Fan-Panel-Exhaust:风扇面板侧出风

·     Fan-Panel-Intake:风扇面板侧进风

Fan  Speed(rpm)

风扇转速

1.1.14  display fdisk-flash

display fdisk-flash命令用来显示磁盘分区信息。

说明

仅R5212P01及以上版本支持本命令。

 

【命令】

display fdisk-flash slot slot-id

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

slot slot-id:表示框式设备主控板所在的槽位号。

【举例】

# 显示磁盘分区信息。

<sysname> display fdisk-flash slot 0

New partition mode on slot 0 size 2GB

1.1.15  display hardware-failure-detection

display hardware-failure-detection命令用来显示设备的硬件故障检测和修复信息。

【命令】

display hardware-failure-detection

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【使用指导】

display hardware-failure-detection命令用来显示设备的硬件故障检测和修复信息,包括各种故障对应的修复操作,以及系统中每个单板最近十次故障修复的历史信息。

硬件故障检测和修复的历史信息保存在主用主控板上,即使某个槽位单板已拔出或者更换过,只要在主用主控板上已经保存,都可以通过display hardware-failure-detection命令显示出来。当主用主控板插拔或断电重启后,硬件故障检测和修复信息将会丢失。

【举例】

# 查看设备的硬件故障检测和故障修复信息。

<Sysname> display hardware-failure-detection

Current level:

    chip       : isolate

    board      : isolate

    forwarding : warning

Recent record:

--------------------------Slot  0 executed records:-----------------------------

                 There is no record.

--------------------------Slot  0 trapped records:-----------------------------

                 There is no record.

表1-10 display hardware-failure-detection命令显示信息描述表

字段

说明

Current level

当前故障检测对应的修复操作

chip       :

器件类故障对应的修复操作

board      :

单板类故障对应的修复操作

forwarding :

转发类故障对应的修复操作

Recent record:

最近记录

Slot  n executed records:

主控板n上记录的各个单板的历史操作记录

Slot  n trapped records:

主控板n上记录的各个单板的trap告警信息

 

1.1.16  display hardware-resource acl-hash

display hardware-resource acl-hash命令用来显示ACL哈希模式的状态

【命令】

display hardware-resource acl-hash

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示ACL哈希模式的状态。

<Sysname> display hardware-resource acl-hash

 

acl-hash mode(acl-hash), all supported modes:

  disable       Disable ACL hash mode with hash result calculated by the chip

  enable        Enable ACL hash mode with hash result caculated by the ACL

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

  Default       Current       Next

  disable       disable       disable

1.1.17  display hardware-resource mdb

display hardware-resource mdb命令用来显示硬件资源的分配模式

【命令】

display hardware-resource [ mdb ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【使用指导】

不指定mdb参数时,表示显示所有硬件资源的运行模式。

【举例】

# 显示MAC地址表、ARP表、路由表硬件资源的分配模式。

<Sysname> display hardware-resource mdb

 

MDB resource(mdb), all supported modes:

  normal        The normal  mode:MAC 506K, ARP 88K, route 1.5M

  routing       The routing mode:MAC 155K, ARP 98K, route 2.5M

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

  Default       Current       Next

  routing       routing       routing

1.1.18  display hardware-resource bfd_enhance

display hardware-resource bfd_enhance命令用来显示BFD优化功能的状态

【命令】

display hardware-resource [ bfd_enhance ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示BFD优化功能的状态。

<Sysname> display hardware-resource bfd_enhance

                                                                               

bfd_enhance mode(bfd_enhance), all supported modes:                            

  disable       The disable bfd enhance                                        

  enable        The enable bfd enhance                                         

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

  Default       Current                                                        

  enable        enable                                                         

1.1.19  display hardware-resource opttask-delay

display hardware-resource opttask-delay命令用来显示MACsec单板端口识别延迟配置。

【命令】

display hardware-resource opttask-delay

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示MACsec单板端口识别延迟配置。

<Sysname> display hardware-resource opttask-delay

opt task delay mode :

 slot  2 : enable

 slot  3 : enable

 slot  4 : disable

 slot  5 : enable

 slot  6 : enable

 slot  7 : enable

 slot  8 : enable

 slot  9 : enable

1.1.20  display hardware-resource port-speed

display hardware-resource port-speed命令用来显示LSXM1CGQ72KCR1单板的端口速率工作模式。

【命令】

display hardware-resource [ port-speed ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示LSXM1CGQ72KCR1单板的端口速率工作模式。

<Sysname> display hardware-resource port-speed

 

Set card port speed module,only effect for LSXM1CGQ72KCR1 card(port-speed), all

supported modes:                                                               

  low           low speed module,72*100GB avilable ports                        

  high          high speed module, 36*200GB avilable ports                     

  mix           mix speed module, 36*100GB and 18*200GB avilable ports         

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

  Slot Module                                                                  

     2 low                                                                     

     3 low                                                                     

     4 low                                                                     

     5 low                                                                     

     6 low                                                                     

     7 low                                                                      

     8 low                                                                     

     9 low                                                                     

1.1.21  display hardware-resource scd-port-speed

display hardware-resource scd-port-speed命令用来显示LSXM1TGS24C1接口模块扩展卡的端口速率工作模式。

【命令】

display hardware-resource [ scd-port-speed ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示LSXM1TGS24C1接口模块扩展卡的端口速率工作模式。

<Sysname>display hardware-resource scd-port-speed                              

                                                                               

Set subcard port speed module,only effect for LSXM1TGS24C1 subcard(scd-port-spee

d), all supported modes:                                                       

  low           subcard low speed module, 10GB avilable ports                  

  high          subcard high speed module, 25GB avilable ports                 

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

  Slot Module                                                                  

     2 low                                                                     

1.1.22  display hardware-resource smartman

display hardware-resource smartman命令用来显示端口的licence生效状态

【命令】

display hardware-resource [ smartman ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示端口的licence生效状态。

<Sysname> display hardware-resource smartman

                                                                               

smartman mode(smartman), all supported modes:                                  

  disable       The disable smartman mode                                      

  enable        The enable smartman mode                                       

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

  Default       Current       Next                                             

  disable       disable       disable  

1.1.23  display hardware-resource synce

display hardware-resource synce命令用来显示单板synce功能的生效状态。

说明

LSXM1CGMS48KBR1单板不支持本命令。

【命令】

display hardware-resource synce

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示单板synce功能的生效状态。

<Sysname> display hardware-resource synce                                       

synce mode(synce),all supported modes:                                          

disable The disable synce mode                                                  

enable The enable synce mode                                                    

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

  Default       Current       Next                                             

  disable       disable       disable                                          

1.1.24  display hardware-resource telemetry-stream

display hardware-resource telemetry-stream命令用来显示Telemetry Stream采集报文中的入接口索引类型。

说明

仅R5212P06及以上版本支持本功能。

 

【命令】

display hardware-resource telemetry-stream

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示Telemetry Stream采集报文中的入接口索引类型。

<Sysname> display hardware-resource telemetry-stream                            

telemetry-stream, all supported modes:                                         

link-aggregation-memberports   The trunk members are mapped to the ifindex of th

e physical port in the telemetry stream.                                       

link-aggregation               The trunk members are mapped to the ifindex of th

e trunk in the telemetry stream.                                               

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

  Default                            Current                                   

  link-aggregation                   link-aggregation

1.1.25  display memory

display memory命令用来显示内存使用情况。

【命令】

display memory [ summary ] [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

summary:显示内存使用情况的简要信息。不指定该参数时,显示内存使用情况的详细信息。

slot slot-number:表示单板所在的槽位号,不指定时显示当前所有单板的内存使用情况。

cpu cpu-number:表示CPU编号。

【使用指导】

当显示信息中某一行所有参数的取值均显示为“--”时,可能原因为命令行从设备内部数据库获取数据失败,请稍候重试。

【举例】

# 显示设备的内存使用情况的详细信息。

<Sysname> display memory

Memory statistics are measured in KB:

Slot 0:

             Total      Used      Free    Shared   Buffers    Cached   FreeRatio

Mem:      16335164   4145632  12189532         0      8596   2472508       77.5%

-/+ Buffers/Cache:   1664528  14670636

Swap:            0         0         0

 

Container memory statistics are measured in KB:

Slot 0:

             Total      Used      Free  UsageRatio

Mem:      16335164   2357588  12189532       14.4%

# 显示设备的内存使用情况的简要信息。

<Sysname> display memory summary

Memory statistics are measured in KB:

Slot CPU        Total      Used      Free  Buffers    Caches FreeRatio

   0   0     16335164   4144720  12190444     8596   2472508     77.5%

 

Container memory statistics are measured in KB:

Slot CPU        Total      Used      Free  UsageRatio

   0   0     16335164   2358048  12190444       14.4%   

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

字段

描述

Memory statistics are measured in KB:

物理设备中内存使用情况,以下统计信息均以KB为单位

Mem

内存使用信息

Total

系统可分配的物理内存的大小

设备总物理内存分为不可分配物理内存和可分配物理内存。其中,不可分配物理内存用于内核代码段存储、内核管理开销等;可分配物理内存用于支撑业务模块的运行、文件存储等操作。不可分配内存的大小由设备根据系统运行需要自动计算划分,可分配物理内存的大小等于设备总物理内存减去不可分配内存的大小

Used

整个系统已用的物理内存大小

Free

整个系统可用的物理内存大小

Shared

多个进程共享的物理内存总额。取值为“--”时,表示不支持统计该参数的值

Buffers

已使用的文件缓冲区的大小。取值为“--”时,表示不支持统计该参数的值

Cached

高速缓冲寄存器已使用的内存大小。取值为“--”时,表示不支持统计该参数的值

Caches

高速缓冲寄存器已使用的内存大小

FreeRatio

整个系统物理内存的空闲率

-/+ buffers/cache

-/+ Buffers/Cache:used = Mem:Used – Mem:Buffers – Mem:Cached,表示应用程序已用的物理内存大小

-/+ Buffers/Cache:free = Mem:Free + Mem:Buffers + Mem:Cached,表示应用程序可用的物理内存大小

Swap

交换分区的使用信息

LowMem

低端内存使用信息

HighMem

高端内存使用信息

Container memory statistics are measured in KB

Comware容器对内存的使用情况,包括:

·     Total:Comware容器总共可分配的物理内存的大小,单位为KB

·     Used:Comware容器已使用的物理内存的大小,单位为KB

·     Free:Comware容器可用的物理内存的大小,单位为KB

·     UsageRatio:Comware容器对物理内存的使用率

 

1.1.26  display memory dma

display memory dma命令用来显示DMA内存的使用情况。

【命令】

display memory dma [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号,不指定本参数,则表示显示所有单板。

cpu cpu-number:表示CPU的编号。

【使用指导】

仅R5212及以上版本支持本命令。

【举例】

# 显示DMA内存使用相关信息。

<System> display memory dma slot 0

DMA memory statistics measured in KB on slot 0:                                

Total        Used         Free         FreeRatio                               

4177920      2434892      1743028      42%                                     

表1-12 display memory dma 命令显示信息描述表

字段

描述

DMA memory statistics measured in KB

系统使用DMA内存情况,单位为KB

Total

内存分片的总个数,为Free和Used之和

Used

系统已使用的DMA内存大小

Free

系统可使用的DMA内存大小

FreeRatio

Free与Total的比率,可以反映系统DMA内存的空闲率

 

1.1.27  display memory-threshold

display memory-threshold命令用来显示内存告警门限相关信息。

【命令】

display memory-threshold [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示主用主控板。

cpu cpu-number:表示CPU编号。

【使用指导】

当设备已经使用的物理内存大小超过内存某个告警门限阈值时,系统会认为发生了一次该类型内存异常,并记录第一次、最近一次发生异常的时间,以及这段时间内发生的该类异常的次数。如果想了解该类异常的详细情况,请查看日志信息,可按日志摘要关键字“MEM_EXCEED_THRESHOLD”或“MEM_BELOW_THRESHOLD”进行搜索。

【举例】

# 显示内存告警门限相关信息。

<Sysname> display memory-threshold

Memory usage threshold: 100%

Free memory threshold:

    Minor: 1024M

    Severe: 768M

    Critical: 512M

    Normal: 1280M

    Early-warning: 0M

    Secure: 0M

Current memory state: Normal

Event statistics:

 [Back to normal state]

    First notification: 0.0

    Latest notification: 0.0

    Total number of notifications sent: 0

 [Enter minor low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Back to minor low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Enter severe low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Back to severe low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Enter critical low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

表1-13 display memory-threshold命令显示信息描述表

字段

描述

Memory usage threshold

内存利用率阈值

Free-memory thresholds

    Minor

    Severe

    Critical

    Normal

    Early-warning

    Secure

剩余内存门限阈值:

·     Minor:一级告警门限,单位为MB

·     Severe:二级告警门限,单位为MB

·     Critical:三级告警门限,单位为MB

·     Normal:恢复到正常状态的阈值,单位为MB

·     Early-warning:预警门限,单位为MB

·     Secure:恢复预警门限状态的阈值,单位为MB

Current free-memory state

系统当前内存使用状态:

·     Normal:正常状态

·     Minor:一级告警门限状态

·     Severe:二级告警门限状态

·     Critical:三级告警门限状态

·     Normal (early-warning):预告警状态

·     Normal (secure):安全状态

Free-memory event statistics:

门限事件统计信息,事件分为:

·     Back to secure state:恢复到预警前的状态

·     Entered early-warning state:进入预告警门限状态

·     Back to normal state:内存恢复到正常状态

·     Entered minor alarm state:进入一级告警门限状态

·     Back to minor alarm state:恢复到一级告警前的状态

·     Entered severe alarm state:进入二级告警门限状态

·     Back to severe alarm state:恢复到二级告警前的状态

·     Entered critical alarm state:进入三级告警门限状态

First notification at

事件第一次发生的时间,格式yyyy-mm-dd hh:mm:ss.msec

Latest  notification at

事件最近一次发生的时间,格式yyyy-mm-dd hh:mm:ss.msec

Total number of notification send

事件发生的总次数

 

1.1.28  display memory-threshold dma

display memory-threshold dma命令用来显示DMA内存告警相关信息。

【命令】

display memory-threshold dma [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号,不指定本参数,则表示指定主用主控板。

cpu cpu-number:表示CPU的编号。

【使用指导】

仅R5212及以上版本支持本命令。

【举例】

# 显示DMA内存告警相关信息。

<Sysname> display memory-threshold dma

Free DMA memory thresholds:                                                    

    Critical: 2048KB                                                           

    Normal: 4096KB                                                             

Current DMA memory state: Normal                                               

Free memory event statistics:                                                  

 [Back to normal state]                                                         

    First notification: 0.0                                                    

    Latest notification: 0.0                                                   

    Total number of notifications sent: 0                                      

 [Entered to critcal state]                                                    

    First notification: 0.0                                                    

    Latest notification: 0.0                                                   

    Total number of notifications sent: 0                                      

表1-14 display memory-threshold dma 命令显示信息描述表

字段

描述

Free DMA memory thresholds:

    Critical:

    Normal:

DMA内存告警阈值(单位为KB):

·     Critical:告警阈值

·     Normal:告警恢复阈值

Current DMA memory state

DMA内存的当前状态:

·     Critical:告警状态

·     Normal:正常状态

Free memory event statistics:

告警事件统计信息,事件分为:

·     Back to normal state:内存恢复到正常状态

·     Entered to critcal state:进入告警状态

First notification

告警事件第一次发生的时间,格式yyyy-mm-dd hh:mm:ss.msec

Latest notification

告警事件最近一次发生的时间,格式yyyy-mm-dd hh:mm:ss.msec

Total number of notifications sent

告警事件发生的总次数

 

1.1.29  display power

display power命令用来显示设备电源的信息。

【命令】

display power [ power-id ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

power-id:表示电源模块的编号。不指定该参数时,表示指定位置的所有电源。

【举例】

# 显示设备电源的简要信息。

<Sysname> display power

Power supply policy     : Enabled                                             

 Surplus sleeping        : Disabled                                            

 Power modules installed : 2                                                   

 Power modules usable    : 2                                                   

 Total power             : 4800W                                               

 Redundant power         : 0W                                                  

 Sleeping  power         : 0W                                                  

 Available power         : 4800W                                               

 Allocated power         : 1633W                                               

 Remaining power         : 3167W                                               

                                                                                

 PowerID State     InPower(W)  Current(A)  Voltage(V)  OutPower(W)     Type    

   Input                                                                       

  1      Normal      2400        4.00        53.78       215.12     PSR2400-54A

    AC                                                                         

  2      Normal      2400        1.50        53.76        80.64     PSR2400-54A

    AC                                                                          

  3      Absent       --          --          --           --          ---     

    --                                                                         

  4      Absent       --          --          --           --          ---     

    --                                                                         

  5      Absent       --          --          --           --          ---     

    --                                                                          

  6      Absent       --          --          --           --          ---     

    --                                                                         

  7      Absent       --          --          --           --          ---     

    --                                                                         

  8      Absent       --          --          --           --          ---     

    --                                                                          

                                                                               

 Information about reserved power:                                             

                                                                                

  Slot  Status  Power(W)   Remarks                                             

   0    Normal     55      Powered on                                          

   1    Absent     55      Reserved for MPU                                    

   3    Normal    577      Powered on                                          

  14    Normal    156      Powered on                                          

                                                                               

 Power information for fans:                                                   

  Fan[1]: 390W                                                                 

  Fan[2]: 390W                                                                 

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

字段

描述

Power supply policy

电源管理功能的状态,取值为:

·     Enabled:表示电源管理功能处于开启状态

·     Disabled:表示电源管理功能处于关闭状态

Surplus sleeping

电源睡眠功能的状态,取值为:

·     Enabled:表示电源睡眠功能处于开启状态

·     Disabled:表示电源睡眠功能处于关闭状态

Power modules installed

设备已安装电源模块的数量

Power modules usable

设备已使用电源模块的数量:处于Normal和Sleeping状态的电源模块数量

Total power

电源模块总功率,单位为瓦

Redundant power

冗余电源功率,单位为瓦

Sleeping power

睡眠电源功率,单位为瓦

Available power

设备的满载功率,即系统中所有模块的最大功率之和,单位为瓦

Allocated power

设备已使用的电源功率,单位为瓦

Remaining power

设备剩余的电源功率,单位为瓦

PowerID

设备上的电源模块编号

State

电源模块的状态

·     Absent:电源不在位

·     Normal:电源正常工作

·     Fault:电源故障

·     Sleeping:电源处于睡眠状态

InPower(W)

电源输入功率,单位为瓦,显示为“--”表示设备暂不支持统计该信息

Current(A)

电源输出电流,单位为安,显示为“--”表示设备暂不支持统计该信息

Voltage(V)

电源输出电压,单位为伏,显示为“--”表示设备暂不支持统计该信息

OutPower(W)

电源输出功率,单位为瓦,显示为“--”表示设备暂不支持统计该信息

Type

电源模块型号,显示为“--”表示设备暂不支持统计该信息

Information about reserved power

单板预留的功率信息

Slot

设备单板的槽位编号

Status

单板的状态

·     Absent:表示单板不在位

·     Normal:表示单板已正常启动

·     Fault:表示单板状态异常,可能是还没有启动或者故障

Power(W)

单板预留的功率,单位为瓦

Remarks

单板预留功率的描述,取值为:

·     Reserved for MPU:表示为主控板预留

·     Powered on:表示正常上电

·     Not enough power to power it on:表示没有足够的功率给单板预留

·     Reserved for a non-MPU card:表示为单板预留

·     Powered off:表示单板被强制下电

Power information for fans

设备风扇预留的功率信息

Fan[x]

设备风扇编号

 

1.1.30  display resource-monitor

display resource-monitor命令用来显示资源监控功能的相关信息。

【命令】

display resource-monitor [ resource resource-name ] [ slot slot-number [ cpu cpu-number ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

resource resource-name:需要监测的资源的名称。参数的取值请参见表1-32

slot slot-number:显示指定单板的资源告警事件通知功能的相关信息。slot-number表示单板所在的槽位号。不指定该参数时,则表示所有单板。

cpu cpu-number:显示指定CPU的资源告警事件通知功能的相关信息。cpu-number表示需要检测的资源所在CPU的编号。

【举例】

# 显示ARP资源监控的相关信息。

<Sysname> display resource-monitor resource arp

Minor alarms resending: Enabled

 

Slot 1:

Resource                         Minor Severe Free/Total

                                 (%)   (%)    (absolute)

arp                              50    20     90095/90098

表1-16 display resource-monitor命令显示信息描述表

字段

描述

Minor alarms resending

周期发送低级别资源告警通知功能的开启状态:

·     Enabled:表示该功能已开启

·     Disabled:表示该功能未开启

Resource

监控资源的名称

Minor

(%)

低级别告警门限,单位为百分比

Severe

(%)

高级别门限,单位为百分比

Free/Total

(absolute)

剩余资源的数量/该资源的总数,用绝对值形式表示

 

【相关命令】

·     resource-monitor minor resend enable

·     resource-monitor resource

1.1.31  display transceiver active-control

display transceiver active-control命令用于显示可插拔400G光模块的当前运行参数。

【命令】

display transceiver active-control interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔400G光模块的当前运行参数。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的可插拔400G光模块的当前运行参数。

<Sysname> display transceiver active-control interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver active-control setting information:

Current working mode     :400G-SR8

  Lane   LowestHostLane   RxPre-Cursor    RxPost-Cursor   RxAmplitude

  Lane1  Lane1            0.5 dB          1 dB            100-400 mV

  Lane2  Lane1            0.5 dB          1 dB            100-400 mV

  Lane3  Lane1            0.5 dB          1 dB            100-400 mV

  Lane4  Lane1            0.5 dB          1 dB            100-400 mV

  Lane5  Lane5            0.5 dB          1 dB            100-400 mV

  Lane6  Lane5            0.5 dB          1 dB            100-400 mV

  Lane7  Lane5            0.5 dB          1 dB            100-400 mV

  Lane8  Lane5            0.5 dB          1 dB            100-400 mV

表1-17 display transceiver active-control命令显示信息描述表

字段

描述

interface-name transceiver active-control setting information

接口interface-name上插入的可插拔400G光模块的当前运行参数

Current working mode

光模块当前使用的工作模式

Lane

光模块当前使用的通道

LowestHostLane

光模块当前使用通道所在组中最小的通道号

RxPre-Cursor

本端作为接收端时的Pre-Cursor参数

RxPost-Cursor

本端作为接收端时的Post-Cursor参数

RxAmplitude

本端作为接收端时的输出幅值参数

 

1.1.32  display transceiver advertising

display transceiver advertising命令用来显示可插拔400G光模块支持的能力。

【命令】

display transceiver advertising interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔400G光模块支持的能力。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的可插拔400G光模块支持的能力。

<Sysname> display transceiver advertising interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver advertising information:

  CMIS Revision                      : 3.0

  Versatile Diagnostic Monitoring    : YES

  Tx clock recovery capabilities     : Tx input lanes 1-4 and 5-8 to be in separate Tx synchronous groups

  Max Tx Input Eq(dB)                : 9

  Max Rx Output Eq Pre-cursor(dB)    : 1.5

  Max Rx Output Eq Post-cursor(dB)   : 3

  Tx disable implemented             : YES

  Tx Force Squelch implemented       : YES

  Tx Squelch implemented             : NO

  Tunable transmitter                : YES

  Tx bypass CDR implemented          : YES

  Rx bypass CDR implemented          : YES

  Tx Input Eq Adaptive               : YES

  CDB implemented                    : NO

表1-18 display transceiver advertising命令显示信息描述表

字段

描述

interface-name transceiver advertising information

接口interface-name上插入的可插拔400G光模块的功能支持能力信息

CMIS revision

QSFP-DD CMIS的版本,取值为3.0或者4.0

Versatile diagnostic monitoring

诊断监控能力,取值为:

·     Yes:支持

·     No:不支持

Tx clock recovery capabilities

本端作为发送端时的时钟恢复能力,取值为:

·     All Tx input lanes to be in a single Tx synchronous group:表示所有Lane共用同一个时钟恢复

·     Tx input lanes 1-4 and 5-8 to be in separate Tx synchronous groups:表示Lane 1~4和Lane 5~8各用同一个时钟恢复

·     Tx input lanes 1-2, 3-4, 5-6, 7-8 to be in separate Tx synchronous groups:表示Lane1和2、3和4、5和6、7和8各用一个时钟恢复

·     Each Tx input lane to be in a separate Tx synchronous group:表示每个Lane有一个时钟恢复

Max Tx input Eq (dB)

本端作为发送端时的最大均衡能力

Max Rx output Eq pre-cursor (dB)

最大可支持的Rx Output Eq Pre-cursor

Max Rx output Eq post-cursor (dB)

最大可支持的Rx Output Eq Post-cursor

Tx disable implemented

Tx disable功能,取值为:

·     Yes:支持

·     No:不支持

Tx Force Squelch implemented

Tx强制Squelch功能,取值为:

·     Yes:支持

·     No:不支持

Tx Squelch implemented

Tx Squelch功能,取值为:

·     No:不支持

·     OMA:基于OMA实现

·     Pave:基于平均光功率实现

·     Both:基于OMA实现和基于平均光功率实现都支持

Tunable transmitter

是否为可调谐模块,取值为:

·     Yes:是

·     No:否

Tx bypass CDR implemented

本端作为发送端时的CDR旁路功能,取值为:

·     Yes:支持

·     No:不支持

Rx bypass CDR implemented

本端作为接收端时的CDR旁路功能,取值为:

·     Yes:支持

·     No:不支持

Tx input Eq adaptive

本端作为发送端时的输入是否为自适应均衡,取值为:

·     Yes:是

·     No:否

CDB implemented

CDB功能,取值为:

·     No:不支持

·     One instance of CDB:支持一个CDB实例

·     Two instances of CDB:支持两个CDB实例

·     Unknown:未知状态

 

1.1.33  display transceiver alarm

display transceiver alarm命令用来显示可插拔接口模块的当前故障告警信息。

【命令】

display transceiver alarm interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔接口模块的当前故障告警信息。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【使用指导】

目前,使用的可插拔接口模块可能出现的故障告警信息见“display transceiver alarm命令输出信息描述表”。如果没有故障,则显示为None。

表1-19 SFP/SFP+的display transceiver alarm命令输出信息描述表

字段

描述

RX loss of signal

接收信号丢失

RX power high

接收光功率高

RX power low

接收光功率低

TX fault

发送错误

TX bias high

偏置电流高

TX bias low

偏置电流低

TX power high

发送光功率高

TX power low

发送光功率低

Temp high

温度高

Temp low

温度低

Voltage high

电压高

Voltage low

电压低

Transceiver info I/O error

模块信息读写错误

Transceiver info checksum error

模块信息校验和错误

Transceiver type and port configuration mismatch

模块类型和端口配置不匹配

Transceiver type not supported by port hardware

端口不支持该模块类型

TEC fault

TEC(Thermoelectric Cooler,热点冷却器)错误。仅SFP-XG-LH80-Tunable光模块支持显示该信息

Wavelength unlocked

光信号波长失锁。仅SFP-XG-LH80-Tunable光模块支持显示该信息

Tx is not ready due to tuning

光信号波长改变时发射端处于准备过程状态告警。仅SFP-XG-LH80-Tunable光模块支持显示该信息

表1-20 QSFP+/QSFP28的display transceiver alarm命令输出信息描述表

字段

描述

Temp high

温度高

Temp low

温度低

Voltage high

电压高

Voltage low

电压低

RX signal loss in channel x

通道x接收到的信号丢失

TX fault in channel x

通道x发送报文时出错

TX signal loss in channel x

通道x发送的信号丢失

RX power high in channel x

通道x接收到的光的功率太高

RX power low in channel x

通道x接收到的光的功率太低

TX bias high in channel x

通道x的偏置电流高

TX bias low in channel x

通道x的偏置电流低

Transceiver info I/O error

模块读写错误

Transceiver info checksum error

模块信息校验和错误

Transceiver type and port configuration mismatched

模块类型和端口配置不匹配

Transceiver type not supported

端口不支持该类型的模块

表1-21 QSFP-DD光模块的display transceiver alarm命令输出信息描述表

字段

描述

Data path firmware fault

数据通道固件错误

Module firmware fault

模块固件错误

Module state changed

模块状态改变

Data path state changed in channel x

通道x的数据路径状态改变

TX loss in channel x

通道x的发送信号丢失

TX CDR LOL in channel x

通道x的TX 时钟和数据恢复失锁

TX input eq fault in channel x

通道x的TX输入均衡错误

RX CDR LOL in channel x

通道x的RX 时钟和数据恢复失锁

Loss of reference clock

基准时钟丢失

L-host pattern generator LOL in channel x

通道x的主机端码型发生器失锁

L-media pattern generator LOL in channel x

通道x的介质端模式发生器失锁

L-host pattern checker LOL in channel x

通道x的主机端码型检查器失锁

L-media pattern checker LOL in channel x

通道x的介质端模式检查器失锁

TEC Current high

制冷器工作电流/制冷器的额定电流高告警

TEC Current low

制冷器工作电流/制冷器的额定电流低告警

Laser Temperature high

激光器温度高告警

Laser Temperature low

激光器温度低告警

Temp high warning

模块温度高预警

Temp low warning

模块温度低预警

Voltage high warning

模块电压高预警

Voltage low warning

模块电压低预警

RX power high warning(channel x)

通道x的接收功率高预警

RX power low warning(channel x)

通道x的接收功率低预警

TX power high warning(channel x)

通道x的发送功率高预警

TX power low warning(channel x)

通道x的发送功率低预警

TX bias high warning(channel x)

通道x的发送电流高预警

TX bias low warning(channel x)

通道x的发送电流低预警

TEC Current high warning

制冷器工作电流/制冷器的额定电流高预警

TEC Current low warning

制冷器工作电流/制冷器的额定电流低预警

Laser Temperature high warning

激光器温度高预警

Laser Temperature low warning

激光器温度低预警

VDM: Laser temperature high alarm

VDM(Versatile diagnostics monitoring,多功能诊断监控)中的激光器温度高告警

VDM: Laser temperature low alarm

VDM中的激光器温度低告警

VDM: Host current pre-FEC BER high alarm(channel x)

VDM中通道x主机侧前向纠错误码率高告警

VDM: Host current pre-FEC BER low alarm(channel x)

VDM中通道x主机侧前向纠错误码率低告警

VDM: Media current pre-FEC BER high alarm(channel x)

VDM中通道x介质侧前向纠错误码率高告警

VDM: Media current pre-FEC BER low alarm(channel x)

VDM中通道x介质侧前向纠错误码率低告警

VDM: Media current pre-FEC BER high warning(channel x)

VDM中通道x介质侧前向纠错误码率高预警

VDM: Media current pre-FEC BER low warning(channel x)

VDM中通道x介质侧前向纠错误码率低预警

VDM: RX Total Power high alarm(channel 1)

VDM中通道1接收总功率高告警

VDM: RX Total Power low alarm(channel 1)

VDM中通道1接收总功率低告警

VDM: RX Total Power high warning(channel 1)

VDM中通道1接收总功率高预警

VDM: RX Total Power low warning(channel 1)

VDM中通道1接收总功率低预警

Media-side Rx Loss of Frame

介质侧接收丢失的帧数

Media-side Rx Loss of Multi-Frame

介质侧接收丢失的多帧数

VDM: CFO high alarm

VDM中CFO(Carrier Frequency Offset载波频率偏移)高告警

VDM: CFO low alarm

VDM中CFO低告警

【举例】

# 显示接口HundredGigE1/0/1上插入的可插拔接口模块的当前故障告警信息。

<Sysname> display transceiver alarm interface hundredgige 1/0/1

HundredGigE1/0/1 transceiver current alarm information:

  RX loss of signal

  RX power low

表1-22 display transceiver alarm显示信息描述表

字段

描述

transceiver current alarm information

接口光模块当前故障告警信息

RX loss of signal

接收信号丢失

RX power low

接收光功率低告警

 

1.1.34  display transceiver application

display transceiver application命令用来显示可插拔400G光模块支持的应用及相关信息。

【命令】

display transceiver application interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔400G光模块支持的应用及相关信息。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的可插拔400G光模块支持的应用及相关信息。

<Sysname> display transceiver application interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver application information:

ApSel code:0001b

     Host Electrical Interface code     Module Media Interface Code

     400GAUI-8 C2M                      400G-SR8

     Host Lane Count                    Media Lane Count

     8                                  8

     The Lowest host Lane               The Lowest media lane

     1                                  1

ApSel Code: 0010b

     Host Electrical Interface code     Module Media Interface Code

     IB EDR                             Undefined

     Host Lane Count                    Media Lane Count

     8                                  8

     The Lowest host Lane               The Lowest media lane

     1                                  1

表1-23 display transceiver application命令显示信息描述表

字段

描述

interface-name transceiver application information:

接口interface-name上插入的可插拔400G光模块支持的应用及相关信息

ApSel Code

光模块的当前工作类型(用光模块支持的应用类型的代码表示)

Host Electrical Interface code

主机侧电接口代码

Module Media Interface Code

光模块侧介质接口代码

Host Lane Count

主机侧支持的通道数

Media Lane Count

介质侧支持的通道数

The Lowest host Lane

该应用类型主机侧最低的通道编号。光模块工作在不同的应用类型下,支持的通道数不同,这些通道会按组划分,本参数显示每个组中最小的通道编号

The Lowest media lane

该应用类型介质侧最低的通道编号

 

1.1.35  display transceiver diagnosis

display transceiver diagnosis命令用来显示可插拔光模块的数字诊断参数的当前测量值。

【命令】

display transceiver diagnosis interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔光模块的数字诊断参数的当前测量值。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口HundredGigE1/0/1上插入的可插拔光模块的数字诊断参数的当前测量值。

<Sysname> display transceiver diagnosis interface hundredgige 1/0/1

HundredGigE1/0/1 transceiver diagnostic information:

  Current diagnostic parameters:

    Temp(C)   Voltage(V)  Bias(mA)  RX power(dBm)  TX power(dBm)

    36        3.31        6.13      -35.64          -5.19

  Alarm thresholds:

           Temp(C)    Voltage(V)  Bias(mA)  RX power(dBM)  TX power(dBM)

    High   50         3.55        1.44      -10.00         5.00

    Low    30         3.01        1.01      -30.00         0.00

# 显示接口HundredGigE1/0/1上插入的可插拔光模块的数字诊断参数的当前测量值。

<Sysname> display transceiver diagnosis interface hundredgige 1/0/1:1

HundredGigE1/0/1:1 transceiver diagnostic information:

  Current diagnostic parameters:

[module]  Temp.(C)   Voltage(V)

          43         3.30

[channel] Bias(mA)  RX power(dBm)  TX power(dBm)

    1     7.39      -36.96         1.13

    2     7.39      -36.96         0.99

    3     7.39      -36.96         1.08

    4     7.39      -36.96         1.11

  Alarm thresholds:

          Temp.(C)   Voltage(V)  Bias(mA)  RX power(dBm)  TX power(dBm)

    High  85         3.64        15.00     3.40           5.40

    Low   -15        2.97        3.00      -14.00         -12.10

# 显示接口FourHundredGigE1/0/1上插入的可插拔光模块的数字诊断参数的当前测量值。

<Sysname> display transceiver diagnosis interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver diagnostic information:

  Current diagnostic parameters:

    [Module]   Temp(C)       Voltage(V)      TEC Current(%)   Laser Temp(C)

               40            3.34            38              53

    [Channel]   Bias(mA)     RX power(dBm)  TX power(dBm)

    1           1.13         -20.43               -1.0

    2           1.13         -20.43               -1.0

    3           1.13         -20.43               -1.0

    4           1.13         -20.43               -1.0

    5           1.13         -20.43               -1.0

    6           1.13         -20.43               -1.0

    7           1.13         -20.43               -1.0

    8           1.13         -20.43               -1.0

  Alarm thresholds:

          Temp.(C)   Voltage(V)  Bias(mA)  RX power(dBm)  TX power(dBm)

    High  80         3.64        15.00     5.00           5.50

    Low   -10        2.97        4.50      -12.00         -3.50

          TEC Curr(%)   Laser Temp(C)

    High  N/A           N/A

    Low   N/A           N/A

  Warning thresholds:

          Temp.(C)   Voltage(V)  Bias(mA)  RX power(dBm)  TX power(dBm)

    High  70         3.47        10.00     4.00           4.00

    Low   0          3.13        0.00      -9.50          -6.50

          TEC Curr(%)   Laser Temp(C)

    High  N/A           N/A

    Low   N/A           N/A

# 显示接口FourHundredGigE1/0/1上插入的可插拔光模块的数字诊断参数的当前测量值。

<Sysname> display transceiver diagnosis interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver diagnostic information:

  Current diagnostic parameters:

    Temp(C)   Voltage(V)  Bias(mA)  RX power(dBm)  TX power(dBm)

    36        3.31        6.13      -35.64          -5.19

  Alarm thresholds:

           Temp(C)    Voltage(V)  Bias(mA)  RX power(dBM)  TX power(dBM)

    High   50         3.55        1.44      -10.00         5.00

    Low    30         3.01        1.01      -30.00         0.00

Media performance monitoring:

    Rx bits                            :12345678901234567890

    Rx FEC corrected bits              :12345678901234567890

    Rx frames                          :12345678901234567890

    Rx uncorrectable frames            :12345678901234567890

Host performance monitoring:

    Tx bits                            :12345678901234567890

    Tx FEC corrected bits              :12345678901234567890

    Tx frames                          :12345678901234567890

    Tx uncorrectable frames            :12345678901234567890

表1-24 display transceiver diagnosis显示信息描述表

字段

描述

transceiver diagnostic information

接口插入的光模块的数字诊断信息

Current diagnostic parameters

当前的诊断参数

Wave.er(nm)

波长偏移,单位为nm,精确到0.001nm。仅SFP-XG-LH80-Tunable光模块支持显示该字段

Freq.er(GHz)

频率偏移,单位为GHZ,精确到0.1GHZ。仅SFP-XG-LH80-Tunable光模块支持显示该字段

[Module]

整个光模块的参数信息

Temp.(C)

数字诊断参数——温度,单位为°C,精确到1°C

Voltage(V)

数字诊断参数——电压,单位为V,精确到0.01V

TEC Current(%)

数字诊断参数——制冷器工作电流/制冷器的额定电流,单位为%,精确到0.01%

Laser Temp(C)

数字诊断参数——激光器温度,单位为°C,精确到0.01°C

[Channel]

光通道的编号,也称为lane

Bias(mA)

数字诊断参数——偏置电流,单位为mA,精确到0.01mA

RX power(dBm)

数字诊断参数——接收光功率,单位为dBm,精确到0.01dBm

TX power(dBm)

数字诊断参数——发送光功率,单位为dBm,精确到0.01dBm

Alarm thresholds

告警门限

High

高告警门限

Low

低告警门限

TEC Curr. (%)

数字诊断参数——制冷器工作电流,单位为%,精确到0.01%

Laser Temp. (C)

数字诊断参数——激光器温度,单位为°C,精确到0.01°C

 

表1-25 display transceiver diagnosis显示信息中光学参数统计信息描述表(本表中的显示信息仅CMIS 4.0光模块支持)

字段

描述

Media performance monitoring

介质侧性能监控

Host performance monitoring

主机侧性能监控

Rx bits

接收比特数

Rx FEC corrected bits

FEC纠正的接收比特数

Rx frames

接收帧数

Rx uncorrectable frames

FEC无法纠正的接收帧数

Tx bits

发送比特数

Tx FEC corrected bits

FEC纠正的发送比特数

Tx frames

发送帧数

Tx uncorrectable frames

FEC无法纠正的发送帧数

1.1.36  display transceiver history performance-collection

display transceiver history performance-collection命令用来显示光模块的历史性能采样信息。

【命令】

display transceiver history performance-collection interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]显示接口上插入的光模块的历史性能采样信息。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

使用指导

仅QSFPDD-400G-ZR光模块支持本命令。

本命令显示最近两次光模块性能采样的信息。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的光模块的历史性能采样信息。

<Sysname> display transceiver history performance interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver history performance information:

Time 2021-11-09 10:00:00 - 2021-11-09 11:00:00

VDM performance data:

Parameters                         Min            Max            Avg

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

CD-high granularity(Ps/nm)       : 0              0              0

DGD(Ps)                          : 0.00           0.00           0.00

PDL(dB)                          : 0.00           0.00           0.00

OSNR(dB)                         : 0.00           0.00           0.00

eSNR(dB)                         : 9.00           9.00           9.00

CFO(MHz)                         : 0              0              0

SOP ROC(krad/s)                  : 0              0              0

Tx Power(dBm)                    : -174.80        -9.39          -10.21

Rx total power(dBm)              : -30.22         -25.39         -25.59

Pre-FEC BER Media Input (Lane1)  : 1.00E00        1.00E00        1.00E00

FERC Media Input (Lane1)         : 1.00E00        1.00E00        1.00E00

Pre-FEC BER Host Input (Lane1)   : 0.00E-23       1.00E00        1.29E-07

FERC Host Input (Lane1)          : 0.00E-23       1.00E00        1.27E-04

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

Media performance monitoring:

    Rx bits                            : 3605

    Rx FEC corrected bits              : 3605

    Rx frames                          : 3605

    Rx uncorrectable frames            : 3605

    Rx Min uncorrect frames error      : 1

    Rx Max uncorrect frames error      : 1

    Rx post-FEC BER                    : 1.00E+00

Host performance monitoring:

    Tx bits                            : 1267250934611574

    Tx FEC corrected bits              : 164625007

    Tx frames                          : 1733738820

    Tx uncorrectable frames            : 220329

    Tx Min uncorrect frames error      : 0

    Tx Max uncorrect frames error      : 188832

    Tx post-FEC BER                    : 1.27E-04

 

Time 2021-11-09 09:00:00 - 2021-11-09 10:00:00

VDM performance data:

Parameters                         Min            Max            Avg

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

CD-high granularity(Ps/nm)       : 0              0              0

DGD(Ps)                          : 0.00           0.00           0.00

PDL(dB)                          : 0.00           0.00           0.00

OSNR(dB)                         : 0.00           0.00           0.00

eSNR(dB)                         : 9.00           9.00           9.00

CFO(MHz)                         : 0              0              0

SOP ROC(krad/s)                  : 0              0              0

Tx Power(dBm)                    : -174.80        -9.39          -10.51

Rx total power(dBm)              : -30.30         -25.44         -25.59

Pre-FEC BER Media Input (Lane1)  : 1.00E00        1.00E00        1.00E00

FERC Media Input (Lane1)         : 1.00E00        1.00E00        1.00E00

Pre-FEC BER Host Input (Lane1)   : 0.00E-23       1.00E00        1.41E-07

FERC Host Input (Lane1)          : 0.00E-23       1.00E00        1.10E-05

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

Media performance monitoring:

    Rx bits                            : 3604

    Rx FEC corrected bits              : 3604

    Rx frames                          : 3604

    Rx uncorrectable frames            : 3604

    Rx Min uncorrect frames error      : 1

    Rx Max uncorrect frames error      : 1

    Rx post-FEC BER                    : 1.00E+00

Host performance monitoring:

    Tx bits                            : 1266782281942900

    Tx FEC corrected bits              : 179431912

    Tx frames                          : 1642561264

    Tx uncorrectable frames            : 18073

    Tx Min uncorrect frames error      : 0

    Tx Max uncorrect frames error      : 9211

    Tx post-FEC BER                    : 1.10E-05

表1-26 display transceiver history performance-collection命令显示信息描述表

字段

描述

interface-name transceiver history performance information:

接口interface-name上插入的光模块的历史性能采样信息

Time yyyy-mm-dd hh:mm:ss - yyyy-mm-dd hh:mm:ss

采样时间段

VDM performance data

VDM性能数据

Parameters

采样参数名称

Min

指定参数的采样最小值

Max

指定参数的采样最大值

Avg

指定参数的采样平均值

CD-high granularity(Ps/nm)

色散,单位为皮秒每纳米,精确到0.01Ps/nm

DGD(Ps)

群时延差,单位为皮秒,精确到0.01Ps

PDL(dB)

偏振相关损耗,单位为分贝,精确到0.01dB

OSNR(dB)

光信噪比,单位为分贝,精确到0.01dB

eSNR(dB)

电信噪比,单位为分贝,精确到0.01dB

CFO(MHz)

载波频率偏移,单位为兆赫兹,精确到1MHz

SOP ROC(krad/s)

偏振态变化率,单位为krad/s,精确到1krad/s

Tx Power(dBm)

发送功率,单位为dBm,精确到0.01dBm

Rx total power(dBm)

接收总功率,单位为dBm,精确到0.01dBm

Pre-FEC BER Media Input (Lanex)

介质侧通道xFEC纠前误码率

Pre-FEC BER Host Input (Lanex)

主机侧通道xFEC纠前误码率

FERC Media Input (Lanex)

介质侧通道x帧错误数

FERC Host Input (Lanex)

主机侧通道x帧错误数

Media performance monitoring:

介质侧性能监控

Host performance monitoring:

主机侧性能监控

Rx bits

接收比特数

Rx FEC corrected bits

FEC纠正的比特数

Rx frames

接收帧数

Rx uncorrectable frames

FEC无法纠正的帧数

Rx Min uncorrect frames error

周期内FEC无法纠正的最小帧数

Rx Max uncorrect frames error

周期内FEC无法纠正的最大帧数

Rx post-FEC BER

接收侧FEC纠后误码率

Tx bits

发送比特数

Tx FEC corrected bits

FEC纠正的比特数

Tx frames

发送帧数

Tx uncorrectable frames

FEC无法纠正的帧数

Tx Min uncorrect frames error

周期内FEC无法纠正的最小帧数

Tx Max uncorrect frames error

周期内FEC无法纠正的最大帧数

Tx post-FEC BER

发送侧FEC纠后误码率

 

1.1.37  display transceiver interface

display transceiver interface命令用来显示可插拔接口模块的主要特征参数。

【命令】

display transceiver interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface-type interface-number:显示接口上插入的可插拔接口模块的主要特征参数。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口HundredGigE1/0/1上插入的可插拔接口模块的主要特征参数。

<Sysname> display transceiver interface hundredgige 1/0/1

HundredGigE1/0/1 transceiver information:

  Transceiver type                 : 400G_BASE_SR8_QSFPDD

  Connector type                   : MPO

  Wavelength (nm)                  : 850

  Transfer distance (m)            : 70(OM3),100(OM4)

  Max power(W)                     : 12

  Digital diagnostic monitoring    : Yes

  Vendor name                      : H3C

表1-27 display transceiver interface命令显示信息描述表

字段

描述

transceiver information

可插拔接口模块信息

Transceiver Type

可插拔接口模块的物理型号

Connector Type

可插拔接口模块的连接器类型,其中:

·     光纤连接器包括SC(SC Connector,NTT公司推出的拔插锁紧式光纤连接器)、LC(LC Connector,Lucent公司推出的1.25mm/RJ45锁紧式光纤连接器)两种类型

·     其他连接器包括RJ-45、CX4等类型

Wavelength(nm)

·     光模块:显示发送激光中心波长,单位nm;对于支持多条不同波长光路的模块(例如10GBASE-LX4模块),各个波长值之间用逗号分隔

·     电模块:显示为“N/A”

Transfer Distance(xx)

传输距离,对于单模模块,xx显示为km,其他模块xx显示为m。当模块支持多种传输介质时,各个传输距离值之间用逗号分隔。距离值后面括号里包含对应的“传输介质”。下面是各个介质的名称:

·     9um:表示9/125um单模光纤

·     50um:表示50/125um OM2多模光纤

·     62.5um:表示62.5/125um OM1多模光纤

·     CX4:表示CX4电缆

·     OM3:表示50um OM3多模光纤

·     OM4:表示50um OM4多模光纤

·     OM5:表示50um OM5多模光纤

·     STACK:表示堆叠线

·     TP:表示双绞线

Max power(W)

光模块的最大功耗

Digital Diagnostic Monitoring

对数字诊断功能的支持情况,其中:

·     YES:表示支持数字诊断

·     NO:表示不支持数字诊断

Vendor Name

模块生产或定制厂商名称

Ordering Name

可插拔接口模块的对外型号

 

1.1.38  display transceiver itu-channel

display transceiver itu-channel命令用来显示光模块的ITU通道信息。

【命令】

display transceiver itu-channel interface [ interface-type interface-number [ supported-channel ] ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface:显示接口上插入的光模块当前使用的ITU通道的信息。

interface-type interface-number:显示指定光模块当前使用的ITU通道的信息。interface-type interface-number表示接口类型和接口编号。不指定该参数时,表示所有接口上光模块当前使用的ITU通道的信息。

supported-channel:仅显示接口支持配置的ITU通道的信息。不指定该参数时,仅显示光模块当前使用的ITU通道的信息。

【使用指导】

本命令仅SFP-XG-LH80-Tunable光模块支持。

【举例】

# 显示GigabitEthernet1/0/1上插入的光模块当前使用的ITU通道的信息。

<Sysname> display transceiver itu-channel interface gigabitethernet 1/0/1

Interface                           Channel        WaveLength(nm)  Frequency(THz)

GE1/0/1                             1              1566.72         191.35

# 显示GigabitEthernet1/0/1上插入的光模块支持配置的ITU通道的信息。

<Sysname> display transceiver itu-channel interface gigabitethernet 1/0/1 supported-channel

ITU channel settings supported on GigabitEthernet1/0/1 :

Channel    WaveLength(nm)    Frequency(THz)

1          1566.72           191.35

2          1566.31           191.40

3          1565.90           191.45

4          1565.50           191.50

5          1565.09           191.55

6          1564.68           191.60

7          1564.27           191.65

8          1563.86           191.70

其它显示信息略……。

表1-28 display transceiver itu-channel interface命令显示信息描述表

字段

描述

Interface

光模块所在接口的简称

Channel

ITU通道编号

WaveLength(nm)

通道编号对应的波长,单位为nm,精确到0.01nm。取值为“-”时,表示对应接口显示ITU通道信息失败,失败原因有:

·     该接口上未插入光模块

·     该接口上光模块不支持配置ITU通道编号

·     光模块获取ITU通道信息失败

·     设备不支持光模块上当前存储的ITU通道编号

Frequency(THz)

通道编号对应的频率,单位为THZ,精确到0.01THZ。取值为“-”时,表示对应接口显示ITU通道信息失败,失败原因有:

·     该接口上未插入光模块

·     该接口上光模块不支持配置ITU通道编号

·     光模块获取ITU通道信息失败

·     设备不支持光模块上当前存储的ITU通道编号

 

【相关命令】

·     itu-channel

1.1.39  display transceiver manuinfo

display transceiver manuinfo命令用于显示可插拔接口模块的电子标签信息。

【命令】

display transceiver manuinfo interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔接口模块的部分电子标签信息。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口HundredGigE1/0/1上插入的可插拔接口模块的电子标签信息。

<Sysname> display transceiver manuinfo interface hundredgige 1/0/1

HundredGigE1/0/1 transceiver manufacture information:

  Manu. Serial Number  : 213410A0000054000251

  Manufacturing Date   : 2019-09-01

  Vendor Name          : H3C

表1-29 display transceiver manuinfo命令显示信息描述表

字段

描述

Manu. Serial Number

在调测(调试、测试)过程中生成的序列号

Manufacturing Date

调测日期,取值为调测平台计算机的系统日期

Vendor Name

定制厂商名称,即H3C

 

1.1.40  display transceiver optics interface

display transceiver optics interface命令用来显示可插拔光模块的主要光学参数。

【命令】

display transceiver optics interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface-type interface-number:显示接口上插入的光模块的主要光学参数。interface-type interface-number表示接口类型和接口编号。不指定该参数时,表示所有支持配置光学参数的接口。

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的可插拔接口模块的主要特征参数。

<Sysname> display transceiver optics interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver optics information:

  Grid spacing                  : 50GHz,75GHz,100GHz

  Frequency                     : 194.10THz

  Configured output power       : -5.0dBm

  Configured grid spacing       : 50GHz

表1-30 display transceiver optics interface命令显示信息描述表

字段

描述

interface-name transceiver optics information

接口interface-name上插入的可插拔接口模块的主要特征参数

Modulation Mode

调制模式

Grid spacing

光模块支持的频率间隔

Frequency

工作频率

Configued transmission power

配置的输出光功率

Configured output power

配置的输出光功率

Configured grid spacing

配置的频率间隔

 

【相关命令】

·     optics modulation-mode

·     optics tx-power

1.1.41  display transceiver status

display transceiver status命令用来显示可插拔400G光模块的状态信息。

【命令】

display transceiver status interface [ interface-type interface-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

interface [ interface-type interface-number ]:显示接口上插入的可插拔400G光模块的状态信息。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的可插拔400G光模块的状态信息。

<Sysname> display transceiver status interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver status information:

  Module state        : ModuleReady

  Interrupt           : YES

  Host-fault-detect   : Enabled

  Media-fault-detect  : Disabled

  Lane      Data Path State     Media Lane State

  Lane1     Activated           Enable

  Lane2     Activated           Enable

  Lane3     Activated           Enable

  Lane4     Activated           Enable

  Lane5     Activated           Enable

  Lane6     Activated           Enable

  Lane7     Activated           Enable

  Lane8     Activated           Enable

  Loopback Mode       :

  Lane      Media Output   Media Input    Host Output    Host Input

  Lane1     Disable        Disable        Disable        Disable

  Lane2     Disable        Disable        Disable        Disable

  Lane3     Disable        Disable        Disable        Disable

  Lane4     Disable        Disable        Disable        Disable

  Lane5     Disable        Disable        Disable        Disable

  Lane6     Disable        Disable        Disable        Disable

  Lane7     Disable        Disable        Disable        Disable

  Lane8     Disable        Disable        Disable        Disable

# 显示接口FourHundredGigE1/0/1上插入的可插拔400G ZR光模块的状态信息。(本举例仅QSFPDD-400G-ZR光模块支持)

<Sysname> display transceiver status interface fourhundredgige 1/0/1

FourHundredGigE1/0/1 transceiver status information:

  Module state        : ModuleReady

  Interrupt           : YES

  Host-fault-detect   : Enabled

  Media-fault-detect  : Disabled

  Lane      Data Path State     Media Lane State

  Lane1     Activated           Enable

  Lane2     Activated           Enable

  Lane3     Activated           Enable

  Lane4     Activated           Enable

  Lane5     Activated           Enable

  Lane6     Activated           Enable

  Lane7     Activated           Enable

  Lane8     Activated           Enable

  Loopback Mode       :

    Media Output   Media Input    Host Output    Host Input

    Disable        Disable        Disable        Disable

表1-31 display transceiver status命令显示信息描述表

字段

描述

interface-name transceiver status information

接口interface-name上插入的可插拔400G光模块的状态信息

Module status

光模块的状态,取值为:

·     ModuleLowPwr:表示低功率状态

·     ModulePwrUp:表示上电状态

·     ModuleReady:表示就绪状态

·     ModulePwrDn:表示断电状态

·     Fault state:表示故障状态

·     Unknown:表示未知状态

Interrupt alarm

光模块当前是否存在中断告警,取值为:

·     Yes:表示处于中断告警态

·     No:表示未处于中断告警状态

Data path state

数据路径的状态,取值为:

·     Unknown:表示未知状态

·     Deactivated:表示未激活状态

·     Initial:表示初始化状态

·     Deinit:表示未初始化状态

·     Activated:表示激活状态

·     TxTurnOn:表示Tx端打开状态

·     TxTurnOff:表示Tx端关闭状态

·     Initialized:表示初始化完成状态

Lane1

数据通道1

Media Lane State

光模块光通道的状态,取值为:

·     Enabled:表示开启状态

·     Disabled:表示关闭状态

Host-fault-detect

主机侧错误检测功能,取值为:

·     Enabled:表示开启状态

·     Disabled:表示关闭状态

Media-fault-detect

设备侧错误检测功能,取值为:

·     Enabled:表示开启状态

·     Disabled:表示关闭状态

Loopback Mode

光通道的环回检测模式

Media Output

将介质侧接收端输入的信号环回给介质侧的发送端,作为介质的输出信号,取值为:

·     Enabled:表示开启状

·     Disabled:表示关闭状态

Media Input

将介质侧发送端输出的信号环回给介质侧的接收端,作为介质的输入信号,取值为:

·     Enabled:表示开启状态

·     Disabled:表示关闭状态

Host Output

将主机侧接收端输入的信号环回给主机侧的发送端,作为主机的输出信号,取值为:

·     Enabled:表示开启状态

·     Disabled:表示关闭状态

Host Input

将主机侧发送端输出的信号环回给主机侧的接收端,作为主机的输入信号,取值为:

·     Enabled:表示开启状态

·     Disabled:表示关闭状态

1.1.42  display transceiver vdm

display transceiver vdm命令用来显示可插拔光模块的VDM(Versatile diagnostics monitoring,多功能诊断监控)信息。

【命令】

display transceiver vdm interface interface-type interface-number vdm-id vdm-id

【视图】

任意视图

【缺省用户角色】

network-admin

【参数】

interface-type interface-number:表示接口类型和接口编号。

vdm-id vdm-id:显示指定编号的VDM信息不同型号的光模块支持的取值范围不同,请以光模块的实际情况为准。

【使用指导】

仅支持CMIS 4.0的200G和400G光模块支持本命令。

【举例】

# 显示接口FourHundredGigE1/0/1上插入的可插拔光模块VDM ID为1的VDM信息。

<Sysname> display transceiver vdm interface fourhundredgige 1/0/1 vdm-id 1

VDM Description: Laser Temperature

Module/lane         VDM value(C)

Lane1               58.0

Alarm/Warning thresholds:

          Warning(C)     Alarm(C)

  High    80.0           85.0

  Low     0.0            251.0

# 显示接口FourHundredGigE1/0/1上插入的可插拔光模块VDM ID为2的VDM信息。

<Sysname> display transceiver vdm interface fourhundredgige 1/0/1 vdm-id 2

VDM Description: eSNR Host Input

Module/lane         VDM value(dB)

Lane1               0.0

Alarm/Warning thresholds:

          Warning(dB)    Alarm(dB)

  High    99.0           99.0

  Low     226.0          216.0

1.1.43  fdisk-flash slot

fdisk-flash slot命令用来给磁盘进行分区。

undo fdisk-flash slot命令用来回收磁盘分区。

说明

仅R5212P01及以上版本支持本命令。

 

【命令】

fdisk-flash slot slot-id [ size size-value ]

undo fdisk-flash slot slot-id

【缺省情况】

缺省情况下,未对磁盘进行分区。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

分区操作前,请做好如下准备:

·     请务必做好文件备份,分区操作会清除磁盘中的所有数据。

·     请确认分区过程中,无其他用户访问该磁盘。

·     对磁盘介质分区前,请确保没有对磁盘设置写保护。

仅LSXM1SUP04TR1、LSXM1SUP02TR1、LSXM2SUP02LR1单板支持磁盘分区功能。

对磁盘分区完后需要重启设备且在BTW下格式化才能生效。

【参数】

slot slot-id:表示框式设备主控板所在的槽位号。

size size-value:取值范围为1~4,指定分区的大小,单位GB。如果未指定size,默认为2GB。

【举例】

# 对磁盘进行分区

<sysname> system-view

[Sysname] fdisk-flash slot 0

Please back up important files, if you do not back up, the data may be lost.

Whether to continue to divide [Y/N]:Y

New partition mode set successfully on slot 0!

Whether to restart immediately [Y/N]:Y

Now rebooting, please wait...

1.1.44  hardware-failure-detection

hardware-failure-detection命令用来配置当系统检测到硬件故障时自动采取的修复操作。

undo hardware-failure-detection命令用来恢复缺省情况。

【命令】

hardware-failure-detection { board | chip | forwarding } { isolate | off | reset | warning }

undo hardware-failure-detection { board | chip | forwarding }

【缺省情况】

当系统检测到器件(chip)、单板(board)和转发(forwarding)的硬件故障时,修复操作均为reset。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

board:对单板故障进行在线检测,包括控制通道检测和单板状态快速检测。

chip:对器件故障进行在线检测,包括单板上各种器件(比如芯片、电容、电阻等)的检测。

forwarding:对转发层面的故障进行在线检测,包括业务自动检测和其他转发相关的检测。

isolate:检测到故障时,设备会自动关闭端口、隔离单板、禁止单板加载或给单板下电,从而尽量减小故障的影响。

off:检测到故障时,设备不进行任何操作。

reset:检测到故障时,设备会自动重启器件/单板以尝试修复故障。

warning:检测到故障时,设备发送Trap信息,不会修复故障。

【使用指导】

设备启动后,系统会持续自动检测器件、单板和转发的硬件故障。

【举例】

# 配置系统检测到器件故障时自动告警。

<Sysname> system-view

[Sysname] hardware-failure-detection chip warning

1.1.45  hardware-resource acl-hash

hardware-resource acl-hash命令用来使能或者去使能ACL哈希模式。

【命令】

hardware-resource acl-hash { disable | enable }

【缺省情况】

未使能ACL哈希模式。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

disable:去使能ACL哈希模式,哈希结果由芯片计算。芯片计算哈希结果时不能区分五元组中的源IP地址和目的IP地址,例如hash option选择了源IP地址,则目的IP地址变化也会影响到哈希。

enable:使能ACL哈希模式,哈希结果由ACL计算。

【使用指导】

本命令仅适用于普通IPv4报文,不适用于封装报文与IPv6报文。配置成功后需要重启设备才能生效。

仅R5212P01及以上版本支持本命令。

【举例】

# 使能ACL哈希模式。

<Sysname> system-view

[Sysname] hardware-resource acl-hash enable

Do you want to change the specified hardware resource working mode? [Y/N]: y

The hardware resource working mode is changed, please save the configuration and reboot the system to make it effective.

1.1.46  hardware-resource mdb

hardware-resource mdb命令用来配置mdb资源运行的分配模式

【命令】

hardware-resource mdb { normal | routing }

【缺省情况】

mdb资源运行的分配模式为路由模式。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

normal:正常模式。该模式下MAC地址表、ARP表、路由表的规格分别为506K / 88K / 1.5M。

routing:路由模式。该模式下MAC地址表、ARP表、路由表的规格分别为155K / 98K / 2.5M。

【使用指导】

本命令配置成功后需要重启设备才能生效。

【举例】

# 配置mdb资源运行的分配模式为正常模式。

<Sysname> system-view

[Sysname] hardware-resource mdb normal

Do you want to change the specified hardware resource working mode? [Y/N]:Y

The hardware resource working mode is changed, please save the configuration and reboot the system to make it effective.

1.1.47  hardware-resource opttask-delay

hardware-resource opttask-delay命令用来配置MACsec单板端口模块识别延迟功能。

【命令】

hardware-resource opttask-delay { enable | disable } [slot slot-number ]

【缺省情况】

MACsec单板端口模块识别延迟功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

enable:开启MACsec单板端口模块识别延迟功能。

disable:关闭MACsec单板端口模块识别延迟功能。

slot slot-number:表示单板所在的槽位号。

【使用指导】

本命令仅对LSXM1CDMS36KCR1、LSXM1CGQ72KCR1和LSXM1CDQ18KCR1接口板生效。

修改MACsec单板端口模块识别延迟功能,必须重启该单板,配置才能生效。

仅R5212P06及以上版本支持本功能。

【举例】

# 开启MACsec单板端口模块识别延迟功能。

<Sysname> system-view

[Sysname] hardware-resource opttask-delay enable slot 5

Do you want to change the specified hardware resource working mode? [Y/N]: y

The port speed mode is changed, to make it effective please reboot the slot.

1.1.48  hardware-resource port-speed

hardware-resource port-speed命令用来配置LSXM1CGQ72KCR1单板的端口速率工作模式。

【命令】

hardware-resource port-speed { high | low | mix } [ slot slot-number ]

【缺省情况】

LSXM1CGQ72KCR1单板的端口以低速率模式工作。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

high:设置LSXM1CGQ72KCR1单板端口以高速率模式工作(36*200G)。

low:设置LSXM1CGQ72KCR1单板端口以低速率模式工作(72*100G)。

mix:设置LSXM1CGQ72KCR1单板端口以混合速率模式工作(18*200G+36*100G)。

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示对设备上的所有LSXM1CGQ72KCR1单板配置端口速率工作模式。

【使用指导】

本命令仅对LSXM1CGQ72KCR1单板生效。

修改LSXM1CGQ72KCR1单板的端口速率工作模式后,必须重启该单板,配置才能生效。

【举例】

# 将slot 2上的LSXM1CGQ72KCR1单板端口设置为高速率工作模式。

<Sysname> system-view

[Sysname] hardware-resource port-speed high slot 2

Do you want to change the specified hardware resource working mode? [Y/N]: y

The port speed mode is changed, to make it effective please reboot the slot.

1.1.49  hardware-resource scd-port-speed

hardware-resource scd-port-speed命令用来配置LSXM1TGS24C1接口模块扩展卡的端口速率工作模式。

【命令】

hardware-resource scd-port-speed { high | low } [ slot slot-number ]

【缺省情况】

缺省情况下,LSXM1TGS24C1接口模块扩展卡以低速率模式工作。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

high:设置LSXM1TGS24C1接口模块扩展卡端口以高速率(25G)模式工作。

low:设置LSXM1TGS24C1接口模块扩展卡端口以低速率(10G)模式工作。

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示对设备上的所有LSXM1TGS24C1 接口模块扩展卡配置端口速率工作模式。

【使用指导】

本命令仅对LSXM1TGS24C1接口模块扩展卡生效。

修改LSXM1TGS24C1单板的端口速率工作模式后,必须重启该单板,配置才能生效。

【举例】

# 将slot3上的LSXM1TGS24C1接口模块扩展卡端口设置为高速率模式工作。

<Sysname> system-view                                                                  

[Sysname] hardware-resource scd-port-speed high slot 3                                 

Do you want to change the specified hardware resource working mode? [Y/N]: y           

The subcard port speed mode is changed, to make it effective please insert the slot a LSXM1TGS24C1 subcard or reboot the slot if a LSXM1TGS24C1 subcard has already be inserted.

1.1.50  hardware-resource smartman

hardware-resource smartman命令用来配置端口的licence生效状态。

【命令】

hardware-resource smartman { enable | disable }

【缺省情况】

端口的licence不能正常生效。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

enable:端口的license正常生效。

disable:端口的licence不能正常生效。

【使用指导】

若要执行license的相关功能时,必须首先为设备安装相应的license,本命令仅用来配置已安装的license是否能够正常生效。

修改生效状态后,必须重启设备,配置才能生效。

【举例】

# 配置端口的licence正常生效。

<Sysname> system-view

[Sysname] hardware-resource smartman enable

Do you want to change the specified hardware resource working mode? [Y/N]: y

The hardware resource working mode is changed, please save the configuration and reboot the system to make it effective.

1.1.51  hardware-resource synce

hardware-resource synce命令用来开启或关闭单板的synce功能。

说明

LSXM1CGMS48KBR1单板不支持本命令。

【命令】

hardware-resource synce { enable | disable | default [slot slot-number] }

【缺省情况】

缺省情况下,单板的synce功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

enable:开启单板的synce功能。

disable:关闭单板的synce功能。

default:LSXM1CDQ36KBR1单板缺省状态是synce模式,除了LSXM1CGMS48KBR1单板外,其余单板均为非synce模式。仅R5212及以上版本支持本参数。

【使用指导】

配置完本命令后后,必须保存配置并重启设备才能生效。

【举例】

# 开启单板的PTP时钟同步功能。

<Sysname> system-view

[Sysname] hardware-resource synce enable

Do you want to change the specified hardware resource working mode? [Y/N]: y

The hardware resource working mode is changed, please save the configuration and reboot the system to make it effective.

1.1.52  hardware-resource telemetry-stream

hardware-resource telemetry-stream用来配置Telemetry Stream采集报文中的入接口索引类型。

说明

仅R5212P06及以上版本支持本功能。

 

【命令】

hardware-resource telemetry-stream { link-aggregation | link-aggregation-memberports }

【缺省情况】

在聚合成员接口、三层聚合接口或三层聚合子接口上配置Telemetry Stream动作时,Telemetry Stream采集到的报文入接口索引值是聚合接口的索引值。

【视图】

系统视图

【缺省用户角色】

network-admin

network-operator

【参数】

link-aggregation:配置Telemetry Stream采集聚合接口的索引值。

link-aggregation-memberports:配置Telemetry Stream采集聚合成员接口的索引值。

【使用指导】

本命令配置后立即生效,无需重启设备。

【举例】

# 配置Telemetry Stream采集到的报文入接口索引值是聚合接口的索引值。

<Sysname> system-view

[Sysname] hardware-resource telemetry-stream link-aggregation

Do you want to change the type of interface index to be collected? [Y/N]:Y

1.1.53  itu-channel

itu-channel命令用来配置光模块的ITU通道编号。

undo itu-channel命令用来恢复缺省情况。

【命令】

itu-channel channel-number

undo itu-channel

【缺省情况】

光模块的ITU通道编号为1。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【参数】

channel-number:表示光模块的ITU通道编号。

【使用指导】

本命令仅SFP-XG-LH80-Tunable光模块支持。

配置该命令后,设备会将ITU通道编号保存在光模块内部的寄存器中,不会保存到配置文件中。

【举例】

# 将GigabitEthernet1/0/1上插入的光模块的ITU通道编号配置为2。

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] itu-channel 2

Changing the channel number causes the service to be down for a while. Continue? [Y/N]:Y

【相关命令】

·     display transceiver itu-channel

1.1.54  locator blink

locator blink blink-time命令用来定位设备的位置。

locator blink stop命令用来停止定位。

【命令】

locator blink blink-time

locator blink stop

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

blink-time:闪烁的持续时间,取值范围为5~120,单位为秒。

stop:停止闪烁。

【使用指导】

配置locator blink blink-time命令后,指定设备上用于定位的LED灯会以间隔快闪的方式闪烁,并持续指定的时间。用户可根据LED灯的指示来定位设备所在的位置。

blink-time时间到或者执行locator blink stop命令,则定位闪烁的LED灯会恢复正常点亮状态。

【举例】

# 开始定位。

<Sysname> locator blink 30

# 结束定位。

<Sysname> locator blink stop

1.1.55  memory-threshold

memory-threshold命令用来配置空闲内存告警的门限值。

undo memory-threshold命令用来恢复缺省情况。

【命令】

memory-threshold [ slot slot-number [ cpu cpu-number ] ] [ ratio ] minor minor-value severe severe-value critical critical-value normal normal-value [ early-warning early-warning-value secure secure-value ]

undo memory-threshold [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

一级告警门限为1024MB,二级和三级告警门限均为768MB,系统恢复到正常的内存门限为1280MB,预告警门限和预告警恢复门限均为1152MB。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

ratio表示以百分比形式配置门限。不指定该参数时,表示配置的是门限的大小,单位为MB。

minor minor-value:一级告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。取值为0时,表示关闭该级门限告警功能。

severe severe-value:二级告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。取值为0时,表示关闭该级门限告警功能。

critical critical-value:三级告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。取值为0时,表示关闭该级门限告警功能。

normal normal-value:系统内存恢复正常状态时的内存大小。输入该参数的值时可通过输入?,来获取该参数的取值范围。

early-warning early-warning-value:预告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。仅R5212及以上版本支持本参数。

secure secure-value:预告警恢复门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。仅R5212及以上版本支持本参数。

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示主用主控板。

cpu cpu-number:表示CPU编号。

【使用指导】

系统实时监控剩余空闲内存大小,当条件达到一级、二级、三级告警门限或者恢复正常状态门限时,就产生相应的告警/告警解除通知,通知关联的业务模块/进程采取相应的措施,以便最大限度的利用内存,又能保证设备的正常运行。

除了一级、二级、三级告警,设备还支持预告警功能。预告警门限用于内存使用率尚处于正常范围内,但需要提醒用户提前关注内存的情况。预告警恢复门限用于解除预告警。

当设备出现内存告警时,可删除暂时不用的配置或关闭部分功能来释放内存。但因为内存不足,部分配置可能删除失败。

缺省情况下,S12500R设备二级门限和三级门限相同,可以手工配置使二级门限和三级门限不同。

二、三级门限值相同时,二级门限满足以下条件,单板会重启。

·     产生二级告警后,剩余空闲内存值持续小于二级告警门限,其时长到达30秒,则系统会重启单板。

·     如果连续产生两次二级告警的时间间隔小于30秒,则系统会重启单板。

·     如果3分钟内产生二次二级告警,则系统会重启单板。

·     产生二级告警后,系统将会周期采样,预测剩余空闲内存是否会在30秒之内耗尽,如果预测结果为会在30秒之内耗尽,则系统会重启单板。

二、三级门限值不同时,单板达到二级门限则不会重启,三级门限满足以下条件,单板才会重启。

·     产生三级告警后,剩余空闲内存值持续小于三级告警门限,其时长到达30秒,则系统会重启单板。

·     如果连续产生两次三级告警的时间间隔小于30秒,则系统会重启单板。

·     如果3分钟内产生二次三级告警,则系统会重启单板。

·     产生三级告警后,系统将会周期采样,预测剩余空闲内存是否会在30秒之内耗尽,如果预测结果为会在30秒之内耗尽,则系统会重启单板。

关于告警门限的详细介绍请参见“设备管理配置指导”中的“硬件资源管理配置”。

【举例】

# 配置一级、二级、三级告警门限分别为64MB、48MB、32MB,当剩余空闲内存大于96MB时,恢复到正常状态。

<Sysname> system-view

[Sysname] memory-threshold minor 64 severe 48 critical 32 normal 96

# 配置一级、二级、三级告警门限分别为设备总内存的3%、2%、1%,当剩余空闲内存大于设备总内存的5%时,恢复到正常状态。

<Sysname> system-view

[Sysname] memory-threshold ratio minor 3 severe 2 critical 1 normal 5

【相关命令】

·     display memory-threshold

1.1.56  memory-threshold dma

memory-threshold dma命令用来配置DMA(Direct Memory Access,直接内存存取)内存告警阈值。

undo memory-threshold dma命令用来恢复缺省情况。

【命令】

memory-threshold dma [ slot slot-number [ cpu cpu-number ] ] [ ratio ] critical critical-value normal normal-value

undo memory-threshold dma [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

缺省情况下,告警阈值为2048KB,告警恢复阈值为4096KB。

【视图】

系统视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号,不指定本参数,则表示指定主用主控板。

cpu cpu-number:表示CPU的编号。

ratio:以百分比配置阈值。

critical critical-value:告警阈值。当指定ratio参数时,critical-value为百分比,取值范围为0~100;当不指定ratio参数时,critical-value单位为KB,取值范围为0~4177920。

normal normal-value:告警恢复阈值。当指定ratio参数时,normal-value为百分比;当不指定ratio参数时,normal-value单位为KB。设备会根据critical-value的配置值自动调整normal-value的取值范围,请以设备的实际情况为准。

【使用指导】

部分业务的运行需要使用DMA内存,如果DMA内存不足,会导致业务模块功能异常。系统周期监控DMA空闲内存大小,当DMA空闲内存小于或等于告警阈值,产生告警事件并重启对应单板。

仅R5212及以上版本支持本命令。

【举例】

# 配置DMA内存告警的阈值为32KB,告警恢复阈值为96KB。

<Sysname> system-view

[Sysname] memory-threshold dma slot 0 critical 32 normal 96

1.1.57  memory-threshold usage

memory-threshold usage命令用来配置内存利用率阈值。

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

【命令】

memory-threshold [ slot slot-number [ cpu cpu-number ] ] usage memory-threshold

undo memory-threshold [ slot slot-number [ cpu cpu-number ] ] usage

【缺省情况】

内存利用率阈值为100%。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:表示单板所在的槽位号,不指定该参数时,表示主用主控板。

cpu cpu-number:表示CPU的编号。

memory-threshold:内存利用率阈值百分比,取值范围为0~100。

【使用指导】

系统每隔1分钟会对内存利用率进行采样,并将采样值和用户配置的内存利用率阈值比较。当采样值大时,则认为内存利用率过高,设备会发送Trap报文。

【举例】

# 配置内存利用率阈值为80%。

<Sysname> system-view

[Sysname] memory-threshold usage 80

【相关命令】

·     display memory-threshold

1.1.58  monitor chipblock reset

monitor chipblock reset命令用来启用芯片复位功能。

undo monitor chipblock命令用来关闭芯片复位功能。

【命令】

monitor chipblock reset [ logging ]

undo monitor chipblock

【缺省情况】

芯片复位功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

logging:指定该参数时,芯片复位的同时将记录日志信息。

【使用指导】

芯片发生故障时,系统会打印告警信息。通过配置本命令,可实现系统告警时复位芯片。

【举例】

# 开启芯片复位功能。

<Sysname> system-view

[Sysname] monitor chipblock reset

1.1.59  monitor cpu-usage enable

monitor cpu-usage enable命令用来开启CPU利用率历史记录功能。

undo monitor cpu-usage enable命令用来关闭CPU利用率历史记录功能。

【命令】

monitor cpu-usage enable [ slot slot-number [ cpu cpu-number ] ]

undo monitor cpu-usage enable [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

CPU利用率历史记录功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:表示单板所在的槽位号,不指定表示主用主控板。

cpu cpu-number:表示CPU的编号。

【使用指导】

开启CPU利用率历史记录功能后,系统会每隔一定时间(可通过monitor cpu-usage interval命令配置)对CPU的利用率进行采样,并把采样结果保存到历史记录区。这些记录可通过display cpu-usage history命令查看,以便用户监控设备近期的运行情况。

【举例】

# 打开CPU利用率历史记录功能。

<Sysname> system-view

[Sysname] monitor cpu-usage enable

【相关命令】

·     display cpu-usage configuration

·     display cpu-usage history

·     monitor cpu-usage interval

1.1.60  monitor cpu-usage interval

monitor cpu-usage interval命令用来配置CPU利用率历史记录的采样周期。

undo monitor cpu-usage interval命令用来恢复缺省情况。

【命令】

monitor cpu-usage interval interval [ slot slot-number [ cpu cpu-number ] ]

undo monitor cpu-usage interval [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

CPU利用率历史记录采样周期为1分钟。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

interval:CPU利用率历史记录采用周期,取值为5Sec、1Min或者5Min,不区分大小写。输入该参数时,请完整输入,否则,系统会提示参数错误。

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示主用主控板。

cpu cpu-number:表示CPU的编号。

【使用指导】

开启CPU利用率历史记录功能后,系统会每隔一定时间(可通过monitor cpu-usage interval命令配置)对CPU的利用率进行采样,并把采样结果保存到历史记录区。这些记录可通过display cpu-usage history命令查看,以便用户监控设备近期的运行情况。

【举例】

# 配置CPU利用率历史记录的采样周期为5秒。

<Sysname> system-view

[Sysname] monitor cpu-usage interval 5Sec

【相关命令】

·     display cpu-usage configuration

·     display cpu-usage history

·     monitor cpu-usage enable

1.1.61  monitor cpu-usage threshold

monitor cpu-usage threshold命令用来配置CPU利用率告警门限。

undo monitor cpu-usage threshold命令用来恢复缺省情况。

【命令】

monitor cpu-usage threshold severe-threshold [ minor-threshold minor-threshold recovery-threshold recovery-threshold ] [ slot slot-number [ cpu cpu-number ] ]

undo monitor cpu-usage threshold  [ minor-threshold recovery-threshold ] [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

CPU利用率高级别告警门限为99%,低级别告警门限为79%,未配置恢复门限。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

severe-threshold:CPU利用率高级别告警门限,取值范围为2~100,单位为百分比。

minor-threshold minor-threshold:CPU利用率低级别告警门限,取值范围为1~“severe-threshold的配置值减1”,单位为百分比。不指定该参数时,该参数的取值为severe-threshold*0.8。

recovery-threshold recovery-threshold:CPU利用率恢复门限,取值范围为0~“minor-threshold的配置值减1”,单位为百分比。不指定该参数时,该参数的取值为severe-threshold*0.7。

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示主用主控板。

cpu cpu-number:表示CPU的编号。

【使用指导】

注意

CPU利用率高级别告警门限如果设置过低,可能导致设备提前进入门限状态,不再进行正常业务处理。

 

系统每隔1分钟会对CPU以及CPU核的利用率进行采样,并将采样值和用户配置的告警门限比较。当采样值大时,则认为利用率过高,设备会进行相应的处理。

【举例】

# 配置CPU利用率告警门限为90%。

<Sysname> system-view

[Sysname] monitor cpu-usage threshold 90

【相关命令】

·     display cpu-usage configuration

1.1.62  monitor resend cpu-usage

monitor resend cpu-usage命令用来配置发送CPU告警事件的间隔。

undo monitor resend cpu-usage命令用来取消CPU告警事件发送间隔的配置。

【命令】

monitor resend cpu-usage { minor-interval minor-interval | severe-interval severe-interval } * [ slot slot-number [ cpu cpu-number ] ]

undo monitor resend cpu-usage [ minor-interval | severe-interval ] [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

持续300秒超过低级别告警门限则上报一次CPU低级别告警事件,持续60秒超过高级别告警门限则上报一次CPU高级别告警事件。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

minor-interval minor-interval:CPU低级别告警事件周期发送的间隔,取值范围为10~3600,且只能是5的倍数,单位为秒。

severe-interval severe-interval:CPU高级别告警事件周期发送的间隔,取值范围为10~3600,且只能是5的倍数,单位为秒。

slot slot-number:指定单板。slot-number为单板所在的槽位号。如果不指定本参数,则表示指定主用主控板。

cpu cpu-number:表示CPU的编号。

【使用指导】

设备定期对CPU使用率进行采样,并将采样值与告警门限进行比较。当采样值从小于或等于变成大于某级别告警门限时,CPU将进入该级别告警状态并生成相应的告警事件。

CPU处于低级别告警状态时,会周期发送CPU低级别告警事件,直到CPU进入高级别告警状态或者低级别告警状态解除。CPU处于高级别告警状态时,会周期发送CPU高级别告警事件,直到高级别告警状态解除。使用本命令可以修改CPU告警事件的发送周期。

执行undo monitor resend cpu-usage命令不指定minor-intervalsevere-interval参数时,表示将这两个参数恢复到缺省情况。当指定某一个参数时,仅将该参数恢复到缺省值。

【举例】

# 配置slot 1 CPU 0低级别告警事件的发送周期为60秒。

<Sysname> system-view

[Sysname] monitor resend cpu-usage minor-interval 60 slot 1 cpu 0

1.1.63  monitor resend cpu-usage core-interval

monitor resend cpu-usage core-interval命令用来配置发送CPU核告警事件的间隔。

undo monitor resend cpu-usage core-interval命令用来取消CPU核告警事件发送间隔的配置。

【命令】

monitor resend cpu-usage core-interval { minor-interval minor-interval | severe-interval severe-interval } * [ slot slot-number [ cpu cpu-number ] ]

undo monitor resend cpu-usage core-interval [ minor-interval | severe-interval ] [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

发送CPU核低级别事件告警间隔时间为300秒,发送CPU核高级别事件告警间隔时间为60秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

minor-interval minor-interval:CPU核低级别告警事件周期发送的间隔,取值范围为10~3600,且只能是5的倍数,单位为秒。

severe-interval severe-interval:CPU核高级别告警事件周期发送的间隔,取值范围为10~3600,且只能是5的倍数,单位为秒。

slot slot-number:指定单板。slot-number为单板所在的槽位号。如果不指定本参数,则表示指定主用主控板。

cpu cpu-number:表示CPU的编号。

【使用指导】

设备定期对CPU核使用率进行统计,并将统计值与告警门限进行比较。当统计值从小于或等于变成大于告警门限时,CPU核将进入该告警状态并生成告警事件。

CPU核处于告警状态时,会周期发送CPU核告警事件,直到CPU核告警状态解除。使用本命令可以修改CPU核告警事件的发送周期。

【举例】

# 配置设备上所有CPU核发送告警事件的间隔:低级别告警为100秒、高级别告警为60秒。

<Sysname> system-view

[Sysname] monitor resend cpu-usage core-interval minor-interval 100 severe-interval 60

1.1.64  monitor resend memory-threshold dma

monitor resend memory-threshold dma命令用来配置发送DMA内存告警事件的间隔。

undo monitor resend memory-threshold dma命令用来恢复缺省情况。

【命令】

monitor resend memory-threshold dma critical-interval critical-interval [ slot slot-number [ cpu cpu-number ] ]

undo monitor resend memory-threshold dma critical-interval [ slot slot-number [ cpu cpu-number ] ]

【缺省情况】

缺省情况下,DMA内存告警事件周期发送的间隔为300秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

critical-interval:DMA内存告警事件周期发送的间隔,取值范围为10~3600,单位为秒。

slot slot-number:指表示单板所在的槽位号,不指定本参数,则表示指定主用主控板。

cpu cpu-number:表示CPU编号。

【使用指导】

设备定期对DMA内存使用率进行统计,并将统计值与告警门限进行比较。当统计值从小于或等于变成大于告警门限时,DMA内存将进入该告警状态并生成告警事件。

仅R5212及以上版本支持本命令。

【举例】

# 配置发送DMA内存告警事件的间隔为100秒。

<Sysname> system-view

[Sysname] monitor resend memory-threshold dma critical-interval 100

1.1.65  parity-error consistency-check log enable

parity-error consistency-check log enable命令用来开启软硬件表项一致性检查日志信息功能。

undo parity-error consistency-check log enable命令用来关闭软硬件表项一致性检查日志信息功能。

【命令】

parity-error consistency-check log enable

undo parity-error consistency-check log enable

【缺省情况】

软硬件表项一致性检查日志信息功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

设备在运行过程中,会对转发芯片中的硬件表项和软件表项进行一致性检查。配置本命令后,在采样周期内,如果检查软硬件表项的不一致次数达到通过parity-error consistency-check threshold命令配置的错误次数阈值,则生成软硬件表项一致性检查日志信息,并将该日志信息交给信息中心模块处理,信息中心模块的配置将决定日志信息的发送规则和发送方向。关于信息中心的详细描述请参见“设备管理配置指导”中的“信息中心”。

【举例】

# 开启软硬件表项一致性检查日志信息功能。

<Sysname> system-view

[Sysname] parity-error consistency-check log enable

【相关命令】

·     parity-error consistency-check threshold

1.1.66  parity-error consistency-check threshold

parity-error consistency-check threshold命令用来配置软硬件表项一致性检查的错误次数阈值。

undo parity-error consistency-check threshold命令用来恢复缺省情况。

【命令】

parity-error consistency-check threshold value

undo parity-error consistency-check threshold

【缺省情况】

软硬件表项一致性检查的错误次数阈值为10次。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

value:表示软硬件表项一致性检查的错误次数阈值,取值范围为1~2147483647,单位为次数。

【使用指导】

在开启软硬件表项一致性检查日志信息功能后,配置本命令后,设备在软硬件表项一致性检查错误次数的采样周期内,当检查到软硬件表项不一致的错误次数达到配置的阈值时,会生成软硬件表项一致性检查日志信息。

【举例】

# 配置软硬件表项一致性检查的错误次数阈值为20次。

<Sysname> system-view

[Sysname] parity-error consistency-check threshold 20

1.1.67  parity-error monitor log enable

parity-error monitor log enable命令用来开启硬件表项奇偶校验和ECC校验日志信息功能。

undo parity-error monitor log enable命令用来关闭硬件表项奇偶校验和ECC校验日志信息功能。

【命令】

parity-error monitor log enable

undo parity-error monitor log enable

【缺省情况】

对于R2719P02之前的版本,硬件表项奇偶校验和ECC校验日志信息功能处于关闭状态;

对于R2719P02及之后的版本,硬件表项奇偶校验和ECC校验日志信息功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

设备在运行过程中,会自动对转发芯片中硬件表项进行奇偶校验和ECC校验,并记录错误次数。配置本命令后,在通过parity-error monitor period命令配置的采样周期内,如果硬件表项的奇偶校验和ECC校验的错误次数达到通过parity-error monitor threshold命令配置的错误次数阈值,则生成硬件表项奇偶校验和ECC校验日志信息,并将该日志信息交给信息中心模块处理,信息中心模块的配置将决定日志信息的发送规则和发送方向。关于信息中心的详细描述请参见“设备管理配置指导”中的“信息中心”。

【举例】

# 开启硬件表项奇偶校验和ECC校验日志信息功能。

<Sysname> system-view

[Sysname] parity-error monitor log enable

【相关命令】

·     parity-error monitor period

·     parity-error monitor threshold

1.1.68  parity-error monitor period

parity-error monitor period命令用来配置硬件表项奇偶校验和ECC校验错误次数的采样周期。

undo parity-error monitor period命令用来恢复缺省情况。

【命令】

parity-error monitor period period

undo parity-error monitor period

【缺省情况】

硬件表项奇偶校验和ECC校验错误次数的采样周期为60秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

period:表示硬件表项奇偶校验和ECC校验错误次数的采样周期,取值范围为1~86400,单位为秒。

【使用指导】

在开启硬件表项奇偶校验和ECC校验日志信息功能后,配置本命令后,设备在配置的硬件表项内,当硬件表项奇偶校验和ECC校验的错误次数达到阈值时,会生成硬件表项奇偶校验和ECC校验日志信息。

【举例】

# 配置奇偶校验和ECC校验错误次数的采样周期为120秒。

<Sysname> system-view

[Sysname] parity-error monitor period 120

【相关命令】

·     parity-error monitor log enable

·     parity-error monitor threshold

1.1.69  parity-error monitor threshold

parity-error monitor threshold命令用来配置硬件表项奇偶校验和ECC校验的错误次数阈值。

undo parity-error monitor threshold命令用来恢复缺省情况。

【命令】

parity-error monitor threshold value

undo parity-error monitor threshold

【缺省情况】

对于R2719P02之前的版本,硬件表项奇偶校验和ECC校验的错误次数阈值为5000次;

对于R2719P02及之后的版本,硬件表项奇偶校验和ECC校验的错误次数阈值为20000次。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

value:表示硬件表项奇偶校验和ECC校验的错误次数阈值,取值范围为1~1000000,单位为次数。

【使用指导】

在开启硬件表项奇偶校验和ECC校验日志信息功能后,配置本命令后,设备在硬件表项奇偶校验和ECC校验错误次数的采样周期内,当校验错误次数达到配置的阈值时,会生成硬件表项奇偶校验和ECC校验日志信息。

【举例】

# 配置硬件表项奇偶校验和ECC校验的错误次数阈值为8000次。

<Sysname> system-view

[Sysname] parity-error monitor threshold 8000

【相关命令】

·     parity-error monitor log enable

·     parity-error monitor period

1.1.70  parity-error unrecoverable log enable

parity-error unrecoverable log enable命令用来开启关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息功能。

undo parity-error unrecoverable log enable命令用来关闭关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息功能。

【命令】

parity-error unrecoverable log enable

undo parity-error unrecoverable log enable

【缺省情况】

关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

设备在运行过程中,会对转发芯片中的硬件表项进行奇偶校验和ECC校验。在硬件表项奇偶校验和ECC校验发现错误时,会尝试恢复这些错误。配置本命令后,当一些关键硬件表项的校验错误不可恢复时,在通过parity-error unrecoverable period命令配置的采样周期内,如果关键硬件表项的校验错误不可恢复的次数达到通过parity-error unrecoverable threshold命令配置的不可恢复次数阈值,则会生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息,并将该日志信息交给信息中心模块处理,信息中心模块的配置将决定日志信息的发送规则和发送方向。关于信息中心的详细描述请参见“设备管理配置指导”中的“信息中心”。

【举例】

# 开启关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息功能。

<Sysname> system-view

[Sysname] parity-error unrecoverable log enable

【相关命令】

·     parity-error unrecoverable period

·     parity-error unrecoverable reboot

·     parity-error unrecoverable threshold

1.1.71  parity-error unrecoverable period

parity-error unrecoverable period命令用来配置关键硬件表项奇偶校验和ECC校验错误不可恢复次数的采样周期。

undo parity-error unrecoverable period命令用来恢复缺省情况。

【命令】

parity-error unrecoverable period period

undo parity-error unrecoverable period

【缺省情况】

关键硬件表项奇偶校验和ECC校验错误不可恢复次数的采样周期为60秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

period:表示关键硬件表项奇偶校验和ECC校验错误不可恢复次数的采样周期,取值范围为1~86400,单位为秒。

【使用指导】

在开启关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息功能后,配置本命令,设备在配置的采样周期内,当关键硬件表项奇偶校验和ECC校验错误的不可恢复次数达到阈值时,会生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息。

【举例】

# 配置关键硬件表项奇偶校验和ECC校验错误不可恢复次数的采样周期为120秒。

<Sysname> system-view

[Sysname] parity-error unrecoverable period 120

【相关命令】

·     parity-error unrecoverable log enable

·     parity-error unrecoverable reboot

·     parity-error unrecoverable threshold

1.1.72  parity-error unrecoverable reboot

parity-error unrecoverable reboot命令用来开启生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息后设备自动重启功能。

undo parity-error unrecoverable reboot命令用来关闭生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息后设备自动重启功能。

【命令】

parity-error unrecoverable reboot

undo parity-error unrecoverable reboot

【缺省情况】

生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息后设备自动重启。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

如果设备转发芯片上关键硬件表项发生奇偶校验和ECC校验错误,且不可恢复时,可能会影响业务正常进行,则需要配置本命令,使设备通过重启来恢复关键硬件表项。

配置本命令后,当设备生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息后,将自动重启。

【举例】

# 开启生成关键硬件表项不可恢复日志信息后设备的自动重启功能。

<Sysname> system-view

[Sysname] parity-error unrecoverable reboot

【相关命令】

·     parity-error unrecoverable log enable

·     parity-error unrecoverable period

·     parity-error unrecoverable threshold

1.1.73  parity-error unrecoverable threshold

parity-error unrecoverable threshold命令用来配置关键硬件表项奇偶校验和ECC校验错误不可恢复的次数阈值。

undo parity-error unrecoverable threshold命令用来恢复缺省情况。

【命令】

parity-error unrecoverable threshold value

undo parity-error unrecoverable threshold

【缺省情况】

关键硬件表项奇偶校验和ECC校验错误不可恢复的次数阈值为1。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

value:表示关键硬件表项奇偶校验和ECC校验错误不可恢复的次数阈值,取值范围为1~1000000,单位为次数。

【使用指导】

在开启关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息功能后,配置本命令,设备在关键硬件表项奇偶校验和ECC校验错误不可恢复次数的采样周期内,当校验错误不可恢复次数达到配置的阈值时,会生成关键硬件表项奇偶校验和ECC校验错误不可恢复日志信息。

【举例】

# 配置关键硬件表项奇偶校验和ECC校验错误不可恢复的次数阈值为10。

<Sysname> system-view

[Sysname] parity-error unrecoverable log threshold 10

【相关命令】

·     parity-error unrecoverable log enable

·     parity-error unrecoverable period

·     parity-error unrecoverable reboot

1.1.74  power-exception-monitor

power-exception-monitor命令用来配置电源模块的监控模式。

【命令】

power-exception-monitor { normal | enhanced }

【缺省情况】

电源模块的监控模式为normal模式。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

normal:电源模块故障后,打印状态告警信息。

enhanced:持续对电源模块进行监控,一旦监控到温度、电压或电流等异常情况,即打印状态告警信息。

【使用指导】

配置电源模块的监控模式为enhanced时,将会占用一定系统的资源。

【举例】

# 配置电源模块的监控模式为normal模式。

<Sysname> system-view

[Sysname] power-exception-monitor normal

1.1.75  power-monitor enable

power-monitor enable命令用来开启单板上下电管理功能。

undo power-monitor enable命令用来关闭单板上下电管理功能。

【命令】

power-monitor enable

undo power-monitor enable

【缺省情况】

单板上下电管理功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

单板上下电管理功能处于开启状态时,系统会对单板的上下电进行管理。例如:

·     通过检测系统总功率的大小,单板功率的分配情况等,判断是否上电单板。

·     通过检测单板的温度情况,风扇情况等,判断是否下电单板。

关闭单板上下电管理功能后,系统将不再对单板的上下电进行管理,默认使所有单板上电,同时无法控制单板下电。

关闭单板上下电管理功能将会带来不可预知的风险,请谨慎执行。

【举例】

# 开启单板上下电管理功能。

<Sysname> system-view

[Sysname] power-monitor enable

1.1.76  power-supply off

power-supply off命令用来强制给单板断电。

【命令】

power-supply off slot slot-number

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:表示单板所在的槽位号。

【使用指导】

注意

强制给单板下电后,单板将无法收发报文,请谨慎使用。

 

如果设备电量不足,且某些接口板处于空闲状态或者连接的为非关键网络节点时,可以手工停止给这些接口板供电,以便节约电能保证给重要接口板供电。

请先开启电源管理功能,再配置本命令。否则,本命令配置失败。

【举例】

# 强制给指定slot的单板断电。

<Sysname> power-supply off slot 2

【相关命令】

·     power-supply policy enable

1.1.77  power-supply on

power-supply on命令用来手工给单板供电。

【命令】

power-supply on slot slot-number

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:表示单板所在的槽位号。

【使用指导】

请先开启电源管理功能,再配置本命令。否则,本命令配置失败。

【举例】

# 手工给指定slot的单板供电。

<Sysname> power-supply on slot 2

【相关命令】

·     power-supply policy enable

1.1.78  power-supply policy enable

power-supply policy enable命令用来开启电源管理功能。

undo power-supply policy enable命令用来关闭电源管理功能。

【命令】

power-supply policy enable

undo power-supply policy enable

【缺省情况】

电源管理功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【举例】

# 启用电源管理功能。

<Sysname> system-view

[Sysname] power-supply policy enable

1.1.79  power-supply policy redundant

power-supply policy redundant命令用来配置冗余电源模块数。

undo power-supply policy redundant命令用来恢复缺省情况。

【命令】

power-supply policy redundant module-count

undo power-supply policy redundant

【缺省情况】

冗余电源模块数量的值为0。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

module-count:表示冗余电源模块数目,不同型号的设备支持的取值范围不同,用户可以通过帮助信息来获取设备支持的取值范围,但是该范围的上限是系统支持的最大冗余模块数,根据设备安插的接口板的数量和耗电量不同,用户实际能够配置的值会小于等于系统支持的最大冗余模块数。

【使用指导】

只有在开启电源管理功能后,冗余电源配置才会生效。

【举例】

# 配置电源冗余模块数为1。

<Sysname> system-view

[Sysname] power-supply policy redundant 1

【相关命令】

·     power-supply policy enable

1.1.80  power-supply surplus-power enable

power-supply surplus-power enable命令用来开启电源睡眠功能。

undo power-supply surplus-power enable命令用来关闭电源睡眠功能。

【命令】

power-supply surplus-power enable

undo power-supply surplus-power enable

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

仅适配PSR2400-54A、PSR2400-54D或PSR3000-54A电源模块的交换机支持开启电源睡眠功能。

只有使用power-supply policy enable命令开启电源管理功能后,开启电源睡眠功能的配置才能生效。

处于睡眠状态的电源模块无法提供冗余备份功能,若正常工作的电源模块突然故障或被拔出,可能会影响设备正常运行。用户可通过display power命令查看电源模块的工作状态。

开启电源睡眠功能后,系统会根据设备当前的实际功耗,智能控制电源模块进入或者退出睡眠状态,降低能耗:

·     当系统剩余功率大于单个电源模块输入功率时,将其设置为睡眠模式并关断输出。

·     当系统剩余功率不足时,唤醒睡眠中的电源模块。

【举例】

# 开启电源睡眠功能

<Sysname> system-view

[Sysname] power-supply surplus-power enable

【相关命令】

·     power-supply policy enable

1.1.81  reset transceiver interface

reset transceiver interface命令用来通过软件复位可插拔400G光模块。

【命令】

reset transceiver interface [ interface-type interface-number ]

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

interface-type interface-number:表示接口类型和接口编号。不指定该参数时,表示所有接口。

【使用指导】

当光模块工作异常时,可以通过软件复位光模块来尝试修复光模块。正常情况下,不建议配置。

执行本命令会重启光模块,请谨慎使用。

【举例】

# 通过软件复位接口FourHundredGigE1/0/1上插入的可插拔400G光模块。

<Sysname> reset transceiver interface fourhundredgige 1/0/1

This operation causes services on the transceiver module to be down for a while. Continue? [Y/N]: Y

1.1.82  resource-monitor minor resend enable

resource-monitor minor resend enable命令用来开启周期发送低级别资源告警通知功能。

undo resource-monitor minor resend enable命令用来关闭周期发送低级别资源告警通知功能。

【命令】

resource-monitor minor resend enable

undo resource-monitor minor resend enable

【缺省情况】

周期发送低级别资源告警通知功能处于开启状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

如果剩余的资源小于或等于低级别告警门限且大于高级别告警门限,则资源进入低级别告警状态,并生成低级别告警通知。

当资源一直处于低级别告警状态时:

·     开启周期发送低级别资源告警通知功能后,第一次达到低级别告警状态时,会生成低级别告警通知,后续还会周期生成低级别告警通知。当剩余资源达到更高级别告警门限时,将会生成更高级别的告警通知,暂时抑制低级别的告警通知。直到高级别的告警状态解除,再周期输出低级别的告警通知。

·     关闭周期发送低级别资源告警通知功能后,只有第一次达到低级别告警状态时,才生成低级别告警通知,不会连续生成低级别告警通知。

高级别告警通知重发功能一直处于开启状态,不能通过命令行配置。

高级别告警通知的重发周期是24小时,低级别告警通知的重发周期是7x24小时,不能配置。

【举例】

# 开启周期发送低级别资源告警通知功能。

<sysname> system-view

[Sysname] resource-monitor minor resend enable

【相关命令】

·     display resource-monitor

·     resource-monitor output

·     resource-monitor resource

1.1.83  resource-monitor output

resource-monitor output命令用来配置资源告警通知的输出方向。

undo resource-monitor output命令用来关闭资源告警通知的输出方向。

【命令】

resource-monitor output { netconf-event | snmp-notification | syslog } *

undo resource-monitor output [ netconf-event | snmp-notification | syslog ]*

【缺省情况】

资源告警通知会同时向NETCONF、SNMP、信息中心三个方向输出。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

netconf-event:将资源告警通知输出到NETCONF模块。

syslog:将资源告警通知输出到信息中心模块。

snmp-notification:将资源告警通知输出到SNMP模块。

【使用指导】

设备会实时监控一些重要资源的是使用情况,当达到指定门限时,设备会生成对应的资源告警通知,这些通知可以输出到以下三个方向:

·     NETCONF模块。通过配置NETCONF模块的参数,可以将资源告警通知以NETCONF事件的形式发送给用户。关于NETCONF的详细介绍请参见“网络管理和监控配置指导”中的“NETCONF”。

·     信息中心模块。通过配置信息中心模块的参数,可以将资源告警通知以系统日志的形式发送给用户。关于信息中心的详细介绍请参见“设备管理配置指导”中的“信息中心”。

·     SNMP模块。通过配置SNMP模块的参数,可以将资源告警通知以Trap或者Inform消息的形式发送给用户。关于SNMP的详细介绍请参见“网络管理和监控配置指导”中的“SNMP”。

执行undo resource-monitor output命令,并且不指定可选参数时,表示资源告警通知不会向NETCONF、SNMP、信息中心三个方向输出。

【举例】

# 将资源告警通知输出到信息中心模块。

<sysname> system-view

[Sysname] resource-monitor output syslog

【相关命令】

·     resource-monitor minor resend enable

·     resource-monitor resource

1.1.84  resource-monitor resource

resource-monitor resource命令用来配置生成资源告警通知的门限。

undo resource-monitor resource命令用来取消资源告警通知的门限配置。

【命令】

resource-monitor resource resource-name slot slot-number cpu cpu-number by-percent minor-threshold minor-threshold severe-threshold severe-threshold

undo resource-monitor resource resource-name slot slot-number cpu cpu-number

【缺省情况】

不同类型资源的缺省情况不同,请使用display resource-monitor命令查看。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

resource-name:需要监测的资源的名称,不区分大小写,需要完整输入参数的值。参数的取值请参见表1-32

表1-32 设备可监测的资源描述表

取值

含义

ac

VXLAN服务实例资源

agg_group

聚合组资源

arp

ARP表项资源

ecmp_fec_1

一级ECMP FEC资源

ecmp_fec_2

二级ECMP FEC资源

ecmp_fec_3

三级ECMP FEC资源

local_ecmp

本地等价路由组资源

local_fec_1

一级本地转发等价类资源

local_fec_2

二级本地转发等价类资源

local_fec_3

三级本地转发等价类资源

mac

MAC地址表项资源

mc

二层和三层组播资源

mqcin

入方向MQC资源

mqcout

出方向MQC资源

nd

ND表项资源

openflow

OpenFlow资源

pbr

PBR资源

pfilterin

入方向包过滤资源

pfilterout

出方向包过滤资源

route

路由表项资源

rport

三层以太网接口资源

subrport

三层以太网子接口资源

vlan

VLAN资源

vlaninterface

VLAN接口资源

vrf

VPN实例资源

vsiintf

VSI接口资源

slot slot-number:表示监测指定单板上的资源。slot-number表示单板所在的槽位号。

cpu cpu-number:表示监测指定CPU上的资源。cpu-number表示在CPU的编号。

by-percent:以百分比的方式配置告警门限。

minor-threshold minor-threshold:低级别告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。

severe-threshold severe-threshold:高级别门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。

【使用指导】

配置本命令后,设备会监测资源的剩余情况,周期采样监测对象的值,并和配置的告警门限进行比较。当达到条件时,设备会生成告警通知。

【举例】

# 配置slot 1上ARP资源的低级别门限为30%,高级别门限为10%。

<Sysname> system-view

[Sysname] resource-monitor resource arp slot 1 cpu 0 by-percent  minor-threshold 30 severe-threshold 10

【相关命令】

·     display resource-monitor

·     resource-monitor minor resend enable

·     resource-monitor output

1.1.85  shutdown-interval

shutdown-interval命令用来配置端口状态检测定时器的时长。

undo shutdown-interval命令用来恢复缺省情况。

【命令】

shutdown-interval interval

undo shutdown-interval

【缺省情况】

端口状态检测定时器的时长为30秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

interval:端口状态检测定时器的时长,取值范围为0~300,单位为秒。取值为0时,表示系统不自动检测端口状态,需要用户执行undo shutdown命令手动恢复端口状态。

【使用指导】

某些协议模块在特定情况下会自动关闭某个端口,比如当开启了BPDU保护功能的端口收到配置消息时,MSTP协议模块将自动关闭该端口。在协议自动关闭端口的同时,系统会启动一个检测端口状态的定时器。如果直到定时器超时(即经过time秒之后),该端口仍处于关闭状态,系统自动将端口恢复到真实的物理状态。

如果用户在端口定时检测过程中将检测时间间隔修改为T1,修改时刻距协议关闭端口时间间隔为T。

·     若T<T1,则被关闭的端口会再经过T1-T时间后被恢复。

·     若T>=T1,则被关闭的端口会立即恢复。

例如当前time配置为30,当端口被协议模块关闭2秒(T=2)后,修改time为10(T1=10),则该接口会再经过8秒后被恢复;如果当前time为30,端口被协议模块关闭10秒后,修改time为2,则该端口会立即恢复。

【举例】

# 配置端口状态检测定时器的时长为100秒。

<Sysname> system-view

[Sysname] shutdown-interval 100

1.1.86  system handshake timeout

system handshake timeout命令用来配置主控板与接口板之间握手的超时时长。

undo system handshake timeout命令用来恢复缺省情况。

【命令】

system handshake timeout timeout

undo system handshake timeout

【缺省情况】

缺省情况下,设备主控板与接口板之间握手的超时时长为30秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

timeout:主控板与接口板之间一次握手的超时时长。取值范围为10~55,单位为秒。

【使用指导】

接口板启动完成后,会主动向主控板注册,以便接受主控板的管理。在设备运行期间,主控板会定期向接口板发送握手报文,来确认接口板是否运行正常。如果接口板在本命令设置的握手超时时长内未回复报文,主控板将认为该接口板故障,则会重启该接口板。

在一些对此握手时间有要求的场景(比如板卡重启断流时间要求短的场景),可以通过本命令调整主控板与接口板之间握手的超时时长,实现缩短握手时间,尽早发现接口板故障。

【举例】

# 配置主控板与接口板之间握手的超时时长为40秒。

<Sysname> system-view

[Sysname] system handshake timeout 40

1.1.87  temperature-limit

temperature-limit命令用于配置设备的温度告警门限。

undo temperature-limit命令用来恢复缺省情况。

【命令】

temperature-limit slot slot-number { hotspot } sensor-number lowlimit warninglimit [ alarmlimit ]

undo temperature-limit slot slot-number { hotspot } sensor-number

【缺省情况】

不同温度传感器的温度门限可能不同,请先使用undo temperature-limit命令恢复缺省情况后,再通过display environment命令查看设备的缺省温度告警门限。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:配置指定单板上温度传感器的温度门限。slot-number表示单板所在的槽位号。

hotspot:配置热点传感器的温度门限。热点传感器一般置于发热量较大的芯片附近,监测芯片温度。

sensor-number:温度传感器的编号,输入该参数的值时可通过输入?,来获取该参数的取值范围。

lowlimit:低温告警门限,单位为摄氏度。不同温度传感器的低温告警门限取值范围不同,输入该参数的值时可通过输入?,来获取该参数的取值范围。

warninglimit:一般级高温告警门限,单位为摄氏度,必须大于低温告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。

alarmlimit:严重级高温告警门限,单位为摄氏度,必须大于一般级高温告警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。

【使用指导】

如果温度低于低温告警门限、高于一般级或严重级高温门限,系统均会生成相应的日志信息和告警信息提示用户,并通过设备面板上的指示灯来告警,以便用户及时进行处理。

【举例】

# 配置指定slot上热点1号温度传感器,低温门限为-10摄氏度,一般级高温门限为50摄氏度,严重级高温门限为60摄氏度。

<Sysname> system-view

[sysname] temperature-limit slot 1 hotspot 1 -10 50 60

【相关命令】

·     display environment

1.1.88  transceiver diagnostic selector

transceiver diagnostic selector命令用来配置可插拔光模块诊断的选项,并显示对应的诊断信息。

【命令】

transceiver diagnostic selector selector-id

【缺省情况】

未配置可插拔光模块诊断的选项。

【视图】

200GE接口视图

400GE接口视图

【缺省用户角色】

network-admin

【参数】

selector-id:表示可插拔光模块诊断的选项,取值范围为0~255。不同型号的光模块支持的取值范围不同,请以光模块的实际情况为准。

【使用指导】

仅支持CMIS 4.0的200G和400G光模块支持本命令。

本功能的配置将会保存到光模块内部的寄存器中,如果光模块掉电,本功能的配置会被清空。当光模块重新上电后,需要重新设置本功能。

【举例】

# 将FourHundredGigE1/0/1上插入可插拔光模块诊断的选项配置为1,并显示其对应的诊断信息。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver diagnostic selector 1

Lane     Host side BER     Media side BER

1        1.00E-7           1.00E-7

2        1.00E-7           1.00E-7

3        1.00E-7           1.00E-7

4        1.00E-7           1.00E-7

5        1.00E-7           1.00E-7

6        1.00E-7           1.00E-7

7        1.00E-7           1.00E-7

8        1.00E-7           1.00E-7

# 将FourHundredGigE1/0/1上插入可插拔光模块诊断的选项配置为2,并显示其对应的诊断信息。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver diagnostic selector 2

Lane     Host error count     Host total bits

1        1234567890           1234567890123456789

2        1234567890           1234567890123456789

3        1234567890           1234567890123456789

4        1234567890           1234567890123456789

# 显示FourHundredGigE1/0/1上插入的可插拔光模块的诊断选项为6的诊断信息。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver diagnostic selector 6

Lane     Host peak detect        Host SNR        Media peak detect        Media SNR

1        12345                   18.00dB         12345                    18.00dB

2        12345                   18.00dB         12345                    18.00dB

3        12345                   18.00dB         12345                    18.00dB

4        12345                   18.00dB         12345                    18.00dB

5        12345                   18.00dB         12345                    18.00dB

6        12345                   18.00dB         12345                    18.00dB

7        12345                   18.00dB         12345                    18.00dB

8        12345                   18.00dB         12345                    18.00dB

1.1.89  transceiver host-fault-detect enable

transceiver host-fault-detect enable命令用来开启光模块主机侧的故障检查功能。

undo transceiver host-fault-detect命令用来关闭光模块主机侧的故障检查功能。

【命令】

transceiver host-fault-detect enable

undo transceiver host-fault-detect

【缺省情况】

光模块主机侧的故障检查功能处于关闭状态。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

当光模块进行热插拔或者重置时,要使本命令的配置继续生效,需要重新配置。

【举例】

# 开启接口FourHundredGigE1/0/1上光模块主机侧的故障检测功能。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver host-fault-detect enable

1.1.90  transceiver lane enable

transceiver lane enable命令用来打开400G光模块的光通道。

undo transceiver lane命令用来关闭400G光模块的光通道。

【命令】

transceiver lane [ lane-number ] enable

undo transceiver lane [ lane-number ] enable

【缺省情况】

光模块的光通道处于开启状态。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【参数】

lane-number:表示光通道的编号,取值范围为1~8。不指定该参数时,表示所有光通道。

【使用指导】

本命令主要用于调测光模块的功能是否正常,正常情况下,不建议配置。

关闭光通道将导致光模块不能传输信号。

关闭某个光通道将导致该光通道所属的光接口不能传输信号。

本配置会保存在光模块内部的寄存器中,不会保存到配置文件中。

【举例】

# 开启FourHundredGigE1/0/1上插入的400G光模块的通道1。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver lane 1 enable

【相关命令】

·     display transceiver status

1.1.91  transceiver lane equalization

transceiver lane equalization命令用来配置400G光模块接收通道的平衡因子和功率幅值。

undo transceiver lane equalization命令用来恢复缺省情况。

【命令】

transceiver lane [ lane-number ] equalization { precursor precursor-value | postcursor postcursor-value | amplitude amplitude-value }

undo transceiver lane [ lane-number ] equalization { precursor | postcursor | amplitude }

【缺省情况】

本命令的缺省情况与光模块的型号有关,请以光模块的实际情况为准。

【视图】

FourHGE以太网接口及其拆分口的接口视图

【缺省用户角色】

network-admin

【参数】

lane-number:光通道的编号,取值范围为1~8。不指定该参数时,表示所有光通道。

precursor-value:设置光模块接收通道precursor的编码。取值为:

·     level0:表示No Equalization。

·     level1:表示0.5dB。

·     level2:表示1dB。

·     level3:表示1.5dB。

·     level4:表示2dB。

·     level5:表示2.5dB。

·     level6:表示3dB。

·     level7:表示3.5dB。

postcursor-value:设置光模块接收通道postcursor的编码。取值为:

·     level0:表示No Equalization。

·     level1:表示1dB。

·     level2:表示2dB。

·     level3:表示3dB。

·     level4:表示4dB。

·     level5:表示5dB。

·     level6:表示6dB。

·     level7:表示7dB。

amplitude-value:设置光模块接收通道功率幅值的编码。取值为:

·     range0:表示100-400 mV。

·     range1:表示300-600 mV。

·     range2:表示400-800 mV。

·     range3:表示600-1200 mV。

【使用指导】

本命令用来来调测和优化高速信号,达到最优的链路状态。通常情况下,建议使用缺省情况。如果确实需要调整,请在专业人士指导下进行,以免光模块工作异常。

当接口在传输业务流量时,建议不要执行本命令。因为执行本命令,设备会自动关闭、开启光模块一次,影响流量的传输。

本配置会保存在光模块内部的寄存器中,不会保存到配置文件中。

【举例】

# 为FourHundredGigE1/0/1上插入的400G光模块接收通道配置平衡因子和功率幅值。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver lane 1 equalization pre-cursor 1 post-cursor 8 amplitude 3

This operation will shut down and then bring up the transceiver module, affecting data transmission. Continue? [Y/N]:Y

【相关命令】

·     display transceiver active-control

1.1.92  transceiver lane loopback

transceiver lane loopback命令用来开启光通道的通道环回检测功能,并配置环回检测模式。

undo transceiver lane loopback命令用来恢复缺省情况。

【命令】

transceiver lane [ lane-number ] loopback loopback-mode

undo transceiver lane [ lane-number ] loopback loopback-mode

【缺省情况】

可插拔光模块通道的环回功能处于关闭状态。

【视图】

200GE接口视图

400GE接口视图

【缺省用户角色】

network-admin

【参数】

lane-number:表示光通道的编号,取值范围为1~8。200G光模块的取值范围为1~4;400G光模块的取值范围为1~8。不指定该参数时,表示所有光通道。

loopback-mode:指定光通道的环回检测模式。取值为:

·     host-input:将主机侧发送端输出的信号环回给主机侧的接收端,作为主机的输入信号。

·     host-output:将主机侧接收端输入的信号环回给主机侧的发送端,作为主机的输出信号。

·     media-input:将介质侧发送端输出的信号环回给介质侧的接收端,作为介质的输入信号。

·     media-output:将介质侧接收端输入的信号环回给介质侧的发送端,作为介质的输出信号。

【使用指导】

仅支持CMIS 4.0的200G和400G光模块支持本命令。

光通道环回检测功能用于测试指定发送端和接收端之间能否正常转发报文,如果不能正常转发报文,用于判断故障点。当光模块能正常转发报文时,无需配置本命令。

本命令配置后会保存到光模块内部的寄存器中,如果光模块掉电,本命令会被清除。当光模块重新上电后,需要重新配置。

【举例】

# 开启FourHundredGigE1/0/1上插入的可插拔光模块的通道环回检测功能并配置环回检测模式。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver lane loopback media-input

This operation causes the service to be down for a while. Continue? [Y/N]:Y

【相关命令】

·     transceiver lane pattern

1.1.93  transceiver lane pattern

transceiver lane pattern命令用来配置光通道的模式和传输信号的码型。

undo transceiver lane pattern命令用来恢复缺省情况。

【命令】

transceiver lane [ lane-number ] pattern [ host-checker | host-generator media-checker | media-generator ] prbs-pattern

undo transceiver lane [ lane-number ] pattern

【缺省情况】

本命令的缺省情况与光模块的型号有关,请以光模块的实际情况为准。

【视图】

200GE接口视图

400GE接口视图

【缺省用户角色】

network-admin

【参数】

lane-number光通道的编号。200G光模块的取值范围为1~4;400G光模块的取值范围为1~8。不指定该参数时,表示所有光通道。

host-checker:指定光通道为主机侧信号检测模式。

host-generator:指定光通道为主机侧信号产生模式。

media-checker:指定光通道为介质侧信号检测模式。

media-generator:指定光通道为介质侧信号产生模式。

prbs-pattern:指定光通道上传输光信号的码型。不同型号的光模块支持的取值范围不同,请以光模块的实际情况为准。

【使用指导】

仅支持CMIS 4.0的200G和400G光模块支持本命令。

本命令配置后会保存到光模块内部的寄存器中,如果光模块掉电,本命令会被清除。当光模块重新上电后,需要重新配置。

【举例】

# 将FourHundredGigE1/0/1上插入的可插拔光模块的所有通道设置为主机侧信号产生模式,并设置传输光信号的码型为PRBS-31Q。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver lane pattern host-generator PRBS-31Q

This operation causes the service to be down for a while. Continue? [Y/N]:Y

1.1.94  transceiver monitor enable

transceiver monitor enable命令用来开启光模块监控功能。

undo transceiver monitor enable命令用来关闭光模块监控功能。

【命令】

transceiver monitor enable [ grey | tunable ]

undo transceiver monitor enable

【缺省情况】

光模块监控功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

grey:表示仅开启对灰光类型光模块的监控功能。

tunable:表示仅开启对彩光类型光模块的监控功能。

【使用指导】

开启光模块监控功能后,设备会按周期检查光模块的参数(例如光模块的输出功率、输入功率等),当参数的采样值达到软件设定的阈值时,会生成相应的日志提醒用户。

配置本命令时,如果选择grey参数,则表示仅开启对灰光类型光模块的监控功能;如果选择tunable参数,则表示仅开启对彩光类型光模块的监控功能;如果不指定greytunable参数,则表示开启对所有类型光模块的监控功能。

【举例】

# 开启光模块监控功能。

<Sysname> system-view

[Sysname] transceiver monitor enable

【相关命令】

·     transceiver monitor interval

1.1.95  transceiver monitor interval

transceiver monitor interval命令用来配置光模块的监控周期。

undo transceiver monitor interval命令用来恢复缺省情况。

【命令】

transceiver monitor interval interval

undo transceiver monitor interval

【缺省情况】

光模块的监控周期是600秒。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

interval:表示光模块的监控周期,取值范围为30~3600,单位为秒。

【使用指导】

开启光模块监控功能后,设备会按周期检查光模块的参数(例如光模块的输出功率、输入功率等),当参数的采样值达到软件设定的阈值时,会生成相应的日志提醒用户。

开启光模块监控功能后,本命令才生效。

【举例】

# 配置光模块监控周期为500秒。

<Sysname> system-view

[Sysname] transceiver monitor interval 500

【相关命令】

·     transceiver monitor enable

1.1.96  transceiver media-fault-detect enable

transceiver media-fault-detect enable命令用来开启光模块介质侧的故障检查功能。

undo transceiver media-fault-detect命令用来关闭光模块介质侧的故障检查功能。

【命令】

transceiver media-fault-detect enable

undo transceiver media-fault-detect

【缺省情况】

光模块介质侧的故障检查功能处于关闭状态。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

当光模块进行热插拔或者重置时,要使本命令的配置继续生效,需要重新配置。

【举例】

# 开启接口FourHundredGigE1/0/1上光模块介质侧的故障检查功能。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver media-fault-detect enable

1.1.97  transceiver optical-channel frequency

transceiver optical-channel frequency命令用来配置光模块光通道的工作频率和工作频率的调整间隔。

undo transceiver optical-channel frequency命令用来恢复缺省情况。

【命令】

transceiver optical-channel optical-channel-number frequency frequency-value [ grid grid-value ]

undo transceiver optical-channel optical-channel-number frequency

【缺省情况】

本命令的缺省情况与光模块的型号有关,请以光模块的实际情况为准。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【参数】

optical-channel-number:表示光通道的编号,取值为1。

frequency-value:表示光模块光通道的工作频率,取值范围为191300000~196100000,单位为MHz。

grid grid-value:表示光通道工作频率的调整间隔。对于不同型号的光模块,本参数支持的取值不同,grid-value的常见取值包括3125MHz、6250MHz、12500MHz、25000MHz、33000MHz、50000MHz、75000MHz或100000MHz,可以在grid参数后输入?查询当前光模块支持的工作频率调整间隔。

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

配置本命令之前,请先基于基准频率193100000MHz和工作频率调整间隔(grid-value)计算出光通道的工作频率(frequency-value),再执行本命令。如果frequency-value值配置错误,会导致配置失败。光通道工作频率的计算公式为:

光通道工作频率=193100000MHz±光通道工作频率的调整间隔×nn取值为整数。

当不配置grid grid-value参数时,可以使用光模块支持的任意grid-value值,计算出frequency-value值。

当配置grid grid-value参数时,需要使用指定的grid-value值,根据计算公式计算得出frequency-value的值,否则将会配置不成功。

【举例】

# 设置接口FourHundredGigE1/0/1上光模块lane通道1的工作频率。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 frequency

  <191000000-195000000>

[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 frequency 193200000

1.1.98  transceiver optical-channel tx-power

transceiver optical-channel tx-power命令用来配置光通道的输出功率。

undo transceiver optical-channel tx-power命令用来恢复缺省情况。

【命令】

transceiver optical-channel optical-channel-number tx-power power-value

undo transceiver optical-channel optical-channel-number tx-power

【缺省情况】

光通道的输出功率为-10dBm。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【参数】

optical-channel-number:表示光通道的编号,取值为1。

power-value:表示光模块的输出光功率,单位为dBm,精度为0.01。不同型号的光模块支持的取值范围不同,请以光模块的实际情况为准。

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

【举例】

# 将FourHundredGigE1/0/1上插入的光模块的光通道输出功率设置为-5dBm。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 tx-power -5

1.1.99  transceiver performance-collection enable

transceiver performance-collection enable命令用来开启光模块性能采样功能。

undo transceiver performance-collection enable命令用来关闭光模块性能采样功能。

【命令】      

transceiver performance-collection enable

undo transceiver performance-collection enable

【缺省情况】

光模块性能采样功能处于关闭状态。

【视图】

系统视图

【缺省用户角色】

network-admin

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

开启光模块性能采样功能后,系统会每隔一定时间(可通过transceiver performance-collection interval命令配置)对光模块的性能信息进行采样,并把采样结果保存到历史记录区。这些记录可通过display transceiver history performance-collection命令查看,以便用户监控光模块近期的运行情况。

【举例】

# 开启光模块性能采样信息功能。

<Sysname> system-view

[Sysname] transceiver performance-collection enable

【相关命令】

·     transceiver performance-collection interval

1.1.100  transceiver performance-collection interval

transceiver performance-collection interval命令用来配置光模块的性能采样周期。

undo transceiver performance-collection interval命令用来恢复缺省情况。

【命令】

transceiver performance-collection interval interval

undo transceiver performance-collection interval

【缺省情况】

光模块的性能采样周期为15分钟。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

interval光模块的性能采样周期,取值为5min、15min、30min或者60min,不区分大小写。输入该参数时,请完整输入,否则,系统会提示参数错误。

【使用指导】

仅QSFPDD-400G-ZR光模块支持本命令。

开启光模块性能采样功能后,系统会每隔一定时间(可通过transceiver performance-collection interval命令配置)对光模块的性能信息进行采样,并把采样结果保存到历史记录区。这些记录可通过display transceiver history performance-collection命令查看,以便用户监控光模块近期的运行情况。

【举例】

# 配置光模块的性能采样周期为5min。

<Sysname> system-view

[Sysname] transceiver performance-collection interval 5min

【相关命令】

·     transceiver performance-collection enable

1.1.101  transceiver power-mode

transceiver power-mode命令用来配置400G光模块的功耗模式。

undo transceiver power-mode命令用来恢复缺省情况。

【命令】

transceiver power-mode { high | low }

undo transceiver power-mode

【缺省情况】

本命令的缺省情况与光模块的型号有关,请以光模块的实际情况为准。

【视图】

以太网接口视图

【缺省用户角色】

network-admin

【使用指导】

通常情况下,光模块处于高功耗工作模式。当光模块长时间不需要工作时,可将光模块切换到低功耗工作模式,节省能耗。低功耗模式下,光模块不能传输信号,如果有流量传输需求,需要手工将光模块调整到高功耗工作模式。

本配置会保存在光模块内部的寄存器中,不会保存到配置文件中。

【举例】

# 将FourHundredGigE1/0/1上插入的400G光模块设置为高功耗模式。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver power-mode high

# 将FourHundredGigE1/0/1上插入的400G光模块设置为低功耗模式。

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver power-mode low

This command will place the transceiver module in low-power-consumption mode, disabling the transceiver module from transmitting data. Continue? [Y/N]:Y

【相关命令】

·     display transceiver status

 

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

新华三官网
联系我们