03-硬件资源管理命令
本章节下载: 03-硬件资源管理命令 (788.12 KB)
目 录
1.1.5 display cpu-usage configuration
1.1.6 display cpu-usage history
1.1.9 display device manuinfo fan
1.1.10 display device manuinfo power
1.1.13 display hardware-resource flr-init
1.1.14 display hardware-resource voq-mode
1.1.17 display memory-threshold
1.1.18 display memory-threshold dma
1.1.20 display resource-monitor
1.1.21 display transceiver active-control
1.1.22 display transceiver advertising
1.1.23 display transceiver alarm
1.1.24 display transceiver application
1.1.25 display transceiver diagnosis
1.1.26 display transceiver history performance-collection
1.1.27 display transceiver interface
1.1.28 display transceiver itu-channel
1.1.29 display transceiver manuinfo
1.1.30 display transceiver performance interface
1.1.31 display transceiver optics interface
1.1.32 display transceiver status
1.1.33 display transceiver vdm
1.1.36 hardware-failure-detection
1.1.37 hardware-resource flr-init
1.1.38 hardware-resource voq-mode
1.1.44 monitor cpu-usage enable
1.1.45 monitor cpu-usage interval
1.1.46 monitor cpu-usage statistics-interval core
1.1.47 monitor cpu-usage threshold
1.1.48 monitor cpu-usage threshold core
1.1.49 monitor resend cpu-usage
1.1.50 monitor resend cpu-usage core-interval
1.1.51 monitor resend memory-threshold dma
1.1.52 power-supply policy enable
1.1.53 resource-monitor minor resend enable
1.1.54 resource-monitor output
1.1.55 resource-monitor resource
1.1.58 transceiver diagnostic selector
1.1.59 transceiver monitor enable
1.1.60 transceiver monitor interval
1.1.61 transceiver optical-channel frequency
1.1.62 transceiver optical-channel tx-power
1.1.63 transceiver performance-collection enable
1.1.64 transceiver performance-collection interval
display alarm命令用来显示设备硬件的告警信息。
【命令】
display alarm [ slot slot-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
【举例】
# 显示设备硬件的告警信息。
<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的温度高于高温门限 |
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:slot xx上CPU xx的剩余内存低于一级告警门限 · Memory usage is in severe alarm state on slot xx cpu xx:slot xx上CPU xx的剩余内存低于二级告警门限 · Memory usage is in critical alarm state on slot xx cpu xx:slot xx上CPU xx的剩余内存低于三级告警门限 · CPU usage is in minor alarm state on slot xx cpu xx:slot xx上CPU xx的使用率高于一级告警门限 · CPU usage is in critical alarm state on slot xx cpu xx:slot xx上CPU xx的使用率高于二级告警门限 · Interface interface-name changed to DOWN state:接口Interface-name变为down状态 |
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 |
告警的详细信息 |
display cpu-usage命令用来显示CPU利用率的统计信息。
【命令】
display cpu-usage [ summary ] [ slot slot-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
control-plane:显示控制平面对CPU利用率的统计信息。本参数的支持情况与设备的型号有关,请以设备的实际情况为准。
data-plane:显示数据平面对CPU利用率的统计信息。本参数的支持情况与设备的型号有关,请以设备的实际情况为准。
summary:以列表形式显示CPU利用率的统计信息。不指定该参数时,以区段形式显示CPU利用率的统计信息。
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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的取值为“--”,则表示不支持统计该信息 |
display cpu-usage configuration命令用来显示CPU监控功能的相关配置。
【命令】
display cpu-usage configuration [ slot slot-number [ cpu cpu-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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%.
Current recovery threshold is 69%.
Current severe alarm threshold is 100% for the following cores: 0 to 7.
Current minor alarm threshold is 100% for the following cores: 0 to 7.
Current recovery threshold is 100% for the following cores: 0 to 7.
Current statistics interval is 60 seconds for the following cores: 0 to 7.
表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% |
|
Current recovery-threshold is 69%. |
CPU利用率恢复门限为69% |
|
Current severe alarm threshold is 100% for the following cores: |
CPU核利用率的严重级阈值。 |
|
Current minor alarm threshold is 100% for the following cores: |
CPU核利用率的轻度级阈值。 |
|
Current recovery threshold is 100% for the following cores: |
CPU核利用率的恢复级阈值。 |
|
Current statistics interval is 60 seconds for the following cores: |
CPU核利用率的统计周期。 |
【相关命令】
· monitor cpu-usage enable
· monitor cpu-usage interval
· monitor cpu-usage threshold
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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
display device命令用来显示设备硬件信息。
【命令】
display device [ flash | usb ] [ slot slot-number | verbose ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
flash:显示Flash的信息。
usb:显示USB接口的信息。
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
verbose:显示设备的详细信息。不指定该参数时,显示设备的简要信息。
【使用指导】
不指定flash和usb参数时,显示成员设备的硬件信息。
【举例】
# 显示设备硬件信息。
<Sysname> display device
Slot Type State Subslot Soft Ver Patch Ver
58 S12500AI-36DH20EP-NCPN Master 0 S12500AI-OPEN-5230P1099 None
表1-7 display device命令显示信息描述表
|
字段 |
描述 |
|
Type |
设备类型 |
|
Soft Ver |
设备上运行的软件版本 |
|
Patch Ver |
当前设备上运行的、最新发布的热补丁版本。取值为None时表示没有安装热补丁 若同时安装了叠加补丁和非叠加补丁,则显示最新发布的叠加补丁。关于叠加补丁和非叠加补丁的介绍请参见“基础配置指导”中的“软件升级” |
display device manuinfo命令用来显示设备硬件的电子标签信息。
【命令】
display device manuinfo [ slot slot-number [ subslot subslot-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
subslot subslot-number:显示指定子卡的电子标签信息。subslot-number表示子卡所在的子槽位号。不指定该参数时,不会显示子卡的信息。
【使用指导】
电子标签信息也可以称为永久配置数据或档案信息等,在硬件的调测(调试、测试)过程中被写入到设备的存储器件中,包括硬件的名称、生产序列号、MAC地址、制造商等信息。
【举例】
# 显示设备硬件的电子标签信息。
<Sysname> display device manuinfo
显示信息略……。
display device manuinfo fan命令用来显示风扇的电子标签信息。
【命令】
display device manuinfo slot slot-number fan fan-id
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。
fan-id:表示设备上风扇的ID编号。
【举例】
# 显示指定风扇的电子标签信息。
<Sysname> display device manuinfo fan 1
显示信息略……。
display device manuinfo power命令用来显示电源的电子标签信息。
【命令】
display device manuinfo slot slot-number power power-id
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。
power-id:表示设备上电源的ID编号。
【举例】
# 显示指定电源的电子标签信息。
<Sysname> display device manuinfo slot 1 power 1
显示信息略……。
display environment命令用来显示设备上温度传感器的温度信息。
【命令】
display environment [ slot slot-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
【举例】
# 显示设备上所有温度传感器的温度信息。
<Sysname> display environment
System temperature information (degree centigrade):
----------------------------------------------------------------------
Slot Sensor Status Temperature LowerLimit WarningLimit AlarmLimit Sh
utdown
58 hotspot 1 Normal 40 0 75 85
NA
58 hotspot 2 Normal 38 0 75 85
NA
58 hotspot 3 Normal 35 0 75 85
NA
58 vrchip 1 Normal 82 0 112 117
140
58 vrchip 2 Normal 61 0 112 117
140
58 vrchip 3 Normal 42 0 112 117
140
58 sfp 1 Normal 30 0 80 85
NA
58 chip 0 Normal 74 0 95 97
104
58 cpu 1 Normal 82 0 94 97
NA
表1-8 display environment命令显示信息描述表
|
字段 |
描述 |
|
System Temperature information (degree centigrade) |
系统温度信息,单位为摄氏度 |
|
sensor |
温度传感器 · hotspot:表示热点温度传感器 · vrchip:drmos温度,指电源管理芯片的温度 · sfp:光模块温度 · cpu:CPU芯片温度 |
|
Slot |
当显示数字时表示指定slot上温度传感器的温度信息 |
|
Temperature |
当前温度 |
|
Lower |
低温告警门限。当显示为NA时,表示不支持该门限 |
|
Warning |
一般级(Warning)高温告警门限。当显示为NA时,表示不支持该门限 |
|
Alarm |
严重级(Alarm)高温告警门限。当显示为NA时,表示不支持该门限 |
|
Shutdown |
关断级(Shutdown)高温告警门限,当温度传感器的温度大于该门限时,设备会自动关闭。当显示为NA时,表示不支持该门限 |
display fan命令用来显示风扇的工作状态。
【命令】
display fan [ verbose ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
verbose:显示设备内置风扇的详细信息。不指定该参数时,显示设备内置风扇的简要信息。
【举例】
# 显示设备上所有风扇的工作状态。
<Sysname> display fan
Slot 1:
Fan 1:
State : Normal
Airflow Direction: Port-to-power
Prefer Airflow Direction: Port-to-power
表1-9 display fan命令显示信息描述表
|
· Absent:风扇不在位 · Normal:风扇正常工作 · Fault:风扇故障 · FanDirectionFault:用户期望的风道方向与风扇框的实际风道方向不一致 |
|
|
· Port-to-power:风扇从端口侧向电源侧抽风,即风向从前向后 · Power-to-port:风扇从电源侧向端口侧吹风,即风向从后向前 |
|
|
· Port-to-power:风扇从端口侧向电源侧抽风,即风向从前向后 · Power-to-port:风扇从电源侧向端口侧吹风,即风向从后向前 |
display hardware-resource flr-init命令用来显示当前FLR模式。
【命令】
display hardware-resource flr-init
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【举例】
# 显示当前FLR模式。
<Sysname> display hardware-resource flr-init
flr-init mode(flr-init), all supported modes:
disable The disable flr(fast link recover) init
enable The enable flr(fast link recover) init
----------------------------------------
Default Current Next
enable enable enable
表1-10 display hardware-resource flr-init命令显示信息描述表
|
字段 |
描述 |
|
flr-init mode(flr-init), all supported modes |
设备支持的FLR模式 |
|
Default |
缺省的FLR模式 |
|
Current |
当前的FLR模式 |
|
Next |
重启生效后的FLR模式 |
display hardware-resource voq-mode命令用来显示当前VOQ的工作模式。
【命令】
display hardware-resource voq-mode
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【举例】
# 显示当前VOQ的工作模式。
<Sysname> display hardware-resource voq-mode
voq-mode(voq-mode), all supported modes:
4-queues 4-queues
8-queues 8-queues
----------------------------------------
Default Current Next
4-queues 4-queues 4-queues
表1-11 display hardware-resource voq-mode命令显示信息描述表
|
字段 |
描述 |
|
voq-mode(voq-mode), all supported modes |
设备支持的VOQ工作模式 |
|
Default |
VOQ的缺省工作模式 |
|
Current |
VOQ的当前工作模式 |
|
Next |
VOQ的下个工作模式 |
display memory命令用来显示内存使用情况。
【命令】
display memory [ summary ] [ slot slot-number [ cpu cpu-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
summary:显示内存使用情况的简要信息。不指定该参数时,显示内存使用情况的详细信息。
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU编号。
【使用指导】
当显示信息中某一行所有参数的取值均显示为“--”时,可能原因为命令行从设备内部数据库获取数据失败,请稍候重试。
【举例】
# 显示设备的内存使用情况的详细信息。
<Sysname> display memory
Memory statistics are measured in KB:
Slot 58:
Total Used Free Shared Buffers Cached FreeRatio
Mem: 15975528 10564444 5411084 0 7872 4665308 39.3%
-/+ Buffers/Cache: 5891264 10084264
Swap: 0 0 0
Container memory statistics are measured in KB:
Slot 58:
Total Used Free UsageRatio
Mem: 15975528 8062972 5411084 50.5%
# 显示设备的内存使用情况的简要信息。
<Sysname> display memory summary
Memory statistics are measured in KB:
Slot CPU Total Used Free Buffers Caches FreeRatio
58 0 15975528 10564024 5411504 7872 4665416 39.3%
Container memory statistics are measured in KB:
Slot CPU Total Used Free UsageRatio
58 0 15975528 8063568 5411504 50.5%
表1-12 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 |
交换分区的使用信息 |
|
Container memory statistics are measured in KB |
Comware容器对内存的使用情况,包括: · Total:Comware容器总共可分配的物理内存的大小,单位为KB · Used:Comware容器已使用的物理内存的大小,单位为KB · Free:Comware容器可用的物理内存的大小,单位为KB · UsageRatio:Comware容器对物理内存的使用率 |
display memory dma命令用来显示DMA内存的使用情况。
【命令】
display memory dma [ slot slot-number [ cpu cpu-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU的编号。
【举例】
# 显示slot1的DMA内存使用相关信息。
<System> display memory dma slot 1
DMA memory statistics measured in KB on slot 1:
Total Used Free FreeRatio
16384 6140 10244 63%
表1-13 display memory dma 命令显示信息描述表
|
字段 |
描述 |
|
DMA memory statistics measured in KB |
系统使用DMA内存情况,单位为KB |
|
Total |
内存分片的总个数,为Free和Used之和 |
|
Used |
系统已使用的DMA内存大小 |
|
Free |
系统可使用的DMA内存大小 |
|
FreeRatio |
Free与Total的比率,可以反映系统DMA内存的空闲率 |
display memory-threshold命令用来显示内存告警门限相关信息。
【命令】
display memory-threshold [ slot slot-number [ cpu cpu-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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: 768M
Normal: 1280M
Early-warning: 1152M
Secure: 1152M
Current memory state: Normal (secure)
Event statistics:
[Back to secure state]
First notification: 0.0
Latest notification: 0.0
Total number of notifications sent: 0
[Enter early-warning state]
First notification at: 0.0
Latest notification at: 0.0
Total number of notifications sent: 0
[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-14 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 |
事件发生的总次数 |
display memory-threshold dma命令用来显示DMA内存告警相关信息。
【命令】
display memory-threshold dma [ slot slot-number [ cpu cpu-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU的编号。
【举例】
# 显示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-15 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 |
告警事件发生的总次数 |
display power-supply命令用来显示电源管理功能的相关信息。
【命令】
display power-supply [ slot slot-number ] [ verbose ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
verbose:显示电源管理功能的详细信息。不指定该参数时,显示电源管理功能的简要信息。
【举例】
# 显示电源管理功能的相关信息
<Sysname> display power-supply
PowerID State InVoltage(V) InPower(W) OutVoltage(V) OutCurrent(A) OutPower
(W) Type Mode
1 Absent -- -- -- -- --
-- --
2 Normal 220 0 12.19 31.53 384.35
display resource-monitor命令用来显示资源监控功能的相关信息。
【命令】
display resource-monitor [ resource resource-name ] [ slot slot-number [ cpu cpu-number ] ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
resource resource-name:需要监测的资源的名称。参数的取值请参见设备可监测的资源描述表。
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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
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 |
本端作为接收端时的输出幅值参数 |
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:未知状态 |
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 alarm |
接收光功率高告警 |
|
RX power low alarm |
接收光功率低告警 |
|
RX power high warning |
接收光功率高预警 |
|
RX power low warning |
接收光功率低预警 |
|
TX fault |
发送错误 |
|
TX bias high |
偏置电流高 |
|
TX bias low |
偏置电流低 |
|
TX power high alarm |
发送光功率高告警 |
|
TX power low alarm |
发送光功率低告警 |
|
TX power high warning |
发送光功率高预警 |
|
TX power low warning |
发送光功率低预警 |
|
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光模块支持显示该信息 |
|
Excessive RX power change |
接收光功率变化量过大告警 |
|
Excessive TX power change |
发送光功率变化量过大告警 |
|
Excessive TX bias change |
偏置电流变化量过大告警 |
|
Excessive temp change |
温度变化量过大告警 |
|
User-set TX power high |
用户自定义发送光功率高告警 |
|
User-set TX power low |
用户自定义发送光功率低告警 |
|
User-set RX power high |
用户自定义接收光功率高告警 |
|
User-set RX power low |
用户自定义接收光功率低告警 |
表1-20 QSFP+/QSFP28的display transceiver alarm命令输出信息描述表
|
字段 |
描述 |
|
Temp high |
温度高 |
|
Temp low |
温度低 |
|
Voltage high |
电压高 |
|
Voltage low |
电压低 |
|
RX signal loss(channel x) |
通道x接收到的信号丢失,单通道光模块不显示“(channel x)”字段 |
|
TX fault(channel x) |
通道x发送报文时出错,单通道光模块不显示“(channel x)”字段 |
|
TX signal loss(channel x) |
通道x发送的信号丢失,单通道光模块不显示“(channel x)”字段 |
|
RX power high alarm(channel x) |
通道x接收到的光的功率高告警,单通道光模块不显示“(channel x)”字段 |
|
RX power low alarm(channel x) |
通道x接收到的光的功率低告警,单通道光模块不显示“(channel x)”字段 |
|
RX power high warning(channel x) |
通道x接收到的光的功率高预警,单通道光模块不显示“(channel x)”字段 |
|
RX power low warning(channel x) |
通道x接收到的光的功率低预警,单通道光模块不显示“(channel x)”字段 |
|
TX power high alarm(channel x) |
通道x收到的光的功率高告警,单通道光模块不显示“(channel x)”字段 |
|
TX power low alarm(channel x) |
通道x收到到的光的功率低告警,单通道光模块不显示“(channel x)”字段 |
|
TX power high warning(channel x) |
通道x收到到的光的功率高预警,单通道光模块不显示“(channel x)”字段 |
|
TX power low warning(channel x) |
通道x收到到的光的功率低预警,单通道光模块不显示“(channel x)”字段 |
|
TX bias high alarm(channel x) |
通道x的偏置电流高告警,单通道光模块不显示“(channel x)”字段 |
|
TX bias low alarm(channel x) |
通道x的偏置电流低告警,单通道光模块不显示“(channel x)”字段 |
|
TX bias high warning(channel x) |
通道x的偏置电流高预警,单通道光模块不显示“(channel x)”字段 |
|
TX bias low warning(channel x) |
通道x的偏置电流低预警,单通道光模块不显示“(channel x)”字段 |
|
Transceiver info I/O error |
模块读写错误 |
|
Transceiver info checksum error |
模块信息校验和错误 |
|
Transceiver type and port configuration mismatched |
模块类型和端口配置不匹配 |
|
Transceiver type not supported |
端口不支持该类型的模块 |
|
Excessive RX power change(channel x) |
通道x接收光功率变化量过大告警,单通道光模块不显示“(channel x)”字段 |
|
Excessive TX power change(channel x) |
通道x发送光功率变化量过大告警,单通道光模块不显示“(channel x)”字段 |
|
Excessive TX bias change(channel x) |
通道x偏置电流变化量过大告警,单通道光模块不显示“(channel x)”字段 |
|
Excessive temp change |
温度变化量过大告警 |
|
User-set TX power high(channel x) |
通道x用户自定义发送光功率高告警,单通道光模块不显示“(channel x)”字段 |
|
User-set TX power low(channel x) |
通道x用户自定义发送光功率低告警,通道光模块不显示“(channel x)”字段 |
|
User-set RX power high(channel x) |
通道x用户自定义接收光功率高告警,单通道光模块不显示“(channel x)”字段 |
|
User-set RX power low(channel x) |
通道x用户自定义接收光功率低告警,单通道光模块不显示“(channel x)”字段 |
表1-21 CFP的display transceiver alarm命令输出信息描述表
|
字段 |
描述 |
|
TX jitter PLL unlocked |
发送Jitter PLL失锁 |
|
TX CMU unlocked |
发送CMU失锁 |
|
Overloaded |
负载过大 |
|
Loss of REFCLK input |
缺乏参考时钟 |
|
Channel signals out of alignment |
主机通道信号不对齐 |
|
PLD or flash initialization error |
初始化错误 |
|
Power supply fault |
电源错误 |
|
CFP checksum error |
校验和错误 |
|
TX bias high |
偏置电流高 |
|
TX bias low |
偏置电流低 |
|
Temp high |
温度高 |
|
Temp low |
温度低 |
|
Voltage high |
电压高 |
|
Voltage low |
电压低 |
|
RX signal loss in channel x |
通道x接收到的信号丢失 |
|
RX IC unlocked in channel x |
通道x接收到的IC时钟失锁 |
|
RX FIFO error in channel x |
通道x接收到FIFO错误 |
|
TX signal loss in channel x |
通道x发送的信号丢失 |
|
TX IC unlocked in channel x |
通道x发送的IC时钟失锁 |
|
TX FIFO error in channel x |
主机通道x的发送FIFO出错 |
|
TX IC unlocked in channel x |
主机通道x发送的IC时钟失锁 |
|
APD supply fault in channel x |
通道x出现APD错误 |
|
TEC fault in channel x |
通道x出现TEC错误 |
|
Wavelength unlocked in channel x |
通道x的光信号波长失锁 |
|
RX power high in lane x |
通道x接收到的光的功率太高 |
|
RX power low in lane x |
通道x接收到的光的功率太低 |
|
TX power high in lane x |
通道x发送的光的功率太高 |
|
TX power low in lane x |
通道x发送的光的功率太低 |
|
TX bias high in lane x |
通道x的偏置电流高 |
|
TX bias low in lane x |
通道x的偏置电流低 |
|
Temp high in lane x |
通道x的温度高 |
|
Temp low in lane x |
通道x的温度低 |
|
Transceiver info I/O error |
模块读写错误 |
|
Transceiver info checksum error |
模块信息校验和错误 |
|
Transceiver type and port configuration mismatched |
模块类型和端口配置不匹配 |
|
Transceiver type not supported |
端口不支持该类型的模块 |
表1-22 XFP的display transceiver alarm命令输出信息描述表
|
字段 |
描述 |
|
RX loss of signal |
接收信号丢失 |
|
RX not ready |
接收状态未就绪 |
|
RX CDR loss of lock |
RX CDR时钟失锁 |
|
RX power high |
接收光功率高 |
|
RX power low |
接收光功率低 |
|
TX not ready |
发送状态未就绪 |
|
TX fault |
发送错误 |
|
TX CDR loss of lock |
TX CDR时钟失锁 |
|
TX bias high |
偏置电流高 |
|
TX bias low |
偏置电流低 |
|
TX power high |
发送光功率高 |
|
TX power low |
发送光功率低 |
|
Module not ready |
模块状态未就绪 |
|
APD supply fault |
APD(Avalanche Photo Diode,雪崩光电二极管)错误 |
|
TEC fault |
TEC(Thermoelectric Cooler,热点冷却器)错误 |
|
Wavelength unlocked |
光信号波长失锁 |
|
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 |
端口不支持该模块类型 |
表1-23 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低告警 |
|
Excessive RX power change(channel x) |
通道x接收光功率变化量过大告警 |
|
Excessive TX power change(channel x) |
通道x发送光功率变化量过大告警 |
|
Excessive TX bias change(channel x) |
通道x偏置电流变化量过大告警 |
|
Excessive temp change |
温度变化量过大告警 |
|
User-set TX power high(channel x) |
通道x用户自定义发送光功率高告警 |
|
User-set TX power low(channel x) |
通道x用户自定义发送光功率低告警 |
|
User-set RX power high(channel x) |
通道x用户自定义接收光功率高告警 |
|
User-set RX power low(channel x) |
通道x用户自定义接收光功率低告警 |
【举例】
# 显示接口FourHundredGigE1/0/1上插入的可插拔接口模块的当前故障告警信息。
<Sysname> display transceiver alarm interface fourhundredgige 1/0/1
FourHundredGigE1/0/1 transceiver current alarm information:
RX loss of signal
RX power low
表1-24 display transceiver alarm显示信息描述表
|
字段 |
描述 |
|
transceiver current alarm information |
接口光模块当前故障告警信息 |
|
RX loss of signal |
接收信号丢失 |
|
RX power low |
接收光功率低告警 |
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-25 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 |
该应用类型介质侧最低的通道编号 |
display transceiver diagnosis命令用来显示可插拔光模块的数字诊断参数的当前测量值。
【命令】
display transceiver diagnosis interface [ interface-type interface-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
interface [ interface-type interface-number ]:显示接口上插入的可插拔光模块的数字诊断参数的当前测量值。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。
【使用指导】
对于插入CFP2-200G-DCO-Tunable光模块的接口,插入光模块后,系统会自动生成两个100G以太网接口,接口的编号形如HundredGigE1/0/1:1和HundredGigE1/0/1:2。执行本命令时,指定这两个接口中的任一接口显示结果相同,均显示光模块的数字诊断参数的当前测量值。
【举例】
# 显示接口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
Warning thresholds:
Temp(C) Voltage(V) Bias(mA) RX power(dBM) TX power(dBM)
High 45 3.25 1.25 -15.00 4.00
Low 25 2.85 0.85 -25.00 1.00
User-set power thresholds:
RX power(dBm) TX power(dBm)
High -11.40 N/A
Low -26.00 0.10
# 显示接口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
User-set power thresholds:
RX power(dBm) TX power(dBm)
High 4.40 4.40
Low -10.00 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-26 display transceiver diagnosis显示信息描述表
|
字段 |
描述 |
|
transceiver diagnostic information |
接口插入的光模块的数字诊断信息 |
|
Current diagnostic parameters |
当前的诊断参数 |
|
Wave.er(nm) |
波长偏移,单位为nm,精确到0.001nm。仅HPE X130 10G SFP+ LC LH80 tunable Transceiver (JL250A)、SFP-XG-LH80-Tunable光模块支持显示该字段 |
|
Freq.er(GHz) |
频率偏移,单位为GHZ,精确到0.1GHZ。仅HPE X130 10G SFP+ LC LH80 tunable Transceiver (JL250A)、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 |
|
Warning threshold |
预警门限 |
|
User-set power thresholds |
用户自定义功率告警门限 |
|
RX power(dBm) |
用户自定义接收光功率门限值,单位为dBm,精确到0.01dBm |
|
TX power(dBm) |
用户自定义发送光功率门限值,单位为dBm,精确到0.01dBm |
表1-27 display transceiver diagnosis显示信息中光学参数统计信息描述表(本表中的显示信息仅CFP2-200G-DCO-Tunable光模块支持)
|
字段 |
描述 |
|
Optical statistics over PM interval |
当前性能监控间隔时间内的光学参数统计信息 |
|
Parameter Current Average Min Max |
参数名称、参数的当前值、平均值、最小值、最大值 |
|
TX power(dBm) |
数字诊断参数——发送光功率,单位为dBm,精确到0.01dBm |
|
RX power(dBm) |
数字诊断参数——接收光功率,单位为dBm,精确到0.01dBm |
|
Chromatic dispersion(ps/nm) |
数字诊断参数——色散,单位为ps/nm,精确到1ps/nm |
|
Differential group delay(ps) |
数字诊断参数——差分群时延,单位为ps,精确到1ps |
|
Q(dB) |
数字诊断参数——Q因子,单位为dB,精确到0.1dB |
|
Carrier frequency(MHz) |
数字诊断参数——载波频率偏移,单位为MHz,精确到1MHz |
|
SNR(dB) |
数字诊断参数——电信噪比,单位为dB,精确到0.1dB |
|
SNR of X polarization(dB) |
数字诊断参数——X偏振态电信噪比,单位为dB,精确到0.1dB |
|
SNR of Y polarization (dB) |
数字诊断参数——Y偏振态电信噪比,单位为dB,精确到0.1dB |
|
BER |
数字诊断参数——误码率,科学技术法表示,尾数精确到小数点后2位 |
|
OSNR(dB) |
数字诊断参数——光信噪比,单位为dB,精确到0.1dB |
|
OSNR of X polarization(dB) |
数字诊断参数——X偏振态光信噪比,单位为dB,精确到0.1dB |
|
OSNR of Y polarization (dB) |
数字诊断参数——Y偏振态光信噪比,单位为dB,精确到0.1dB |
表1-28 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无法纠正的发送帧数 |
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-29 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纠后误码率 |
display transceiver interface命令用来显示可插拔接口模块的主要特征参数。
【命令】
display transceiver interface [ interface-type interface-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
interface-type interface-number:显示接口上插入的可插拔接口模块的主要特征参数。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。
【举例】
# 显示接口FourHundredGigE1/0/1上插入的可插拔接口模块的主要特征参数。
<Sysname> display transceiver interface fourhundredgige 1/0/1
FourHundredGigE1/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-30 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 |
可插拔接口模块的对外型号 |
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光模块支持。
【举例】
# 显示Ten-GigabitEthernet1/0/1上插入的光模块当前使用的ITU通道的信息。
<Sysname> display transceiver itu-channel interface ten-gigabitethernet 1/0/1
Interface Channel WaveLength(nm) Frequency(THz)
XGE1/0/1 1 1566.72 191.35
# 显示Ten-GigabitEthernet1/0/1上插入的光模块支持配置的ITU通道的信息。
<Sysname> display transceiver itu-channel interface ten-gigabitethernet 1/0/1 supported-channel
ITU channel settings supported on Ten-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-31 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
display transceiver manuinfo命令用于显示可插拔接口模块的电子标签信息。
【命令】
display transceiver manuinfo interface [ interface-type interface-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
interface [ interface-type interface-number ]:显示接口上插入的可插拔接口模块的部分电子标签信息。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。
【举例】
# 显示接口FourHundredGigE1/0/1上插入的可插拔接口模块的电子标签信息。
<Sysname> display transceiver manuinfo interface fourhundredgige 1/0/1
FourHundredGigE1/0/1 transceiver manufacture information:
Manu. Serial Number : 213410A0000054000251
Manufacturing Date : 2019-09-01
Vendor Name : H3C
表1-32 display transceiver manuinfo命令显示信息描述表
|
字段 |
描述 |
|
Manu. Serial Number |
在调测(调试、测试)过程中生成的序列号 |
|
Manufacturing Date |
调测日期,取值为调测平台计算机的系统日期 |
|
Vendor Name |
定制厂商名称,即H3C |
display transceiver performance interface命令用来显示可插拔光模块的重要性能参数的当前测量值和告警门限。
【命令】
display transceiver performance interface [ interface-type interface-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
interface [ interface-type interface-number ]:显示接口上插入的可插拔光模块的重要性能参数的当前测量值和告警门限。interface-type interface-number表示接口类型和接口编号,如果不指定该参数,表示所有接口。
【使用指导】
仅QSFPDD-400G-ZR和QSFPDD-400G-ZR PLUS光模块支持本命令。
【举例】
# 显示接口FourHundredGigE1/0/1上插入的可插拔光模块的重要性能参数的当前测量值和告警门限。
<Sysname> display transceiver performance interface fourhundredgige 1/0/1
FourHundredGigE1/0/1 transceiver performance information:
Parameters Value High Low
Temp.(C) : 25 30 10
Voltage(V) : 3.29 3.50 3.05
TX power(dBm) : -10.2 1.2 -15.2
Total RX power(dBm) : -11.6 2.2 -16.3
RX channel power(dBm) : 11.9 15.6 6.4
Chromatic dispersion(short link)(ps/nm): 0 2400 -2400
Differential group delay(ps) : 9.3 12.2 5.3
Rx OSNR(dB) : 35.1 52.2 20.3
Rx ESNR(dB) : 17.5 21.7 4.6
CFO(MHz) : 17 21 13
Laser temperature(C) : 59.5 78.8 12.2
Pre-FEC BER : 5.45E-04 1.00E-02 0.00E-24
Post-FEC EFR : 4.92E+03 4.94E+03 0.00E+00
Laser frequency(GHz) : 193100.00 N/A N/A
表1-33 display transceiver performance interface显示信息描述表
|
字段 |
描述 |
|
interface-name transceiver performance information |
接口interface-name上插入的可插拔光模块的重要性能参数的当前测量值和告警门限 |
|
Parameters |
性能参数名称 |
|
Value |
性能参数的当前测量值 |
|
High |
性能参数的高告警门限 |
|
Low |
性能测试的低告警门限 |
|
Temp.(C) |
温度,单位为°C,精确到1°C |
|
Voltage(V) |
电压,单位为V,精确到0.01V |
|
TX power(dBm) |
发送光功率,单位为dBm,精确到0.1dBm |
|
Total RX power(dBm) |
总接收光功率,单位为dBm,精确到0.1dBm |
|
RX channel power(dBm) |
单通道接收光功率,单位为dBm,精确到0.1dBm |
|
Chromatic dispersion(short link) (ps/nm) |
色散(短链路),单位为ps/nm,精确到1ps/nm |
|
Differential group delay(ps) |
差分群时延,单位为ps,精确到0.1ps |
|
Rx OSNR(dB) |
接收端的光信噪比,单位为dB,精确到0.1dB |
|
Rx ESNR(dB) |
接收端的电信噪比,单位为dB,精确到0.1dB |
|
CFO(MHz) |
载波频率偏移,单位为MHz,精确到1MHz |
|
Laser temperature(C) |
激光器温度,单位为°C,精确到0.1°C |
|
Pre-FEC BER |
FEC纠错前误码率 |
|
Post-FEC EFR |
FEC纠错后误码率 |
|
Laser frequency(GHz) |
激光器工作频率 |
display transceiver optics interface命令用来显示可插拔光模块的主要光学参数。
【命令】
display transceiver optics interface [ interface-type interface-number ]
【视图】
任意视图
【缺省用户角色】
network-admin
network-operator
【参数】
interface-type interface-number:显示接口上插入的光模块的主要光学参数。interface-type interface-number表示接口类型和接口编号。不指定该参数时,表示所有支持配置光学参数的接口。
【使用指导】
仅CFP2-200G-DCO-Tunable和QSFPDD-400G-ZR光模块支持本命令。
【举例】
# 显示接口HundredGigE1/0/1上插入的可插拔接口模块的主要特征参数。
<Sysname> display transceiver optics interface hundredgige 1/0/1
HundredGigE1/0/1 transceiver optics information:
Modulation mode : Non-diff 15% SD-FEC DP-8QAM Denali Compatible
Grid spacing : 50GHz
Frequency : 194.10THz
Configured transmission power : -5.0dBm
# 显示接口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-34 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
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-35 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:表示关闭状态 |
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和800G光模块支持本命令。
【举例】
# 显示接口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
display voltage命令用来显示设备上电压传感器的电压信息。
【命令】
display voltage [ slot slot-number ]
【视图】
任意视图
【缺省用户角色】
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
【使用指导】
如果电压低于低压告警门限或者高于高压告警门限,系统会生成日志信息和告警信息提示用户。
【举例】
# 显示设备上所有电压传感器的电压信息。
<Sysname> display voltage
System voltage information (volt):
------------------------------------------------------------------------------
Slot Sensor Voltage Status Required LowLimit HighLimit Description
1 0 0.763 Normal 0.750 0.675 0.825 0.75
1 1 1.051 Normal 1.050 0.945 1.155 1.05
表1-36 display voltage命令显示信息描述表
|
字段 |
描述 |
|
System voltage information (volt) |
系统电压信息 |
|
Sensor |
电压传感器的编号 |
|
Voltage |
电压传感器的当前电压值 |
|
Status |
电压传感器的状态 |
|
Required |
电压传感器的额定电压 |
|
LowLimit |
电压传感器的低压告警门限 |
|
HighLimit |
电压传感器的高压告警门限 |
|
Description |
电压传感器的描述信息,由设备自动生成,用额定电压值表示。如果多个电压传感器的额定电压值相同时,会在额定电压前面添加字符串以示区别 |
hardware-alarm disable命令用来关闭硬件资源告警的发送功能。
【命令】
hardware-alarm { syslog | trap } resource-type { all | board | bus | chip-channel | chip-port | device | disk | fan | interface | power | subcard | transceiver | voltage } disable
undo hardware-alarm { syslog | trap } resource-type { all | board | bus | chip-channel | chip-port | device | disk | fan | interface | power | subcard | transceiver | voltage } disable
【视图】
系统视图
【缺省情况】
所有硬件资源告警的发送功能处于开启状态。
【缺省用户角色】
network-admin
【参数】
all:所有硬件资源告警信息的发送功能。
board:与单板相关的资源告警信息的发送功能。
bus:与总线相关的资源告警信息的发送功能。
chip-channel:与芯片通道相关的资源告警信息的发送功能。
chip-port:与芯片端口相关的资源告警信息的发送功能。
device:与设备相关的资源告警信息的发送功能。
disk:与磁盘相关的资源告警信息的发送功能。
fan:与风扇相关的资源告警信息的发送功能。
interface:与接口相关的资源告警信息的发送功能。
syslog:硬件资源告警日志信息的发送功能。
Subcard:与子卡相关的资源告警信息的发送功能。
transceiver:与光模块相关的资源告警信息的发送功能。
trap:硬件资源告警Trap信息的发送功能。
power:与电源相关的资源告警信息的发送功能。
voltage:与电压相关的资源告警信息的发送功能。
【举例】
# 关闭所有硬件的资源告警Trap信息的发送功能。
<Sysname> system
[Sysname] hardware-alarm trap resource-type all disable
# 关闭与设备相关的资源告警日志信息的发送功能。
<Sysname> system
[Sysname] hardware-alarm syslog resource-type device disable
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
hardware-resource flr-init命令用来配置端口FLR模式。
【命令】
hardware-resource flr-init { enable | disable }
【缺省情况】
FLR模式处于开启状态。
【视图】
系统视图
【缺省用户角色】
network-admin
【参数】
enable:开启FLR模式。
disable:关闭FLR模式。
【使用指导】
配置该命令后需要保存配置并重启才能生效。
对于NCP(S12500AI-36DH20EP-NCPN和S12500AI-18EP20EP-NCPN)需先执行命令hardware-resource flr-init disable并重启设备,否则端口将无法正常启动(无法Normal)。
【举例】
#配置关闭FLR模式。
<Sysname> system-view
[Sysname] hardware-resource flr-init disable
Do you want to change the specified hardware resource working mode? [Y/N]: y
【相关命令】
· display hardware-resource flr-init
hardware-resource voq-mode命令用来端口VOQ的工作模式。
【命令】
hardware-resource voq-mode { 4-queues | 8-queues }
【缺省情况】
端口VOQ为4-queues模式。
【视图】
系统视图
【缺省用户角色】
network-admin
【参数】
4-queues:切换VOQ的工作模式为4队列模式,每个端口分配4个VOQ,最大支持4个队列转发。
8-queues:切换VOQ的工作模式为8队列模式,每个端口分配8个VOQ,最大支持8个队列转发。
【使用指导】
配置该命令后需要保存配置并重启才能生效。
对于S12500AI-128EP-NCFN交换机,不支持本配置。
对于接入同一个NCF的NCP设备,必须统一配置相同的VOQ工作模式。
【举例】
#修改VOQ模式为8-queues模式。
<Sysname> system-view
[Sysname] hardware-resource voq-mode 8-queues
Do you want to change the specified hardware resource working mode? [Y/N]:y
【相关命令】
· display hardware-resource voq-mode
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通道编号保存在光模块内部的寄存器中,不会保存到配置文件中。
【举例】
# 将Ten-GigabitEthernet1/0/1上插入的光模块的ITU通道编号配置为2。
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-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
locator blink blink-time命令用来定位设备的位置。
locator blink stop命令用来停止定位。
【命令】
locator [ slot slot-number ] blink blink-time
locator [ slot slot-number ] blink stop
【视图】
用户视图
【缺省用户角色】
network-admin
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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
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,三级告警门限为768MB,系统恢复到正常的内存门限为1280MB,预告警门限为1152MB,预告警解除门限为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:预警门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。取值为0时,表示关闭该级别的告警功能。
secure secure-value:预警恢复门限。输入该参数的值时可通过输入?,来获取该参数的取值范围。
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU编号。
【使用指导】
系统实时监控剩余空闲内存大小,当条件达到一级、二级、三级告警门限或者恢复正常状态门限时,就产生相应的告警/告警解除通知,通知关联的业务模块/进程采取相应的措施,以便最大限度的利用内存,又能保证设备的正常运行。
设备监控的是系统内存中剩余空闲内存的大小,使用display memory命令可以查看系统内存的使用情况。
除了一级、二级、三级告警,设备还支持预警功能。预警门限用于内存使用率尚处于正常范围内,但需要提醒用户提前关注内存的情况。预警恢复门限用于解除预警。
当设备出现内存告警时,可删除暂时不用的配置或关闭部分功能来释放内存。但因为内存不足,部分配置可能删除失败。
关于告警门限的详细介绍请参见“基础配置指导”中的“设备管理”。
满足以下条件时,系统会重启单板。
· 产生三级告警后,剩余空闲内存值持续小于三级告警门限,其时长到达30秒,则系统会重启单板。
· 如果连续产生两次三级告警的时间间隔小于30秒,则系统会重启单板。
· 如果3分钟内产生三次三级告警,则系统会重启单板。
· 产生三级告警后,系统将会周期采样,预测剩余空闲内存是否会在30秒之内耗尽,如果预测结果为会在30秒之内耗尽,则系统会重启单板。
系统监控到剩余空闲内存值达到一级、二级、三级告警门限后,用户在Console或Telnet登录设备,以及执行每条命令时,都会显示当前内存使用情况。
内存告警事件的发送周期如下:持续12小时超过一级告警门限则上报一次一级告警事件通知,持续3小时超过二级告警门限则上报一次二级告警事件通知,持续1小时超过三级告警门限则上报一次三级告警事件通知。
【举例】
# 配置一级、二级、三级告警门限分别为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
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 ] ]
【缺省情况】
DMA内存告警阈值为2048KB,告警恢复阈值为4096KB。
【视图】
系统视图
【缺省用户角色】
network-admin
network-operator
【参数】
slot slot-number:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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空闲内存小于或等于告警阈值,产生告警事件,表示DMA内存可能不足;当DMA空闲内存大于告警恢复阈值,产生告警解除事件,表示DMA内存充足。
【举例】
# 配置Slot 1的DMA内存告警的阈值为32KB,告警恢复阈值为96KB。
<Sysname> system-view
[Sysname] memory-threshold dma slot 1 critical 32 normal 96
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU的编号。
memory-threshold:内存利用率阈值百分比,取值范围为0~100。
【使用指导】
系统每隔1分钟会对内存利用率进行采样,并将采样值和用户配置的内存利用率阈值比较。当采样值大时,则认为内存利用率过高,设备会发送Trap报文。
【举例】
# 配置内存利用率阈值为80%。
<Sysname> system-view
[Sysname] memory-threshold usage 80
【相关命令】
· display memory-threshold
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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
monitor cpu-usage statistics-interval core命令用来配置CPU核利用率的统计周期。
undo monitor cpu-usage statistics-interval core命令用来恢复缺省情况。
【命令】
monitor cpu-usage statistics-interval interval slot slot-number cpu cpu-number core core-id-list
undo monitor cpu-usage statistics-interval slot slot-number cpu cpu-number core core-id-list
【缺省情况】
本命令的缺省情况与设备的型号有关,请以设备的实际情况为准。
【视图】
系统视图
【缺省用户角色】
network-admin
【参数】
interval:CPU核利用率信息的统计周期,取值范围为10~3600,单位为秒。配置的统计周期建议是采样周期的整数倍,采样周期是5秒,不是整数倍时,实际生效统计周期为最接近配置值、但小于配置值的、采样周期整数倍。例如,采样周期是5秒,配置统计周期为12秒,则实际生效的统计周期是10秒。
slot slot-number:为本设备在DDC中的成员编号。
cpu cpu-number:表示CPU的编号。
core-id-list:表示CPU核的编号列表。表示方式为core-id-list = { core-id1 [ to core-id2 ] }&<1-10>,core-id2的值要大于或等于core-id1的值,&<1-10>表示前面的参数最多可以重复输入10次。
【使用指导】
系统按5秒周期对CPU核的利用率进行采样,然后对统计周期内的采样值进行计算,并将计算值和用户配置的CPU核利用率的门限比较。当计算值大于门限值时,则认为CPU核利用率过高,设备会发送告警信息并记录日志。
【举例】
# 配置slot 1 cpu 0 core 0利用率的统计周期为60秒。
<Sysname> system-view
[Sysname] monitor cpu-usage statistics-interval 60 slot 1 cpu 0 core 0
【相关命令】
· monitor cpu-usage threshold core
· monitor resend cpu-usage core-interval
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%,恢复门限为69%。
【视图】
系统视图
【缺省用户角色】
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU的编号。
【使用指导】
CPU利用率高级别告警门限如果设置过低,可能导致设备提前进入门限状态,不再进行正常业务处理。
系统每隔1分钟会对CPU以及CPU核的利用率进行采样,并将采样值和用户配置的告警门限比较。当采样值大时,则认为利用率过高,设备会进行相应的处理。
【举例】
# 配置CPU利用率告警门限为90%。
<Sysname> system-view
[Sysname] monitor cpu-usage threshold 90
【相关命令】
· display cpu-usage configuration
monitor cpu-usage threshold core命令用来配置CPU核利用率告警门限。
undo monitor cpu-usage threshold core命令用来恢复缺省情况。
【命令】
monitor cpu-usage threshold severe-threshold [ minor-threshold minor-threshold recovery-threshold recovery-threshold ] slot slot-number cpu cpu-number core core-id-list
undo monitor cpu-usage threshold [ minor-threshold recovery-threshold ] slot slot-number cpu cpu-number core core-id-list
【缺省情况】
缺省情况下,CPU核利用率高级别告警门限为99%,低级别告警门限为79%,恢复门限为69%。
【视图】
系统视图
【缺省用户角色】
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:为本设备在DDC中的成员编号。
cpu cpu-number:表示CPU的编号。
core core-id-list:表示CPU核的编号列表。表示方式为core-id-list = { core-id1 [ to core-id2 ] }&<1-10>,core-id2的值要大于或等于core-id1的值,&<1-10>表示前面的参数最多可以重复输入10次。
【使用指导】
系统按5秒周期对CPU核的利用率进行采样,然后对统计周期内的采样值进行计算,并将计算值和用户配置的CPU核利用率的门限比较。当计算值大于门限值时,则认为CPU核利用率过高,设备会发送告警信息并记录日志。
【举例】
# 配置slot 1 cpu 0 core 0的利用率高级别告警门限为90%。
<Sysname> system-view
[Sysname] monitor cpu-usage threshold 90 slot 1 cpu 0 core 0
【相关命令】
· display cpu-usage configuration
· monitor cpu-usage statistics-interval core
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU的编号。
【使用指导】
设备定期对CPU使用率进行采样,并将采样值与告警门限进行比较。当采样值从小于或等于变成大于某级别告警门限时,CPU将进入该级别告警状态并生成相应的告警事件。
CPU处于低级别告警状态时,会周期发送CPU低级别告警事件,直到CPU进入高级别告警状态或者低级别告警状态解除。CPU处于高级别告警状态时,会周期发送CPU高级别告警事件,直到高级别告警状态解除。使用本命令可以修改CPU告警事件的发送周期。
执行undo monitor resend cpu-usage命令不指定minor-interval和severe-interval参数时,表示将这两个参数恢复到缺省情况。当指定某一个参数时,仅将该参数恢复到缺省值。
【举例】
# 配置slot 1 CPU 0低级别告警事件的发送周期为60秒。
<Sysname> system-view
[Sysname] monitor resend cpu-usage minor-interval 60 slot 1 cpu 0
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
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
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:为本设备在DDC中的成员编号。如果不指定本参数,则默认为本设备的成员编号。
cpu cpu-number:表示CPU编号。
【使用指导】
设备定期对DMA内存使用率进行统计,并将统计值与告警门限进行比较。当统计值从小于或等于变成大于告警门限时,DMA内存将进入该告警状态并生成告警事件。
【举例】
# 配置发送DMA内存告警事件的间隔为100秒。
<Sysname> system-view
[Sysname] monitor resend memory-threshold dma critical-interval 100
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
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
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
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:需要监测的资源的名称,不区分大小写,需要完整输入参数的值。参数的取值请参见下表。
|
取值 |
含义 |
|
ac |
VXLAN服务实例资源 |
|
agg_group |
聚合组资源 |
|
arp |
ARP表项资源 |
|
ecmp_fec_1 |
一级ECMP FEC资源 |
|
local_ecmp |
本地等价路由组资源 |
|
local_fec |
本地转发等价类资源 |
|
mqcin |
入方向MQC资源 |
|
mqcout |
出方向MQC资源 |
|
pfilterin |
入方向包过滤资源 |
|
pfilterout |
出方向包过滤资源 |
|
route |
路由表项资源 |
|
rport |
三层以太网接口资源 |
|
vrf |
VPN实例资源 |
slot slot-number:为本设备在DDC中的成员编号。
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
switch-fabric isolate命令用来将NCF从转发平面隔离出去,所有数据流量都不经过指定NCF。
undo switch-fabric isolate命令用来取消对NCF的隔离。
【命令】
switch-fabric isolate slot slot-number
undo switch-fabric isolate slot slot-number
【缺省情况】
NCF处于转发平面,数据流量会经过NCF进行转发。
【视图】
系统视图
【缺省用户角色】
network-admin
【参数】
slot slot-number:为本设备在DDC中的成员编号。
【使用指导】
· 每个NCF都有一定的转发带宽,隔离一个NCF后会减少相应的转发带宽,使设备整体转发带宽降低。请根据需要配置。
· 当网络上仅存在一个NCF时,请不要隔离该NCF。
· 仅NCF支持本命令。
该命令主要用于定位NCF是否能够正常转发,以及更换NCF前,为避免报文丢失,可配置本命令。
NCF隔离期间不要重启设备。
NCF隔离后,请使用undo switch-fabric isolate命令对该NCF取消隔离,NCF才能恢复正常转发功能。
【举例】
# 将10号槽位的NCF隔离。
<Sysname> system-view
[Sysname] switch-fabric isolate slot 10
The command will isolate the switch fabric from the system. Continue? [Y/N]y
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:为本设备在DDC中的成员编号。
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
transceiver diagnostic selector命令用来配置可插拔光模块诊断的选项,并显示对应的诊断信息。
【命令】
transceiver diagnostic selector selector-id
【缺省情况】
未配置可插拔光模块诊断的选项。
【视图】
200GE接口视图
400GE接口视图
800GE接口视图
【缺省用户角色】
network-admin
【参数】
selector-id:表示可插拔光模块诊断的选项,取值范围为0~255。不同型号的光模块支持的取值范围不同,请以光模块的实际情况为准。
【使用指导】
仅部分支持CMIS 4.0的200G、400G和800G光模块支持本命令。
本功能的配置将会保存到光模块内部的寄存器中,如果光模块掉电,本功能的配置会被清空。当光模块重新上电后,需要重新设置本功能。
【举例】
# 将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
transceiver monitor enable命令用来开启光模块监控功能。
undo transceiver monitor enable命令用来关闭光模块监控功能。
【命令】
transceiver monitor enable [ grey | tunable ]
undo transceiver monitor enable
【缺省情况】
光模块监控功能处于关闭状态。
【视图】
系统视图
【缺省用户角色】
network-admin
【参数】
grey:表示仅开启对灰光类型光模块的监控功能。
tunable:表示仅开启对彩光类型光模块的监控功能。
【使用指导】
开启光模块监控功能后,设备会按周期检查光模块的参数(例如光模块的输出功率、输入功率等),当参数的采样值达到软件设定的阈值时,会生成相应的日志提醒用户。
配置本命令时,如果选择grey参数,则表示仅开启对灰光类型光模块的监控功能;如果选择tunable参数,则表示仅开启对彩光类型光模块的监控功能;如果不指定grey和tunable参数,则表示开启对所有类型光模块的监控功能。
【举例】
# 开启光模块监控功能。
<Sysname> system-view
[Sysname] transceiver monitor enable
【相关命令】
· 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
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
【缺省情况】
本命令的缺省情况与光模块的型号有关,请以光模块的实际情况为准。
【视图】
400GE接口视图
【缺省用户角色】
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±光通道工作频率的调整间隔×n,n取值为整数。
当不配置grid grid-value参数时,可以使用光模块支持的任意grid-value值,计算出frequency-value值。
当配置grid grid-value参数时,需要使用指定的grid-value值,根据计算公式计算得出frequency-value的值,否则将会配置不成功。
【举例】
# 设置接口FourHundredGigE1/0/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
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。
【视图】
400GE接口视图
【缺省用户角色】
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
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
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
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!
