- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-Hardware resource management commands | 282.61 KB |
Hardware resource management commands
display cpu-usage configuration
monitor resend memory-threshold dma
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 ] [ slot slot-number [ cpu cpu-number ] ]
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 an IRF member device by its member ID. If you do not specify a member device, this command displays CPU usage statistics for all member devices.
cpu cpu-number: Specifies a CPU by its number.
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 1 Command output
Field |
Description |
x% in last 5 seconds Last 5 sec |
Average CPU usage during the most recent 5-second interval. |
y% in last 1 minute Last 1 min |
Average CPU usage during the most recent 1-minute interval. |
z% in last 5 minutes Last 5 min |
Average CPU usage during the most recent 5-minute interval. |
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 an IRF member device by its member ID. If you do not specify a member device, this command displays the CPU usage monitoring settings for the master device.
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%.
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 ] [ 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 an IRF member device by its member ID. If you specify a process but do not specify a member device, this command displays the statistics for the process on the master device. If you do not specify any options, this command displays the statistics for all processes on all member devices.
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 [ 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 an IRF member device by its member ID. If you do not specify a member device, this command displays information for all member devices.
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 member devices.
Examples
# Display device hardware information.
<Sysname> display device
Slot 1
Slot Type State Subslot Soft Ver Patch Ver
1 S5580S-24T6X-EI Master 0 S5580S-1112 None
Table 3 Command output
Field |
Description |
Type |
Device type. |
State |
Role of the device in an IRF fabric: · Master—The device is the master. · Standby—The device is a subordinate member. |
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 "Upgrading software." |
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 an IRF member device by its member ID. If you do not specify a member device, this command displays hardware electronic label information for all member devices.
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.
|
NOTE: Only the S5580X-EI switch series supports this command. |
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 an IRF member device by its member ID.
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 an IRF member device by its member ID.
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 an IRF member device by its member ID. If you do not specify a member device, this command displays temperature information for all member devices.
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 53 0 80 92 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 an IRF member device by its member ID. If you do not specify a member device, this command displays fan tray operating status information for all member devices.
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
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. · FanDirectionFault—The actual airflow direction is not the preferred direction. |
Airflow Direction |
This field is supported only on the S5580X-EI switch series. Actual airflow direction: · Fan-Panel-Exhaust—Airflow exhaust on the fan panel side. · Fan-Panel-Intake—Airflow intake on the fan panel side. |
display hardware-resource
Use display hardware-resource to display information about the ACL rule types bound to EM resources.
Syntax
display hardware-resource [ EM0 | EM1 ] slot slot-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
EM0: Specifies the EM0 resource pool.
EM1: Specifies the EM1 resource pool.
slot slot-number: Specifies an IRF member device by its member ID.
Usage guidelines
The EM1 resource pool does not support binding any types of ACL rules.
Examples
# Display information about the types of ACL rules bound to all EM resources.
<Sysname> display hardware-resource slot 1
AI Exact-Match Enable Switch(AI-EM), all supported modes:
disable AI EM disable
enable AI EM enable
----------------------------------------
Current disable
Exact-match0(EM0), all supported modes:
null for nothing
ipsg ip-source-guard
mqc-dstipv4 mqc match destination ipv4
inof INOF
static-ac static-AC
dynamics-ac dynamics-AC
mac-vlan mac-vlan
ipfix ipfix
----------------------------------------
Current ipsg
Exact-match1(EM1), all supported modes:
null for nothing
----------------------------------------
Current null
Table 6 Command output
Field |
Description |
AI Exact-Match Enable Switch(AI-EM) |
Whether to use EM resources to match packets with ACL rules via AI. |
Exact-match0(EM0) |
EM0 resource pool. |
Exact-match1(EM1) |
EM1 resource pool. |
all supported modes |
Types of ACL rules that can be bound. |
null |
The resource pool is not bound to any types of ACL rules. |
ipsg |
Type of ACL rule for matching the IP source guard (IPSG) service. |
mqc-dstipv4 |
Type of ACL rule for matching MQC destination IPv4 addresses. |
inof |
Type of ACL rule for matching the INOF service. |
static-ac |
Type of ACL rule for matching the static AC service. |
dynamics-ac |
Type of ACL rule for matching the dynamic AC service. |
mac-vlan |
Type of ACL rule for matching the MAC-based VLAN service. |
ipfix |
Type of ACL rule for matching the IPFIX service. |
Current |
Types of ACL rules that are currently bound. |
Related commands
hardware-resource
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 an IRF member device by its member ID. If you do not specify a member device, this command displays memory usage for all member devices.
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 1:
Total Used Free Shared Buffers Cached FreeRatio
Mem: 1990672 1549824 440848 0 74504 383792 27.4%
-/+ Buffers/Cache: 1091528 899144
Swap: 0 0 0
Container memory statistics are measured in KB:
Slot 1:
Total Used Free UsageRatio
Mem: 1990672 1222412 440848 61.4%
# Display brief memory usage information.
<Sysname> display memory summary
Memory statistics are measured in KB(Available):
Slot CPU Total Used Free Buffers Caches FreeRatio
0 0 16335164 4144720 12190444 8596 2472508 77.5%
Container memory statistics are measured in KB(Available):
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(Available) |
Usage information of the available memory 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, kernel management, and ISSU 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(Available) |
Container usage information of the available memory, 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 an IRF member device by its member ID. If you do not specify a member device, this command displays DMA memory usage information for the master device.
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 8 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 an IRF member device by its member ID. If you do not specify a member device, this command displays the memory usage thresholds and statistics for the master device.
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 an IRF member device by its member ID. If you do not specify a member device, this command displays DMA memory alarm information for the master device.
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 an IRF member device by its member ID. If you do not specify a member device, this command displays power module information for all member devices.
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
PowerID State Mode Current(A) Voltage(V) Power(W) FanDirection
1 Absent -- -- -- -- --
2 Normal AC -- -- -- --
Table 9 Command output
Field |
Description |
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 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 10 shows the common transceiver alarm components. If no error occurs, "None" is displayed.
Table 10 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 |
FEC |
Forward error correction |
BER |
Bit error ratio |
CFO |
Carrier frequency offset |
Examples
# Display the alarms present on the transceiver module in interface GigabitEthernet 1/0/1.
<Sysname> display transceiver alarm interface gigabitethernet 1/0/1
GigabitEthernet1/0/1 transceiver current alarm information:
RX loss of signal
RX power low
Table 11 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 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 GigabitEthernet 1/0/1.
<Sysname> display transceiver diagnosis interface gigabitethernet 1/0/1
GigabitEthernet1/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
Table 12 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. |
display transceiver health
Use display transceiver health to display health information of transceiver modules.
Syntax
display transceiver health 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 health information of all transceiver modules.
Examples
# Display health information of the transceiver module in interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] display transceiver health interface gigabitethernet 1/0/1
GigabitEthernet1/0/1 transceiver health information:
LinkStatus health: 10
Transceiver health:
Temp. Voltage Bias RX power TX power Total
10 10 10 10 10 10
Table 13 Command output
Field |
Description |
Transceiver health |
Health information of the transceiver module in the interface. |
LinkStatus health |
Link health, whose calculation is related to the health of the error packet rate. · If the health of the error packet rate is 1, the link health is 1. · If the health of the error packet rate is 2 to 9, the link health = (Receive power health + the health of the error packet rate)/2. · If the health of the error packet rate is 10, the link health = Round-off number for [(receive power health + 10)/2 + 0.5]. |
Tem |
Temperature health. |
Voltage |
Voltage health. |
Bias |
Bias current health. |
RX power |
Receive power health. |
TX power |
Transmit power health. |
Total |
Overall transceiver module health, sum of the health of each element multiplied by its corresponding weight. |
Related commands
transceiver health check enable
transceiver health weight
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 GigabitEthernet 1/0/1.
<Sysname> display transceiver interface gigabitethernet 1/0/1
GigabitEthernet1/0/1 transceiver information:
Transceiver type : 400G_BASE_SR8_QSFPDD
Connector type : MPO
Wavelength (nm) : 850
Transfer distance (m) : 70(OM3),100(OM4)
Max power(W) : 12
Digital diagnostic monitoring : Yes
Vendor name : H3C
Table 14 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 GigabitEthernet 1/0/1.
<Sysname> display transceiver manuinfo interface gigabitethernet 1/0/1
GigabitEthernet1/0/1 transceiver manufacture information:
Manu. Serial Number : 213410A0000054000251
Manufacturing Date : 2019-09-01
Vendor Name : H3C
Table 15 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. |
hardware-resource
Use hardware-resource to bind types of ACL rules to EM resources.
Syntax
hardware-resource { EM0 | EM1 } { null | ipsg | mqc-dstipv4 | inof | static-ac | dynamics-ac | mac-vlan | ipfix } slot slot-number
Default
EM0 and EM1 resources are not bound to any types of ACL rules.
Views
System view
Predefined user roles
network-admin
Parameters
EM0: Specifies the EM0 resource pool.
EM1: Specifies the EM1 resource pool.
null: Binds no ACL rules.
ipsg: Specifies the type of ACL rule for matching the IPSG service. The template for this type of ACL rule includes the following:
· IPv4 template:
¡ Source IPv4 address + source MAC address + source port number + VLAN ID
¡ Source IPv4 address + source MAC address + source aggregate interface number + VLAN ID
· IPv6 template:
¡ Source IPv6 address + source MAC address + source port number + VLAN ID
¡ Source IPv6 address + source MAC address + source aggregate interface number + VLAN ID
mqc-dstipv4: Specifies the type of ACL rule for matching MQC destination IPv4 address service. This type of ACL rule matches only destination IPv4 addresses.
inof: Specifies ACL rules for matching the INOF service. The template for this type of ACL rule includes the following:
· IPv4 template: Source IPv4 address + destination IPv4 address.
· IPv6 template: Source IPv6 address + destination IPv6 address.
· static-ac: Specifies ACL rules for matching the static AC service. The template for this type of ACL rule includes the following:
· Source port number + VLAN ID
· Source aggregate interface number + VLAN ID
dynamics-ac: Specifies ACL rules for matching the static AC service. The template for this type of ACL rule includes the following:
· Source port number + Source MAC address + VLAN ID
· Source aggregate interface number + Source MAC address + VLAN ID
mac-vlan: Specifies ACL rules for matching the MAC-based VLAN service. This type of ACL rules matches only source MAC addresses. The mask for these source MAC addresses must be all Fs.
ipfix: Specifies ACL rules for matching the IPFIX service. The template for this type of ACL rule includes the following:
· Protocol carries by IPv4 + source IPv4 address + destination IPv4 address + source port number + destination port number
· Protocol carries by IPv4 + source IPv4 address + destination IPv4 address + source port number + ICMP message code
slot slot-number: Specifies an IRF member device by its member ID.
Usage guidelines
This feature allows the device to deploy the specified types of ACL rules through the EM engine, increasing the number of ACL rules the device supports. The EM engine can deploy the ACL rules for matching the following types of services: IPSG, MQC destination IPv4 address, INOF, static AC, dynamic AC, MAC-based VLAN, and IPFIX.
When a type of ACL rule is bound to an EM resource pool, the device will use EM resources for packet matching. EM resources are a type of forwarding entry resource on the device, stored in the same hardware space as MAC addresses and routing tables. Using EM resources for packet matching can increase the device's packet matching specifications.
For example, the type of ACL rule for matching the IPFIX service includes protocol carried by IPv4 + source IPv4 address + destination IPv4 address + source port number + destination port number. If the device only configures a type of ACL rule that includes protocol carried by IPv4 + source IPv4 address + destination IPv4 address + source port number + destination port number, but does not bind that type of ACL rule to an EM resource pool, the device uses TCAM resources for packet matching. However, TCAM resources are limited. To resolve this issue, after configuring ACL rules that includes protocol carried by IPv4 + source IPv4 address + destination IPv4 address + source port number + destination port number, bind this type of ACL rule for the IPFIX service to an EM resource pool. Then, the device will use EM resources to perform packet matching for the IPFIX service.
To clear all ACL rules bound to an EM resource pool, execute the hardware-resource { EM0 | EM1 } null command.
The ACL rules for matching MQC destination IPv4 addresses through EM resources supports only the Layer 2 port inbound direction and are only suitable for scenarios that do not differentiate ACL rules or CB pair priorities.
The EM1 resource pool does not support binding any types of ACL rules.
In IRF mode, after EM0 resource pool binding, manually save the configuration to the subordinate device to prevent configuration loss upon restart.
Examples
# Bind the type of ACL rule for the IPSG service to the EM0 resource pool.
<Sysname> system-view
[Sysname] hardware-resource EM0 ipsg slot 1
# Clear all ACL rules bound to the EM0 resource pool.
<Sysname> system-view
[Sysname] hardware-resource EM0 null slot 1
Related commands
display hardware-resource
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
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.
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.
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command sets free-memory thresholds for the master device.
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.
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.
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 an IRF member device by its member ID. If you do not specify a member device, this command sets DMA memory thresholds for the master device.
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 range for the critical-value argument is 0 to 4194304.
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 depending on the value for the critical-value argument.
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 an IRF member device by its member ID. If you do not specify a member device, this command sets the memory usage threshold for the master device.
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 an IRF member device by its member ID. If you do not specify a member device, this command enables CPU usage tracking for the master device.
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 an IRF member device by its member ID. If you do not specify a member device, this command sets the interval for the master device.
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 disk-usage disk
Use monitor disk-usage disk to set the disk usage threshold.
Use undo monitor disk-usage disk to restore the default.
Syntax
monitor disk-usage [ slot slot-number ] disk disk-name threshold threshold-value
undo monitor disk-usage [ slot slot-number ] disk disk-name threshold
Default
The disk usage threshold is 90%.
Views
System view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify an IRF member device, the command applies to the master device.
disk disk-name: Specifies a disk by its name. This option is case sensitive. The system will prompt a parameter error if you enter this option incorrectly.
threshold threshold-value: Specifies the disk usage threshold in percentage, in the range of 1 to 100.
Usage guidelines
After you set the disk usage threshold, the device compares the usage of the disk with the threshold at each sampling. If the usage exceeds the threshold, the device sends a high disk usage alarm to the NETCONF module. For more information about the NETCONF module see Network Management and Monitoring Configuration Guide.
Examples
# Set the disk usage threshold to 80%.
<Sysname> system-view
[Sysname] monitor disk-usage disk flash threshold 80
Related commands
monitor disk-usage interval
monitor disk-usage interval
Use monitor disk-usage interval to set the disk usage sampling interval.
Use undo monitor disk-usage interval to restore the default.
Syntax
monitor disk-usage interval interval
undo monitor disk-usage interval
Default
The disk usage sampling interval is 300 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval interval-time: Specifies the disk usage sampling interval in seconds, a multiple of 5 in the range of 5 to 1800.
Usage guidelines
After you set the disk usage sampling interval, the device samples the disk usage at the specified intervals.
Examples
# Set the disk usage sampling interval to 120 seconds.
<Sysname> system-view
[Sysname] monitor disk-usage interval 120
Related commands
monitor disk-usage disk
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 an IRF member device by its member ID. If you do not specify a member device, this command sets the interval for the master device.
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 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 an IRF member device by its member ID. If you do not specify a member device, this command sets the interval for the master device.
slot slot-number: Specifies a VM by its slot number. (vBRAS-CPs)
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
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
In networks with loop detection or spanning tree protocols, some protocols automatically disable a port. For example, the MSTP module disables a BPDU-protected port upon receiving a configuration message. 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 } 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
mdc-admin
Parameters
slot slot-number: Specifies an IRF member device by its member ID.
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 health check enable
Use transceiver health check enable to enable transceiver health check.
Use undo transceiver health check enable to restore the default.
Syntax
transceiver health check enable
undo transceiver health check enable
Default
Transceiver health check is disabled.
Views
System view
Predefined user roles
network-admin
Examples
# Enable transceiver health check.
<Sysname> system-view
[Sysname] transceiver health check enable
Related commands
display transceiver health
transceiver health weight
transceiver health weight
Use transceiver health weight to set the weights for transceiver health calculation.
Use undo transceiver health weight to restore the default.
Syntax
transceiver health weight temp temp-weight voltage voltage-weight bias bias-weight rxpower rxpower-weight txpower txpower-weight
undo transceiver health weight
Default
The weights for calculating transceiver health are as follows:
· Temperature weight: 15.
· Voltage weight: 5.
· Bias current weight: 30.
· Receive power weight: 10.
· Transmit power weight: 40.
Views
System view
Predefined user roles
network-admin
Parameters
temp temp-weight: Specifies the temperature weight in transceiver health calculation. The value range is 1 to 96.
voltage voltage-weight: Specifies the voltage weight in transceiver health calculation. The value range is 1 to 96.
bias bias-weight: Specifies the bias current weight in transceiver health calculation. The value range is 1 to 96.
rxpower rxpower-weight: Specifies the receive power weight in transceiver health calculation. The value range is 1 to 96.
txpower txpower-weight: Specifies the transmit power weight in transceiver health calculation. The value range is 1 to 96.
Usage guidelines
Use this command to set the weights of five diagnosis parameters for transceiver health calculation, including temperature, voltage, bias current, receive power, and transmit power.
The sum of the weight of each diagnosis parameter for transceiver health calculation must be 100.
Examples
# Set the weights of the temperature, voltage, bias current, receive power, and transmit power to 20.
<Sysname> system-view
[Sysname] transceiver health weight temp 20 voltage 20 bias 20 rxpower 20 txpower 20
Related commands
display transceiver health
transceiver health check enable