- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-Hardware resource management commands | 230.82 KB |
Hardware resource management commands
display cpu-usage configuration
display transceiver active-control
display transceiver advertising
display transceiver application
resource-monitor minor resend enable
Hardware resource management commands
display cpu-usage
Use display cpu-usage to display the current CPU usage statistics.
Syntax
display cpu-usage [ control-plane ] [ summary ]
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.
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
Unit 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
CPU Last 5 sec Last 1 min Last 5 min
0 2% 2% 10%
Table 1 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
Views
Any view
Predefined user roles
network-admin
Parameters
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%.
Table 2 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 ]
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.
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 [ subslot subslot-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 the slot number of the device, which is fixed at 1.
subslot subslot-number: Specifies a subcard by its subslot number. If you do not specify a subcard, this command does not display information about any subcards.
verbose: Displays detailed information. If you do not specify this keyword, this command displays brief information, and does not display firewall card 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 Type State Subslot Soft Ver Patch Ver
1 S6880 Master 0 S6880-6103 None
Table 3 Command output
Field |
Description |
Type |
Device type. |
State |
Device role. The value is Master. |
Soft 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 software upgrade configuration 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 ] [ subslot subslot-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies the slot number of the device, which is fixed at 1.
subslot subslot-number: Specifies a subcard by its subslot number. If you do not specify a subcard, this command does not display information about any subcards.
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 the slot number of the device, 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 the slot number of the device, 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 the slot number of the device, 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 30 0 65 70 NA
Table 4 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 the slot number of the device, 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 1:
State : Normal
Airflow Direction: Fan-Panel-Exhaust
Fan 2:
State : Normal
Airflow Direction: Fan-Panel-Exhaust
Fan 3:
State : Normal
Airflow Direction: Fan-Panel-Exhaust
Fan 4:
State : Normal
Airflow Direction: Fan-Panel-Exhaust
Table 5 Command output
Field |
Description |
Fan 1 |
Fan tray number. |
State |
Fan tray status: · Absent—The slot is not installed with a fan tray. · Fault—The fan tray is faulty. · Normal—The fan tray is operating correctly. |
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. · Fan-Panel-Exhaust—Fan panel side exhaust airflow. · Fan-Panel-Intake—Fan panel side intake airflow. |
display hardware-mode status
Use display hardware-mode status to display the hardware resource mode for MAC address entries, ARP/ND entries, and routing entries.
Syntax
display hardware-mode status
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Specify the hardware resource mode for MAC address entries, ARP/ND entries, and routing entries.
<H3C> display hardware-mode status
mode | Route-v4 | Route-v6 | MAC | ARP | ND
mode in use: 0 NORMAL 216K 108K 128K 88K 66K
mode for next reboot: 1 ROUTE 504K 252K 32K 40K 34K
Table 6 Command output
Field |
Description |
mode in use |
Current hardware resource mode for MAC address entries, ARP/ND entries, and routing entries. |
mode for next reboot |
Hardware resource mode for MAC address entries, ARP/ND entries, and routing entries after the device reboots. |
mode |
Hardware resource mode for MAC address entries, ARP/ND entries, and routing entries |
Route-v4 |
Number of IPv4 routing entries |
Route-v6 |
Number of IPv6 routing entries |
MAC |
Number of MAC address entries |
ARP |
Number of ARP entries |
ND |
Number of ND entries |
Related commands
hardware-mode
display memory
Use display memory to display memory usage information.
Syntax
display memory [ summary ]
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.
Usage guidelines
If two hyphens (--) are displayed for all the fields in a line of the command 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 1:
Total Used Free Shared Buffers Cached FreeRatio
Mem: 8081628 3222792 4858836 0 5360 2002404 60.4%
-/+ Buffers/Cache: 1215028 6866600
Swap: 0 0 0
Container memory statistics are measured in KB:
Slot 1:
Total Used Free UsageRatio
Mem: 8081628 1173472 4858836 14.5%
# 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 7 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. |
display memory-threshold
Use display memory-threshold to display memory alarm thresholds and statistics.
Syntax
display memory-threshold
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
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
Early-warning: 0M
Secure: 0M
Current memory state: Normal
Event statistics:
[Back to normal state]
First notification: 0.0
Latest notification: 0.0
Total number of notifications sent: 0
[Enter minor low-memory state]
First notification at: 0.0
Latest notification at: 0.0
Total number of notifications sent: 0
[Back to minor low-memory state]
First notification at: 0.0
Latest notification at: 0.0
Total number of notifications sent: 0
[Enter severe low-memory state]
First notification at: 0.0
Latest notification at: 0.0
Total number of notifications sent: 0
[Back to severe low-memory state]
First notification at: 0.0
Latest notification at: 0.0
Total number of notifications sent: 0
[Enter critical low-memory state]
First notification at: 0.0
Latest notification at: 0.0
Total number of notifications sent: 0
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 the slot number of the device, 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 supply information.
<Sysname> display power
PowerID State Mode Current(A) Voltage(V) Power(W)
1 Normal AC -- -- --
2 Absent -- -- -- --
Table 8 Command output
Field |
Description |
PowerID |
Power supply ID. |
State |
Power supply status. · Absent—The slot is not installed with a power supply. · Fault—The power supply is faulty. · Normal—The power supply is operating correctly. |
Mode |
Mode of the power supply: · AC—AC power supply. · DC—DC power supply. |
Current(A) |
Output current of the power supply, in amperes. If this field is not supported, two hyphens (--) are displayed. |
Voltage(V) |
Output voltage of the power supply, in volts. If this field is not supported, two hyphens (--) are displayed. |
Power(W) |
Output power of the power supply, in watts. If this field is not supported, two hyphens (--) are displayed. |
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. For the resource types, seeTable 19.
slot slot-number: Specifies the slot number of the device, 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 9 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 the active control information of 400-GE transceiver modules.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 the active control information of the 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> display transceiver active-control interface fourhundredgigE 1/1/1
|FourHundredGigE 1/1/1 transceiver active-control setting information:
Current working mode :400G-SR8
Lane LowestHostLane RxPre-Cursor RxPost-Cursor RxAmplitude
Lane1 Lane1 1.5 dB 1 dB 600-1200 mV
Lane2 Lane1 1.5 dB 1 dB 600-1200 mV
Lane3 Lane1 1.5 dB 1 dB 600-1200 mV
Lane4 Lane1 1.5 dB 1 dB 600-1200 mV
Lane5 Lane1 1.5 dB 1 dB 600-1200 mV
Lane6 Lane1 1.5 dB 1 dB 600-1200 mV
Lane7 Lane1 1.5 dB 1 dB 600-1200 mV
Lane8 Lane1 1.5 dB 1 dB 600-1200 mV
Table 10 Command output
Field |
Description |
Current working mode |
Current operating mode of the transceiver module. |
Lane |
Current lane. |
LowestHostLane |
Host lane with the smallest number in the lane group currently used by the transceiver module. |
RxPre-Cursor |
Pre-cursor when the transceiver module acts as the receiver. |
RxPost-Cursor |
Post-cursor when the transceiver module acts as the receiver. |
RxAmplitude |
Amplitude when the transceiver module acts as the receiver. |
display transceiver advertising
Use display transceiver advertising to display the advertising information of 400-GE transceiver modules.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> display transceiver advertising interface fourhundredgigE 1/1/1
|FourHundredGigE 1/1/1 transceiver advertising information:
CMIS Revision : 4.1
Versatile Diagnostic Monitoring : YES
Tx clock recovery capabilities : module requires all Tx input lanes to be
in a single Tx synchronous group
Max Tx Input Eq(dB) : No Equalization
Max Rx Output Eq Pre-cursor(dB) : Custom
Max Rx Output Eq Post-cursor(dB) : Custom
Tx disable implemented : YES
Tx Force Squelch implemented : YES
Tx Squelch implemented : Pave
Tunable transmitter : YES
Tx bypass CDR implemented : NO
Rx bypass CDR implemented : NO
Tx Input Eq Adaptive : YES
CDB implemented : One instance of CDB implemented
Table 11 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
Table 12 shows the common transceiver alarm components. If no error occurs, "None" is displayed.
Table 12 Common transceiver alarm components
Field |
Description |
APD |
Avalanche photo diode |
PCS |
Physical coding sublayer |
PHY XS |
PHY extended sublayer |
PMA/PMD |
Physical medium attachment/physical medium dependent |
power |
Optical power |
REFCLK |
Reference clock |
RX |
Receive |
TEC |
Thermoelectric cooler |
Temp |
Temperature |
TX |
Transmit |
WIS |
WAN interface sublayer |
Examples
# Display the alarms present on the transceiver module in interface Twenty-FiveGigE 1/0/1.
<Sysname> display transceiver alarm interface twenty-fivegige 1/0/1
Twenty-FiveGigE1/0/1 transceiver current alarm information:
RX loss of signal
RX power low
Table 13 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 400-GE transceiver modules.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> display transceiver application interface fourhundredgigE 1/1/1
|FourHundredGigE 1/1/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 14 Command output
Field |
Description |
ApSel Code |
Current application of the transceiver module represented by the ApSel code. |
The Lowest host Lane |
Host lane with the smallest number for the application in each lane group. The supported number of lanes varies by application of the transceiver module. These lanes are divides into groups. |
The Lowest media lane |
Media lane with the smallest number for the application. |
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 Twenty-FiveGigE 1/0/1.
<Sysname> display transceiver diagnosis interface twenty-fivegige 1/0/1
Twenty-FiveGigE1/0/1 transceiver diagnostic information:
Current diagnostic parameters:
[module] Temp.(C) Voltage(V) Total RX power(dBm) Total TX power(dBm)
43 3.30 4.60 6.12
[channel] Bias(mA) RX power(dBm) TX power(dBm)
1 7.39 -36.96 1.13
2 7.39 -36.96 0.99
3 7.39 -36.96 1.08
4 7.39 -36.96 1.11
Alarm thresholds:
Temp.(C) Voltage(V) Bias(mA) RX power(dBm) TX power(dBm)
High 85 3.64 15.00 3.40 5.40
Low -15 2.97 3.00 -14.00 -12.10
Table 15 Command output
Field |
Description |
transceiver diagnostic information |
Digital diagnosis information for the transceiver module in the interface. |
Temp.(C) |
Temperature in °C, accurate to 1°C. |
Voltage(V) |
Voltage in V, accurate to 0.01 V. |
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. |
Total RX power(dBm) |
Total receive power of all channels in dBm, accurate to 0.01 dBm. |
Total TX power(dBm) |
Total transmit power of all channels in dBm, accurate to 0.01 dBm. |
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 Twenty-FiveGigE 1/0/1.
<Sysname> display transceiver interface twenty-fivegige 1/0/1
Twenty-FiveGigE1/0/1 transceiver information:
Transceiver type : 100G_BASE_SR4_QSFP28
Connector type : MPO
Wavelength (nm) : 850
Transfer distance (m) : 70(OM3),100(OM4)
Digital diagnostic monitoring : Yes
Vendor name : H3C
Ordering Name : QSFP-100G-SR4-MM850
Part Number : AFBR-89CDDZ-H3C
Serial Number : AF1709GH03A
Table 16 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/125 um single-mode optical fiber. · 50um—50/125 um multi-mode optical fiber. · 62.5um—62.5/125 um multi-mode optical fiber. · TP—Twisted pair. · CX4—CX4 cable. |
Digital Diagnostic Monitoring |
Support for digital diagnostic monitoring: · Yes. · No. |
Ordering Name |
Ordering name of the transceiver module. |
Part Number |
Model of the transceiver module. |
Serial Number |
Serial number 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 Twenty-FiveGigE 1/0/1.
<Sysname> display transceiver manuinfo interface twenty-fivegige 1/0/1
Twenty-FiveGigE1/0/1 transceiver manufacture information:
Manu. Serial Number : 213410A0000054000251
Manufacturing Date : 2019-09-01
Vendor Name : H3C
Table 17 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. |
display transceiver status
Use display transceiver status to display 400-GE transceiver module status information.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> display transceiver status interface fourhundredgigE 1/1/1
|FourHundredGigE 1/1/1 transceiver status information:
Module state : ModuleReady
Interrupt : YES
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
Table 18 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. |
display transceiver vdm
Use display transceiver vdm to display the versatile diagnostics monitoring (VDM) information of a transceiver module.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 400G transceiver modules that support CMIS 4.0.
Examples
# Display the VDM 1 information of the transceiver module in FourHundredGigE 1/1/1.
<Sysname> display transceiver vdm interface fourhundredgige 1/1/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/1/1.
<Sysname> display transceiver vdm interface fourhundredgige 1/1/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
hardware-mode
Use hardware-mode to specify the hardware resource mode for MAC address entries, APR/ND entries, and routing entries.
Syntax
hardware-mode { 0 | 1 | 2 }
Default
The normal hardware resource mode applies.
Views
System view
Predefined user roles
network-admin
Parameters
0: Specifies the normal hardware resource mode for MAC address entries, APR/ND entries, and routing entries.
1: Specifies the routing hardware resource mode for MAC address entries, APR/ND entries, and routing entries.
2: Specifies the MAC hardware resource mode for MAC address entries, APR/ND entries, and routing entries.
Usage guidelines
The quantities of MAC address entries, APR/ND entries, and routing entries supported by the device vary by hardware resource mode. For more information, see the device management configuration in Fundamentals Configuration Guide.
For the command to take effect, you must save the configuration and reboot the device. Before rebooting the device, evaluate the impact on the network and make preparations.
Examples
# Specify the routing hardware resource mode for MAC address entries, APR/ND entries, and routing entries.
<Sysname> system-view
[Sysname] hardware-mode 1
Reboot device to make the configuration take effect.
Related commands
display hardware-mode status
memory-threshold
Use memory-threshold to set free-memory thresholds.
Use undo memory-threshold to restore the default.
Syntax
memory-threshold [ ratio ] minor minor-value severe severe-value critical critical-value normal normal-value
undo memory-threshold
Default
Minor alarm threshold: 256 MB.
Severe alarm threshold: 192 MB.
Critical alarm threshold: 128 MB.
Normal state threshold: 320 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.
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.
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 Fundamentals Configuration Guide.
# 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 usage
Use memory-threshold usage to set the memory usage threshold.
Use undo memory-threshold usage to restore the default.
Syntax
memory-threshold usage memory-threshold
undo memory-threshold usage
Default
The memory usage threshold is 100%.
Views
System view
Predefined user roles
network-admin
Parameters
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
undo monitor cpu-usage enable
Default
CPU usage tracking is enabled.
Views
System view
Predefined user roles
network-admin
Parameters
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
undo monitor cpu-usage interval
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.
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 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]
undo monitor cpu-usage threshold [ minor-threshold recovery-threshold ]
Default
Severe CPU usage alarm threshold: 99%.
Minor CPU usage alarm threshold: 80%.
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.
Usage guidelines
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 } *
undo monitor resend cpu-usage [ minor-interval | severe-interval ]
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.
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.
<Sysname> system-view
[Sysname] monitor resend cpu-usage minor-interval 60
reset transceiver interface
Use reset transceiver interface to reset 400-GE transceiver modules.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 transceiver modules.
Examples
# Reset the 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> reset transceiver interface fourhundredgige 1/1/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 period is fixed at 24 hours for a severe alarm and is fixed at 7 * 24 hours for a minor alarm.
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 cpu cpu-number by-percent minor-threshold minor-threshold severe-threshold severe-threshold
undo resource-monitor resource resource-name cpu cpu-number
Default
The default varies 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 19 shows the resource types that can be monitored.
Table 19 Resource types that can be monitored
Resource type |
Description |
arp |
ARP hardware resources. |
ecmpgroup |
ECMP group hardware resources. |
ipv4host |
IPv4 host route resources. |
ipv4route |
IPv4 route entry resources. |
ipv6host |
IPv6 host route resources. |
ipv6route |
IPv6 route entry resources. |
nd |
ND hardware resources. |
slot slot-number: Specifies the slot number of the device, 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 vlaue of 0 inidcates 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
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 defaults vary by temperature sensor model. To view the defaults, execute the undo temperature-limit and display environment commands in turn.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies the slot number of the device, 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.
|
NOTE: This command is supported only on the S9820-8M switch. |
Syntax
transceiver diagnostic selector selector-id
Default
No diagnostic selector is specified for a transceiver module.
Views
400GE 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 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 re-execute the command after a power recovery.
Examples
# Specify diagnostic selector 1 for the transceiver module in FourHundredGigE1/1/1 and display specified diagnostic information.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/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/1/1 and display specified diagnostic information.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/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/1/1 and display specified diagnostic information.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/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 lanes on a 400-GE transceiver module.
Use undo transceiver lane to disable lanes on a 400-GE transceiver module.
|
NOTE: This command is supported only on the S9820-8M switch. |
Syntax
transceiver lane [ lane-number ] enable
undo transceiver lane [ lane-number ] enable
Default
All lanes on a transceiver module are enabled.
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 enables all lanes on the transceiver module.
Usage guidelines
Execute this command only for transceiver module debugging or testing.
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.
The lane enablement setting is saved in a register on the transceiver module. It is not saved to the configuration file.
Examples
# Enable lane 1 on the 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/1] transceiver lane 1 enable
Related commands
display transceiver status
transceiver lane equalization
Use transceiver lane equalization to configure the pre-cursor and post-cursor equalizers, and amplitude for a 400-GE transceiver module.
Use undo transceiver lane equalization to restore the default.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 varies 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 code value of the pre-cursor. The following shows all code values:
· 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 code value of the post-cursor. The following shows all code values:
· 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 code value of the amplitude. The following shows all code values:
· range0—100 to 400 mV.
· range1—300 to 600 mV.
· range2—400 to 800 mV.
· Range3—600 to 1200 mV.
Usage guidelines
Execute this command for debugging and testing on high speed signals to achieve optimal link status. The default settings are generally applied. 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. This command enables the device to automatically disable and then enable the transceiver module, which affects traffic transmission.
The configuration by this command 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 400-GE transceiver module in interface FourHundredGigE 1/1/1.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/1] transceiver lane 1 equalization pre-cursor 1 post-cursor 8 amplitude 3
This operation will shut down and then bring up the transceiver module, affecting data transmission. Continue? [Y/N]:Y
Related commands
display transceiver active-control
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.
|
NOTE: This command is supported only on the S9820-8M switch. |
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 varies by transceiver module model.
Views
400GE 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 200G and 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 re-execute 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/1/1.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/1] transceiver lane pattern host-generator PRBS-31Q
This operation causes the service to be down for a while. Continue? [Y/N]:Y
transceiver power-mode
Use transceiver power-mode to set a power mode for a 400-GE transceiver module.
Use undo transceiver power-mode to restore the default.
|
NOTE: This command is supported only on the S9820-8M switch. |
Syntax
transceiver power-mode { high | low }
undo transceiver power-mode
Default
The default varies by transceiver module model.
Views
400-GE Ethernet interface view and its breakout interface view
Predefined user roles
network-admin
Usage guidelines
A transceiver module generally operates in high power mode. If the transceiver module does not work for a long time, you can switch the transceiver module to low power mode to reduce power consumption. In low power mode, the transceiver module does not transmit signals.
The power mode setting is saved in a register on the transceiver module. It is not saved to the configuration file.
Examples
# Set the 400-GE transceiver module in interface FourHundredGigE 1/1/1 to high power mode.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/1] transceiver power-mode high
# Set the 400-GE transceiver module in interface FourHundredGigE 1/1/1 to low power mode.
<Sysname> system-view
[Sysname] interface fourhundredgige 1/1/1
[Sysname-FourHundredGigE1/1/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