- Table of Contents
- Related Documents
-
| Title | Size | Download |
|---|---|---|
| 03-Hardware resource management commands | 513.03 KB |
Hardware resource management commands
display cpu-usage configuration
display hardware-resource switch-mode
display transceiver active-control
display transceiver advertising
display transceiver application
display transceiver history performance-collection
monitor cpu-usage statistics-interval core
monitor resend cpu-usage core-interval
monitor resend memory-threshold dma
resource-monitor minor resend enable
transceiver diagnostic selector
transceiver optical-channel frequency
transceiver optical-channel tx-power
transceiver performance-collection enable
transceiver performance-collection interval
transceiver phony-alarm-disable
transceiver rx-power high-threshold
transceiver rx-power low-threshold
transceiver rx-power change-threshold
transceiver tx-power high-threshold
Hardware resource management commands
display alarm
Use display alarm to display device hardware alarm information.
Syntax
display alarm [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
Examples
# Display device hardware alarm information.
<Sysname> display alarm
Slot CPU Level Info
1 0 ERROR faulty
Table 1 Command output
|
Field |
Description |
|
Slot |
Slot that generated the alarm. If the alarm was generated by the frame, this field displays a hyphen (-). |
|
Level |
Alarm severity. Possible values include ERROR, WARNING, NOTICE, and INFO, in descending order. |
|
Info |
Detailed alarm information: · faulty—The slot is starting up or faulty. · Fan n is absent—The specified fan is absent. · Power n is absent—The specified power module is absent. · Power n is faulty—The specified power module is faulty. · The temperature of sensor n exceeds the lower limit—The temperature of the specified sensor is lower than the low-temperature threshold. · The temperature of sensor n exceeds the upper limit—The temperature of the specified sensor is higher than the high-temperature warning threshold. |
display cpu-usage
Use display cpu-usage to display the current CPU usage statistics.
Syntax
display cpu-usage [ control-plane ] [ summary ] [ slot slot-number [ cpu cpu-number [ core { core-number | all } ] ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
control-plane: Displays CPU usage statistics for the control plane.
summary: Displays CPU usage statistics in table form. If you do not specify this keyword, the command displays CPU usage statistics in text form.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
core core-number: Specifies a CPU core by its number.
core all: Specifies all CPU cores.
Usage guidelines
If two hyphens (--) are displayed for the CPU usage during the most recent 5-second, 1-minute, and 5-minute intervals, the command might fail to obtain data from the database on the device. Try the command later.
Examples
# Display the current CPU usage statistics in text form.
<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
# Display the current CPU usage statistics in table form.
<Sysname> display cpu-usage
Slot CPU Last 5 sec Last 1 min Last 5 min
1 0 17% 29% 28%
Table 2 Command output
|
Field |
Description |
|
x% in last 5 seconds Last 5 sec |
Average CPU usage during the most recent 5-second interval. If this statistics collection feature is not supported, two hyphens (--) are displayed. |
|
y% in last 1 minute Last 1 min |
Average CPU usage during the most recent 1-minute interval. If this statistics collection feature is not supported, two hyphens (--) are displayed. |
|
z% in last 5 minutes Last 5 min |
Average CPU usage during the most recent 5-minute interval. If this statistics collection feature is not supported, two hyphens (--) are displayed. |
display cpu-usage configuration
Use display cpu-usage configuration to display CPU usage monitoring settings.
Syntax
display cpu-usage configuration [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Examples
# Display the CPU usage monitoring settings.
<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%.
Table 3 Command output
|
Field |
Description |
|
CPU usage monitor is enabled. |
CPU usage tracking is enabled. |
|
Current monitor interval is 60 seconds. |
Sampling interval for CPU usage tracking is 60 seconds. |
Related commands
monitor cpu-usage enable
monitor cpu-usage interval
monitor cpu-usage threshold
display cpu-usage history
Use display cpu-usage history to display the historical CPU usage statistics in a coordinate system.
Syntax
display cpu-usage history [ job job-id ] [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
job job-id: Specifies a process by its ID. The value range for job-id is 1 to 2147483647. If you do not specify a process, this command displays the statistics for the entire system's CPU usage (the total CPU usage of all processes). To view the IDs and names of the running processes, use the display process command. For more information, see Network Management and Monitoring Command Reference.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number. If you specify a process but do not specify a CPU, this command displays the statistics for the default CPU. If you do not specify a process or CPU, this command displays the historical statistics for all CPUs.
Usage guidelines
After CPU usage tracking is enabled, the system regularly samples CPU usage and saves the samples to a buffer. This command displays the most recent 60 samples in a coordinate system as follows:
· The vertical axis represents the CPU usage. If a statistic is not a multiple of the usage step, it is rounded up or down to the closest multiple of the usage step. For example, if the CPU usage step is 5%, the statistic 53% is rounded up to 55%, and the statistic 52% is rounded down to 50%.
· The horizontal axis represents the time.
· Pound signs (#) indicate the CPU usage. The value on the vertical axis for the topmost pound sign at a specific time represents the CPU usage at that time.
Examples
# Display the historical CPU usage statistics.
<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)
The output shows the following items:
· Process name. The name SYSTEM represents the entire system.
· CPU that is holding the process: CPU 0 in slot 1.
· Historical CPU usage statistics for the entire system during the last 60 minutes.
¡ 12 minutes ago—Approximately 5%.
¡ 13 minutes ago—Approximately 10%.
¡ 14 minutes ago—Approximately 15%.
¡ 15 minutes ago—Approximately 10%.
¡ 16 and 17 minutes ago—Approximately 5%.
¡ 18 minutes ago—Approximately 10%.
¡ 19 minutes ago—Approximately 5%.
¡ Other time—2% or lower.
monitor cpu-usage enable
monitor cpu-usage interval
display device
Use display device to display device hardware information.
Syntax
display device [ flash | usb ] [ slot slot-number | verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
flash: Displays flash memory information.
usb: Displays USB interface information.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
verbose: Displays detailed information. If you do not specify this keyword, this command displays brief information.
Usage guidelines
If you do not specify the flash or usb keyword, this command displays hardware information about the device.
Examples
# Display device hardware information.
<Sysname> display device
Slot Brd Type Brd Status Subslot Sft Ver Patch Ver
1 S9855-48CD8D Master 0 S9855-48CD8D-9319 None
Table 4 Command output
|
Field |
Description |
|
Type |
Device type. |
|
Status |
Device role. |
|
Sft Ver |
Software version of the device. |
|
Patch Ver |
Most recently released patch image version that is running on the device. If no patch image is installed, this field displays None. If both incremental and non-incremental patch images are running on the device, this field displays the most recently released incremental patch image version. For more information about patch image types, see upgrading software in Fundamentals Configuration Guide. |
display device manuinfo
Use display device manuinfo to display hardware electronic label information for the device.
Syntax
display device manuinfo [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
Usage guidelines
An electronic label contains the permanent configuration information, including the hardware serial number, manufacturing date, MAC address, and vendor name. The data is written to the storage component during hardware debugging or testing. This command displays only part of the electronic label information.
Examples
# Display hardware electronic label information for the device.
<Sysname> display device manuinfo
...
display device manuinfo fan
Use display device manuinfo fan to display electronic label information for a fan tray.
Syntax
display device manuinfo slot slot-number fan fan-id
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
fan-id: Specifies a fan tray by its ID.
Examples
# Display electronic label information for a fan tray.
<Sysname> display device manuinfo fan 1
...
display device manuinfo power
Use display device manuinfo power to display electronic label information for a power module.
Syntax
display device manuinfo slot slot-number power power-id
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
power-id: Specifies a power module by its ID.
Examples
# Display electronic label information for a power module.
<Sysname> display device manuinfo slot 1 power 1
...
display environment
Use display environment to display temperature information.
Syntax
display environment [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
Examples
# Display information about all temperature sensors on the device.
<Sysname> display environment
System temperature information (degree centigrade):
-----------------------------------------------------------------------------
Slot Sensor Temperature Lower Warning Alarm Shutdown
1 hotspot 1 38 10 40 50 100
1 hotspot 2 42 10 50 80 100
Table 5 Command output
|
Field |
Description |
|
System Temperature information (degree centigrade) |
Temperature information (°C). |
|
sensor |
Temperature sensor: hotspot—Hotspot sensor. |
|
Slot |
Sensor position. |
|
Temperature |
Current temperature. |
|
Lower |
Lower temperature limit. If the device does not support this field, this field displays NA. |
|
Warning |
Warning temperature threshold. If the device does not support this field, this field displays NA. |
|
Alarm |
Alarming temperature threshold. If the device does not support this field, this field displays NA. |
|
Shutdown |
Shutdown temperature threshold. When the sensor temperature reaches the limit, the system shuts down automatically. If the device does not support this field, this field displays NA. |
display fan
Use display fan to display fan tray operating status information.
Syntax
display fan [ slot slot-number [ fan-id ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
fan-id: Specifies a fan tray by its ID. If you do not specify a fan tray, this command displays operating status information for all fan trays at the specified position.
Examples
# Display the operating states of all fan trays.
<Sysname> display fan
Fan Frame 1 State: Normal
Airflow Direction: Port-to-power
Fan Frame 2 State: Normal
Airflow Direction: Port-to-power
Fan Frame 3 State: Normal
Airflow Direction: Port-to-power
Fan Frame 4 State: Normal
Airflow Direction: Port-to-power
Fan Frame 5 State: Normal
Airflow Direction: Port-to-power
Fan Frame 6 State: Normal
Airflow Direction: Port-to-power
Table 6 Command output
|
Field |
Description |
|
State |
Fan tray status: · Absent—The slot is not installed with a fan tray. · Normal—The fan tray is operating correctly. · Fault—The fan tray is faulty. · FanDirectionFault—The actual airflow direction is not the preferred direction. |
|
Airflow Direction |
Actual airflow direction: · Port-to-power—From the port side to the power supply side. · Power-to-port—From the power supply side to the port side. |
display hardware-resource switch-mode
Use display hardware-resource switch-mode to display hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables.
Syntax
display hardware-resource switch-mode
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables. (Applicable to the S9855-40B, S9855-32D, S9855-24B8D, and S9855-48CD8D switches.)
<Sysname> display hardware-resource switch-mode
Switch-mode resource(switch-mode), all supported modes:
ROUTING MAC:32K, ARP and ND:28K, FIB ipv4:980000, FIB ipv6(64B):9800
MAC MAC:224k, ARP and ND:28K, FIB ipv4:90000, FIB ipv6(64B):9000
0
-----------------------------------------------
Default Current Next
ROUTING MAC MAC
# Display the hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables. (Applicable to the S9825-128B and S9825-64D switches.)
<Sysname> display hardware-resource switch-mode
Switch-mode resource(switch-mode), all supported modes:
ROUTING MAC:8K, ARP and ND:16K, FIB ipv4:980000, FIB ipv6(64B):9800
00
MAC MAC:128k, ARP and ND:16K, FIB ipv4:90000, FIB ipv6(64B):8000
0
-----------------------------------------------
Default Current Next
ROUTING MAC MAC
Table 7 Command output
|
Field |
Description |
|
Switch-mode resource(switch-mode), all supported modes: |
Hardware resource operating modes for the MAC address table, ARP and ND tables, and routing tables supported by the device. |
|
ROUTING |
ROUTING mode. |
|
MAC |
MAC mode. |
|
Default |
Default hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables. |
|
Current |
Current hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables. |
|
Next |
Hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables at the next device startup. |
Related commands
hardware-resource switch-mode
display memory
Use display memory to display memory usage information.
Syntax
display memory [ summary ] [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
summary: Displays brief information about memory usage. If you do not specify this keyword, the command displays detailed information about memory usage.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
If two hyphens (--) are displayed for all the fields in a line of the output, the command might fail to obtain data from the database on the device. Try the command later.
Examples
# Display detailed memory usage information.
<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%
# Display brief memory usage information.
<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%
Table 8 Command output
|
Field |
Description |
|
Memory statistics are measured in KB: |
Memory usage information on the physical device, in KB. |
|
Mem |
Memory usage information. |
|
Total |
Total size of the physical memory space that can be allocated. The memory space is virtually divided into two parts. Part 1 is solely used for kernel code and kernel management functions. Part 2 can be allocated and used for such tasks as running service modules and storing files. The size of part 2 equals the total size minus the size of part 1. |
|
Used |
Used physical memory. |
|
Free |
Free physical memory. |
|
Shared |
Physical memory shared by processes. If this field is not supported, two hyphens (--) are displayed. |
|
Buffers |
Physical memory used for buffers. If this field is not supported, two hyphens (--) are displayed. |
|
Cached Caches |
Physical memory used for caches. If this field is not supported, two hyphens (--) are displayed. |
|
FreeRatio |
Free memory ratio. |
|
-/+ Buffers/Cache |
-/+ Buffers/Cache:used = Mem:Used – Mem:Buffers – Mem:Cached, which indicates the physical memory used by applications. -/+ Buffers/Cache:free = Mem:Free + Mem:Buffers + Mem:Cached, which indicates the physical memory available for applications. |
|
Swap |
Memory space for swapping. |
|
Container memory statistics are measured in KB |
Container memory usage information, including: · Total—Total size of the physical memory space that can be allocated in the Comware container, in KB. · Used—Used physical memory in the Comware container, in KB. · Free—Free physical memory in the Comware container, in KB. · UsageRatio—Free physical memory usage in the Comware container. |
display memory dma
Use display memory dma to display DMA memory usage information.
Syntax
display memory dma [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Examples
# Display DMA memory usage information for slot 1.
<System> display memory dma slot 1
DMA memory statistics measured in KB on slot 1:
Total Used Free FreeRatio
16384 6140 10244 63%
Table 9 Command output
|
Field |
Description |
|
Total |
Total size of the DMA memory space, including the free and used DMA memory. |
|
Used |
Used DMA memory. |
|
Free |
Free DMA memory. |
|
FreeRatio |
Free DMA memory ratio. |
display memory-threshold
Use display memory-threshold to display memory alarm thresholds and statistics.
Syntax
display memory-threshold [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
For more information about memory usage notifications, see log information containing MEM_EXCEED_THRESHOLD or MEM_BELOW_THRESHOLD.
Examples
# Display memory alarm thresholds and statistics.
<Sysname> display memory-threshold
Memory usage threshold: 100%
Free memory threshold:
Minor: 256M
Severe: 192M
Critical: 128M
Normal: 320M
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
display memory-threshold dma
Use display memory-threshold dma to display DMA memory alarm information.
Syntax
display memory-threshold dma [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Examples
# Display DMA memory alarm information.
<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 notificatio: 0.0
Latest notification: 0.0
Total number of notifications sent: 0
display power
Use display power to display power module information.
Syntax
display power [ slot slot-number [ power-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
power-id: Specifies a power module by its ID. If you do not specify a power module, this command displays information about all power modules at the specified position.
Examples
# Display brief power module information.
<Sysname> display power
Slot 1:
Input Power: 99(W)
PowerID State Mode Current(A) Voltage(V) Power(W) FanDirection
1 Normal AC 5.40 12.35 66 PowerToPort
2 Normal AC 2.85 10.00 33 PortToPower
Table 10 Command output
|
Field |
Description |
|
Input Power |
Rated power. |
|
PowerID |
Power module ID. |
|
State |
Power module status. · Absent—The slot is not installed with a power module. · Fault—The power module is faulty. · Normal—The power module is operating correctly. |
|
Mode |
Mode of the power module: · AC—AC power module. · DC—DC power module. |
|
Current(A) |
Output current of the power module, in amperes. If this field is not supported, two hyphens (--) are displayed. |
|
Voltage(V) |
Output voltage of the power module, in volts. If this field is not supported, two hyphens (--) are displayed. |
|
Power(W) |
Output power of the power module, in watts. If this field is not supported, two hyphens (--) are displayed. |
|
FanDirection |
Airflow direction of the power module: · PowerToPort—From the power module side to the port side. · PortToPower—From the port side to the power module side. |
display resource-monitor
Use display resource-monitor to display resource monitoring information.
Syntax
display resource-monitor [ resource resource-name ] [ slot slot-number [ cpu cpu-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
resource resource-name: Specifies a resource type by its name.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Examples
# Display ARP resource monitoring information.
<Sysname> display resource-monitor resource arp
Minor alarms resending: Enabled
Slot 1:
Resource Minor Severe Free/Total
(%) (%) (absolute)
arp 50 20 90095/90098
Table 11 Command output
|
Field |
Description |
|
Minor alarms resending |
Status of the minor resource depletion alarm resending feature, Enabled or Disabled. |
|
Resource |
Monitored resource type. |
|
Minor (%) |
Minor resource depletion threshold, in percentage. |
|
Severe (%) |
Severe resource depletion threshold, in percentage. |
|
Free/Total (absolute) |
Numbers of available resources and total resources, in absolute values. |
Related commands
resource-monitor minor resend enable
resource-monitor resource
display transceiver active-control
Use display transceiver active-control to display active control information of a 400G transceiver module.
Syntax
display transceiver active-control interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command applies to all interfaces.
Examples
# Display active control information of the 400G transceiver module in FourHundredGigE 1/0/1.
<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
Table 12 Command output
|
Field |
Description |
|
Current working mode |
Current operating mode of the transceiver module. |
|
Lane |
Lane number. |
|
LowestHostLane |
Lowest-numbered host lane in the lane group to which the lane belongs. |
|
RxPre-Cursor |
Rx output equalization pre-cursor. |
|
RxPost-Cursor |
Rx output equalization post-cursor. |
|
RxAmplitude |
Rx output amplitude. |
display transceiver advertising
Use display transceiver advertising to display advertising information of 400G transceiver modules.
Syntax
display transceiver advertising interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command applies to all interfaces.
Examples
# Display the advertising information of the 400G transceiver module in interface FourHundredGigE 1/0/1.
<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
Table 13 Command output
|
Field |
Description |
|
CMIS revision |
QSFP-DD CMIS version. The value is 3.0 or 4.0. |
|
Versatile diagnostic monitoring |
Support for versatile diagnostic monitoring: · YES. · NO. |
|
Tx clock recovery capabilities |
Clock recovery capabilities when the transceiver module acts as the transmitter: · All Tx input lanes to be in a single Tx synchronous group. · Tx input lanes 1-4 and 5-8 to be in separate Tx synchronous groups. · Tx input lanes 1-2, 3-4, 5-6, 7-8 to be in separate Tx synchronous groups. · Each Tx input lane to be in a separate Tx synchronous group. |
|
Max Tx input Eq (dB) |
Maximum Tx Input Equalization control value. |
|
Max Rx output Eq pre-cursor (dB) |
Maximum Rx output Eq pre-cursor control value. |
|
Max Rx output Eq post-cursor (dB) |
Maximum Rx output Eq post-cursor control value. |
|
Tx disable implemented |
Support for Tx disable: · YES. · NO. |
|
Tx Force Squelch implemented |
Support for Tx Force Squelch: · YES. · NO. |
|
Tx Squelch implemented |
Support for Tx Squelch: · NO. · OMA—Implements Tx Squelch based on OMA. · Pave—Implements Tx Squelch based on Pave. · Both—Implements Tx Squelch based on OMA or Pave as needed. |
|
Tunable transmitter |
Indicates whether the transmitter is tunable: · YES. · NO. |
|
Tx bypass CDR implemented |
Support for bypass CDR when the transceiver module acts as the transmitter: · YES. · NO. |
|
Rx bypass CDR implemented |
Support for bypass CDR when the transceiver module acts as the receiver: · YES. · NO. |
|
Tx input Eq adaptive |
Support for the input equalization adaptive control when the transceiver module acts as the transmitter: · YES. · NO. |
|
CDB implemented |
Support for CDB: · NO. · One instance of CDB—Supports one CDB instance. · Two instances of CDB—Supports two CDB instances. · Unknown. |
display transceiver alarm
Use display transceiver alarm to display transceiver alarms.
Syntax
display transceiver alarm interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays the alarms present on every transceiver module.
Usage guidelines
You can use the display transceiver alarm command to display alarms present on transceiver modules.
If no error occurs, None is displayed. The following tables describe the alarm information that might be present on transceiver module.
Table 14 Command output for QSFP-DD transceiver modules
|
Field |
Description |
|
Data path firmware fault |
N/A |
|
Module firmware fault |
N/A |
|
Module state changed |
N/A |
|
Data path state changed in channel x |
N/A |
|
TX loss in channel x |
Transmit signal loss in channel x. |
|
TX CDR LOL in channel x |
Transmit CDR loss of lock in channel x. |
|
TX input eq fault in channel x |
Transmit input eq fault in channel x. |
|
RX CDR LOL in channel x |
Receive CDR loss of lock in channel x. |
|
Loss of reference clock |
N/A |
|
L-host pattern generator LOL in channel x |
Pattern generator loss of lock on the host side in channel x. |
|
L-media pattern generator LOL in channel x |
Pattern generator loss of lock on the media side in channel x. |
|
L-host pattern checker LOL in channel x |
Pattern checker loss of lock on the host side in channel x. |
|
L-media pattern checker LOL in channel x |
Pattern checker loss of lock on the media side in channel x. |
|
TEC Current high |
Alarm on high TEC current or high TEC rated current. |
|
TEC Current low |
Alarm on low TEC current or high TEC rated current. |
|
Laser Temperature high |
Alarm on high laser temperature. |
|
Laser Temperature low |
Alarm on low laser temperature. |
|
Temp high warning |
Early warning on high module temperature. |
|
Temp low warning |
Early warning on low module temperature. |
|
Voltage high warning |
Early warning on high module voltage. |
|
Voltage low warning |
Early warning on low module voltage. |
|
RX power high warning(channel x) |
Early warning on high receive power in channel x. |
|
RX power low warning(channel x) |
Early warning on low receive power in channel x. |
|
TX power high warning(channel x) |
Early warning on high transmit power in channel x. |
|
TX power low warning(channel x) |
Early warning on low transmit power in channel x. |
|
TX bias high warning(channel x) |
Early warning on high transmit current in channel x. |
|
TX bias low warning(channel x) |
Early warning on low transmit current in channel x. |
|
TEC Current high warning |
Early warning on high TEC current or high TEC rated current. |
|
TEC Current low warning |
Early warning on low TEC current or high TEC rated current. |
|
Laser Temperature high warning |
Early warning on high laser temperature. |
|
Laser Temperature low warning |
Early warning on low laser temperature. |
|
VDM: Laser temperature high alarm |
Alarm on high laser temperature in versatile diagnostics monitoring (VDM). |
|
VDM: Laser temperature low alarm |
Alarm on low laser temperature in VDM. |
|
VDM: Host current pre-FEC BER high alarm(channel x) |
Alarm on high pre-FEC bit error rate on the host side in channel x in VDM. |
|
VDM: Host current pre-FEC BER low alarm(channel x) |
Alarm on low pre-FEC bit error rate on the host side in channel x in VDM. |
|
VDM: Media current pre-FEC BER high alarm(channel x) |
Alarm on high pre-FEC bit error rate on the media side in channel x in VDM. |
|
VDM: Media current pre-FEC BER low alarm(channel x) |
Alarm on low pre-FEC bit error rate on the media side in channel x in VDM. |
|
VDM: Media current pre-FEC BER high warning(channel x) |
Early warning on high pre-FEC bit error rate on the media side in channel x in VDM. |
|
VDM: Media current pre-FEC BER low warning(channel x) |
Early warning on low pre-FEC bit error rate on the media side in channel x in VDM. |
|
VDM: RX Total Power high alarm(channel 1) |
Alarm on high total receive power in channel 1 in VDM. |
|
VDM: RX Total Power low alarm(channel 1) |
Alarm on low total receive power in channel 1 in VDM. |
|
VDM: RX Total Power high warning(channel 1) |
Early warning on high total receive power in channel 1 in VDM. |
|
VDM: RX Total Power low warning(channel 1) |
Early warning on low total receive power in channel 1 in VDM. |
|
Media-side Rx Loss of Frame |
Lost receive frames on media side. |
|
Media-side Rx Loss of Multi-Frame |
Lost receive multi-frames on media side. |
|
VDM: CFO high alarm |
Alarm on high carrier frequency offset (CFO) in VDM. |
|
VDM: CFO low alarm |
Alarm on low CFO in VDM. |
|
Excessive RX power change(channel x) |
Alarm on the excessive receive optical power change in channel x. |
|
Excessive TX power change(channel x) |
Alarm on the excessive transmit optical power change in channel x. |
|
Excessive TX bias change(channel x) |
Alarm on the excessive bias current change in channel x. |
|
Excessive temp change |
Alarm on the excessive temperature change. |
|
User-set TX power high(channel x) |
User-set high transmit optical power alarm in channel x. |
|
User-set TX power low(channel x) |
User-set low transmit optical power alarm in channel x. |
|
User-set RX power high(channel x) |
User-set high receive optical power alarm in channel x. |
|
User-set RX power low(channel x) |
User-set low receive optical power alarm in channel x. |
Examples
# Display the alarms present on the transceiver module in interface HundredGigE 1/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
Table 15 Command output
|
Field |
Description |
|
transceiver current alarm information |
Alarms present on the transceiver module. |
|
RX loss of signal |
Received signals are lost. |
|
RX power low |
Received power is low. |
display transceiver application
Use display transceiver application to display application related information for 400G transceiver modules.
Syntax
display transceiver application interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command applies to all interfaces.
Examples
# Display application related information for the 400G transceiver module in interface FourHundredGigE 1/0/1.
<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
Table 16 Command output
|
Field |
Description |
|
ApSel Code |
Current application of the transceiver module represented by the ApSel code. |
|
The Lowest host Lane |
Lowest-numbered host lane in the lane group to which the lane belongs. |
|
The Lowest media lane |
Lowest-numbered media lane. |
display transceiver diagnosis
Use display transceiver diagnosis to display the current values of the digital diagnosis parameters on transceiver modules.
Syntax
display transceiver diagnosis interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays the current values of the digital diagnosis parameters on every transceiver module.
Examples
# Display the current values of the digital diagnosis parameters on the transceiver module in interface HundredGigE 1/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
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
# Display the current values of the digital diagnosis parameters on the transceiver module in interface FourHundredGigE 1/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
Table 17 Command output
|
Field |
Description |
|
transceiver diagnostic information |
Digital diagnosis information for the transceiver module in the interface. |
|
[Module] |
Parameters of the transceiver module. |
|
Temp.(C) |
Temperature in °C, accurate to 1°C. |
|
Voltage(V) |
Voltage in V, accurate to 0.01 V. |
|
TEC Current(%) |
TEC current in percentage, accurate to 0.01%. |
|
Laser Temp(C) |
Laser temperature in °C, accurate to 0.01°C. |
|
[Channel] |
Channel number. A channel is also referred to as a lane. |
|
Bias(mA) |
Bias current in mA, accurate to 0.01 mA. |
|
RX power(dBm) |
Receive power in dBm, accurate to 0.01 dBm. |
|
TX power(dBm) |
Transmit power in dBm, accurate to 0.01 dBm. |
|
TEC Curr. (%) |
TEC current in percentage, accurate to 0.01%. |
|
Laser Temp(C) |
Laser temperature in °C, accurate to 0.01°C. |
|
Warning threshold |
Early warning threshold. |
|
RX power(dBm) |
User-set receive optical power threshold in dBm, accurate to 0.01 dBm. |
|
TX power(dBm) |
User-set transmit optical power threshold in dBm, accurate to 0.01 dBm. |
Table 18 Command output for the CMIS 4.0 transceiver module display transceiver
|
Field |
Description |
|
Rx bits |
Number of receive bits. |
|
Rx FEC corrected bits |
Number of receive FEC corrected bits. |
|
Rx frames |
Number of receive frames. |
|
Rx uncorrectable frames |
Number of receive FEC uncorrectable frames. |
|
Tx bits |
Number of transmit bits. |
|
Tx FEC corrected bits |
Number of transmit FEC corrected bits. |
|
Tx frames |
Number of transmit frames. |
|
Tx uncorrectable frames |
Number of transmit FEC uncorrectable frames. |
display transceiver history performance-collection
Use display transceiver history performance-collection to display history performance sampling information of transceiver modules.
Syntax
display transceiver history performance-collection interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays history performance sampling information on all transceiver modules.
Usage guidelines
This command is available only for the QSFPDD-400G-ZR transceiver module.
This command displays transceiver performance information of the most recent two sampling intervals.
Examples
# Display history performance sampling information of the transceiver module in FourHundredGigE 1/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
Table 19 Command output
|
Field |
Description |
|
Time yyyy-mm-dd hh:mm:ss - yyyy-mm-dd hh:mm:ss |
Sampling time range. |
|
CD-high granularity(Ps/nm) |
Chromatic dispersion (high granularity), accurate to 0.01 ps/nm. |
|
DGD(Ps) |
Differential group delay in ps, accurate to 0.01 ps. |
|
PDL(dB) |
Polarization-dependent loss in dB, accurate to 0.01 dB |
|
OSNR(dB) |
Optical signal to noise ratio in dB, accurate to 0.1 dB. |
|
eSNR(dB) |
Echo signal to noise ratio in dB, accurate to 0.1 dB. |
|
CFO(MHz) |
Carrier frequency offset in MHz, accurate to 1 MHz. |
|
SOP ROC(krad/s) |
State-of-polarization rate-of-change in krad/s, accurate to 1 krad/s. |
|
Tx Power(dBm) |
Transmit power in dBm, accurate to 0.01 dBm. |
|
Rx total power(dBm) |
Total receive power in dBm, accurate to 0.01 dBm. |
|
Pre-FEC BER Media Input (Lanex) |
Pre-FEC bit error rate on the media side in lane x. |
|
Pre-FEC BER Host Input (Lanex) |
Pre-FEC bit error rate on the host side in lane x. |
|
FERC Media Input (Lanex) |
Frame error count on the media side in lane x. |
|
FERC Host Input (Lanex) |
Frame error count on the host side in lane x. |
|
Rx Min uncorrect frames error |
Minimum number of frames uncorrected by FEC during an interval on the receive side. |
|
Rx Max uncorrect frames error |
Maximum number of frames uncorrected by FEC during an interval on the receive side. |
|
Rx post-FEC BER |
Post-FEC bit error rate on the receive side. |
|
Tx uncorrectable frames |
Frames uncorrected by FEC. |
|
Tx Min uncorrect frames error |
Minimum number of frames uncorrected by FEC during an interval on the transmit side. |
|
Tx Max uncorrect frames error |
Maximum number of frames uncorrected by FEC during an interval on the transmit side. |
|
Tx post-FEC BER |
Post-FEC bit error rate on the transmit side. |
display transceiver interface
Use display transceiver interface to display the key parameters of transceiver modules.
Syntax
display transceiver interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays the key parameters of every transceiver module.
Examples
# Display the key parameters of the transceiver module in interface HundredGigE 1/0/1.
<Sysname> display transceiver interface hundredgige 1/0/1
HundredGigE1/0/1 transceiver information:
Transceiver type : 100G_BASE_SR4_QSFP28
Connector type : MPO
Wavelength (nm) : 850
Transfer distance (m) : 70(OM3),100(OM4)
Max power(W) : 12
Digital diagnostic monitoring : Yes
Vendor name : H3C
Ordering Name : QSFP-100G-SR4-MM850
Table 20 Command output
|
Field |
Description |
|
Transceiver Type |
Model of the transceiver module. |
|
Connector Type |
Connector type of the transceiver module: · Optical connectors, including SC connector developed by NTT, and 1.25mm/RJ45 LC connector developed by Lucent. · Other connectors, including RJ-45 and CX4. |
|
Wavelength(nm) |
For the transceiver module, this field displays central wavelength of the laser sent, in nm. If the transceiver module such as 10GBASE-LX4, supports multiple wavelengths, each wavelength value is separated by a comma. For the electrical transceiver, this field displays N/A. |
|
Transfer Distance(xx) |
Transfer distance. For a single-mode transceiver module, the distance is measured in km. For other transceiver modules, the distance is measured in m. If the transceiver module supports multiple transfer media, the transfer distances are separated by commas. The corresponding transfer medium is enclosed in the brackets following the transfer distance value. The following are the transfer media: · 9um—9/125um single-mode optical fiber. · 50um—50/125um OM 2 multi-mode optical fiber. · 62.5um—62.5/125um OM 1 multi-mode optical fiber. · CX4—CX4 cable. · OM3—50 um OM3 multi-mode optical fiber. · OM4—50 um OM4 multi-mode optical fiber. · OM5—50 um OM5 multi-mode optical fiber. · STACK—Stack cable. · TP—Twisted pair cable. |
|
Max power(W) |
Maximum power of the transceiver module. |
|
Digital Diagnostic Monitoring |
Support for digital diagnostic monitoring: · Yes. · No. |
|
Vendor Name |
Vendor name or vendor name specified for the transceiver module. |
|
Ordering Name |
Ordering name of the transceiver module. |
display transceiver manuinfo
Use display transceiver manuinfo to display electronic label information for transceiver modules.
Syntax
display transceiver manuinfo interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays electronic label information for the transceiver modules on all interfaces.
Examples
# Display electronic label information for the transceiver module in interface HundredGigE 1/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
Table 21 Command output
|
Field |
Description |
|
Manu. Serial Number |
Serial number generated during debugging and testing. |
|
Manufacturing Date |
Debugging and testing date. The date takes the value of the system clock of the computer when debugging and testing is performed. |
|
Vendor Name |
The value is H3C. |
display transceiver status
Use display transceiver status to display 400G transceiver module status information.
Syntax
display transceiver status interface [ interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface [ interface-type interface-number ]: Specifies an interface by its type and number. If you do not specify an interface, this command applies to all interfaces.
Examples
# Display status information for the 400G transceiver module in interface FourHundredGigE 1/0/1.
<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
# Display status information for the 400G ZR transceiver module in interface FourHundredGigE 1/0/1. (This example is available only for the QSFPDD-400G-ZR transceiver module.)
<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
Table 22 Command output
|
Field |
Description |
|
Module status |
Transceiver module status: · ModuleLowPwr—The transceiver module operates in low power. · ModulePwrUp—The transceiver module is powered on. · ModuleReady—The transceiver module is ready. · ModulePwrDn—The transceiver module is powered off. · Fault state—The transceiver module is faulty. · Unknown. |
|
Interrupt alarm |
Indicates whether the transceiver module is in interrupt alarm status: · Yes. · No. |
|
Data path state |
Data path status: · Unknown. · Deactivated. · Initial—The transceiver module is performing initialization tasks on the data path. · Deinit—The data path is deinitialized. · Activated. · TxTurnOn—Tx output is enabled. · TxTurnOff—Tx output is disabled. · Initialized—The data path is fully initialized. |
|
Media Lane State |
Media lane status: · Enabled. · Disabled. |
|
Host-fault-detect |
Fault detection status on the transceiver host side: · Enabled. · Disabled. |
|
Media-fault-detect |
Fault detection status on the transceiver media side: · Enabled. · Disabled. |
|
Loopback Mode |
Loopback testing mode of a lane on the transceiver module. |
|
Media Output |
Loopbacks the signal received by the receiver of the media side to the transmitter of the media side as the output signal of the media: · Enabled. · Disabled. |
|
Media Input |
Loopbacks the signal from the transmitter of the media side to the receiver of the media side as the input signal of the media: · Enabled. · Disabled. |
|
Host Output |
Loopbacks the signal received by the receiver of the host side to the transmitter of the host side as the output signal of the host: · Enabled. · Disabled. |
|
Host Input |
Loopbacks the signal from the transmitter of the host side to the receiver of the host side as the input signal of the host: · Enabled. · Disabled. |
display transceiver vdm
Use display transceiver vdm to display the versatile diagnostics monitoring (VDM) information of a transceiver module.
Syntax
display transceiver vdm interface interface-type interface-number vdm-id vdm-id
Views
Any view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
vdm-id vdm-id: Specifies a VDM by its ID. The value range varies by transceiver module model.
Usage guidelines
This command is available only for some 400G transceiver modules that support CMIS 4.0.
Examples
# Display the VDM 1 information of the transceiver module in FourHundredGigE 1/0/1.
<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
# Display the VDM 2 information of the transceiver module in FourHundredGigE 1/0/1.
<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
fan auto-control-mode
Use fan auto-control-mode to set the fan operating mode.
Use undo fan auto-control-mode to restore the default.
Syntax
fan auto-control-mode { balance | low-temperature | silence }
undo fan auto-control-mode
Default
Fans operate in silent mode.
Views
System view
Predefined user roles
network-admin
Parameters
balance: Operates in a balanced way. In this mode, the fan speed is lower than the low-temperature mode and higher than the silence mode to provide balanced noise control and cooling performance.
low-temperature: Operates at a higher speed to provide better cooling service.
silence: Operates at a lower speed to reduce the noise at the cost of lower cooling service quality. This mode applies to noise-sensitive environments.
Examples
# Set the fan operating mode to silence.
<Sysname> system-view
[Sysname] fan auto-control-mode silence
hardware-alarm disable
Use hardware-alarm disable to disable the notification of hardware resource alarms.
Syntax
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
Views
System view
Default
The notification of all hardware resource alarms is enabled.
Predefined user roles
network-admin
Parameters
all: Specifies all types of resource alarms.
board: Specifies card-related resource alarms.
bus: Specifies bus-related resource alarms.
chip-channel: Specifies chip channel-related resource alarms.
chip-port: Specifies chip port-related resource alarms.
device: Specifies device-related resource alarms.
disk: Specifies disk-related resource alarms.
fan: Specifies fan-related resource alarms.
interface: Specifies interface-related resource alarms.
syslog: Sends hardware resources alarms in syslog messages.
subcard: Specifies subcard-related resource alarms.
transceiver: Specifies transceiver -related resource alarms.
trap: Sends hardware resources alarms in traps.
power: Specifies power supply-related resource alarms.
voltage: Specifies voltage-related resource alarms.
Examples
# Disable trap notification for all hardware resource alarms.
<Sysname> system
[Sysname] hardware-alarm trap resource-type all disable
# Disable syslog notification for device-related resource alarms.
<Sysname> system
[Sysname] hardware-alarm syslog resource-type device disable
hardware-resource switch-mode
Use hardware-resource switch-mode to set the hardware resource operating mode for the MAC address table, ARP and ND tables, and routing tables.
Use undo hardware-resource switch-mode to restore the default.
Syntax
hardware-resource switch-mode { MAC | ROUTING }
undo hardware-resource switch-mode
Default
The hardware resource operating mode is ROUTING for the MAC address table, ARP and ND tables, and routing tables.
Views
System view
Predefined user roles
network-admin
Parameters
MAC: Specifies the MAC mode.
ROUTING: Specifies the ROUTING mode.
Usage guidelines
The device supports multiple hardware resource operating modes for the MAC address table, ARP/ND table, and routing tables. The capacities of the tables vary by hardware resource operating mode. For more information, see hardware resource management in System Management Configuration Guide.
This setting takes effect after you save the running configuration and restart the device. Before restarting the device, make sure you know the possible impact on the network.
If you specify the MAC hardware resource operating mode, the VXLAN feature is not supported.
For the S9855 switch series, if you specify the MAC mode by the hardware-resource switch-mode command, but a Layer 3 interface is configured with a non-default MAC address, that Layer 3 interface cannot operate as a routing interface, routing subinterface, or VLAN interface.
Examples
# Set the hardware resource operating mode to ROUTING.
<Sysname> system-view
[Sysname] hardware-resource switch-mode routing
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.
Related commands
display hardware-resource switch-mode
memory-threshold
Use memory-threshold to set free-memory thresholds.
Use undo memory-threshold to restore the default.
Syntax
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 ] ]
Default
Minor alarm threshold: 256 MB.
Severe alarm threshold: 192 MB.
Critical alarm threshold: 128 MB.
Normal state threshold: 320 MB.
Early-warning threshold: 384 MB.
Sufficient-memory threshold: 448 MB.
Views
System view
Predefined user roles
network-admin
Parameters
ratio: Specifies free-memory thresholds in percentage. If you do not specify this keyword, the command sets free-memory thresholds in MB.
minor minor-value: Specifies the minor alarm threshold. To view the value range for this threshold, enter a question mark (?) in the place of the minor-value argument. Setting this threshold to 0 disables the minor alarm feature.
severe severe-value: Specifies the severe alarm threshold. To view the value range for this threshold, enter a question mark (?) in the place of the severe-value argument. Setting this threshold to 0 disables the severe alarm feature.
critical critical-value: Specifies the critical alarm threshold. To view the value range for this threshold, enter a question mark (?) in the place of the critical-value argument. Setting this threshold to 0 disables the critical alarm feature.
normal normal-value: Specifies the normal state threshold. To view the value range for this threshold, enter a question mark (?) in the place of the normal-value argument.
early-warning early-warning-value: Specifies the early-warning threshold. To view the value range for this threshold, enter a question mark (?) in the place of the early-warning-value argument. Setting this threshold to 0 disables the early warning feature.
secure secure-value: Specifies the sufficient-memory threshold. To view the value range for this threshold, enter a question mark (?) in the place of the secure-value argument.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
To ensure correct operation and improve memory efficiency, the system monitors the amount of free memory space in real time. If the amount of free memory space decreases to or below the minor, severe, or critical alarm threshold, the system issues an alarm to affected service modules or processes.
You can use the display memory command to display memory usage information.
The early warning feature warns you of an approaching insufficient-memory condition.
If a memory alarm occurs, delete unused configuration items or disable some features to increase the free memory space. Because the memory space is insufficient, some configuration items might not be able to be deleted.
For more information about the thresholds, see hardware resource management in System Management Configuration Guide.
The system will restart if one of the following conditions is met:
· After a critical alarm occurs, the remaining free-memory value has been smaller than the critical alarm threshold for 30 seconds.
· The interval between two consecutive critical alarms is shorter than 30 seconds.
· The critical alarm has occurred three times within three minutes.
· After a critical alarm occurs, the system will periodically sample free memory space and predict if the free memory space will be exhausted within 30 seconds. If the prediction result indicates that the free memory space will be exhausted within 30 seconds, the system will restart.
Once the free memory space reaches the minor, severe, or critical alarm threshold, the device will display the current memory usage information when you log in to the device through console or Telnet login, or execute every command.
The sending periods of memory alarm notifications are as follows:
· If the free memory space has consistently exceeded the minor threshold for 12 hours, a minor alarm notification is sent.
· If the free memory space has consistently exceeded the severe threshold for 3 hours, a severe alarm notification is sent.
· If the free memory space has consistently exceeded the critical threshold for 1 hour, a critical alarm notification is sent.
# Set the minor alarm, severe alarm, critical alarm, and normal state thresholds to 64 MB, 48 MB, 32 MB, and 96 MB, respectively.
<Sysname> system-view
[Sysname] memory-threshold minor 64 severe 48 critical 32 normal 96
# Set the minor alarm, severe alarm, critical alarm, and normal state thresholds to 3%, 2%, 1%, and 5% of the total memory size, respectively.
<Sysname> system-view
[Sysname] memory-threshold ratio minor 3 severe 2 critical 1 normal 5
Related commands
display memory-threshold
memory-threshold dma
Use memory-threshold dma to set DMA memory thresholds.
Use undo memory-threshold dma to restore the default.
Syntax
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 ] ]
Default
The DMA memory alarm threshold is 2048 KB and the normal state threshold is 4096 KB.
Views
System view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
ratio: Specifies DMA memory thresholds in percentage.
critical critical-value: Specifies the DMA memory alarm threshold. If the ratio keyword is specified, the value range for the critical-value argument is 1 to 100 in percentage. If the ratio keyword is not specified, the value is fixed to 0..
normal normal-value: Specifies the normal state threshold. If the ratio keyword is specified, the value range for the normal-value argument is 1 to 100 in percentage. If the ratio keyword is not specified, the device adjusts the value for the normal-value argument equals to the value for the critical-value argument minus 4177920.
Usage guidelines
To ensure correct operation of the services that require DMA memory, the system monitors the amount of free DMA memory space regularly. If the amount of free DMA memory space decreases to or below the alarm threshold, the system generates a notification indicating that the DMA memory space is insufficient. If the amount of free DMA memory space increases above the normal state threshold, the system generates a notification indicating that the DMA memory space is sufficient.
Examples
# Set the DMA memory alarm threshold and the normal state threshold to 32KB and 96 KB, respectively, for slot 1.
<System> system-view
[System] memory-threshold dma slot 1 critical 32 normal 96
memory-threshold usage
Use memory-threshold usage to set the memory usage threshold.
Use undo memory-threshold usage to restore the default.
Syntax
memory-threshold [ slot slot-number [ cpu cpu-number ] ] usage memory-threshold
undo memory-threshold [ slot slot-number [ cpu cpu-number ] ] usage
Default
The memory usage threshold is 100%.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
memory-threshold: Specifies the memory usage threshold in percentage. The value range is 0 to 100.
Usage guidelines
The device samples memory usage at 1-minute intervals. If the sample is greater than the memory usage threshold, the device sends a trap.
Examples
# Set the memory usage threshold to 80%.
<Sysname> system-view
[Sysname] memory-threshold usage 80
Related commands
display memory-threshold
monitor cpu-usage enable
Use monitor cpu-usage enable to enable CPU usage tracking.
Use undo monitor cpu-usage enable to disable CPU usage tracking.
Syntax
monitor cpu-usage enable [ slot slot-number [ cpu cpu-number ] ]
undo monitor cpu-usage enable [ slot slot-number [ cpu cpu-number ] ]
Default
CPU usage tracking is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
After you enable CPU usage tracking, the system samples and saves CPU usage at the interval specified by the monitor cpu-usage interval command. You can use the display cpu-usage history command to view recent CPU usage.
Examples
# Enable CPU usage tracking.
<Sysname> system-view
[Sysname] monitor cpu-usage enable
display cpu-usage configuration
display cpu-usage history
monitor cpu-usage interval
monitor cpu-usage interval
Use monitor cpu-usage interval to set the sampling interval for CPU usage monitoring.
Use undo monitor cpu-usage interval to restore the default.
Syntax
monitor cpu-usage interval interval [ slot slot-number [ cpu cpu-number ] ]
undo monitor cpu-usage interval [ slot slot-number [ cpu cpu-number ] ]
Default
The system samples CPU usage every 1 minute.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the sampling interval for CPU usage monitoring. Valid values include 5Sec (5 seconds), 1Min (1 minute), and 5Min (5 minutes), case insensitive.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
After CPU usage monitoring is enabled, the system samples and saves CPU usage at the specified interval. You can use the display cpu-usage history command to view recent CPU usage.
Examples
# Set the sampling interval for CPU usage monitoring to 5 seconds.
<Sysname> system-view
[Sysname] monitor cpu-usage interval 5Sec
Related commands
display cpu-usage configuration
display cpu-usage history
monitor cpu-usage enable
monitor cpu-usage statistics-interval core
Use monitor cpu-usage statistics-interval core to set a CPU core usage statistics interval.
Use undo monitor cpu-usage statistics-interval core to restore the default.
Syntax
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
Default
The CPU core usage statistics interval is 60 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the CPU core usage statistics interval in seconds. The value range for this argument is 10 to 3600. As a best practice, set this argument to an integer multiple of the sampling interval, which is fixed at 5 seconds. If you set this argument to a non-integer multiple of the sampling interval, the effective statistics interval is the integer multiple of the sampling interval that is close to and smaller than the value you set. For example, if you set this argument to 12 seconds, the effective statistics interval is 10 seconds.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
core core-id-list: Specifies a space-separated list of up to 10 CPU core items. Each item specifies a CPU core or a range of CPU cores in the form of core-id1 [ to core-id2 ]. The value for core-id2 must be equal to or greater than the value for core-id1.
Usage guidelines
The device samples CPU core usage at 5-second intervals and calculates the average value during each CPU core usage statistics interval. If the value during an interval is greater than a CPU core usage alarm threshold, the device issues an alarm and logs the event.
Examples
# Set the usage statistics interval to 60 seconds for a CPU core.
<Sysname> system-view
[Sysname] monitor cpu-usage statistics-interval 60 slot 1 cpu 0 core 0
Related commands
monitor cpu-usage threshold core
monitor resend cpu-usage core-interval
monitor cpu-usage threshold
Use monitor cpu-usage threshold to set CPU usage alarm thresholds.
Use undo monitor cpu-usage threshold to restore the default.
Syntax
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 ] ]
Default
Severe CPU usage alarm threshold: 99%.
Minor CPU usage alarm threshold: 80%.
CPU usage recovery threshold: 60%.
Views
System view
Predefined user roles
network-admin
Parameters
severe-threshold: Specifies the severe CPU usage alarm threshold in percentage. The value range for this argument is 2 to 100.
minor-threshold minor-threshold: Specifies the minor CPU usage alarm threshold in percentage. The value range for this argument is 1 to the severe CPU usage alarm threshold minus 1. If you do not specify this option, the minor CPU usage alarm threshold is 80 percent of the severe CPU usage alarm threshold.
recovery-threshold recovery-threshold: Specifies the CPU usage recovery threshold in percentage. The value range for this argument is 0 to the minor CPU usage alarm threshold minus 1. If you do not specify this option, the CPU usage recovery threshold is 70 percent of the severe CPU usage alarm threshold.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
|
CAUTION: If you set the severe CPU usage alarm threshold to a too low value, the device will reach the threshold easily. Normal services will be affected. |
The device samples CPU usage at 1-minute intervals. If the sample is greater than the CPU usage threshold, the device sends a trap.
Examples
# Set the CPU usage alarm threshold to 90%.
<Sysname> system-view
[Sysname] monitor cpu-usage threshold 90
Related commands
display cpu-usage configuration
monitor resend cpu-usage
Use monitor resend cpu-usage to set CPU usage alarm resending intervals.
Use undo monitor resend cpu-usage to restore the default.
Syntax
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 ] ]
Default
The minor CPU usage alarm resending interval is 300 seconds. The severe CPU usage alarm resending interval is 60 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
minor-interval minor-interval: Specifies the minor CPU usage alarm resending interval in seconds, a multiple of 5 in the range of 10 to 3600.
severe-interval severe-interval: Specifies the severe CPU usage alarm resending interval in seconds, a multiple of 5 in the range of 10 to 3600.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
The device samples CPU usage at intervals, and compares the samples with CPU usage thresholds to identify the CPU usage status and send alarms or notifications accordingly.
In minor alarm state, the device sends minor alarms periodically until the CPU usage increases above the severe threshold or the minor alarm is removed. In severe alarm state, the device sends severe alarms periodically until the severe alarm is removed. This command sets the alarm resending intervals.
If you do not specify a keyword for the undo monitor resend cpu-usage command, the command restores the default minor and severe CPU usage alarm resending intervals.
Examples
# Set the minor CPU usage alarm resending interval to 60 seconds for a slot.
<Sysname> system-view
[Sysname] monitor resend cpu-usage minor-interval 60 slot 1 cpu 0
monitor resend cpu-usage core-interval
Use monitor resend cpu-usage core-interval to set CPU core usage alarm resending intervals.
Use undo monitor resend cpu-usage core-interval to restore the default.
Syntax
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 ] ]
Default
The resending interval is 300 seconds for minor CPU core usage alarms and 60 seconds for severe CPU core usage alarms.
Views
System view
Predefined user roles
network-admin
Parameters
minor-interval minor-interval: Specifies the resending interval for minor CPU core usage alarms in seconds, a multiple of 5 in the range of 10 to 3600.
severe-interval severe-interval: Specifies the resending interval for severe CPU core usage alarms in seconds, a multiple of 5 in the range of 10 to 3600.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
The device samples CPU core usage at intervals, and compares the samples with CPU core usage thresholds to identify the CPU core usage status and send alarms or notifications accordingly.
In minor alarm state, the device sends minor alarms periodically until the CPU core usage increases above the severe threshold or the minor alarm is removed. In severe alarm state, the device sends severe alarms periodically until the severe alarm is removed. This command sets the alarm resending intervals.
Examples
# Set the resending interval for minor CPU core usage alarms to 100 seconds and the resending interval for severe CPU core usage alarms 60 seconds.
<Sysname> system-view
[Sysname] monitor resend cpu-usage core-interval minor-interval 100 severe-interval 60
monitor resend memory-threshold dma
Use monitor resend memory-threshold dma to set the DMA memory alarm resending interval.
Use undo monitor resend memory-threshold dma to restore the default.
Syntax
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 ] ]
Default
The DMA memory alarm resending interval is 300 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
critical-interval critical-interval: Specifies the resending interval for the DMA memory alarms in seconds, in the range of 10 to 3600.
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
Usage guidelines
The device samples DMA memory usage at intervals, and compares the samples with the DMA memory alarm threshold to identify the DMA memory usage status and send alarms or notifications accordingly.
Examples
# Set the resending interval for the DMA memory alarms to 100 seconds.
<Sysname> system-view
[Sysname] monitor resend memory-threshold dma critical-interval 100<Sysname> system-view
power-supply policy enable
Use power-supply policy enable to enable power supply management.
Use undo power-supply policy enable to disable power supply management.
Syntax
power-supply policy enable
undo power-supply policy enable
Default
Power supply management is enabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable power supply management.
<Sysname> system-view
[Sysname] power-supply policy enable
power-supply policy redundant
Use power-supply policy redundant to specify the number of redundant power modules.
Use undo power-supply policy redundant to restore the default.
Syntax
power-supply policy redundant module-count
undo power-supply policy redundant
Default
The number of redundant power supplies is 0.
Views
System view
Predefined user roles
network-admin
Parameters
module-count: Specifies the number of redundant power modules. To view the value range for this argument, enter a question mark (?) in the place of this argument. The upper limit for the value range is the maximum number of redundant power modules supported by the system. The actual number of redundant power modules that you can specify varies by the number of the interface cards and their power consumption. The actual number is smaller than or equal to the maximum number.
Usage guidelines
This command takes effect only if power supply management is enabled.
Examples
# Set the number of redundant power modules to 1.
<Sysname> system-view
[Sysname] power-supply policy redundant 1
Related commands
power-supply policy enable
reset transceiver interface
Use reset transceiver interface to reset a 400G transceiver module.
Syntax
reset transceiver interface [ interface-type interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command applies to all interfaces.
Usage guidelines
This command is disruptive. Use this command only when you cannot troubleshoot transceiver modules by using other methods.
This command will restart the transceiver module.
Examples
# Reset the 400G transceiver module in FourHundredGigE 1/0/1.
<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
resource-monitor minor resend enable
Use resource-monitor minor resend enable to enable resending of minor resource depletion alarms.
Use undo resource-monitor minor resend enable to disable resending of minor resource depletion alarms.
Syntax
resource-monitor minor resend enable
undo resource-monitor minor resend enable
Default
Resending of minor resource depletion alarms is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
When a resource type enters minor alarm state, the device issues a minor alarm. If the resource type stays in minor alarm state or changes from severe alarm state to minor alarm state, the device identifies whether resending of minor resource depletion alarms is enabled. If the feature is disabled, the device does not issue additional minor alarms. If the feature is enabled, the device resends minor alarms periodically.
The resending interval of severe alarms is 24 hours and the resending interval of minor alarms is 7×24 hours.
Examples
# Enable resending of minor resource depletion alarms.
<Sysname> system-view
[Sysname] resource-monitor minor resend enable
Related commands
display resource-monitor
resource-monitor output
resource-monitor resource
resource-monitor output
Use resource-monitor output to specify destinations for resource depletion alarms.
Use undo resource-monitor output to remove destinations for resource depletion alarms.
Syntax
resource-monitor output { netconf-event | snmp-notification | syslog } *
undo resource-monitor output [ netconf-event | snmp-notification | syslog ] *
Default
Resource depletion alarms are sent to NETCONF, SNMP, and the information center.
Views
System view
Predefined user roles
network-admin
Parameters
netconf-event: Sends resource depletion alarms to the NETCONF feature to encapsulate the alarms in NETCONF events. For more information, see NETCONF in Network Management and Monitoring Configuration Guide.
snmp-notification: Sends resource depletion alarms to the SNMP feature to encapsulate the alarms in SNMP traps and informs. For more information, see SNMP in Network Management and Monitoring Configuration Guide.
syslog: Sends resource depletion alarms to the information center to encapsulate the alarms in log messages. For more information, see information center in System Management Configuration Guide.
Usage guidelines
If you do not specify any keywords for the undo resource-monitor output command, the command disables resource depletion alarm output.
Examples
# Specify the information center module as the output destination for resource depletion alarms.
<Sysname> system-view
[Sysname] resource-monitor output syslog
Related commands
resource-monitor minor resend enable
resource-monitor resource
resource-monitor resource
Use resource-monitor resource to set resource depletion thresholds.
Use undo resource-monitor resource to disable resource depletion thresholds.
Syntax
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
Default
The default settings vary by resource type. Use the display resource-monitor command to display the resource depletion thresholds.
Views
System view
Predefined user roles
network-admin
Parameters
resource-name: Specifies a resource type by its name. The values for this argument are case insensitive and cannot be abbreviated. Table 23 shows the resource types that can be monitored.
Table 23 Resource types that can be monitored
|
Resource type |
Description |
|
ac |
Number of Ethernet service instances. |
|
arp |
ARP hardware resources. |
|
ecmp_group |
ECMP group hardware resources. |
|
ecmp_member |
ECMP group member hardware resources. |
|
host |
Host route hardware resources. |
|
lag |
Link aggregation group resources. |
|
lag_member |
Count resources of link aggregation group members. |
|
mac |
MAC address table hardware resources. |
|
mqc_in |
Inbound MQC hardware resources. |
|
mqc_out |
Outbound MQC hardware resources. |
|
nd |
ND hardware resources. |
|
nexthop |
Next-hop resources. |
|
openflow |
OpenFlow resources. |
|
pbr_in |
Inbound PBR resources. |
|
pfilter_in |
Inbound packet filter resources. |
|
pfilter_out |
Outbound packet filter resources. |
|
route |
Routing hardware resources. |
|
route_aggreation |
Layer 3 aggregate interface resources. |
|
rport |
Layer 3 Ethernet interface hardware resources. |
|
stp_instance |
STP interface resources. |
|
sub_interface |
Subinterface resources. |
|
v4route |
IPv4 route hardware resources. |
|
v6route |
IPv6 route hardware resources. |
|
vlan |
Number of VLANs. |
|
vlaninterface |
VLAN interface hardware resources. |
|
vrf |
VPN instance resources. |
|
vsi |
Number of VSIs. |
|
vsiintf |
VSI interface hardware resources. |
|
vxlan_tunnel |
VXLAN tunnel resources. |
slot slot-number: Specifies a device by its ID, which is fixed at 1.
cpu cpu-number: Specifies a CPU by its number.
by-percent: Specifies resource depletion thresholds in percentage.
minor-threshold minor-threshold: Specifies the minor resource depletion threshold. To view the value range, enter a question mark (?) in the place of the minor-threshold argument.
severe-threshold severe-threshold: Specifies the severe resource depletion threshold. To view the value range, enter a question mark (?) in the place of the severe-threshold argument.
Usage guidelines
After you execute this command for a resource type, the device monitors the available amount of the type of resources. The device samples the available amount at intervals, compares the sample with the resource depletion thresholds to identify the resource depletion status, and sends alarms as configured.
Examples
# Set the minor resource depletion threshold to 30% and the severe resource depletion threshold to 10% for ARP entry resources on slot 1.
<Sysname> system-view
[Sysname] resource-monitor resource arp slot 1 cpu 0 by-percent minor-threshold 30 severe-threshold 10
Related commands
display resource-monitor
resource-monitor minor resend enable
resource-monitor output
shutdown-interval
Use shutdown-interval to set the port status detection timer.
Use undo shutdown-interval to restore the default.
Syntax
shutdown-interval interval
undo shutdown-interval
Default
The port status detection timer setting is 30 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the port status detection timer value in seconds. The value range is 0 to 300. The value of 0 indicates that port status detection is not automatically performed, and you need to execute the undo shutdown command to restore the port status manually.
Usage guidelines
On a network enabled with loop detection or STP, the device starts a port status detection timer when a port is shut down by a protocol. If the port has been in down state before the timer expires, the device will set the port status to the port's physical status.
If you change the timer setting during port detection, the device compares the new setting (T1) with the time that elapsed since the port was shut down (T).
If T < T1, the port will be brought up after T1 – T seconds.
If T ≥ T1, the port is brought up immediately.
For example, the timer setting is 30 seconds. If you change it to 10 seconds 2 seconds after the port is shut down, the port will come up 8 seconds later. If you change the timer setting to 2 seconds 10 seconds after the port is shut down, the port comes up immediately.
Examples
# Set the port status detection timer to 100 seconds.
<Sysname> system-view
[Sysname] shutdown-interval 100
temperature-limit
Use temperature-limit to set the temperature alarm thresholds.
Use undo temperature-limit to restore the default.
Syntax
temperature-limit slot slot-number hotspot sensor-number lowlimit warninglimit [ alarmlimit ]
undo temperature-limit slot slot-number { hotspot | inflow | outflow } sensor-number
Default
The default varies by temperature sensor model. To view the default, execute the undo temperature-limit and display environment commands in turn.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a device by its ID, which is fixed at 1.
hotspot: Configures temperature alarm thresholds for hotspot sensors. A hotspot sensor is typically near the chip that generates a great amount of heat and used to monitor the chip.
sensor-number: Specifies a sensor by its number. To view the value range, enter a question mark (?) in the place of this argument.
lowlimit: Specifies the low-temperature threshold in Celsius degrees. The value range varies by temperature sensor. To view the value range, enter a question mark (?) in the place of this argument.
warninglimit: Specifies the high-temperature warning threshold in Celsius degrees. This threshold must be greater than the low-temperature threshold. To view the value range, enter a question mark (?) in the place of this argument.
alarmlimit: Specifies the high-temperature alarming threshold in Celsius degrees. This threshold must be greater than the warning threshold. To view the value range, enter a question mark (?) in the place of this argument.
Usage guidelines
When the device temperature drops below the low-temperature threshold or reaches the high-temperature warning or alarming threshold, the device performs the following operations:
· Sends log messages and traps.
· Sets LEDs on the device panel.
Examples
# Set temperature alarm thresholds for hotspot sensor 1 in a slot.
<Sysname> system-view
[Sysname] temperature-limit slot 1 hotspot 1 -10 50 60
Related commands
display environment
transceiver diagnostic selector
Use transceiver diagnostic selector to specify a diagnostic selector for a transceiver module and display specified diagnostic information.
Syntax
transceiver diagnostic selector selector-id
Default
No diagnostic selector is specified for a transceiver module.
Views
200-GE interface view
400-GE interface view
Predefined user roles
network-admin
Parameters
selector-id: Specifies a diagnostic selector. The value range varies by transceiver module model.
Usage guidelines
This command is available only for some 400G transceiver modules that support CMIS 4.0.
The command settings will be saved in a register of the transceiver module. If the transceiver module has a power loss, the command settings will be cleared. You must reconfigure the command after a power recovery.
Examples
# Specify diagnostic selector 1 for the transceiver module in FourHundredGigE1/0/1 and display specified diagnostic information.
<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
# Specify diagnostic selector 2 for the transceiver module in FourHundredGigE 1/0/1 and display specified diagnostic information.
<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
# Specify diagnostic selector 6 for the transceiver module in FourHundredGigE 1/0/1 and display specified diagnostic information.
<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 lane enable
Use transceiver lane enable to enable a lane on a 400G transceiver module.
Use undo transceiver lane to disable a lane on a 400G transceiver module.
Syntax
transceiver lane [ lane-number ] enable
undo transceiver lane [ lane-number ] enable
Default
All lanes on a transceiver module are enabled.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
lane-number: Specifies a lane by its number in the range of 1 to 8. If you do not specify a lane, this command enables all lanes on the transceiver module.
Usage guidelines
Execute this command only to verify that a transceiver module operates correctly.
Disabling a lane will stop signal transmission on the lane.
Disabling a lane will stop signal transmission on the fiber port where the lane is located.
This setting is saved in a register on the transceiver module. It is not saved to the configuration file.
Examples
# Enable lane 1 on the 400G transceiver module in FourHundredGigE 1/0/1.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/0/1
[Sysname-FourHundredGigE1/0/1] transceiver lane 1 enable
Related commands
display transceiver status
transceiver lane equalization
Use transceiver lane equalization to configure the pre-cursor, post-cursor, and amplitude for a 400G transceiver module.
Use undo transceiver lane equalization to restore the default.
Syntax
transceiver lane [ lane-number ] equalization { precursor precursor-value | postcursor postcursor-value | amplitude amplitude-value }
undo transceiver lane [ lane-number ] equalization { precursor | postcursor | amplitude }
Default
The default settings vary by transceiver module model.
Views
400-GE Ethernet interface view and its breakout interface view
Predefined user roles
network-admin
Parameters
lane-number: Specifies a lane by its number in the range of 1 to 8. If you do not specify a lane, this command configures the settings for all lanes on the transceiver module.
precursor precursor-value: Specifies the Rx output equalization pre-cursor level code. The level codes include:
· level0—No equalization.
· level1—0.5 dB.
· level2—1 dB.
· level3—1.5 dB.
· level4—2 dB.
· level5—2.5 dB.
· level6—3 dB.
· level7—3.5 dB.
postcursor postcursor-value: Specifies the Rx output equalization post-cursor level code. The level codes include:
· level0—No equalization.
· level1—1 dB.
· level2—2 dB.
· level3—3 dB.
· level4—4 dB.
· level5—5 dB.
· level6—6 dB.
· level7—7 dB.
amplitude amplitude-value: Specifies the Rx output amplitude range code. The range codes include:
· range0—100 to 400 mV.
· range1—300 to 600 mV.
· range2—400 to 800 mV.
· Range3—600 to 1200 mV.
Usage guidelines
Use this command to adjust and optimize high speed signals of a 400G transceiver module for the optical link to work in the optimum state. Use the default setting unless required otherwise. To change the default settings, contact professional engineers to avoid transceiver module exceptions.
As a best practice, do not execute this command when the interface is transmitting traffic. During execution of this command, the device disables and then enables the transceiver module automatically and traffic transmission will be interrupted.
This setting is saved in a register on the transceiver module. It is not saved to the configuration file.
Examples
# Configure the pre-cursor and post-cursor equalizers, and amplitude for the 400G transceiver module in FourHundredGigE 1/0/1.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/0/1
[Sysname-FourHundredGigE1/0/1] transceiver lane 1 equalization precursor level1
This operation will shut down and then bring up the transceiver module, affecting data transmission. Continue? [Y/N]:Y
Related commands
display transceiver active-control
transceiver lane loopback
Use transceiver lane loopback to enable loopback testing on a transceiver module lane and specify a loopback testing mode.
Use undo transceiver lane loopback to restore the default.
Syntax
transceiver lane [ lane-number ] loopback loopback-mode
undo transceiver lane [ lane-number ] loopback loopback-mode
Default
Loopback testing is disabled for transceiver module lanes.
Views
200-GE interface view
400-GE interface view
Predefined user roles
network-admin
Parameters
lane-number: Specifies a lane by its number. The value is in the range of 1 to 4 for a 200G transceiver module and in the range of 1 to 8 for a 400G transceiver module. If you do not specify a lane, this command applies to all lanes of the transceiver module.
loopback-mode: Specifies a loopback testing mode.
· host-input: Loopbacks the signal from the transmitter of the host side to the receiver of the host side as the input signal of the host.
· host-output: Loopbacks the signal received by the receiver of the host side to the transmitter of the host side as the output signal of the host.
· media-input: Loopbacks the signal from the transmitter of the media side to the receiver of the media side as the input signal of the media.
· media-output: Loopbacks the signal received by the receiver of the media side to the transmitter of the media side as the output signal of the media.
Usage guidelines
This command is available only for some 400G transceiver modules that support CMIS 4.0.
This command tests whether messages can be forwarded correctly between the designated transmitter and receiver and helps identify the point of failure when the transceiver module fails to forward messages.
The command settings will be saved in a register of the transceiver module. If the transceiver module has a power loss, the command settings will be cleared. You must reconfigure the command after a power recovery.
Examples
# Enable loopback testing and specify a loopback testing mode for lanes of the transceiver module in FourHundredGigE 1/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
Related commands
transceiver lane pattern
transceiver lane pattern
Use transceiver lane pattern to configure the signal mode and signal transmission Pseudo Random Binary Sequence (PRBS) pattern for a transceiver module lane.
Use undo transceiver lane pattern to restore the default.
Syntax
transceiver lane [ lane-number ] pattern [ host-checker | host-generator media-checker | media-generator ] prbs-pattern
undo transceiver lane [ lane-number ] pattern
Default
The default settings vary by transceiver module model.
Views
200-GE interface view
400-GE interface view
Predefined user roles
network-admin
Parameters
lane-number: Specifies a lane by its number. The value is in the range of 1 to 4 for a 200G transceiver module and in the range of 1 to 8 for a 400G transceiver module. If you do not specify a lane, this command applies to all lanes of the transceiver module.
host-checker: Specifies the host-side signal check mode.
host-generator: Specifies the host-side signal generation mode.
media-checker: Specifies the media-side signal check mode.
media-generator: Specifies the medial-side signal generation mode.
prbs-pattern: Specifies a signal transmission PRBS pattern. The value range varies by transceiver module model.
Usage guidelines
This command is available only for some 400G transceiver modules that support CMIS 4.0.
This command settings will be saved in a register of the transceiver module. If the transceiver module has a power loss, the command settings will be cleared. You must reconfigure the command after a power recovery.
Examples
# Specify the host-side signal generation mode and signal transmission pattern of PRBS-31Q for all lanes of the transceiver module in FourHundredGigE1/0/1.
<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
transceiver optical-channel frequency
Use transceiver optical-channel frequency to set the frequency and frequency grid for a transceiver optical channel.
Use undo transceiver optical-channel frequency to restore the default.
Syntax
transceiver optical-channel optical-channel-number frequency frequency-value [ grid grid-value ]
undo transceiver optical-channel optical-channel-number frequency
Default
The default varies by transceiver module model.
Views
400-GE Ethernet interface view
Predefined user roles
network-admin
Parameters
optical-channel-number: Specifies an optical channel by its number. The value is 1.
frequency-value: Specifies an operating frequency for the transceiver optical channel, in the range of 191300000 to 196100000 MHz.
grid grid-value: Specifies the frequency grid for the transceiver optical channel. The value for the grid-value argument varies by transceiver module model. Valid values typically include the grid-value argument include 3125 MHz, 6250 MHz, 12500 MHz, 25000 MHz, 33000 MHz, 50000 MHz, 75000 MHz, and 100000 MHz. To view the grid values supported by a transceiver module, enter a question mark (?) in the place of the grid-value argument.
Usage guidelines
Only the QSFPDD-400G-ZR transceiver module supports this command
Before executing this command, calculate the frequency for a transceiver optical channel based on the grid and the reference frequency of 193100000 MHz. If the frequency is calculated incorrectly, the configuration by this command will fail. To calculate the frequency for a transceiver optical channel:
Frequency for a transceiver optical channel = 193100000 MHz ± Frequency grid for a transceiver optical channel × n. The value for n is an integer.
If the grid grid-value option is not configured, you can use any supported frequency grid value to calculate the frequency for a transceiver optical channel.
If the grid grid-value option is configured, you must use the specified grid value to calculate the frequency for a transceiver optical channel. If you fail to do so, the system will fail to set the frequency.
Examples
# Set the frequency for an optical channel of the transceiver module in FourHundredGigE 1/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
Use transceiver optical-channel tx-power to set the transmit power for a transceiver optical channel.
Use undo transceiver optical-channel tx-power to restore the default.
Syntax
Use transceiver optical-channel optical-channel-number tx-power power-value
Use undo transceiver optical-channel optical-channel-number tx-power
Default
The transmit power of a transceiver optical channel is –10 dBm.
Views
400-GE Ethernet interface view
Predefined user roles
network-admin
Parameters
optical-channel-number: Specifies an optical channel by its number. The value is 1.
power-value: Specifies the transmit power in dBm, accurate to 0.01 dBm. The value range varies by transceiver module model.
Usage guidelines
Only the QSFPDD-400G-ZR transceiver module supports this command.
Examples
# Set the transmit power of optical channel 1 of the transceiver in FourHundredGigE1/0/1 to –5 dBm.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/0/1
[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 tx-power -5
transceiver performance-collection enable
Use transceiver performance-collection enable to enable transceiver performance sampling.
Use undo transceiver performance-collection enable to disable transceiver performance sampling.
Syntax
transceiver performance-collection enable
undo transceiver performance-collection enable
Default
Transceiver performance sampling is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command is available only for the QSFPDD-400G-ZR transceiver module.
If you enable transceiver performance sampling, the device samples transceiver performance information at intervals and save the samples to a buffer. You can use the display transceiver history performance-collection command to view the recent transceiver performance information.
Examples
# Enable transceiver performance sampling
<Sysname> system-view
[Sysname] transceiver performance-collection enable
Related commands
transceiver performance-collection interval
transceiver performance-collection interval
Use transceiver performance-collection interval to specify the transceiver performance sampling interval.
Use undo transceiver performance-collection interval to restore the default.
Syntax
transceiver performance-collection interval interval
undo transceiver performance-collection interval
Default
The transceiver performance sampling interval is 15 minutes.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the transceiver performance sampling interval. Valid values include 5min (5 minutes), 15min (15 minutes), 30min (30 minutes), and 60min (60 minutes), case insensitive. You must enter a valid value completely. If you fail to do so, the system prompts a parameter error.
Usage guidelines
This command is available only for the QSFPDD-400G-ZR transceiver module.
If you enable transceiver performance sampling, the device samples transceiver performance information at intervals and save the samples to a buffer. You can use the display transceiver history performance-collection command to view the recent transceiver performance information.
Examples
# Specify the transceiver performance sampling interval as 5 minutes.
<Sysname> system-view
[Sysname] transceiver performance-collection interval 5min
Related commands
transceiver performance-collection enable
transceiver phony-alarm-disable
Use transceiver phony-alarm-disable to disable transceiver module source alarm.
Use undo transceiver phony-alarm-disable to restore the default.
Syntax
transceiver phony-alarm-disable
undo transceiver phony-alarm-disable
Default
Transceiver module source alarm is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Disable transceiver module source alarm if the transceiver modules were manufactured or sold by HPE.
The device regularly detects transceiver modules that have a vendor name other than HPE or do not have a vendor name. Upon detecting such a transceiver module, the device repeatedly outputs traps and logs to notify the user to replace the module.
Examples
# Disable transceiver module source alarm.
<Sysname> system-view
[Sysname] transceiver phony-alarm-disable
Related commands
display transceiver manuinfo
transceiver power-mode
Use transceiver power-mode to set the power mode for a 400G transceiver module.
Use undo transceiver power-mode to restore the default.
Syntax
transceiver power-mode { high | low }
undo transceiver power-mode
Default
The default varies by transceiver module model.
Views
Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
A transceiver module typically operates in high power mode. If a transceiver module will be idle for a long time, you can switch it to low power mode to reduce power consumption. In low power mode, the transceiver module does not transmit signals. For a transceiver module to transmit signals, you must configure it to operate in high power mode.
This setting is saved in a register on the transceiver module. It is not saved to the configuration file.
Examples
# Configure the 400G transceiver module in FourHundredGigE 1/0/1 to operate in high power mode.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/0/1
[Sysname-FourHundredGigE1/0/1] transceiver power-mode high
# Configure the 400G transceiver module in FourHundredGigE 1/0/1 to operate in low power mode.
<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
Related commands
display transceiver status
transceiver rx-power high-threshold
Use transceiver rx-power high-threshold to configure the high RX power threshold for a transceiver module.
Use undo transceiver rx-power high-threshold to restore the default.
Syntax
transceiver rx-power high-threshold power-value
undo transceiver rx-power high-threshold
Default
No high RX power threshold is set for a transceiver module.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
power-value: Specifies the high RX power threshold in dBm, accurate to 0.01 dBm. The value range for the power-value argument varies by transceiver module model.
Usage guidelines
Operating mechanism
You can execute the transceiver rx-power high-threshold command to configure the high RX power threshold for a transceiver module between the default high early-warning threshold and high alarm threshold. If the RX power of a transceiver module exceeds the user-defined threshold, the system generates an alarm message. For example, if the default high threshold range for a transceiver module is 3.00 to 5.00 dBm, you can set the high TX power threshold to 4.40 dBm.
To verify the alarm thresholds for a transceiver module, execute the display transceiver diagnosis command.
Restrictions and guidelines
This command is available only for the SFP, QSFP, QSFPDD, QSFP56, and DSFP transceiver modules that support digital diagnosis and is not available for the 400G ZR, 400G ZR+, or fiber-to-copper transceiver modules.
If a transceiver module has multiple lanes, the configuration takes effect for all lanes.
Examples
# Set the high RX power threshold for the transceiver module in HundredGigE 1/0/1 to 4.40 dBm.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] transceiver rx-power high-threshold 4.40
Related commands
display transceiver diagnosis
transceiver rx-power change-threshold
transceiver rx-power low-threshold
transceiver rx-power low-threshold
Use transceiver rx-power low-threshold to configure the low RX power threshold for a transceiver module.
Use undo transceiver rx-power low-threshold to restore the default.
Syntax
transceiver rx-power low-threshold power-value
undo transceiver rx-power low-threshold
Default
No low RX power threshold is set for a transceiver module.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
power-value: Specifies the high RX power threshold in dBm, accurate to 0.01 dBm. The value range for the power-value argument varies by transceiver module model.
Usage guidelines
Operating mechanism
You can execute the transceiver rx-power low-threshold command to configure the low RX power threshold for a transceiver module between the default low early-warning threshold and low alarm threshold. If the RX power of a transceiver module drops below the user-defined threshold, the system generates an alarm message. For example, if the default low threshold range for a transceiver module is –14.00 to –11.00 dBm, you can set the low RX power threshold to –13.00 dBm.
To verify the alarm thresholds for a transceiver module, execute the display transceiver diagnosis command.
Restrictions and guidelines
This command is available only for the SFP, QSFP, QSFPDD, QSFP56, and DSFP transceiver modules that support digital diagnosis and is not available for the 400G ZR, 400G ZR+, or fiber-to-copper transceiver modules.
If a transceiver module has multiple lanes, the configuration takes effect for all lanes.
Examples
# Set the low RX power threshold for the transceiver module in HundredGigE 1/0/1 to –13.00 dBm.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] transceiver rx-power low-threshold -13.00
Related commands
display transceiver diagnosis
transceiver rx-power change-threshold
transceiver rx-power high-threshold
transceiver rx-power change-threshold
Use transceiver rx-power change-threshold to configure the RX power change threshold for a transceiver module.
Use undo transceiver rx-power change-threshold to restore the default.
Syntax
transceiver rx-power change-threshold power-value
undo transceiver rx-power change-threshold
Default
The RX power change threshold for a transceiver module is 5.00 dBm.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
power-value: Specifies the RX power change threshold in dBm, accurate to 0.01 dBm. The value range is 0 to 48.
Usage guidelines
Application scenarios
This command enables the device to monitor significant RX power changes on transceiver modules and generate alarm messages in time.
Operating mechanism
The device sets the initial RX optical power as the baseline for a transceiver module after the transceiver module starts up and operates correctly for the first time. After you execute the transceiver rx-power change-threshold command, the system checks the RX optical power of a transceiver module periodically. If an RX optical power change exceeds the user-defined threshold compared to the baseline, the system identifies it as a significant change and generates an alarm. For example, the RX power change threshold is set to 20.00 dBm, the initial RX optical power after the link starts up and operates correctly is –15.00 dBm. Then, if the RX optical power decreases to –36.00 dBm or increases to 6.00 dBm, an alarm occurs.
Restrictions and guidelines
This command is available only for the SFP, QSFP, QSFPDD, QSFP56, and DSFP transceiver modules that support digital diagnosis and is not available for the 400G ZR, 400G ZR+, or fiber-to-copper transceiver modules.
If a transceiver module has multiple lanes, the configuration takes effect for all lanes.
Examples
# Set the RX power change threshold for a transceiver module in HundredGigE 1/0/1 to 4.00 dBm.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] transceiver rx-power change-threashold 4.00
Related commands
display transceiver diagnosis
transceiver rx-power high-threshold
transceiver rx-power low-threshold
transceiver tx-power high-threshold
Use transceiver rx-power high-threshold to configure the high TX power threshold for a transceiver module.
Use undo transceiver rx-power high-threshold to restore the default.
Syntax
transceiver tx-power high-threshold power-value
undo transceiver tx-power high-threshold
Default
No high TX power threshold is set for a transceiver module.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
power-value: Specifies the low TX power threshold in dBm, accurate to 0.01 dBm. The value range for the power-value argument varies by transceiver module model.
Usage guidelines
Operating mechanism
You can execute the transceiver tx-power high-threshold command to configure the high TX power threshold for a transceiver module between the default high early-warning threshold and high alarm threshold. If the TX power of a transceiver module exceeds the user-defined threshold, the system generates an alarm message. For example, if the default high threshold range for a transceiver module is 3.00 to 5.00 dBm, you can set the high TX power threshold to 4.40 dBm.
To verify the alarm thresholds for a transceiver module, execute the display transceiver diagnosis command.
Restrictions and guidelines
This command is available only for the SFP, QSFP, QSFPDD, QSFP56, and DSFP transceiver modules that support digital diagnosis and is not available for the 400G ZR, 400G ZR+, or fiber-to-copper transceiver modules.
If a transceiver module has multiple lanes, the configuration takes effect for all lanes.
Examples
# Set the high TX power threshold for the transceiver module in HundredGigE 1/0/1 to 4.40 dBm.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] transceiver tx-power high-threshold 4.40
Related commands
display transceiver diagnosis
transceiver tx-power change-threshold
transceiver tx-power low-threshold
transceiver tx-power low-threshold
Use transceiver tx-power low-threshold to configure the low TX power threshold for a transceiver module.
Use undo transceiver tx-power low-threshold to restore the default.
Syntax
transceiver tx-power low-threshold power-value
undo transceiver tx-power low-threshold
Default
No low TX power threshold is set for a transceiver module.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
power-value: Specifies the low TX power threshold in dBm, accurate to 0.01 dBm. The value range for the power-value argument varies by transceiver module model.
Usage guidelines
Operating mechanism
You can execute the transceiver tx-power low-threshold command to configure the low TX power threshold for a transceiver module between the default low early-warning threshold and low alarm threshold. If the TX power of a transceiver module drops below the user-defined threshold, the system generates an alarm message. For example, if the default low threshold range for a transceiver module is –14.00 to –11.00 dBm, you can set the low RX power threshold to –13.00 dBm.
To verify the alarm thresholds for a transceiver module, execute the display transceiver diagnosis command.
Restrictions and guidelines
This command is available only for the SFP, QSFP, QSFPDD, QSFP56, and DSFP transceiver modules that support digital diagnosis and is not available for the 400G ZR, 400G ZR+, or fiber-to-copper transceiver modules.
If a transceiver module has multiple lanes, the configuration takes effect for all lanes.
Examples
# Set the low TX power threshold for the transceiver module in HundredGigE 1/0/1 to -13.00 dBm.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] transceiver tx-power low-threshold -13.00
Related commands
display transceiver diagnosis
transceiver tx-power change-threshold
transceiver tx-power high-threshold
transceiver tx-power change-threshold
Use transceiver tx-power change-threshold to configure the TX power change threshold for a transceiver module.
Use undo transceiver tx-power change-threshold to restore the default.
Syntax
transceiver tx-power change-threshold power-value
undo transceiver tx-power change-threshold
Default
The TX power change threshold for a transceiver module is 4.00 dBm.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
power-value: Specifies the TX power change threshold in dBm, accurate to 0.01 dBm. The value range is 0 to 48.
Usage guidelines
Application scenarios
This command enables the device to monitor significant TX power changes on transceiver modules and generate alarm messages in time.
Operating mechanism
The device sets the initial TX optical power as the baseline for a transceiver module after the transceiver module starts up and operates correctly for the first time. After you execute the transceiver tx-power change-threshold command, the system checks the TX optical power of a transceiver module periodically. If a TX optical power change exceeds the user-defined threshold compared to the baseline, the system identifies it as a significant change and generates an alarm. For example, the TX power change threshold is set to 20.00 dBm, the initial TX optical power after the link starts up and operates correctly for the first time is –15.00 dBm. Then, if the TX optical power decreases to –36.00 dBm or increases to 6.00 dBm, an alarm occurs.
Restrictions and guidelines
This command is available only for the SFP, QSFP, QSFPDD, QSFP56, and DSFP transceiver modules that support digital diagnosis and is not available for the 400G ZR, 400G ZR+, or fiber-to-copper transceiver modules.
If a transceiver module has multiple lanes, the configuration takes effect for all lanes.
Examples
# Set the TX power change threshold for a transceiver module in HundredGigE 1/0/1 to 5.00 dBm.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] transceiver tx-power change-threashold 5.00
Related commands
display transceiver diagnosis
transceiver tx-power high-threshold
transceiver tx-power low-threshold
