01-Fundamentals Command Reference

HomeSupportSwitchesS9820 SeriesReference GuidesCommand ReferencesH3C S9820-8C Switch Command References-Release 6715-6W10001-Fundamentals Command Reference
11-Device management commands
Title Size Download
11-Device management commands 851.67 KB

Contents

Device management commands· 1

clock datetime· 1

clock delay-compensation· 2

clock protocol 2

clock summer-time· 3

clock timezone· 4

command· 5

copyright-info enable· 6

display alarm·· 7

display alarm active· 8

display alarm history· 11

display clock· 13

display copyright 13

display cpu-usage· 14

display cpu-usage configuration· 15

display cpu-usage history· 16

display device· 17

display device manuinfo· 18

display device manuinfo fan· 19

display device manuinfo power 19

display diagnostic-information· 20

display environment 21

display fan· 23

display hardware-failure-detection· 24

display hardware-resource clock-mode· 24

display hardware-resource linkscan-mode· 25

display hardware-resource switch-mode· 26

display key-component 27

display memory· 29

display memory dma· 30

display memory-threshold· 31

display memory-threshold dma· 33

display power 34

display resource-monitor 35

display scheduler job· 36

display scheduler logfile· 37

display scheduler reboot 37

display scheduler schedule· 38

display system health· 39

display system health history· 40

display system stable state· 41

display system-working-mode· 42

display transceiver active-control 43

display transceiver advertising· 44

display transceiver alarm·· 46

display transceiver application· 48

display transceiver diagnosis· 49

display transceiver eyediagram-diagnosis· 51

display transceiver interface· 54

display transceiver manuinfo· 54

display transceiver power 55

display transceiver status· 56

display transceiver vdm·· 57

display version· 58

display version-update-record· 59

download manuinfo fan· 60

hardware-alarm disable· 60

hardware-failure-detection· 61

hardware-resource clock-mode· 62

hardware-resource linkscan-mode· 63

hardware-resource switch-mode· 64

header 65

job· 66

locator blink· 66

memory-threshold· 67

memory-threshold dma· 69

memory-threshold usage· 70

monitor cpu-usage enable· 70

monitor cpu-usage interval 71

monitor cpu-usage logging interval 72

monitor cpu-usage threshold· 72

monitor memory-usage logging interval 73

monitor resend cpu-usage· 74

monitor resend memory-threshold· 75

parity-error consistency-check log enable· 76

parity-error consistency-check threshold· 77

parity-error monitor log enable· 78

parity-error monitor period· 78

parity-error monitor threshold· 79

parity-error unrecoverable log enable· 80

parity-error unrecoverable period· 80

parity-error unrecoverable reboot 81

parity-error unrecoverable threshold· 82

password-recovery enable· 83

reboot 83

reset alarm active· 85

reset scheduler logfile· 85

reset transceiver interface· 86

reset version-update-record· 86

resource-monitor minor resend enable· 87

resource-monitor output 87

resource-monitor resource· 88

restore factory-default 91

scheduler job· 92

scheduler logfile size· 92

scheduler reboot at 93

scheduler reboot delay· 94

scheduler schedule· 95

shutdown-interval 96

sysid· 96

sysname· 97

system-working-mode· 98

temperature-limit 98

time at 99

time once· 100

time repeating· 101

transceiver diagnostic selector 103

transceiver host-fault-detect enable· 104

transceiver lane cdr 105

transceiver lane enable· 106

transceiver lane equalization· 107

transceiver lane loopback· 108

transceiver lane pattern· 109

transceiver media-fault-detect enable· 110

transceiver monitor enable· 111

transceiver monitor interval 111

transceiver optical-channel frequency· 112

transceiver optical-channel tx-power 113

transceiver power-mode· 114

transceiver working-mode· 115

user-role· 115


Device management commands

clock datetime

Use clock datetime to set the system time.

Syntax

clock datetime time date

Default

The system time is UTC time 00:00:00 01/01/2011.

Views

User view

Predefined user roles

network-admin

Parameters

time: Specifies a time in the hh:mm:ss format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. The value range for ss is 0 to 59. The leading zero in a segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify 08:00:00, you can enter 8.

date: Specifies a date in the MM/DD/YYYY or YYYY/MM/DD format. The value range for YYYY is 2000 to 2035. The value range for MM is 1 to 12. The value range for DD varies by month.

Usage guidelines

CAUTION

CAUTION:

Change of the system time affects execution of system time-related features (such as scheduled tasks) and cooperative operation with other devices (such as log reporting and statistics collection). Before executing this command, make sure you understand its impact on the live network.

 

Correct system time is essential to network management and communication. You must configure the system time correctly before you run the device on the network.

For the device to use the local system time, execute the clock protocol none command and this command in turn. The specified system time takes effect immediately. Then, the device uses the clock signals generated by its built-in crystal oscillator to maintain the system time.

A device power cycling operation restores the local system time to the default. After the device is power cycled, you must execute this command again to set the local system time.

Examples

# Set the system time to 08:08:08 01/01/2015.

<Sysname> clock datetime 8:8:8 1/1/2015

# Set the system time to 08:10:00 01/01/2015.

<Sysname> clock datetime 8:10 2015/1/1

Related commands

clock protocol

clock summer-time

clock timezone

display clock

clock delay-compensation

Use clock delay-compensation to configure the delay compensation duration for obtaining time.

Use undo clock delay-compensation to restore the default.

Syntax

clock delay-compensation { 1pps | gps } timer

undo delay-clock compensation { 1pps | gps }

Default

The delay compensation duration for obtaining time is 0.

Views

System view

Predefined user roles

network-admin

Parameters

1pps: Specifies the 1PPS method for obtaining time. This keyword is required if the device obtains time through a coaxial cable.

gps: Specifies the GPS method for obtaining time. This keyword is required if the device obtains time through an external antenna.

timer: Specifies the delay compensation duration, in the range of 1 to 65535, in ns. The delay compensation duration is determined by the length of the used coaxial cable or external antenna.

Usage guidelines

When you execute this command, you need to determine the delay compensation duration based on the actual length of the external antenna or coaxial cable.

Examples

# Specify the delay compensation duration as 5 ns for obtaining time through GPS.

<Sysname> system-view

[Sysname] clock delay-compensation gps 5

clock protocol

Use clock protocol to specify the system time source.

Use undo clock protocol to restore the default.

Syntax

clock protocol { none | ntp | ptp }

undo clock protocol

Default

The device obtains the UTC time from an NTP time source.

Views

System view

Predefined user roles

network-admin

Parameters

none: Uses the system time set by using the clock datetime command.

ptp: Uses PTP to obtain the UTC time. You must configure PTP correctly. For more information about PTP and PTP configuration, see Network Management and Monitoring Configuration Guide.

ntp: Uses NTP to obtain the UTC time. You must configure NTP correctly. For more information about NTP and NTP configuration, see Network Management and Monitoring Configuration Guide.

Usage guidelines

Correct system time is essential to network management and communication. You must configure the system time correctly before you run the device on the network.

The device can use the locally set system time, or obtain the UTC time from a time source on the network and calculate the system time.

If you execute the clock protocol none command, the device uses the locally set system time. The device then uses the clock signals generated by its built-in crystal oscillator to maintain the system time.

If you execute the clock protocol { ntp | ptp } command, the device obtains the UTC time through NTP or PTP and calculates the system time. The device then periodically synchronizes the UTC time and recalculates the system time.

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Configure the device to use the local UTC time.

<Sysname> system-view

[Sysname] clock protocol none

clock summer-time

Use clock summer-time to set the daylight saving time.

Use undo clock summer-time to restore the default.

Syntax

clock summer-time name start-time start-date end-time end-date add-time

undo clock summer-time

Default

The daylight saving time is not set.

Views

System view

Predefined user roles

network-admin

Parameters

name: Specifies a name for the daylight saving time schedule, a case-sensitive string of 1 to 32 characters.

start-time: Specifies the start time in the hh:mm:ss format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. The value range for ss is 0 to 59. The leading zero in a segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify 08:00:00, you can enter 8.

start-date: Specifies the start date in one of the following formats:

·     MM/DD. The value range for MM is 1 to 12. The value range for DD varies by month.

·     month week day, where:

¡     month—Takes January, February, March, April, May, June, July, August, September, October, November or December.

¡     week—Represents week of the month. It takes first, second, third, fourth, fifth, or last.

¡     day—Takes Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday.

end-time: Specifies the end time in the hh:mm:ss format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. The value range for ss is 0 to 59. The leading zero in a segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify 08:00:00, you can enter 8.

end-date: Specifies the end date in one of the following formats:

·     MM/DD. The value range for MM is 1 to 12. The value range for DD varies by month.

·     month week day, where:

¡     month—Takes January, February, March, April, May, June, July, August, September, October, November or December.

¡     week—Represents week of the month. It takes first, second, third, fourth, fifth, or last.

¡     day—Takes Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday.

add-time: Specifies the time to be added to the standard time, in the hh:mm:ss format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. The value range for ss is 0 to 59. The leading zero in a segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify 08:00:00, you can enter 8.

Usage guidelines

Correct system time is essential to network management and communication. You must configure the system time correctly before you run the device on the network.

After you set the daylight saving time, the device recalculates the system time. To view the system time, use the display clock command.

Make sure all devices on the network are using the same daylight saving time as the local time.

Examples

# Set the system time ahead 1 hour for the period between 06:00:00 on 08/01 and 06:00:00 on 09/01.

<Sysname> system-view

[Sysname] clock summer-time PDT 6 08/01 6 09/01 1

Related commands

clock datetime

clock timezone

display clock

clock timezone

Use clock timezone to set the time zone.

Use undo clock timezone to restore the default.

Syntax

clock timezone zone-name { add | minus } zone-offset

undo clock timezone

Default

The UTC time zone is used.

Views

System view

Predefined user roles

network-admin

Parameters

zone-name: Specifies a time zone by its name, a case-sensitive string of 1 to 32 characters.

add: Adds an offset to the UTC time.

minus: Decreases the UTC time by an offset.

zone-offset: Specifies an offset to the UTC time, in the hh:mm:ss format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. The value range for ss is 0 to 59. The leading zero in a segment can be omitted. If the seconds segment is 0 (hh:mm:00), you can omit it. If both the minutes and seconds segments are 0 (hh:00:00), you can omit both of the segments. For example, to specify 08:00:00, you can enter 8.

Usage guidelines

Correct system time is essential to network management and communication. You must configure the system time correctly before you run the device on the network.

After you set the time zone, the device recalculates the system time. To view the system time, use the display clock command.

Make sure all devices on the network are using the same time zone as the local time.

Examples

# Set the name of the time zone to Z5, and add 5 hours to the UTC time.

<Sysname> system-view

[Sysname] clock timezone Z5 add 5

Related commands

clock datetime

clock summer-time

display clock

command

Use command to assign a command to a job.

Use undo command to revoke a command.

Syntax

command id command

undo command id

Default

No command is assigned to a job.

Views

Job view

Predefined user roles

network-admin

Parameters

id: Specifies an ID for the command, in the range of 0 to 4294967295. A command ID uniquely identifies a command in a job. Commands in a job are executed in ascending order of their command IDs.

command: Specifies the command to be assigned to the job.

Usage guidelines

To assign a command (command A) to a job, you must first assign the job the command or commands for entering the view of command A.

If you specify the ID of an existing command for another command, the existing command is replaced.

Make sure all commands in a schedule are compliant to the command syntax. The system does not examine the syntax when you assign a command to a job.

If a command requires a yes or no answer, the system always assumes that a Y or Yes is entered. If a command requires a character string input, the system assumes that either the default character string (if any) or a null string is entered.

A job cannot contain the telnet, ftp, ssh2, or monitor process command.

Examples

# Assign commands to the backupconfig job to back up the startup.cfg file to the TFTP server at 192.168.100.11.

<Sysname> system-view

[Sysname] scheduler job backupconfig

[Sysname-job-backupconfig] command 2 tftp 192.168.100.11 put flash:/startup.cfg backup.cfg

# Assign commands to the shutdownGE job to shut down HundredGigE 1/1/1.

<Sysname> system-view

[Sysname] scheduler job shutdownGE

[Sysname-job-shutdownGE] command 1 system-view

[Sysname-job-shutdownGE] command 2 interface hundredgige 1/1/1

[Sysname-job-shutdownGE] command 3 shutdown

Related commands

scheduler job

copyright-info enable

Use copyright-info enable to enable copyright statement display.

Use undo copyright-info enable to disable copyright statement display.

Syntax

copyright-info enable

undo copyright-info enable

Default

Copyright statement display is enabled.

Views

System view

Predefined user roles

network-admin

Examples

# Enable copyright statement display.

<Sysname> system-view

[Sysname] copyright-info enable

The device will display the following statement when a user logs in:

******************************************************************************

* Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.*

* Without the owner's prior written consent,                                 *

* no decompiling or reverse-engineering shall be allowed.                    *

******************************************************************************

display alarm

Use display alarm to display alarm information.

Syntax

display alarm [ 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 alarm information.

<Sysname> display alarm

Slot CPU Level   Info

1    0   ERROR   faulty

Table 1 Command output

Field

Description

Slot

Slot that generated the alarm. If the alarm was generated by the frame, this field displays a hyphen (-).

Level

Alarm severity. Possible values include ERROR, WARNING, NOTICE, and INFO, in descending order.

Info

Detailed alarm information:

·     faulty—The slot is starting up or faulty.

·     Fan n is absent—The specified fan is absent.

·     Power n is absent—The specified power module is absent.

·     Power n is faulty—The specified power module is faulty.

·     The temperature of sensor n exceeds the lower limit—The temperature of the specified sensor is lower than the low-temperature threshold.

·     The temperature of sensor n exceeds the upper limit—The temperature of the specified sensor is higher than the high-temperature warning threshold.

display alarm active

Use display alarm active to display information about active alarms.

Syntax

display alarm active [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

verbose: Displays detailed information. If you do not specify this keyword, this command displays brief information.

Usage guidelines

If a power module, CPU, or fan is operating abnormally on the device, you can use the display alarm command to view the alarm information. To view historical alarms that have been cleared, use the http://localhost:7890/pages/31180AHC/03/31180AHC/03/resources/software/nev8r10_vrpv8r16/user/vrp/display_alarm_history.html command. To view active alarms that were generated in the past and have not been cleared on the device, use the display alarm active command.

Examples

# Display information about active alarms. 

<Sysname> display alarm active

Seq    Level    Time                  Info

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

23     Warning  2020-01-11  12:30:00  Memory minor threshold has been exceeded on slot 1.

22     Minor    2020-01-11  12:18:00  Board state changed to Fault on slot 1.

Table 2 Command output

Field

Description

Seq

Alarm sequence number, assigned when an alarm occurs.

Level

Alarm severity. The values include Critical, Major, Minor, and Warning, in descending order of severity.

Time

Time when the alarm occurs.

Info

Detailed alarm information. The values include:

·     Board state changed to Fault on slot n—The state of the specified slot changed to Fault. The slot might be starting up or might be faulty.

·     Slot n fan n is absent—The specified fan is absent.

·     Slot n fan n is failed—The specified fan is abnormal.

·     Slot n power n is absent—The specified power module is absent.

·     Slot n power n failed—The specified power module is abnormal.

·     Temperature is higher than the high-temperature alarming threshold on slot n sensor inflow—The temperature of the specified sensor has exceeded the high-temperature warning threshold.

·     Memory minor threshold has been exceeded on slot n—The amount of free memory space on the specified slot has exceeded the minor alarm threshold.

·     CPU usage is in minor alarm state on slot n—The CPU usage on the specified slot has exceeded the minor alarm threshold.

·     Interface-name: RX power is high!—The optical power on the specified interface is too high.

·     Interface-name: The bit error ratio exceeds the upper threshold—The bit error rate of the specified interface has exceeded the upper limit.

·     SSH user username (IP: IP-Address) connected to the server successfully—The specified SSH user at the specified IP address has logged in to the server successfully.

·     Member port xx of aggregation group xx changed to the inactive state, because xx.—The specified member port of the specified aggregation group changed to inactive for a reason.

·     The mpls ldp session status changes. (SessionState=$1, DiscontinuityTime=$2, StatsUnknownMesTypeErrors=$3, StatsUnknownTlvErrors=$4)—The status of an LDP session changes:

¡     $1: LDP session status, including nonexistent, initialized, openrec, opensent, and operational.

¡     $2: Duration when the LDP session is in the operational state.

¡     $3: Times that the LDP session received unknown messages.

¡     $4: Times that the LDP session received unknown TLVs.

·     The number of routes received from the BGP peer exceeded the max number of routes that can be received from the peer. (Instance=$1, AFI=$2, SAFI=$3, PeerAddrType=$4, PeerAddr=$5, MaxRouteNum=$6)

¡     $1: BGP instance name.

¡     $2: Address Family Identifier (AFI).

¡     $3: Subsequent Address Family Identifier (SAFI).

¡     $4: IP type of the BGP peer.

¡     $5: IP address of the BGP peer.

¡     $6: The maximum number of routes that the device can receive from a BGP peer.

·     BGP $1.$2: The number of routes from peer $3 ($4-$5) exceeds the limit $6.

¡     $1: BGP instance name.

¡     $2: VPN instance name. For a log message on the public network, this field is null.

¡     $3: IP address of the BGP peer.

¡     $4: Address Family Identifier (AFI).

¡     $5: Subsequent Address Family Identifier (SAFI).

¡     $6: The maximum number of route prefixes that can be received from the peer.

·     BGP $1.$2: The ratio of the number of routes received from peer $3 ($4-$5) to the number of allowed routes ($6) has reached the threshold ($7).

¡     $1: BGP instance name.

¡     $2: VPN instance name. For a log message on public network, this field is null.

¡     $3: IP address of the BGP peer.

¡     $4: Address Family Identifier (AFI).

¡     $5: Subsequent Address Family Identifier (SAFI).

¡     $6: The maximum number of routes that the device can receive from a BGP peer.

¡     $7: The number of routes received by the device when the percentage of received routes to the maximum number of allowed routes reaches the alarm threshold.

·     The number of routes received from the BGP peer exceeded the alarm threshold. (Instance=$1, AFI=$2, SAFI=$3, PeerAddrType=$4, PeerAddr=$5, MaxRouteNumber=$6, alarm threshold=$7).

¡     $1: BGP instance name.

¡     $2: Address Family Identifier (AFI).

¡     $3: Subsequent Address Family Identifier (SAFI).

¡     $4: IP type of the BGP peer.

¡     $5: IP address of the BGP peer.

¡     $6: The maximum number of routes that the device can receive from a BGP peer.

¡     $7: The number of routes received by the device when the percentage of received routes to the maximum number of allowed routes reaches the alarm threshold.

# Display detailed information about active alarms.

<Sysname> display alarm active verbose

Seq 4  

Alarm name: BoardStatus

Alarm source: slot 2

Level: Minor

Start time: 2022-05-16 18:58:46

  Info: Board state changed to Fault on slot 2.

Table 3 Command output

Field

Description

Seq

Alarm sequence number, assigned when an alarm occurs.

Alarm source

Location where the alarm occurs.

Level

Alarm severity. The values include Critical, Major, Minor, and Warning, in descending order of severity.

Start time

Time when the alarm occurs.

Info

Detailed alarm information.

Related commands

display alarm

display alarm history

display alarm history

Use display alarm history to display information about historical alarms that have been cleared.

Syntax

display alarm history [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

verbose: Displays detailed information. If you do not specify this keyword, this command displays brief information.

Usage guidelines

If a power module, CPU, or fan is operating abnormally on the device, use the display alarm command to view the alarm information. To view historical alarms that have been cleared, use the http://localhost:7890/pages/31180AHC/03/31180AHC/03/resources/software/nev8r10_vrpv8r16/user/vrp/display_alarm_history.html command. To view active alarms that were generated in the past and have not been cleared on the device, use the display alarm active command.

The maximum number of historical alarms that can be displayed by this command varies by device model.

Examples

 

# Display brief information about historical alarms.

<Sysname> display alarm history

Seq        Time                  Info

23         2020-01-11 12:40:00 CPU usage recovered to normal state on slot 1.

For information about the fields in the command output, see Table 2.

# Display detailed information about historical alarms.

<Sysname> display alarm history verbose

Seq 23

Alarm name: CPUUsageMinor

Alarm position: slot 1

Start time: 2020-01-11 12:30:00

Level: Warning

Info: CPU usage is in minor alarm state on slot 1

Recovery time: 2020-01-11 12:40:30

Info: CPU usage minor alarm removed on slot 1.

Table 4 Command output

Field

Description

Seq

Alarm sequence number, assigned automatically by the system when an alarm occurs.

AlarmPosition

Location where the alarm occurs.

Start time

Time when the alarm occurs.

Level

Alarm severity. The values include Critical, Major, Minor, and Warning, in descending order of severity.

Recovery time

Time when an alarm is cleared.

Info

Detailed alarm information. The values include:

·     BGP $1.$2: The ratio of the number of routes received from peer $3 ($4-$5) to the number of allowed routes ($6) has fallen below the threshold ($7).

¡     $1: BGP instance name.

¡     $2: VPN instance name. For a log message on public network, this field is null.

¡     $3: IP address of the BGP peer.

¡     $4: Address Family Identifier (AFI).

¡     $5: Subsequent Address Family Identifier (SAFI).

¡     $6: The maximum number of routes that can be received from the peer.

¡     $7: The number of routes received by the device when the percentage of received routes to the maximum number of allowed routes reaches the alarm threshold.

·     The number of routes received from the BGP peer decreased below the alarm threshold. (Instance=$1, AFI=$2, SAFI=$3, PeerAddrType=$4, PeerAddr=$5, MaxRouteNumber=$6, alarm threshold=$7).

¡     $1: BGP instance name.

¡     $2: Address Family Identifier (AFI).

¡     $3: Subsequent Address Family Identifier (SAFI).

¡     $4: IP type of the BGP peer.

¡     $5: IP address of the BGP peer.

¡     $6: The maximum number of routes that the device can receive from a BGP peer.

¡     $7: The number of routes received by the device when the percentage of received routes to the maximum number of allowed routes reaches the alarm threshold.

·     The number of routes received from the BGP peer decreased below the max number of routes that can be received from the peer. (Instance=$1, AFI=$2, SAFI=$3, PeerAddrType=$4, PeerAddr=$5, MaxRouteNum=$6).

¡     $1: BGP instance name.

¡     $2: Address Family Identifier (AFI).

¡     $3: Subsequent Address Family Identifier (SAFI).

¡     $4: IP type of the BGP peer.

¡     $5: IP address of the BGP peer.

¡     $6: The maximum number of routes that the device can receive from a BGP peer.

·     BGP $1.$2: The number of routes from peer $3 ($4-$5) fell below the limit $6.

¡     $1: BGP instance name.

¡     $2: VPN instance name. For a log message on public network, this field is null.

¡     $3: IP address of the BGP peer.

¡     $4: Address Family Identifier (AFI).

¡     $5: Subsequent Address Family Identifier (SAFI).

¡     $6: The maximum number of routes that the device can receive from a BGP peer.

Related commands

display alarm

display alarm active

display clock

Use display clock to display the system time, date, time zone, and daylight saving time.

Syntax

display clock

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the system time and date when the time zone is not specified.

<Sysname> display clock

10:09:00.258 UTC Fri 03/16/2015

The time is in the hour:minute:second.milliseconds format.

# Display the system time and date when the time zone Z5 is specified.

<Sysname> display clock

15:10:00.152 Z5 Fri 03/16/2015

Time Zone : Z5 add 05:00:00

# Display the system time and date when the time zone Z5 and daylight saving time PDT are specified.

<Sysname> display clock

15:11:00.211 Z5 Fri 03/16/2015

Time Zone : Z5 add 05:00:00

Summer Time : PDT 06:00:00 08/01 06:00:00 09/01 01:00:00

Related commands

clock datetime

clock timezone

clock summer-time

display copyright

Use display copyright to display the copyright statement.

Syntax

display copyright

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the copyright statement.

<Sysname> display copyright

...

display cpu-usage

Use display cpu-usage to display the current CPU usage statistics.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

core core-number: Specifies a CPU core by its number.

core all: Specifies all CPU cores.

Usage guidelines

If two hyphens (--) are displayed for the CPU usage during the most recent 5-second, 1-minute, and 5-minute intervals, the command might fail to obtain data from the database on the device. Try the command later.

Examples

# Display the current CPU usage statistics in text form.

<Sysname> display cpu-usage

Slot 1 CPU 0 CPU usage:

       1% in last 5 seconds

       1% in last 1 minute

       1% in last 5 minutes

# Display the current CPU usage statistics in table form.

<Sysname> display cpu-usage

Slot CPU        Last 5 sec        Last 1 min        Last 5 min

1    0          17%               29%               28%

Table 5 Command output

Field

Description

x% in last 5 seconds

Last 5 sec

Average CPU or CPU core usage during the most recent 5-second interval.

y% in last 1 minute

Last 1 min

Average CPU or CPU core usage during the most recent 1-minute interval.

z% in last 5 minutes

Last 5 min

Average CPU or CPU core 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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Examples

# Display the CPU usage monitoring settings.

<Sysname> display cpu-usage configuration

CPU usage monitor is enabled.

Current monitor interval is 60 seconds.

Current severe alarm threshold is 99%.

Current minor alarm threshold is 90%.

Current recovery-threshold is 60%.

Table 6 Command output

Field

Description

CPU usage monitor is xxx.

Whether CPU usage tracking is enabled.

Current monitor interval is xxx.

Sampling interval for CPU usage tracking.

Current severe alarm threshold is xxx.

Severe CPU usage alarm threshold.

Current minor alarm threshold is xxx.

Minor CPU usage alarm threshold.

Current recovery-threshold is xxx.

CPU usage recovery threshold.

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 Configuration Guide.

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number. If you specify a process but do not specify a CPU, this command displays the statistics for the default CPU. If you do not specify a process or CPU, this command displays the historical statistics for all CPUs.

Usage guidelines

After CPU usage monitoring is enabled, the system regularly samples CPU usage and saves the samples to the history record 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.

Related commands

monitor cpu-usage enable

monitor cpu-usage interval

display device

Use display device to display device 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 and usb keywords, this command displays information about  devices.

Examples

# Display device information.

<Sysname> display device

Slot 1

Slot Type             State    Subslot  Soft Ver             Patch Ver

1    S9820-8C         Master   0        S9820-8C-6703        None

Table 7 Command output

Field

Description

Type

Device type.

State

Role of the device in an IRF fabric. Master indicates that the device is the 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 "Upgrading software."

display device manuinfo

Use display device manuinfo to display 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 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 slot 1 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 diagnostic-information

Use display diagnostic-information to display or save operating information for features and hardware modules.

Syntax

display diagnostic-information [ equipment | hardware | infrastructure | l2 | l3 | service ] [ key-info ] [ filename ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

equipment: Displays equipment-related operating information.

hardware: Specifies hardware-related operating information.

infrastructure: Specifies operating information for the fundamental features.

l2: Specifies operating information for the Layer 2 features.

l3: Specifies operating information for the Layer 3 features.

service: Specifies operating information for Layer 4 and upper-layer features.

key-info: Displays or saves only critical operating information. The device might have a large amount of operating information if an exception occurs or after the device runs for a long period of time. Specifying this keyword reduces the command execution time and helps you focus on critical operating information. If you do not specify this keyword, the command displays or saves both critical and non-critical operating information.

filename: Saves the information to a file. The filename argument must use the .tar.gz extension. If you do not specify this argument, the command prompts you to choose whether to save the information to a file or display the information.

Usage guidelines

You can use one of the following methods to collect operating statistics for diagnostics and troubleshooting:

·     Use separate display commands to collect operating information feature by feature or module by module.

·     Use the display diagnostic-information command to collect operating information for multiple or all features and hardware modules.

To save storage space, this command automatically compresses the information before saving the information to a file. To view the file content:

1.     Use the tar extract command to extract the file.

2.     Use the gunzip command to decompress the extracted file.

3.     Use the more command to view the content of the decompressed file.

If you abort the display diagnostic-information command, the gunzip command might not be able to decompress the extracted file. To decompress the extracted file, export the extracted file to a PC that is running Linux, and use the gunzip -c command.

If you do not specify a file name for the command, the system prompts you to choose whether to display or save the information. If you choose to save the information, the system automatically assigns a file name and displays the file name in brackets. For file name uniqueness, the file name includes the device name and the current system time. If the device name contains any of the following special characters, the system uses an underscore (_) to replace each special character: forward slashes (/), backward slashes (\), colons (:), asterisks (*), question marks (?), less than signs (<), greater than signs (>), pipeline signs (|), and quotation marks ("). For example, device name A/B will change to A_B in the file name, as in flash:/diag_A_B_20160101-000438.tar.gz.

If you do not specify any feature parameters, this command displays or saves the operating information for all features and modules.

This command does not support the |, >, and >> options.

While the device is executing this command, do not execute any other commands. Executing other commands might affect the collected operating information.

Examples

# Display the operating information for all features and modules.

<Sysname> display diagnostic-information

Save or display diagnostic information (Y=save, N=display)? [Y/N]:n

===============================================

  ===============display clock===============

14:03:55 UTC Thu 01/05/2015

=================================================

  ===============display version=============== 

...

# Save the operating information to the default file.

<Sysname> display diagnostic-information

Save or display diagnostic information (Y=save, N=display)? [Y/N]:y

Please input the file name(*.tar.gz)[flash:/diag_Sysname_20160101-024601.tar.gz]:

Diagnostic information is outputting to flash:/diag_Sysname_20160101-024601.tar.gz.

Please wait...

Save successfully.

Press Enter when the system prompts you to enter the file name.

# Save the operating information for all features and modules to file test.tar.gz.

<Sysname> display diagnostic-information test.tar.gz

Diagnostic information is outputting to flash:/test.tar.gz.

Please wait...

Save successfully.

Related commands

gunzip

more

tar extract

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 25           0      70       85     NA                        

 1     hotspot 2 32           0      85       90     NA                        

 1     hotspot 3 25           0      70       85     NA                        

 1     hotspot 4 29           0      88       102    107                       

 1     hotspot 5 22           0      85       97     NA                        

 1     hotspot 6 37           0      125      130    140                       

 1     hotspot 7 30           NA     NA       NA     NA                        

 1     hotspot 8 30           NA     NA       NA     NA                        

Table 8 Command output

Field

Description

System Temperature information (degree centigrade)

Temperature information (°C).

sensor

Temperature sensor:

·     hotspot 1—Board temperature sensor on the power module side of the system board.

·     hotspot 2—Board temperature sensor near the MAC chip.

·     hotspot 3—Board temperature sensor on the front panel side of the system board.

·     hotspot 4—MAC temperature sensor, reading the internal register inside the MAC chip.

·     hotspot 5—CPU temperature sensor, reading the internal register inside the CPU chip.

·     hotspot 6—Temperature sensor of the MAC power supply chip, reading the internal register inside the chip via I2C.

·     hotspot 7—Transceiver module temperature sensor, reading the internal register inside the transceiver module.

·     hotspot 8—PHY temperature sensor of Credo subcards, reading the maximum temperature of PHY chips on all the subcards.

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

 Slot 1:                                                                       

 Fan 1:                                                                         

 State    : Normal                                                             

 Airflow Direction: Port-to-power                                              

 Prefer Airflow Direction: Port-to-power

Table 9 Command output

Field

Description

Slot 1

Device number.

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

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.

Prefer Airflow Direction

Preferred airflow direction:

·     Port-to-power—From the port side to the power supply side.

·     Power-to-port—From the power supply side to the port side.

display hardware-failure-detection

Use display hardware-failure-detection to display the hardware failure detection settings and the latest 10 fix records.

Syntax

display hardware-failure-detection

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

Examples

# Display hardware failure detection settings and fix records.

<Sysname> display hardware-failure-detection

Current level:

    chip       : isolate

    board      : isolate

    forwarding : warning

Recent record:

Table 10 Command output

Field

Description

Current level

Fix actions specified for hardware failures.

chip

Fix action for hardware failures on components of cards.

board

Fix action for hardware failures on devices.

forwarding

Fix action for hardware failures on the forwarding plane.

Recent record

Recent failure fix records.

display hardware-resource clock-mode

Use display hardware-resource clock-mode to display the clock mode information at the device startup.

Syntax

display hardware-resource [ clock-mode ]

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

If you do not specify the clock-mode keyword, this command displays the operating modes of all hardware resources.

This command displays the clock modes at the current and next device startups. You can obtain the current clock mode from the output as follows:

·     If the Current field in the output displays tsc, the Next field displays the current clock mode of the device, which is the same as the clock mode at the next device startup.

·     If the Current field in the output displays hpet, the Current field displays the current clock mode of the device, which is the same as the clock mode at the current device startup.

Examples

# Display the clock mode at the device startup.

<H3C>display hardware-resource clock-mode

Clock-mode resource(clock-mode), all supported modes:

  hpet              Hpet clock mode

  tsc               Tsc clock mode

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

  Default         Current         Next

  tsc             tsc             tsc

Table 11 Command output

Field

Description

Clock-mode resource(clock-mode), all supported modes

All available clock modes at the device startup.

Default

Default clock mode of the device.

Current

Clock mode at the current device startup.

Next

Clock mode at the next device startup.

 

Related commands

hardware-resource clock-mode

display hardware-resource linkscan-mode

Use display hardware-resource linkscan-mode to display the operating mode of the link scan feature on the device.

Syntax

display hardware-resource [ linkscan-mode ]

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

If you do not specify the linkscan-mode keyword, this command displays the operating modes of all hardware resources.

Examples

# Display the operating mode information of the link scan feature on the device.

<Sysname> display hardware-resource linkscan-mode

All supported linkscan modes:

hardware Hardware mode

software Software mode

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

Default Current Next

software hardware hardware

Related commands

hardware-resource linkscan-mode

display hardware-resource switch-mode

Use display hardware-resource switch-mode to display hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables.

Syntax

display hardware-resource [ switch-mode ]

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

If you do not specify the switch-mode keyword, the command displays hardware resource operating mode information for all hardware resources.

Examples

# Display the hardware resource operating mode information for the MAC address table, ARP and ND tables, and routing tables.

<H3C>display hardware-resource switch-mode                                     

Switch-mode resource(switch-mode), all supported modes:                        

  NORMAL            MAC table:8K,   ARP and ND tables:32K,  routing table:364K 

  ROUTING           MAC table:8K,   ARP and ND tables:16K,  routing table:931K 

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

  Default         Current         Next                                         

  NORMAL          NORMAL          NORMAL                                       

Related commands

hardware-resource switch-mode

display key-component

Use the display key-component command to display the operating status of the key components of the device, including the power supplies, fans (or fan trays), and temperature sensors.

Syntax

display key-component

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the operating status of the key components of the device, including the power supplies, fans, and temperature sensors.

<Sysname> display key-component

Power:

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

Chassis 1:

InPower: 5000W

OutPower: 4000W

Power supply policy: Enable

Power modules redundant: 1

PowerID  State     InPower Current Voltage OutPower  Type            Mode

                    (W)     (A)     (V)     (W)

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

1        Normal    2400    6.00    53.39   320.34    PSR2400-54A     AC

2        Normal    2400    6.25    53.36   333.50    PSR2400-54A     AC

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

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

 

Fan:

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

Chassis 1:

Frame Status            Type          Mode            Direction      Speed

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

1/1   Normal            LSWFAN        Auto            Power-to-port  5000

1/2   Normal            LSWFAN        Auto            Power-to-port  5000

 

System temperature information (degree centigrade):

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

Slot  Sensor    Temperature LowerLimit WarningLimit AlarmLimit

 0/0  Inflow  1   30           -5          66          76

 0/0  Outflow 1   33           -5          66          76

 0/0  Outflow 2   37           -5          66          76

 0/0  Hotspot 1   39           -5          66          76

 0/0  Hotspot 2   42           -5          66          76

 0/0  Hotspot 3   44           -5          66          76

Table 12 Command output

Field

Description

Chassis

Chassis number.

InPower

Rated power of the device.

OutPower

Allocated power, in watts.

Power supply policy

Whether power management is enabled.

Power modules redundant

Number of redundant power supplies.

PowerID

Power supply ID.

State

State of the power supply:

·     Absent: No power supply is present.

·     Normal: The power supply is operating correctly.

·     Faulty: The power supply is faulty.

InPower(W)

Actual input power of the power supply, in watts. "--" is displayed if the device does not support collection of this information.

Current(A)

Actual output current of the power supply, in amperes. "--" is displayed if the device does not support collection of this information.

Voltage(V)

Actual output voltage of the power supply, in volts. "--" is displayed if the device does not support collection of this information.

OutPower(W)

Actual output power of the power supply, in watts. "--" is displayed if the device does not support collection of this information.

Type

Power supply model. "--" is displayed if the device does not this information.

Mode

Type of the power supply.

·     AC: AC power supply.

·     DC: DC power supply.

Fan

Fan number. If the device uses fan trays, the column name might be Tray or Frame.

Status

Fan status.

·     Absent: No fan is present.

·     Normal: The fan is operating correctly.

·     Fault: The fan is faulty.

·     FanDirectionFault: The actual airflow direction of the fan is inconsistent with preferred airflow direction configured by the user.

·     --: The fan is not the first fan in the fan tray or the device does not support this information.

Type

Fan type.

Mode

Speed adjustment mode.

Direction

Actual airflow direction of the fan:

·     Port-to-power: The fan draws air from the port side to the power supply side. The airflow direction is from front to rear.

·     Power-to-port: The fan blows air from the power supply side to the port side. The airflow direction is from rear to front.

Speed

Fan speed or fan speed level.

System temperature information (degree centigrade)

System temperature information, in °C.

Slot

Chassis number/slot number. If the value is a number, for example, 1, it represents the slot number. If the value is Vent, it represents the chassis or fan tray.

Sensor

Temperature sensor.

·     Hotspot: Represents the hotspot temperature sensor

·     Inflow: Represents the temperature sensor at the air inlet.

·     Outflow: Represents the temperature sensor at the air outlet.

Temperature

Current temperature.

LowerLimit

Lower temperature alarm threshold. This threshold is not supported if NA is displayed.

WarningLimit

High temperature warning threshold. This threshold is not supported if NA is displayed.

AlarmLimit

High temperature alarm threshold. This threshold is not supported if NA is displayed.

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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

If two hyphens (--) are displayed for all the fields in a line of the 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:        984560    456128    528432         0         4     45616       53.7%

-/+ Buffers/Cache:    410508    574052                                         

Swap:            0         0         0                                          

# Display brief memory usage information.

<Sysname> display memory summary

Memory statistics are measured in KB:                                          

Slot CPU        Total      Used      Free  Buffers    Caches FreeRatio         

   1   0       984560    456128    528432        4     45616     53.7%         

                                                                               

Table 13 Command output

Field

Description

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 a memory threshold is reached, part of memory used for caches can be automatically released for other services.

If this field is not supported, two hyphens (--) are displayed.

FreeRatio

Free memory ratio. The free memory includes the free physical memory and the part of memory used for caches that can be automatically released for other services when a memory threshold is reached.

-/+ 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 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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Examples

# Display DMA memory usage information for slot 1.

<System> display memory dma slot 1

DMA memory statistics measured in KB on slot 1:

Total        Used         Free         FreeRatio

16384        6140         10244        63%

Table 14 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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

For more information about memory usage notifications, see log information containing MEM_EXCEED_THRESHOLD or MEM_BELOW_THRESHOLD.

Examples

# Display memory alarm thresholds and statistics.

<Sysname> display memory-threshold

Memory usage threshold: 100%

Free-memory thresholds:

    Minor: 448M

    Severe: 224M

    Critical: 128M

    Normal: 496M

    Early-warning: 512M

    Secure: 576M

 

Current free-memory state: Normal (secure)

Free-memory event statistics:

 [Back to secure state]

    First notification: 0.0

    Latest notification: 0.0

    Total number of notifications sent: 0

 [Entered early-warning state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Back to normal state]

    First notification: 0.0

    Latest notification: 0.0

    Total number of notifications sent: 0

 [Entered minor alarm state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Back to minor alarm state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Entered severe alarm state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Back to severe alarm state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Entered critical alarm state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

Table 15 Command output

Field

Description

Free-memory thresholds

    Minor

    Severe

    Critical

    Normal

    Early-warning

    Secure

Free-memory thresholds:

·     Minor—Minor alarm threshold in MB.

·     Severe—Severe alarm threshold in MB.

·     Critical—Critical alarm threshold in MB.

·     Normal—Normal state threshold in MB.

·     Early-warning—Early-warning threshold in MB.

·     Secure—Sufficient-memory threshold in MB.

Current free-memory state

Current state of the free memory in the system:

·     Normal—Normal state.

·     Minor—Minor alarm threshold.

·     Severe—Severe alarm threshold.

·     Critical—Critical alarm threshold.

·     Normal (early-warning)—Early-warning threshold.‌

·     Normal (secure)—Sufficient-memory state.‌

First notification at

Time when the alarm notification was sent for the first time, in the format of yyyy-mm-dd hh:mm:ss.msec.

Latest  notification at

Time when the alarm notification was sent most recently in the format of yyyy-mm-dd hh:mm:ss.msec.

Total number of notification send

Total number of the alarm notifications that were sent.

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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Examples

# Display DMA memory alarm information.

<Sysname> display memory-threshold dma

Free DMA memory thresholds:

    Critical: 2048KB

    Normal: 4096KB

Current DMA memory state: Normal

Free memory event statistics:

 [Back to normal state]

    First notification: 0.0

    Latest notification: 0.0

    Total number of notifications sent: 0

 [Entered to critical state]

    First notification: 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 | verbose ] ]

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.

verbose: Displays detailed information. The command displays the same information whether this keyword is specified or not.

Examples

# Display brief power supply information.

<Sysname> display power

 Slot 1:                                                                       

 Input Power: 219(W)                                                           

 PowerID State         Mode   Current(A)  Voltage(V)  Power(W)  FanDirection   

 1       Normal        AC       18.12       12.01       219     PortToPower    

 2       Fault         --        --          --          --          --        

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

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

Table 16 Command output

Field

Description

Slot 1

Device number.

Input Power

Rated power.

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.

FanDirection

Airflow direction of the power supply:

·     PowerToPortFrom the power supply side to the port side.

·     PortToPowerFrom the port side to the power supply side.

 

display resource-monitor

Use display resource-monitor to display resource monitoring information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

resource resource-name: Specifies a resource type by its name.

slot slot-number: Specifies 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 17 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 scheduler job

Use display scheduler job to display job configuration information.

Syntax

display scheduler job [ job-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

job-name: Specifies a job by its name, a case-sensitive string of 1 to 47 characters. If you do not specify a job, this command displays configuration information for all jobs.

Examples

# Display configuration information for all jobs.

<Sysname> display scheduler job

Job name: saveconfig

 copy startup.cfg backup.cfg

 

Job name: backupconfig

 

Job name: creat-VLAN100

 system-view

 vlan 100

// The output shows that the device has three jobs: the first has one command, the second does not have any commands, and the third has two commands. Jobs are separated by blank lines.

display scheduler logfile

Use display scheduler logfile to display job execution log information.

Syntax

display scheduler logfile

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display job execution log information.

<Sysname> display scheduler logfile

Logfile Size: 1902 Bytes.

 

Job name        : shutdown

Schedule name   : shutdown

Execution time  : Tue Dec 27 10:44:42 2015

Completion time : Tue Dec 27 10:44:47 2015

--------------------------------- Job output -----------------------------------

<Sysname>system-view

System View: return to User View with Ctrl+Z.

[Sysname]interface rang hundredgige 1/1/1 to hundredgige 1/1/3

[Sysname-if-range]shutdown

Table 18 Command output

Field

Description

Logfile Size

Size of the log file, in bytes.

Schedule name

Schedule to which the job belongs.

Execution time

Time when the job was started.

Completion time

Time when the job was completed. If the job has never been executed or the job does not have any commands, this field is blank.

Job output

Commands in the job and their output.

Related commands

reset scheduler logfile

display scheduler reboot

Use display scheduler reboot to display the automatic reboot schedule.

Syntax

display scheduler reboot

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the automatic reboot schedule.

<Sysname> display scheduler reboot

System will reboot at 16:32:00 05/23/2015 (in 1 hours and 39 minutes).

Related commands

scheduler reboot at

scheduler reboot delay

display scheduler schedule

Use display scheduler schedule to display schedule information.

Syntax

display scheduler schedule [ schedule-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

schedule-name: Specifies a schedule by its name, a case-sensitive string of 1 to 47 characters. If you do not specify a schedule, this command displays information about all schedules.

Examples

# Display information about all schedules.

<Sysname> display scheduler schedule

Schedule name        : shutdown

Schedule type        : Run once after 0 hours 2 minutes

Start time           : Tue Dec 27 10:44:42 2015

Last execution time  : Tue Dec 27 10:44:42 2015

Last completion time : Tue Dec 27 10:44:47 2015

Execution counts     : 1

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

Job name                                          Last execution status

shutdown                                          Successful

Table 19 Command output

Field

Description

Schedule type

Execution time setting of the schedule. If no execution time is specified, this field is not displayed.

Start time

Time to execute the schedule for the first time. If no execution time is specified, this field is not displayed.

Last execution time

Last time when the schedule was executed. If no execution time is specified, this field is not displayed. If the schedule has never been executed, "Yet to be executed" is displayed for this field.

Last completion time

Last time when the schedule was completed. If no execution time is specified, this field is not displayed.

Execution counts

Number of times the schedule has been executed. If the schedule has never been executed, this field is not displayed.

Job name

Name of a job under the schedule.

Last execution status

Result of the most recent execution:

·     Successful.

·     Failed.

·     Waiting—The device is executing the schedule and the job is waiting to be executed.

·     In process—The job is being executed.

·     -NA-—The execution time has not arrived yet.

To view information about whether the commands in the job has been executed and the execution results, execute the display scheduler logfile command.

display system health

Use display system health to display system health status information.

Syntax

display system health [ 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.

Usage guidelines

The device periodically performs a series of checks to identify the health status of the device. The check items are already defined in the factory-default configuration. The check results can be used by the internal service modules such as IRF and M-LAG in the device. You can execute this command to view these check results.

Examples

# Display system health status information.

<Sysname> display system health

Slot 1 Health: Normal(0)

    Memory: Normal(0)

    CPU port: Normal(0)

    MMU: Normal(0)

    CPU deadloop: Normal(0)

    Fan status: Normal(0)

    Temperature: Normal(0)

    SubCardCheck: Normal(0)

    PortCRCFault : Normal(0)

    LacpFault: Normal(0)

    CPLDFault: Normal(0)

    PHYFault: Normal(0)

    PortDownFault : Faulty(3)

Table 20 Command output

Field

Description

Slot 1 Health: Normal(0)

System health status:

·     Normal(0)—The system is healthy.

·     Faulty(n)—The system is faulty. A greater value of n indicates a worse condition.

Memory

Memory health status.

CPU port

CPU port health status.

MMU

MMU health status.

CPU deadloop

CPU deadloop status.

Fan status

Fan health status.

Temperature

Temperature sensor health status.

SubCardCheck

Subcard operating status.

PortCRCFault

Port CRC error check status.

LacpFault

Selection status of aggregation member ports. When not less than half of the aggregation member ports on the device are selected, the health value is 0. When less than half of the aggregation member ports are selected, the health value is 1. When no aggregation member ports are selected, the health value is 3.

CPLDFault

CPLD fault detection.

PHYFault

PHY fault detection.

PortDownFault

Port up/down status. If not all ports on the device are down, the health value is 0. If all ports are down, the health value is 3.

Related commands

display system health history

display system health history

Use display system health history to display historical system health status change information.

Syntax

display system health history [ 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 historical system health status change information.

<Sysname> display system health history

Slot 1 health: Normal(0)                                                       

    Fan status:                                                                

        Faulty(1) 2001-01-01 00:06:24 on slot 1                                

Table 21 Command output

Field

Description

Slot 1 health: Normal(0)

System health status:

·     Normal(0)—The system is healthy.

·     Faulty(n)—The system is faulty. A greater value of n indicates a worse condition.

 Fan status:

  Faulty(1) 2001-01-01 00:06:24 on slot 1

Historical status change information of items. For more information about the supported check items on the device, see Table 20.

A maximum of 30 historical status change entries are supported for each item.

Related commands

display system health

display system stable state

Use display system stable state to display system stability and status information.

Syntax

display system stable state [ summary ]

Views

Any view

Predefined user roles

network-admin

network-operator

summary: Displays brief information about system stability and status. If you do not specify this keyword, the command displays detailed information about CPU role and status.

Usage guidelines

The device startup process takes some time. If the values of the status fields do not change to Stable, execute this command multiple times to identify the devices that are not in Stable state. You can also use other commands to identify the faulty components. For example:

·     Use the display device command to identify the device operating status.

·     Use the display system internal process state command in probe view to display service operating status.

Examples

# Display brief system stability and status information.

<Sysname> display system stable state summary

System state      : Stable

Redundancy state  : No redundancy

NSR     state     : No standby

# Display system stability and status information.

<Sysname> display system stable state

System state    : Stable

Redundancy state: No redundancy

  Slot   CPU   Role      State

  1      0     Active    Stable

Table 22 Command output

Field

Description

System state

Operating status of the device:

·     Stable—The device is operating stably.

·     Not ready—The device is not operating stably.

Redundancy state

System redundancy status.

No redundancy indicates that the system has only one member device. You cannot perform a switchover.

NSR state

This field is not supported in the current software version.

NSR status of all member devices:

·     Stable—NSR is operating correctly on all member devices where it is enabled.

·     Not ready—NSR is not operating correctly on all member devices where it is enabled. You cannot perform a process or member switchover or an ISSU.

·     No standby—The system has only one member device.

·     Not configured—NSR is not enabled.

Role

Role of the device in the system.

Active indicates that the device is the master. This value does not make sense.

State

Device status:

·     Stable—The device is operating stably.

·     Kernel initiating—The device kernel is being initialized.

·     Service starting—Services are starting on the device.

·     Service stopping—Services are stopping on the device.

*

The object is not operating stably.

Related commands

display device

display system-working-mode

Use display system-working-mode to display system working mode information.

Syntax

display system-working-mode

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display system working mode information.

<Sysname> display system-working-mode

The current system working mode is standard.

The system working mode for next startup is standard.

display transceiver active-control

Use display transceiver active-control to display the active control information of a 400G transceiver module.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command applies to all interfaces.

Examples

# Display the active control information of the 400G transceiver module in interface FourHundredGigE 1/1/1.

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

FourHundredGigE1/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 23 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 that contains the lane currently used by the transceiver module.

RxPre-Cursor

Receiver pre-cursor.

RxPost-Cursor

Receiver post-cursor.

RxAmplitude

Receiver amplitude.

display transceiver advertising

Use display transceiver advertising to display the advertising information of a 400G transceiver module.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command applies to all interfaces.

Examples

# Display the advertising information of the 400G transceiver module in interface FourHundredGigE 1/1/1.

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

FourHundredGigE1/1/1 transceiver advertising information:

  CMIS Revision                      : 3.0

  Versatile Diagnostic Monitoring    : YES

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

  Max Tx Input Eq(dB)                : 9

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

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

  Tx disable implemented             : YES

  Tx Force Squelch implemented       : YES

  Tx Squelch implemented             : NO

  Tunable transmitter                : YES

  Tx bypass CDR implemented          : YES

  Rx bypass CDR implemented          : YES

  Tx Input Eq Adaptive               : YES

  CDB implemented                    : NO

Table 24 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

Tx clock recovery capabilities:

·     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 Tx bypass CDR:

·     YES.

·     NO.

Rx bypass CDR implemented

Support for Rx bypass CDR:

·     YES.

·     NO.

Tx input Eq Adaptive

Support for Tx input equalization adaptive control:

·     YES.

·     NO.

CDB implemented

Support for CDB:

·     NO.

·     One instance of CDB implemented—Supports one CDB instance.

·     Two instances of CDB implemented—Supports two CDB instances.

·     UNKNOWN.

display transceiver alarm

Use display transceiver alarm to display transceiver alarms.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays the alarms present on every transceiver module.

Usage guidelines

You can use the display transceiver alarm command to display alarm information on transceiver modules.

If no error occurs, None is displayed. The following tables describe the alarm information that might be present on transceiver module.

Table 25 Command output for QSFP+/QSFP28 transceiver modules

Field

Description

Temp high alarm

Alarm on a high temperature.

Temp high warning

Early warning on a high temperature.

Temp low alarm

Alarm on a low temperature.

Temp low warning

Early warning on a low temperature.

Voltage high alarm

Alarm on a high voltage.

Voltage high warning

Early warning on a high voltage.

Voltage low alarm

Alarm on a low voltage.

Voltage low warning

Early warning on a low voltage.

RX loss of signal(channel x)

Loss of receive signal in channel x.

TX fault(channel x)

Packet transmission fault in channel x.

TX loss of signal(channel x)

Loss of transmit signal in channel x.

RX power high(channel x)

Alarm on a high receive optical power in channel x.

RX power low(channel x)

Alarm on a low receive optical power in channel x.

TX power high alarm(channel x)

Alarm on a high transmit optical power in channel x.

TX power high warning(channel x)

Early warning on a high transmit optical power in channel x.

TX power low alarm(channel x)

Alarm on a low transmit optical power in channel x.

TX power low warning(channel x)

Early warning on a low transmit optical power in channel x.

TX bias high(channel x)

Alarm on a high bias current in channel x.

TX bias low(channel x)

Alarm on a low bias current in channel x.

Transceiver info I/O error

N/A

Transceiver info checksum error

N/A

Transceiver type and port configuration mismatched

The transceiver type does not match port configuration.

Transceiver type not supported

The transceiver type is not supported on the port.

Table 26 Command output for QSFP-DD transceiver modules

Field

Description

Data path firmware fault

N/A

Module firmware fault

N/A

Module state changed

N/A

Data path state changed in channel x

N/A

TX loss in channel x

Transmit signal loss in channel x.

TX CDR LOL in channel x

Transmit CDR loss of lock in channel x.

TX input eq fault in channel x

Transmit input eq fault in channel x.

RX CDR LOL in channel x

Receive CDR loss of lock in channel x.

Loss of reference clock

N/A

L-Host Pattern Generator LOL in channel x

Pattern generator loss of lock on the host side in channel x.

L-Media Pattern Generator LOL in channel x

Pattern generator loss of lock on the media side in channel x.

L-Host Pattern Checker LOL in channel x

Pattern checker loss of lock on the host side in channel x.

L-Media Pattern Checker LOL in channel x

Pattern checker loss of lock on the media side in channel x.

Examples

# Display the alarms present on the transceiver module in interface HundredGigE 1/1/1.

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

HundredGigE1/1/1 transceiver current alarm information:

  RX signal loss

  RX power low

Table 27 Command output

Field

Description

transceiver current alarm information

Alarms present on the transceiver module.

RX signal loss

Receive signal loss.

RX power low

Received power is low.

display transceiver application

Use display transceiver application to display application related information for a 400G transceiver module.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command applies to all interfaces.

Examples

# Display application related information for the 400G transceiver module in interface FourHundredGigE 1/1/1.

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

FourHundredGigE1/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 28 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 HundredGigE 1/1/1.

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

HundredGigE1/1/1 transceiver diagnostic information:

  Current diagnostic parameters:

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

    36         3.31        6.13      -35.64          -5.19

  Alarm thresholds:

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

    High  50         3.55        1.44      -10.00         5.00

    Low   30         3.01        1.01      -30.00         0.00

  Warning thresholds:

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

    High   45         3.25        1.25      -15.00         4.00

    Low    25         2.85        0.85      -25.00         1.00

# Display the current values of the digital diagnosis parameters on the QSFP28 transceiver module in interface HundredGigE 1/0/1.

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

HundredGigE1/0/49 transceiver diagnostic information:

  Current diagnostic parameters:

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

          29         3.33

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

    1     0.00      -36.96         -36.96

    2     0.00      -36.96         -36.96

    3     0.00      -36.96         -36.96

    4     0.00      -36.96         -36.96

  Alarm thresholds:

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

    High  75         3.47        13.00     3.40           5.00

    Low   -5         3.13        3.00      -14.00         -10.00

  Warning thresholds:

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

    High  70         3.45        11.00     2.40           3.00

    Low   0          3.15        5.00      -11.00         -8.00

  Total average launch power(dBm): 5.90

# Display the current values of the digital diagnosis parameters for the transceiver module in FourHundredGigE 1/1/1.

<Sysname>display transceiver diagnosis interface fourhundredgige1/1/1

FourHundredGigE1/1/1 transceiver diagnostic information:

  Current diagnostic parameters:

[Module]   Temp.(°C)     Voltage(V)      TEC Curr. (%)   Laser Temp. (°C)

               40            3.34            38              53

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

1           1.13         -20.43               -1.0

2           1.13         -20.43               -1.0

3           1.13         -20.43               -1.0

4           1.13         -20.43               -1.0

5           1.13         -20.43               -1.0

6           1.13         -20.43               -1.0

7           1.13         -20.43               -1.0

8           1.13         -20.43               -1.0

  Alarm thresholds:

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

    High  80         3.64        15.00     5.00           5.50

    Low   -10        2.97        4.50      -12.00         -3.50

# Display the current values of the digital diagnosis parameters for the transceiver module in FourHundredGigE 1/0/1. (This example is available only for a transceiver module that supports CMIS 4.0.)

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

FourHundredGigE1/0/1 transceiver diagnostic information:

  Current diagnostic parameters:

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

    36        3.31        6.13      -35.64          -5.19

  Alarm thresholds:

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

    High   50         3.55        1.44      -10.00         5.00

    Low    30         3.01        1.01      -30.00         0.00

Media performance monitoring:

    Rx bits                            : 12345678901234567890

    Rx corrected bits                  : 12345678901234567890

    Rx frames                          : 12345678901234567890

    Rx uncorrectable frames            : 12345678901234567890

Host performance monitoring:

    Tx bits                            : 12345678901234567890

    Tx corrected bits                  : 12345678901234567890

    Tx frames                          : 12345678901234567890

    Tx uncorrectable frames            : 12345678901234567890

Table 29 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.

TEC Curr. (%)

TEC current in percentage, accurate to 0.01%.

Laser Temp.(C)

Laser temperature in °C, accurate to 0.01°C.

Bias(mA)

Bias current in mA, accurate to 0.01 mA.

Total RX power(dBm)

Total receive power in dBm, accurate to 0.01 dBm.

Total TX power(dBm)

Total transmit power in dBm, accurate to 0.01 dBm.

RX power(dBm)

Receive power in dBm, accurate to 0.01 dBm.

TX power(dBm)

Transmit power in dBm, accurate to 0.01 dBm.

High

High alarm threshold or high early warning threshold.

Low

Low alarm threshold or low early warning threshold.

Warning threshold

Early warning threshold.

Total average launch power(dBm)

Total average launch power on the multi-lane transceiver module in dBM, accurate to 0.01 dBm.

Table 30 Command output (available only for transceiver modules that support CMIS 4.0)

Field

Description

Rx corrected bits

Number of receive bits corrected by FEC.

Rx uncorrectable frames

Number of receive frames uncorrected by FEC.

Tx corrected bits

Number of transmit bits corrected by FEC.

Tx uncorrectable frames

Number of transmit frames uncorrected by FEC.

display transceiver eyediagram-diagnosis

Use display transceiver eyediagram-diagnosis to diagnose transceiver modules and display diagnosis information in an eye diagram.

Syntax

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

Views

Any view

Predefined user roles

network-admin

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays the diagnostic results on every transceiver module.

Usage guidelines

This command is used to simulate the quality of data transmission from professional testing instruments. It obtains the sampling values of received data on chips and outputs the diagnostic results of transceiver modules in an eye diagram. This facilitates users in analyzing and evaluating the data transmission quality of transceiver modules.

You can analyze the data transmission quality of transceiver modules through eye diagrams as follows:

·     A larger eye opening area with a clearer shape indicates more stable signal transmission and better quality. The eye opening area is the blank area above and below the central line (0mV line).

·     No digits in the eye opening area indicate good data transmission quality. If the eye opening area has digits, the data transmission quality is poor.

Examples

# Diagnose the transceiver module in interface HundredGigE 1/1/1, and display the diagnostic results in an eye diagram.

<Sysname> display transceiver eyediagram-diagnosis interface hundredgige 1/1/1

This operation might consume a large amount of system resources. It might cause unknown risks and might take several minutes. Continue?[Y/N]:y

    +--------------------------------------------------------------------+

    | EYESCAN Phy: 0x0e1 lane_mask: 0x01                                 |

    +--------------------------------------------------------------------+

Each character N represents approximate error rate 1e-N at that location

  UI/64  : -30  -25  -20  -15  -10  -5    0    5    10   15   20   25   30

         : -|----|----|----|----|----|----|----|----|----|----|----|----|-

   128mV : 111111111111111111111111112222322222222211111111111111111111111

   124mV : 111111111111111111111111122233332222222221111111111111111111111

   120mV : 111111111111111111111111222333333332222222211111111111111111111

   115mV : 111111111111111111111112223334443333222222221111111111111111111

   111mV : 111111111111111111111122233344444333322222222111111111111111111

   107mV : 111111111111111111111122233445544433332222222211111111111111111

   103mV : 111111111111111111111222334456655544333332222222111111111111111

    99mV : 111111111111111111112223344566665544433333222222211111111111111

    95mV : 11111111111111111111222344556776655443333322222221111111111111

    91mV : 11111111111111111112223345567  :766554443333222222111111111111

    86mV : 11111111111111111122233455677  :  76655444333322222211111111111

    82mV : 111111111111111111223344567----+---7665544433322222221111111111

    78mV : 111111111111111112223345667    :    :76655444333222222111111111

    74mV : 11111111111111112223345677:    :    :77665544333322222111111111

    70mV : 1111111111111111223344567 7    :    :   76655443332222211111111

    66mV : 1111111111111112223345677 :    :    :    7665444333222221111111

    62mV : 111111111111112223345667--+----+----+----+776554433322222111111

    57mV : 111111111111112223445677  :    :    :    :76655443332222111111

    53mV : 1111111111111222334566    :    :    :    :  7765544333222211111

    49mV : 1111111111112223345567    :    :    :    :    76554333222221111

    45mV : 111111111111222334567:    :    :    :    :    :7655443322222111

    41mV : 111111111112223345677+----+----+----+----+----+7765544332222211

    37mV : 11111111112223344567 :    :    :    :    :    :776544333222211

    33mV : 11111111112223345667 :    :    :    :    :    :   7654433322221

    28mV : 1111111112223344567  :    :    :    :    :    :   7765443322222

    24mV : 111111111222334567   :    :    :    :    :    :    765543332222

    20mV : 111111112223345567---+----+----+----+----+----+----+76544333222

    16mV : 11111112222344567    :    :    :    :    :    :    :7654433222

    12mV : 1111111222334567:    :    :    :    :    :    :    :77655433322

     8mV : 1111112223344567:    :    :    :    :    :    :    :  765543322

     4mV : 111111222334566 :    :    :    :    :    :    :    :  776544332

     0mV : 111111222344567-+----+----+----+----+----+----+----+----6554332

    -4mV : 111111222344567 :    :    :    :    :    :    :    :   76544332

    -8mV : 111111222334567 :    :    :    :    :    :    :    :  765443332

   -12mV : 1111112223344567:    :    :    :    :    :    :    :7655433322

   -16mV : 1111111222334567:    :    :    :    :    :    :    :7654433222

   -20mV : 11111112222344567----+----+----+----+----+----+----776544333222

   -24mV : 111111112223345677   :    :    :    :    :    :    765543332222

   -28mV : 111111111222334567   :    :    :    :    :    :   7665443332222

   -33mV : 1111111111222344567  :    :    :    :    :    :  77654433322221

   -37mV : 1111111111222334567  :    :    :    :    :    :766544333222211

   -41mV : 11111111111223344567-+----+----+----+----+----+7765544332222211

   -45mV : 11111111111222334566 :    :    :    :    :    77655443332222111

   -49mV : 1111111111112223345677    :    :    :    :    76554433322221111

   -53mV : 1111111111111222344567    :    :    :    :  7765544333222221111

   -57mV :1111111111111222334567    :    :    :    :77655443332222211111

   -62mV : 111111111111112223445677--+----+----+----+776654433332222211111

   -66mV : 111111111111111223345567  :    :    :    7765544333222222111111

   -70mV : 1111111111111112223345667 :    :    :    7655443333222221111111

   -74mV :11111111111111112223345667 :    :    :  766554433322222211111111

   -78mV :111111111111111112233445677    :    :  776554433322222211111111

   -82mV : 111111111111111112223345567----+----766554443332222221111111111

   -86mV : 1111111111111111112223345567   :    765544433322222221111111111

   -91mV : 11111111111111111112233445667  :   7665444333322222211111111111

   -95mV : 111111111111111111122233445667 :7766554433332222222111111111111

   -99mV : 111111111111111111112223344566777665544333322222221111111111111

  -103mV : 111111111111111111111223334556676655443333222222211111111111111

  -107mV : 111111111111111111111222333445565544333322222222111111111111111

  -111mV : 111111111111111111111122233444554443333222222221111111111111111

  -115mV : 111111111111111111111112223334444433332222222211111111111111111

  -120mV : 111111111111111111111111222333444333322222222111111111111111111

  -124mV : 111111111111111111111111222233333332222222211111111111111111111

  -128mV : 111111111111111111111111122223333322222222111111111111111111111

         : -|----|----|----|----|----|----|----|----|----|----|----|----|-

  UI/64  :-30  -25  -20  -15  -10  -5    0    5    10   15   20   25   30

display transceiver interface

Use display transceiver interface to display the key parameters of transceiver modules.

Syntax

display transceiver interface [ interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command displays the key parameters of every transceiver module.

Examples

# Display the key parameters of the transceiver module in interface HundredGigE 1/1/1.

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

...

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 all transceiver modules.

Examples

# Display electronic label information for the transceiver module in interface HundredGigE 1/1/1.

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

...

display transceiver power

Use display transceiver power to display power information for transceiver modules.

Syntax

display transceiver power [ 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 power information for all transceiver modules.

Examples

# Display power information for all transceiver modules.

<Sysname> display transceiver power

Interface       Transceiver type         Current power(w)    Max power(w)

HGE1/1/1         100G_BASE_SR4_QSFP28     2.30                3.50

HGE1/1/2         100G_BASE_LR4_QSFP28     2.50                4.00

HGE1/1/3         100G_BASE_ER4_QSFP28     3.51                5.00

HGE1/1/4         Absent                   --                  --

HGE1/1/5         100G_BASE_SR4_QSFP28     --                  --

HGE1/1/6         10G_BASE_LR_SFP          --                  1.50

         10G_BASE_LR_SFP          1.00                --

 

Current total power  : 9.31w

Maximum total Power  : 15.5w

# Display power information for the transceiver module in interface HundredGigE 1/1/1.

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

Interface         Transceiver type             Current power(w)    Max power(w)

HGE1/1/1           10G_BASE_LR_SFP              1.00                1.50

Table 31 Command output

Field

Description

Current power(w)

Current power of a transceiver module, in watts, accurate to 0.01 w.

Max power(w)

Maximum power of a transceiver module, in watts, accurate to 0.01 w.

Current total power

Current total power of all transceiver modules, in watts, accurate to 0.01 w.

Max total power

Maximum total power of all transceiver modules, in watts, accurate to 0.01 w

display transceiver status

Use display transceiver status to display transceiver module status information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If you do not specify an interface, this command applies to all interfaces.

Usage guidelines

This command is supported only on the 400G transceiver modules, SFP transceiver modules, and QSFP transceiver modules.

Examples

# Display status information for the 400G transceiver module in interface FourHundredGigE1/1/1.

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

FourHundredGigE1/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

# Display status information for the 400G ZR transceiver module in interface FourHundredGigE 1/0/1. (This example is supported only on the QSFPDD-400G-ZR transceiver module.)

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

FourHundredGigE1/0/1 transceiver status information:

  Module state        : ModuleReady

  Interrupt           : YES

  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

Table 32 Command output

Field

Description

Module state

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

Indicates whether the transceiver module is in interrupt alarm status:

·     YES.

·     NO.

Data Path State

Data path status:

·     UNKNOWN.

·     Deactivated.

·     Init—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:

·     Enable.

·     Disable.

display transceiver vdm

Use display transceiver vdm to display the versatile diagnostics monitoring (VDM) information of a transceiver module.

Syntax

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

Views

Any view

Predefined user roles

network-admin

Parameters

interface-type interface-number: Specifies an interface by its type and number.

vdm-id vdm-id: Specifies a VDM by its ID. The value range varies by transceiver module model.

Usage guidelines

This command is available only for 200G and 400G transceiver modules that support CMIS 4.0.

Examples

# Display the VDM 1 information of the transceiver module in FourHundredGigE 1/0/1.

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

VDM Description: Laser Temperature

Module/lane         VDM value(C)

Lane1               58.0

Alarm/Warning thresholds:

          Warning(C)     Alarm(C)

  High    80.0           85.0

  Low     0.0            251.0

# Display the VDM 2 information of the transceiver module in FourHundredGigE 1/0/1.

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

VDM Description: eSNR Host Input

Module/lane         VDM value(dB)

Lane1               0.0

Alarm/Warning thresholds:

          Warning(dB)    Alarm(dB)

  High    99.0           99.0

  Low     226.0          216.0

display version

Use display version to display system version information.

Syntax

display version

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display system version information.

<Sysname> display version

H3C Comware Software, Version 7.1.070, ESS 6703                                

Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.    

H3C S9820-8C uptime is 0 weeks, 0 days, 0 hours, 24 minutes                    

Last reboot reason : User reboot                                               

                                                                               

Boot image: flash:/s9820-8c-cmw710-boot-e6703.bin                              

Boot image version: 7.1.070, ESS 6703                                          

  Compiled Apr 25 2022 11:00:00, DEBUG SOFTWARE                                

System image: flash:/s9820-8c-cmw710-system-e6703.bin                          

System image version: 7.1.070, ESS 6703                                        

  Compiled Apr 25 2022 11:00:00, DEBUG SOFTWARE                                

...

Table 33 Command output

Field

Description

Last reboot reason

Reason for the last reboot:

·     User reboot—The reboot was manually initiated from a user interface, such as the CLI or SNMP.

·     Cold reboot—The reboot was caused by a power cycle. This cause is also displayed when the version of the basic BootWare segment changes due to an update.

·     Kernel abnormality reboot—The reboot was caused by kernel exceptions.

·     DeadLoop reboot—The reboot was caused by a kernel thread dead loop.

·     DEV HandShake reboot—The reboot was caused by a device management handshake failure.

·     Auto Update reboot—The reboot was caused by an automatic software upgrade.

·     Memory exhaust reboot—The reboot was caused by a memory-exhausted event.

display version-update-record

Use display version-update-record to display startup software image upgrade records.

Syntax

display version-update-record

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

The device records its current startup software version information whenever it starts up, and records all software version update information. Such information can survive reboots.

Examples

# Display the startup software image upgrade records.

<Sysname> display version-update-record

Record 1  (updated on Apr 18 2015 at 06:23:54):

 *Name        : boot-test.bin

  Version     : 7.1.070 Test 0001

  Compile time: Mar 25 2015 15:52:43

 

 *Name        : system-test.bin

  Version     : 7.1.070 Test 0001

  Compile time: Mar 25 2015 15:52:43

Table 34 Command output

Field

Description

Record n

Number of the startup software image upgrade record. Record 1 is the most recent record.

Name

Software image file name.

*

The software image version changed during the upgrade.

Related commands

reset version-update-record

download manuinfo fan

Use download manuinfo fan to set the serial number for a fan tray.

Syntax

download manuinfo slot slot-number fan fan-id serial-num serial-number

Default

The fan trays do not have serial numbers.

Views

System view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

fan fan-id: Specifies a fan tray by its ID.

serial-num serial-number: Specifies the serial number of the fan tray.

Usage guidelines

To set the serial number for a fan tray, read the label on the fan tray for its serial number and enter the correct serial number for the command.

The display device manuinfo and display device manuinfo fan commands display NONE for the serial number and manufacturing date fields of a fan tray in the following situations:

·     The fan tray does not have a serial number configured.

·     The configured serial number is incorrect.

Examples

# Set the serial number for a fan tray.

<Sysname> system-view

[Sysname] download manuinfo slot 1 fan 2 serial-num 21020000000000000000

hardware-alarm disable

Use hardware-alarm disable to disable the notification of hardware resource alarms.

Syntax

hardware-alarm { syslog | trap } resource-type { all | board | bus | chip-channel | chip-port | device | disk | fan | interface | power | subcard | transceiver | voltage } disable

undo hardware-alarm { syslog | trap } resource-type { all | board | bus | chip-channel | chip-portdevice | disk | fan | interface | power | subcard | transceiver | voltage } disable

Views

System view

Default

The notification of all hardware resource alarms is enabled.

Predefined user roles

network-admin

Parameters

all: Specifies all types of resource alarms.

board: Specifies card-related resource alarms.

bus: Specifies bus-related resource alarms.

chip-channel: Specifies chip channel-related resource alarms.

chip-port: Specifies chip port-related resource alarms.

device: Specifies device-related resource alarms.

disk: Specifies disk-related resource alarms.

fan: Specifies fan-related resource alarms.

interface: Specifies interface-related resource alarms.

syslog: Sends hardware resources alarms in syslog messages.

subcard: Specifies subcard-related resource alarms.

transceiver: Specifies transceiver -related resource alarms.

trap: Sends hardware resources alarms in traps.

power: Specifies power supply-related resource alarms.

voltage: Specifies voltage-related resource alarms.

Examples

# Disable trap notification for all hardware resource alarms.

<Sysname> system

[Sysname] hardware-alarm trap resource-type all disable

# Disable syslog notification for device-related resource alarms.

<Sysname> system

[Sysname] hardware-alarm syslog resource-type device disable

hardware-failure-detection

Use hardware-failure-detection to specify the action to be taken in response to hardware failures.

Use undo hardware-failure-detection to restore the default.

Syntax

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

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

Default

The system takes the action of reset in response to hardware failures on chips, the device, and the forwarding plane.

Views

System view

Predefined user roles

network-admin

Parameters

board: Specifies failures on control paths and the device.

chip: Specifies failures on components of the device such as the chips, capacitances, resistances.

forwarding: Specifies failures on the forwarding plane (including services and other relevant items).

isolate: Takes one or more of the following actions:

·     Shuts down the relevant ports.

·     Prohibits loading software for the device.

·     Powers off the device to reduce impact from the failures.

off: Takes no action.

reset: Restarts the relevant components or the system to recover from failures.

warning: Sends traps to notify you of the failures.

Usage guidelines

The device automatically detects hardware failures. You can specify the actions to be taken in response to detected failures.

Examples

# Configure the device to send traps in response to failures on components.

<Sysname> system-view

[Sysname] hardware-failure-detection chip warning

hardware-resource clock-mode

Use hardware-resource clock-mode to specify the clock mode of the device.

Use undo hardware-resource clock-mode to restore the default.

Syntax

hardware-resource clock-mode { hpet | tsc }

undo hardware-resource clock-mode

Default

If the device does not support this command, the default clock mode is tsc. If the device supports this command, you can execute the display hardware-resource clock-mode command to obtain the default clock mode.

Views

System view

Predefined user roles

network-admin

Parameters

hpet: Specifies the hpet clock mode.

tsc: Specifies the tsc clock mode.

Usage guidelines

If the clock mode at the current device startup is hpet, the new clock mode specified by this command will take effect on the next device startup. For the configuration to take effect, save the configuration and restart the device.

If the clock mode at the current device startup is tsc, the clock mode specified by this command will take effect immediately no matter whether the new clock mode is tsc or hpet. However, a device restart prompt might still appear, which can be ignored. To ensure that the newly configured clock mode still takes effect on the next device startup, save the configuration before restarting the device.

This feature is only supported on early devices. If this command cannot be configured on a standalone device, the device does not support this command.

Two devices with different clock modes cannot form an IRF fabric. The clock mode of devices is typically tsc, but early devices might have a different clock mode. You can execute this command on early devices to ensure that the clock modes of the devices for IRF setup are the same. If an IRF fabric has been set up for early devices and new devices, these early devices do not support changing the clock mode.

To obtain the clock mode at the current and next device startup for early devices, execute the display hardware-resource clock-mode command:

·     If the Current field in the output displays tsc, the Next field displays the current clock mode of the device, which is the same as the clock mode at the next device startup.

·     If the Current field in the output displays hpet, the Current field displays the current clock mode of the device, which is the same as the clock mode at the current device startup.

Examples

# Specify the clock mode of the device as tsc.

<Sysname> system-view

[Sysname] hardware-resource clock-mode tsc

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

The hardware resource working mode is changed, please save the configuration and

 reboot the system to make it effective.

Related commands

display hardware-resource clock-mode

hardware-resource linkscan-mode

Use hardware-resource linkscan-mode to set the operating mode of the link scan feature on the device.

Syntax

hardware-resource linkscan-mode { hardware | software }

Default

The link scan feature on the device operates in software mode.

Views

System view

Predefined user roles

network-admin

Parameters

hardware: Specifies the hardware mode.

software: Specifies the software mode.

Usage guidelines

The link scan feature in hardware mode can more quickly detect port status changes, which accelerates network convergence. After you execute this command, save the configuration and restart the device for the configuration to take effect.

Examples

# Set the hardware operating mode for the link scan feature.

<Sysname> system-view

[Sysname] hardware-resource linkscan-mode hardware

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

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

Related commands

display hardware-resource linkscan-mode

hardware-resource switch-mode

Use hardware-resource switch-mode to set the hardware resource operating mode for the MAC address table, ARP/ND table, and routing tables.

Use undo hardware-resource switch-mode to restore the default.

Syntax

hardware-resource switch-mode { NORMAL | ROUTING }

undo hardware-resource switch-mode

Default

The hardware resource operating mode is NORMAL.

Views

System view

Predefined user roles

network-admin

Parameters

NORMAL: Specifies the normal mode.

ROUTING: Specifies the routing mode. This mode provides larger routing tables than the normal mode.

Usage guidelines

The device supports multiple hardware resource operating modes for the MAC address table, ARP/ND table, and routing tables. The capacities of the tables vary by hardware resource operating mode. For more information, see device management in Fundamentals Configuration Guide.

This setting takes effect after you save the running configuration and reboot the device. Before rebooting the device, make sure you know the possible impact on the network.

Examples

# Set the hardware resource operating mode to routing.

<Sysname> system-view

[Sysname] hardware-resource switch-mode routing

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

The hardware resource working mode is changed, please save the configuration and

 reboot the system to make it effective.

Related commands

display hardware-resource switch-mode

header

Use header to configure a banner.

Use undo header to delete a banner.

Syntax

header { incoming | legal | login | motd | shell } text

undo header { incoming | legal | login | motd | shell }

Default

The device does not have banners.

Views

System view

Predefined user roles

network-admin

Parameters

incoming: Configures the banner to be displayed before a modem dial-in user accesses user view. If authentication is required, the incoming banner appears after the authentication is passed.

legal: Configures the banner to be displayed before a user inputs the username and password to access the CLI.

login: Configures the banner to be displayed before password or scheme authentication is performed for a login user.

motd: Configures the greeting banner to be displayed before the legal banner appears.

shell: Configures the banner to be displayed before a non-modem dial-in user accesses user view.

text: Specifies the banner message. You can enter the banner message on the same line as the keywords or on different lines. For more information, see Fundamentals Configuration Guide.

Examples

# Configure the legal banner.

<Sysname> system-view

[Sysname] header legal

Please input banner content, and quit with the character '%'.

Welcome to use the legal banner%

job

Use job to assign a job to a schedule.

Use undo job to revoke a job.

Syntax

job job-name

undo job job-name

Default

No job is assigned to a schedule.

Views

Schedule view

Predefined user roles

network-admin

Parameters

job-name: Specifies the job name, a case-sensitive string of 1 to 47 characters.

Usage guidelines

You can assign multiple jobs to a schedule. The jobs in a schedule are executed concurrently.

The jobs to be assigned to a schedule must already exist. To create a job, use the scheduler job command.

Examples

# Assign job save-job to schedule saveconfig.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] job save-job

Related commands

scheduler job

scheduler schedule

locator blink

Use locator blink blink-time to start LED flashing to locate devices.

Use locator blink stop to stop LED flashing.

Syntax

locator [ slot slot-number ] blink blink-time

locator [ slot slot-number ] blink stop

Views

User view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

blink-time: Specifies the flash duration in seconds. The value range is 5 to 120.

stop: Stops flashing.

Usage guidelines

The device provides a LED for device locating. The locator blink blink-time command flashes the specified LEDs quickly for a period of time unless you execute the locator blink stop command. You can observe the LEDs to locate the devices.

Examples

# Start LED flashing to locate devices.

<Sysname> locator blink 30

# Stop LED flashing.

<Sysname> locator blink stop

memory-threshold

Use memory-threshold to set free-memory thresholds.

Use undo memory-threshold to restore the defaults.

Syntax

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

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

Default

Minor alarm threshold: 224 MB.

Severe alarm threshold: 224 MB.

Critical alarm threshold: 224 MB.

Normal state threshold: 496 MB.

Early-warning threshold: 512 MB.

Sufficient-memory threshold: 576 MB.

Views

System view

Predefined user roles

network-admin

Parameters

ratio: Specifies free-memory thresholds in percentage. If you do not specify this keyword, the command sets free-memory thresholds in MB.

minor minor-value: Specifies the minor alarm threshold. To view the value range for this threshold, enter a question mark (?) in the place of the minor-value argument. Setting this threshold to 0 disables the minor alarm feature.

severe severe-value: Specifies the severe alarm threshold. To view the value range for this threshold, enter a question mark (?) in the place of the severe-value argument. Setting this threshold to 0 disables the severe alarm feature.

critical critical-value: Specifies the critical alarm threshold. To view the value range for this threshold, enter a question mark (?) in the place of the critical-value argument. Setting this threshold to 0 disables the critical alarm feature.

normal normal-value: Specifies the normal state threshold. To view the value range for this threshold, enter a question mark (?) in the place of the normal-value argument.

early-warning early-warning-value: Specifies the early-warning threshold. To view the value range for this threshold, enter a question mark (?) in the place of the early-warning-value argument. Setting this threshold to 0 disables the early warning feature.

secure secure-value: Specifies the sufficient-memory threshold. To view the value range for this threshold, enter a question mark (?) in the place of the secure-value argument.

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

To ensure correct operation and improve memory efficiency, the system monitors the amount of free memory space in real time. If the amount of free memory space decreases to or below the minor, severe, or critical alarm threshold, the system issues an alarm to affected service modules or processes.

You can use the display memory command to display memory usage information.

The early warning feature warns you of an approaching insufficient-memory condition.

If a memory alarm occurs, delete unused configuration items or disable some features to increase the free memory space. Because the memory space is insufficient, some configuration items might not be able to be deleted.

For more information about the thresholds, see Fundamentals Configuration Guide.

The system restarts the device 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 the device.

If the minor, severe, and critical alarm thresholds are the same, the device will generate notifications and automatically restart after the free memory space reaching these thresholds.

Once the free memory space reaches the early warning, 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.

Examples

# 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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

ratio: Specifies DMA memory thresholds in percentage.

critical critical-value: Specifies the DMA memory alarm threshold. If the ratio keyword is specified, the value range for the critical-value argument is 0 to 100 in percentage. If the ratio keyword is not specified, the value range for the critical-value argument is 0 to 2097148.

normal normal-value: Specifies the normal state threshold. If the ratio keyword is specified, the value range for the normal-value argument is 0 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 services that use Direct Memory Access (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 device restarts.

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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

memory-threshold: Specifies the memory usage threshold in percentage. The value range is 0 to 100.

Usage guidelines

The device samples memory usage at 1-minute intervals. If the sample is greater than the memory usage threshold, the device sends a trap.

Examples

# Set the memory usage threshold to 80%.

<Sysname> system-view

[Sysname] memory-threshold usage 80

Related commands

display memory-threshold

monitor cpu-usage enable

Use monitor cpu-usage enable to enable CPU usage monitoring.

Use undo monitor cpu-usage enable to disable CPU usage monitoring.

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 monitoring is enabled.

Views

System view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

After CPU usage monitoring is enabled, the system samples and saves CPU usage at the 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 monitoring.

<Sysname> system-view

[Sysname] monitor cpu-usage enable

Related commands

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 the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

After CPU usage monitoring is enabled, the system samples and saves CPU usage at the specified interval. You can use the display cpu-usage history command to view recent CPU usage.

Examples

# Set the sampling interval for CPU usage monitoring to 5 seconds.

<Sysname> system-view

[Sysname] monitor cpu-usage interval 5Sec

Related commands

display cpu-usage configuration

display cpu-usage history

monitor cpu-usage enable

monitor cpu-usage logging interval

Use monitor cpu-usage logging interval to enable periodic CPU usage logging.

Use undo monitor cpu-usage logging interval to disable periodic CPU usage logging.

Syntax

monitor cpu-usage logging interval interval-time

undo monitor cpu-usage logging interval

Default

Periodic CPU usage logging is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

interval interval-time: Specifies the logging interval in seconds, a multiple of five in the range of 5 to 300.

Examples

# Enable periodic CPU usage logging and set the logging interval to 60 seconds.

<Sysname> system-view

[Sysname] monitor cpu-usage logging interval 60

monitor cpu-usage threshold

Use monitor cpu-usage threshold to set CPU usage alarm thresholds.

Use undo monitor cpu-usage threshold to restore the default.

Syntax

monitor cpu-usage threshold severe-threshold { minor-threshold minor-threshold recovery-threshold recovery-threshold [ slot slot-number [ cpu cpu-number ] ] | slot slot-number cpu cpu-number [ core core-id-list ] }

undo monitor cpu-usage threshold { minor-threshold recovery-threshold [ slot slot-number [ cpu cpu-number ] ] | slot slot-number cpu cpu-number [ core core-id-list ] }

Default

Severe CPU usage alarm threshold: 99%.

Minor CPU usage alarm threshold: 90%.

CPU usage recovery threshold: 60%.

Views

System view

Predefined user roles

network-admin

Parameters

severe-threshold: Specifies the severe CPU usage alarm threshold in percentage. The value range for this argument is 2 to 100.

minor-threshold minor-threshold: Specifies the minor CPU usage alarm threshold in percentage. The value range for this argument is 1 to the severe CPU usage alarm threshold minus 1.

recovery-threshold recovery-threshold: Specifies the CPU usage recovery threshold in percentage. The value range for this argument is 0 to the minor CPU usage alarm threshold minus 1.

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

core core-id-list: Specifies a space-separated list of up to 10 CPU core items. Each item specifies a CPU core or a range of CPU cores in the form of core-id1 [ to core-id2 ]. The value for core-id2 must be equal to or greater than the value for core-id1.

Usage guidelines

CAUTION

CAUTION:

If you set the severe CPU usage alarm threshold to a too low value, the device will reach the threshold easily. Normal services will be affected.

 

The device samples CPU usage at 1-minute intervals. If the sample is greater than the CPU usage threshold, the device sends a trap.

Examples

# Set the severe CPU usage alarm threshold to 90%, minor CPU usage alarm threshold to 80%, and CPU usage recovery threshold to 70%.

<Sysname> system-view

[Sysname] monitor cpu-usage threshold 90 minor-threshold 80 recovery-threshold 70

Related commands

display cpu-usage configuration

monitor memory-usage logging interval

Use monitor memory-usage logging interval to enable periodic memory usage logging.

Use undo monitor memory-usage logging interval to disable periodic memory usage logging.

Syntax

monitor memory-usage logging interval interval-time

undo monitor memory-usage logging interval

Default

Periodic memory usage logging is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

interval interval-time: Specifies the logging interval in seconds, a multiple of five in the range of 5 to 300.

Examples

# Enable periodic memory usage logging and set the logging interval to 60 seconds.

<Sysname> system-view

[Sysname] monitor memory-usage logging interval 60

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 alarm resending interval is 300 seconds. The severe alarm resending interval is 60 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

minor-interval minor-interval: Specifies the minor alarm resending interval in seconds, a multiple of five in the range of 10 to 3600.

severe-interval severe-interval: Specifies the severe alarm resending interval in seconds, a multiple of five in the range of 10 to 3600.

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

The device samples CPU usage periodically and compares the sample with the CPU usage threshold. If the sample increases above an alarm threshold, the CPU usage enters an alarm state and the device sends an alarm.

While the CPU usage is 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.

While the CPU usage is in severe alarm state, the device sends severe alarms periodically until the severe alarm is removed.

You can use this command to change CPU usage alarm resending intervals.

If you do not specify the minor-interval or severe-interval keyword, the undo monitor resend cpu-usage command restores default settings for both the minor and severe alarm resending intervals.

Examples

# Set the CPU usage minor alarm resending interval to 60 seconds for CPU 0 in slot 1.

<Sysname> system-view

[Sysname] monitor resend cpu-usage minor-interval 60 slot 1 cpu 0

monitor resend memory-threshold

Use monitor resend memory-threshold to set memory depletion alarm resending intervals.

Use undo monitor resend memory-threshold to restore the default.

Syntax

monitor resend memory-threshold { critical-interval critical-interval | early-warning-interval early-warning-interval | minor-interval minor-interval | severe-interval severe-interval } * [ slot slot-number [ cpu cpu-number ] ]

undo monitor resend memory-threshold [ critical-interval | early-warning-interval | minor-interval | severe-interval ] * [ slot slot-number [ cpu cpu-number ] ]

Default

·     Early warning resending interval: 1 hour.

·     Minor alarm resending interval: 12 hours.

·     Severe alarm resending interval: 3 hours.

·     Critical alarm resending interval: 1 hour.

Views

System view

Predefined user roles

network-admin

Parameters

critical-interval critical-interval: Specifies the critical alarm resending interval in hours, in the range of 1 to 48.

early-warning-interval early-warning-interval: Specifies the early warning resending interval in hours, in the range of 1 to 48.

minor-interval minor-interval: Specifies the minor alarm resending interval in hours, in the range of 1 to 48.

severe-interval severe-interval: Specifies the severe alarm resending interval in hours, in the range of 1 to 48.

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

cpu cpu-number: Specifies a CPU by its number.

Usage guidelines

The device samples the amount of free memory space periodically and compares the sample with free-memory thresholds. If the sample decreases to or below a threshold, the device enters a memory depletion alarm state and sends an alarm.

In critical alarm state, the device sends critical alarm notifications periodically until the critical alarm is removed.

In a lower alarm state, the device sends notifications for the alarm state periodically until it enters a higher alarm state or the current alarm is removed.

You can use this command to change the alarm resending intervals.

If you do not specify any memory depletion alarm resending intervals, the undo monitor resend memory-threshold command restores default settings for all memory depletion alarm resending intervals.

Examples

# Set the minor memory depletion alarm resending interval to 12 hours for CPU 0 in slot 1.

<Sysname> system-view

[Sysname] monitor resend memory-threshold minor-interval 12 slot 1 cpu 0

parity-error consistency-check log enable

Use parity-error consistency-check log enable to enable consistency error logging for software and hardware forwarding entries.

Use undo parity-error consistency-check log enable to disable consistency error logging for software and hardware forwarding entries.

Syntax

parity-error consistency-check log enable

undo parity-error consistency-check log enable

Default

Consistency error logging is enabled for software and hardware forwarding entries.

Views

System view

Predefined user roles

network-admin

Usage guidelines

To forward packets, the device generates hardware forwarding entries in forwarding chips and software forwarding entries in memory at the same time. The device automatically detects whether the hardware forwarding entries and the software forwarding entries are consistent.

After you execute this command, the device collects consistency errors periodically. If the number of consistency errors in a statistics period reaches or exceeds the logging threshold, the device generates a log message.

Examples

# Enable consistency error logging for software and hardware forwarding entries.

<Sysname> system-view

[Sysname] parity-error consistency-check log enable

Related commands

parity-error consistency-check threshold

parity-error consistency-check threshold

Use parity-error consistency-check threshold to set the logging threshold for consistency errors between software and hardware forwarding entries.

Use undo parity-error consistency-check threshold to restore the default.

Syntax

parity-error consistency-check threshold value

undo parity-error consistency-check threshold

Default

The logging threshold is 10.

Views

System view

Predefined user roles

network-admin

Parameters

value: Specifies the logging threshold for consistency errors between software and hardware forwarding entries, in the range of 1 to 2147483647.

Usage guidelines

To forward packets, the device generates hardware forwarding entries in forwarding chips and software forwarding entries in memory at the same time. The device automatically detects whether the hardware forwarding entries and the software forwarding entries are consistent.

After you enable consistency error logging for software and hardware forwarding entries, the device collects statistics for consistency errors periodically. If the number of consistency errors reaches or exceeds the logging threshold, the device generates a log message.

Examples

# Set the logging threshold to 20 for consistency errors between software and hardware forwarding entries.

<Sysname> system-view

[Sysname] parity-error consistency-check threshold 20

Related commands

parity-error consistency-check log enable

parity-error monitor log enable

Use parity-error monitor log enable to enable parity error logging for entries on forwarding chips.

Use undo parity-error monitor log enable to disable parity error logging for entries on forwarding chips.

Syntax

parity-error monitor log enable

undo parity-error monitor log enable

Default

Parity error logging is disabled for entries on forwarding chips.

Views

System view

Predefined user roles

network-admin

Usage guidelines

The device detects parity errors in entries on forwarding chips. The parity error logging feature collects parity error statistics periodically and generates log messages as defined.

Examples

# Enable parity error logging for entries on forwarding chips.

<Sysname> system-view

[Sysname] parity-error monitor log enable

Related commands

parity-error monitor period

parity-error monitor threshold

parity-error monitor period

Use parity-error monitor period to set the parity error statistics period for entries on forwarding chips.

Use undo parity-error monitor period to restore the default.

Syntax

parity-error monitor period value

undo parity-error monitor period

Default

The parity error statistics period is 600 seconds for entries on forwarding chips.

Views

System view

Parameters

value: Specifies the parity error statistics period in seconds, in the range of 1 to 86400.

Predefined user roles

network-admin

Usage guidelines

The device detects parity errors in entries on forwarding chips. The parity error logging feature collects parity error statistics periodically. This command sets the statistics period.

Examples

# Set the parity error statistics period to 120 seconds.

<Sysname> system-view

[Sysname] parity-error monitor period 120

Related commands

parity-error monitor log enable

parity-error monitor threshold

parity-error monitor threshold

Use parity-error monitor threshold to set the parity error logging threshold for entries on forwarding chips.

Use undo parity-error monitor threshold to restore the default.

Syntax

parity-error monitor threshold value

undo parity-error monitor threshold

Default

The parity error logging threshold is 5000 for entries on forwarding chips.

Views

System view

Predefined user roles

network-admin

Parameters

value: Specifies the parity error logging threshold for entries on forwarding chips, in the range of 1 to 1000000.

Usage guidelines

The device detects parity errors in entries on forwarding chips. The parity error logging feature collects parity error statistics periodically, and generates a log message if the number of parity errors exceeds the logging threshold. This command sets the logging threshold.

Examples

# Set the parity error logging threshold to 8000 for entries on forwarding chips.

<Sysname> system-view

[Sysname] parity-error monitor threshold 8000

Related commands

parity-error monitor log enable

parity-error monitor period

parity-error unrecoverable log enable

Use parity-error unrecoverable log enable to enable uncorrectable parity error and ECC error logging for entries on forwarding chips.

Use undo parity-error unrecoverable log enable to disable uncorrectable parity error and ECC error logging for entries on forwarding chips.

Syntax

parity-error unrecoverable log enable

undo parity-error unrecoverable log enable

Default

Uncorrectable parity error and ECC error logging is enabled for entries on forwarding chips

Views

System view

Predefined user roles

network-admin

Usage guidelines

The device automatically detects parity errors and ECC errors in entries on forwarding chips and tries to correct the error when an error is detected. The uncorrectable parity error and ECC error logging feature enables the device to collect uncorrectable parity error and ECC error statistics periodically. If the number of uncorrectable parity errors and ECC errors reaches or exceeds the logging threshold, the device generates and sends an uncorrectable parity error and ECC error log message to the information center module. The information center module determines how and where to send the log message. For more information about the information center module, see information center configuration in Network Management and Monitoring Configuration Guide.

Examples

# Enable uncorrectable parity error and ECC error logging for entries on forwarding chips

<Sysname> system-view

[Sysname] parity-error unrecoverable log enable

Related commands

parity-error unrecoverable period

parity-error unrecoverable reboot

parity-error unrecoverable threshold

parity-error unrecoverable period

Use parity-error unrecoverable period to set the statistics period for uncorrectable parity errors and ECC errors for entries on forwarding chips.

Use undo parity-error unrecoverable period to restore the default.

Syntax

parity-error unrecoverable period period

undo parity-error unrecoverable period

Default

The statistics period for uncorrectable parity errors and ECC errors for entries on forwarding chips is 600 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

period: Specifies the statistics period for uncorrectable parity errors and ECC errors for entries on forwarding chips. The value is in the range of 1 to 86400, in seconds.

Usage guidelines

The device automatically detects parity errors and ECC errors in entries on forwarding chips and tries to correct the error when an error is detected. The uncorrectable parity error and ECC error logging feature enables the device to collect uncorrectable parity error and ECC error statistics periodically. If the number of uncorrectable parity errors and ECC errors reaches or exceeds the logging threshold, the device generates an uncorrectable parity error and ECC error log message.

This command sets the period for the device to collect uncorrectable parity error and ECC error statistics.

Examples

# Set the statistics period for uncorrectable parity errors and ECC errors in entries on forwarding chips to 120 seconds.

<Sysname> system-view

[Sysname] parity-error unrecoverable period 120

Related commands

parity-error unrecoverable log enable

parity-error unrecoverable reboot

parity-error unrecoverable threshold

parity-error unrecoverable reboot

Use parity-error unrecoverable reboot to enable automatic system reboot upon generation of an uncorrectable parity error and ECC error log.

Use undo parity-error unrecoverable reboot to disable automatic system reboot upon generation of an uncorrectable parity error and ECC error log

Syntax

parity-error unrecoverable reboot

undo parity-error unrecoverable reboot

Default

The system reboots automatically upon generation of an uncorrectable parity error and ECC error log.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Uncorrectable parity errors and ECC errors in entries on forwarding chips might affect system services. To remove the errors from the entries on forwarding chips, you can execute this command to enable automatic system reboot upon generation of an uncorrectable parity error and ECC error log.

Examples

# Enable automatic system reboot upon generation of an uncorrectable parity error and ECC error log.

<Sysname> system-view

[Sysname] parity-error unrecoverable reboot

Related commands

parity-error unrecoverable log enable

parity-error unrecoverable period

parity-error unrecoverable threshold

parity-error unrecoverable threshold

Use parity-error unrecoverable threshold to set the logging threshold for uncorrectable parity errors and ECC errors on entries on forwarding chips.

Use undo parity-error unrecoverable threshold to restore the default.

Syntax

parity-error unrecoverable threshold value

undo parity-error unrecoverable threshold

Default

The logging threshold for uncorrectable parity errors and ECC errors in entries on forwarding chips is 1.

Views

System view

Predefined user roles

network-admin

Parameters

value: Specifies the logging threshold for uncorrectable parity errors and ECC errors in entries on forwarding chips. The value is in the range of 1 to 1000000.

Usage guidelines

The device automatically detects parity errors and ECC errors in entries on forwarding chips and tries to correct the error when an error is detected. The uncorrectable parity error and ECC error logging feature enables the device to collect uncorrectable parity error and ECC error statistics periodically. If the number of uncorrectable parity errors and ECC errors reaches or exceeds the logging threshold, the device generates an uncorrectable parity error and ECC error log message.

This command sets the logging threshold.

Examples

# Set the logging threshold for uncorrectable parity errors and ECC errors in entries on forwarding chips to 10.

<Sysname> system-view

[Sysname] parity-error unrecoverable log threshold 10

Related commands

parity-error unrecoverable log enable

parity-error unrecoverable period

parity-error unrecoverable reboot

password-recovery enable

Use password-recovery enable to enable password recovery capability.

Use undo password-recovery enable to disable password recovery capability.

Syntax

password-recovery enable

undo password-recovery enable

Default

Password recovery capability is enabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Password recovery capability controls console user access to the device configuration and SDRAM from BootWare menus.

If password recovery capability is enabled, a console user can access the device configuration without authentication to configure new passwords.

If password recovery capability is disabled, console users must restore the factory-default configuration before they can configure new passwords. Restoring the factory-default configuration deletes the next-startup configuration files.

To enhance system security, disable password recovery capability.

Availability of BootWare menu options depends on the password recovery capability setting. For more information, see the release notes.

Examples

# Disable password recovery capability.

<Sysname> system-view

[Sysname] undo password-recovery enable

reboot

Use reboot to reboot the device.

Syntax

reboot [ slot slot-number [ subslot subslot-number ] ] [ force ]

Views

User view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies the slot number of the device, which is fixed at 1.

force: Reboots the device immediately without performing software or hard disk check. If this keyword is not specified, the system first identifies whether the reboot might result in data loss or a system failure. For example, the system identifies whether the main system software image file exists and whether a write operation is in progress on a storage medium. If the reboot might cause problems, the system does not reboot the device.

Usage guidelines

CAUTION

CAUTION:

·     A reboot might interrupt network services.

·     Use the force keyword only when the device fails or a reboot command without the force keyword cannot perform a reboot correctly. A reboot command with the force keyword might result in file system corruption because it does not perform data protection.

If the main startup software images are corrupt or missing, you must re-specify a set of main startup software images before executing the reboot command.

For data security, the device does not reboot if you reboot the device while the device is performing file operations.

Examples

# Reboot the device. Save the running configuration at prompt.

<Sysname> reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

Current configuration will be lost after the reboot, save current configuration? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Configuration is saved to mainboard device successfully.

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

# Reboot the device immediately without performing software check.

<Sysname> reboot force

A forced reboot might cause the storage medium to be corrupted. Continue? [Y/N]:y

Now rebooting, please wait...

Related commands

display system stable state

reset alarm active

Use reset alarm active to clear active alarm information on the device.

Syntax

reset alarm active { all | sequence-number sequence-number }

Default

The active alarm information on the device is not cleared.

Views

System view

Predefined user roles

network-admin

Parameter

all: Specifies all active alarms.

sequence-number sequence-number: Specifies an active alarm by its sequence number, in the range of 1 to 4294967295.

Usage guidelines

When the system has information about active alarms, you can execute this command to manually clear these alarms. After an alarm is cleared, the system will not display that alarm when you view alarm information.

Examples

# Clear the active alarm with sequence number 1.

<Sysname> system-view

[Sysname] reset alarm active sequence-number 1

Related commands

display alarm active

display alarm history

reset scheduler logfile

Use reset scheduler logfile to clear job execution log information.

Syntax

reset scheduler logfile

Views

User view

Predefined user roles

network-admin

Examples

# Clear job execution log information.

<Sysname> reset scheduler logfile

Related commands

display scheduler logfile

reset transceiver interface

Use reset transceiver interface to reset a transceiver module.

Syntax

reset transceiver interface [ interface-type interface-number ]

Views

User view

Predefined user roles

network-admin

Parameters

interface-type interface-number: Specifies an interface by its type and number. If you do not specify an interface, this command applies to all interfaces.

Usage guidelines

This command will restart a transceiver module. Use this command only when you cannot troubleshoot transceiver modules by using other methods. Before using this command, make sure you understand its compact on the live network.

This command is supported only on the 400G and QSPF 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

reset version-update-record

Use reset version-update-record to clear startup software image upgrade records.

Syntax

reset version-update-record

Views

System view

Predefined user roles

network-admin

Examples

# Clear the startup software image upgrade records.

<Sysname> system-view

[Sysname] reset version-update-record

This command will delete all records of version update. Continue? [Y/N]:y

Related commands

display version-update-record

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 Network Management and Monitoring Configuration Guide.

Usage guidelines

If you do not specify any keywords for the undo resource-monitor output command, the command disables resource depletion alarm output.

Examples

# Specify the information center module as the output destination for resource depletion alarms.

<Sysname> system-view

[Sysname] resource-monitor output syslog

Related commands

resource-monitor minor resend enable

resource-monitor resource

resource-monitor resource

Use resource-monitor resource to set resource depletion thresholds.

Use undo resource-monitor resource to disable resource depletion thresholds.

Syntax

resource-monitor resource resource-name slot slot-number cpu cpu-number  by-percent  minor-threshold minor-threshold severe-threshold severe-threshold

undo resource-monitor resource resource-name slot slot-number cpu cpu-number

Default

The default settings vary by resource type. Use the display resource-monitor command to display the resource depletion thresholds.

Views

System view

Predefined user roles

network-admin

Parameters

resource-name: Specifies a resource type by its name. The values for this argument are case insensitive and cannot be abbreviated. Table 35 shows the resource types that can be monitored.

Table 35 Resource types that can be monitored

Resource type

Description

ac

Ethernet service instances.

The device does not monitor this resource type in the current software version.

agg_group

Aggregation group resources.

arp

ARP resources.

ecmpgroup

ECMP group resources.

ecmpgroup_overlay

ECMP group resources on the overlay network.

g_rsvd_vlan

Reserved global VLAN interface resources.

ipv4l2mc

IPv4 Layer 2 multicast resources.

ipv4l3mc

IPv4 Layer 3 multicast resources.

ipv6_127

Resources for IPv6 routes with a prefix length of 65 to 127 bits.

ipv6_128

Resources for IPv6 routes with a prefix length of 128 bits.

ipv6_64

Resources for IPv6 routes with a prefix length of 0 to 64 bits.

ipv6l2mc

IPv6 Layer 2 multicast resources.

ipv6l3mc

IPv6 Layer 3 multicast resources.

mac

MAC address table resources.

mqcin

Inbound MQC resources.

mqcin_c0_p0

Inbound MQC resources of Pipe 0 on Chip 0.

mqcin_c0_p1

Inbound MQC resources of Pipe 1 on Chip 0.

mqcin_c0_p2

Inbound MQC resources of Pipe 2 on Chip 0.

mqcin_c0_p3

Inbound MQC resources of Pipe 3 on Chip 0.

mqcin_c0_p4

Inbound MQC resources of Pipe 4 on Chip 0.

mqcin_c0_p5

Inbound MQC resources of Pipe 5 on Chip 0.

mqcin_c0_p6

Inbound MQC resources of Pipe 6 on Chip 0.

mqcin_c0_p7

Inbound MQC resources of Pipe 7 on Chip 0.

mqcout

Outbound MQC resources.

mqcout_c0

Outbound MQC resources on Chip 0.

nd

ND resources.

nexthoppool1

Next-hop pool resources for the underlay network.

nexthoppool2

Next-hop pool resources for the overlay network.

nexthoppool3

Layer 3 ECMP resource pool.

nexthoppool4

Layer 3 ECMP resource pool on the overlay network.

openflow

OpenFlow resources.

openflowin_c0_p0

OpenFlow resources of Pipe 0 on Chip 0.

openflowin_c0_p1

OpenFlow resources of Pipe 1 on Chip 0.

openflowin_c0_p2

OpenFlow resources of Pipe 2 on Chip 0.

openflowin_c0_p3

OpenFlow resources of Pipe 3 on Chip 0.

openflowin_c0_p4

OpenFlow resources of Pipe 4 on Chip 0.

openflowin_c0_p5

OpenFlow resources of Pipe 5 on Chip 0.

openflowin_c0_p6

OpenFlow resources of Pipe 6 on Chip 0.

openflowin_c0_p7

OpenFlow resources of Pipe 7 on Chip 0.

pbr

PBR resources.

pbrin_c0_p0

PBR resources of Pipe 0 on Chip 0.

pbrin_c0_p1

PBR resources of Pipe 1 on Chip 0.

pbrin_c0_p2

PBR resources of Pipe 2 on Chip 0.

pbrin_c0_p3

PBR resources of Pipe 3 on Chip 0.

pbrin_c0_p4

PBR resources of Pipe 4 on Chip 0.

pbrin_c0_p5

PBR resources of Pipe 5 on Chip 0.

pbrin_c0_p6

PBR resources of Pipe 6 on Chip 0.

pbrin_c0_p7

PBR resources of Pipe 7 on Chip 0.

pfilterin

Inbound packet filter resources.

pfilterin_c0_p0

Inbound packet filter resources of Pipe 0 on Chip 0.

pfilterin_c0_p1

Inbound packet filter resources of Pipe 1 on Chip 0.

pfilterin_c0_p2

Inbound packet filter resources of Pipe 2 on Chip 0.

pfilterin_c0_p3

Inbound packet filter resources of Pipe 3 on Chip 0.

pfilterin_c0_p4

Inbound packet filter resources of Pipe 4 on Chip 0.

pfilterin_c0_p5

Inbound packet filter resources of Pipe 5 on Chip 0.

pfilterin_c0_p6

Inbound packet filter resources of Pipe 6 on Chip 0.

pfilterin_c0_p7

Inbound packet filter resources of Pipe 7 on Chip 0.

pfilterout

Outbound packet filter resources.

pfilterout_c0

Outbound packet filter resources on Chip 0.

route

Routing resources.

rport

Layer 3 Ethernet interface resources.

subrport

Layer 3 Ethernet subinterface resources.

vlaninterface

VLAN interface resources.

vrf

VPN instance resources.

vsi

VSIs.

The device does not monitor this resource type in the current software version.

vsiintf

VSI interface resources.

The device does not monitor this resource type in the current software version.

slot slot-number: Specifies an IRF member device by its member ID.

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

restore factory-default

Use restore factory-default to restore the factory-default configuration for the device.

Syntax

restore factory-default

Views

User view

Predefined user roles

network-admin

Usage guidelines

CAUTION

CAUTION:

This command restores the device to the factory default settings. Before executing this command, make sure you understand its impact on the live network.

 

This command is disruptive. Use this command only when you cannot troubleshoot the device by using other methods, or you want to use the device in a different scenario.

Examples

# Restore the factory-default configuration for the device.

<Sysname> restore factory-default

This command will restore the system to the factory default configuration and clear the operation data. Continue [Y/N]:y

Restoring the factory default configuration. This process might take a few minutes. Please wait..........................................................................................................Done.

Please reboot the system to place the factory default configuration into effect.

Related commands

reboot

scheduler job

Use scheduler job to create a job and enter its view, or enter the view of an existing job.

Use undo scheduler job to delete a job.

Syntax

scheduler job job-name

undo scheduler job job-name

Default

No job exists.

Views

System view

Predefined user roles

network-admin

Parameters

job-name: Specifies the job name, a case-sensitive string of 1 to 47 characters.

Usage guidelines

A job can be referenced by multiple schedules. In job view, you can assign commands to the job.

Examples

# Create a job named backupconfig and enter job view.

<Sysname> system-view

[Sysname] scheduler job backupconfig

[Sysname-job-backupconfig]

Related commands

command

scheduler schedule

scheduler logfile size

Use scheduler logfile size to set the size of the job execution log file.

Syntax

scheduler logfile size value

Default

The size of the job execution log file is 16 KB.

Views

System view

Predefined user roles

network-admin

Parameters

value: Specifies the size of the job execution log file, in KB. The value range is 16 to 1024.

Usage guidelines

The job execution log file saves the execution information of jobs. If the file is full, old records are deleted to make room for new records. If the size of the log information to be written to the file is greater than the file size, the excessive information is not written to the file.

Examples

# Set the size of the job execution log file to 32 KB.

<Sysname> system-view

[Sysname] scheduler logfile size 32

Related commands

display scheduler logfile

scheduler reboot at

Use scheduler reboot at to specify the reboot date and time.

Use undo scheduler reboot to delete the reboot schedule configuration.

Syntax

scheduler reboot at time [ date ]

undo scheduler reboot

Default

No reboot date or time is specified.

Views

User view

Predefined user roles

network-admin

Parameters

time: Specifies the reboot time in the hh:mm format. The value range for hh is 0 to 23. The value range for mm is 0 to 59.

date: Specifies the reboot date in the MM/DD/YYYY or YYYY/MM/DD format. The value range for YYYY is 2000 to 2035. The value range for MM is 1 to 12. The value range for DD varies by month.

Usage guidelines

CAUTION

CAUTION:

This command enables the device to reboot at a scheduled time, which causes service interruption. Before using this command, make sure you fully understand its impact on your live network.

When the date argument is not specified, the system uses the following rules to determine the reboot time:

·     If the reboot time is later than the current time, a reboot occurs at the reboot time of the current day.

·     If the reboot time is earlier than the current time, a reboot occurs at the reboot time the next day.

The device supports only one device reboot schedule. If you execute both the scheduler reboot delay and scheduler reboot at commands or execute one of the commands multiple times, the most recent configuration takes effect.

For data security, the system does not reboot at the reboot time if a file operation is being performed.

Examples

# Configure the device to reboot at 12:00 p.m. This example assumes that the current time is 11:43 a.m. on June 6, 2015.

<Sysname> scheduler reboot at 12:00

Reboot system at 12:00:00 06/06/2015 (in 0 hours and 16 minutes). Confirm? [Y/N]:

Related commands

scheduler reboot delay

scheduler reboot delay

Use scheduler reboot delay to specify the reboot delay time.

Use undo scheduler reboot to delete the reboot schedule configuration.

Syntax

scheduler reboot delay time

undo scheduler reboot

Default

No reboot delay time is specified.

Views

User view

Predefined user roles

network-admin

Parameters

time: Specifies the reboot delay time in the hh:mm or mm format. This argument can contain up to six characters. When in the hh:mm format, mm must be in the range of 0 to 59.

Usage guidelines

CAUTION

CAUTION:

This command enables the device to reboot at a scheduled time, which causes service interruption. Before using this command, make sure you fully understand its impact on your live network.

The device supports only one device reboot schedule. If you execute both the scheduler reboot delay and schedule reboot at commands or execute one of the commands multiple times, the most recent configuration takes effect.

For data security, the system does not reboot at the reboot time if a file operation is being performed.

Examples

# Configure the device to reboot after 88 minutes. This example assumes that the current time is 11:48 a.m. on June 6, 2015.

<Sysname> scheduler reboot delay 88

Reboot system at 13:16 06/06/2015(in 1 hours and 28 minutes). Confirm? [Y/N]:

scheduler schedule

Use scheduler schedule to create a schedule and enter its view, or enter the view of an existing schedule.

Use undo scheduler schedule to delete a schedule.

Syntax

scheduler schedule schedule-name

undo scheduler schedule schedule-name

Default

No schedule exists.

Views

System view

Predefined user roles

network-admin

Parameters

schedule-name: Specifies the schedule name, a case-sensitive string of 1 to 47 characters.

Usage guidelines

You can configure a schedule to have the device automatically run a command or a set of commands without administrative interference.

To configure a schedule:

1.     Use the scheduler job command to create a job and enter job view.

2.     Use the command command to assign commands to the job.

3.     Use the scheduler schedule command to create a schedule and enter schedule view.

4.     Use the job command to assign the job to the schedule. You can assign multiple jobs to a schedule. The jobs must already exist.

5.     Use the user-role command to assign user roles to the schedule. You can assign up to 64 user roles to a schedule.

6.     Use the time at, time once, or time repeating command to specify an execution time for the schedule. You can specify only one execution time for a schedule.

Examples

# Create a schedule named saveconfig.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

Related commands

job

time at

time once

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

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

sysid

Use sysid to set the system ID.

Use undo sysid to restore the default.

Syntax

sysid system-id

undo sysid

Default

The device does not have a system ID.

Views

System view

Predefined user roles

network-admin

Parameters

system-id: Specifies the system ID for the device. You can use this argument to indicate the position or functionality of the device or any other information.

Examples

# Set the system ID of the device to position-hall.

<Sysname> system-view

[Sysname] sysid positon-hall

sysname

Use sysname to set the device name.

Use undo sysname to restore the default.

Syntax

sysname sysname

undo sysname

Default

The device name is H3C.

Views

System view

Predefined user roles

network-admin

Parameters

sysname: Specifies a name for the device, a string of 1 to 64 characters.

Usage guidelines

A device name identifies a device in a network and is used in CLI view prompts. For example, if the device name is Sysname, the user view prompt is <Sysname>.

Examples

# Set the name of the device to R2000.

<Sysname> system-view

[Sysname] sysname R2000

[R2000]

system-working-mode

Use system-working-mode to set the system operating mode.

Use undo system-working-mode to restore the default.

Syntax

system-working-mode standard

undo system-working-mode

Default

The device operates in standard mode.

Views

System view

Predefined user roles

network-admin

Parameters

standard: Sets the system operating mode to standard.

Usage guidelines

The system operating mode determines the supported features and the feature specifications. For more information, see device management in Fundamentals Configuration Guide.

Change to the operating mode takes effect after a reboot.

Examples

# Set the system operating mode to standard.

<Sysname> system-view

[Sysname] system-working-mode standard

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

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

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 | inflow | outflow } 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 an IRF member device by its member ID.

hotspot: Configures temperature alarm thresholds for hotspot sensors. A hotspot sensor is typically located near a high-heat chip to monitor the chip temperature.

inflow: Configures temperature alarm thresholds for inlet sensors. An inflow sensor is located near an air inlet to monitor the ambient temperature.

outflow: Configures temperature alarm thresholds for outlet sensors. An outflow sensor is located near an air outlet to monitor the device temperature.

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

time at

Use time at to specify an execution date and time for a non-periodic schedule.

Use undo time to delete the execution date and time configuration for a non-periodic schedule.

Syntax

time at time date

undo time

Default

No execution time or date is specified for a non-periodic schedule.

Views

Schedule view

Predefined user roles

network-admin

Parameters

time: Specifies the schedule execution time in the hh:mm format. The value range for hh is 0 to 23. The value range for mm is 0 to 59.

date: Specifies the schedule execution date in the MM/DD/YYYY or YYYY/MM/DD format. The value range for YYYY is 2000 to 2035. The value range for MM is 1 to 12. The value range for DD varies by month.

Usage guidelines

The specified time (date plus time) must be later than the current system time.

The time at command, the time once command, and the time repeating command overwrite one another. The most recently executed command takes effect.

Examples

# Configure the device to execute schedule saveconfig at 01:01 a.m. on May 11, 2015.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time at 1:1 2015/05/11

Related commands

scheduler schedule

time once

Use time once to specify one or more execution days and the execution time for a non-periodic schedule.

Use undo time to delete the execution day and time configuration for a non-periodic schedule.

Syntax

time once at time [ month-date month-day | week-day week-day&<1-7> ]

time once delay time

undo time

Default

No execution time or day is specified for a non-periodic schedule.

Views

Schedule view

Predefined user roles

network-admin

Parameters

at time: Specifies the execution time in the hh:mm format. The value range for hh is 0 to 23. The value range for mm is 0 to 59.

month-date month-day: Specifies a day in the current month, in the range of 1 to 31. If you specify a day that does not exist in the current month, the configuration takes effect on that day in the next month.

week-day week-day&<1-7>: Specifies a space-separated list of up to seven week days for the schedule. Valid week day values include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

delay time: Specifies the delay time for executing the schedule, in the hh:mm or mm format. This argument can have up to six characters. When in the hh:mm format, mm must be in the range of 0 to 59.

Usage guidelines

If the specified time has already occurred, the schedule will be executed at the specified time the following day.

If the day in the month has already occurred, the schedule will be executed at the specified day in the following month.

If the specified day in a week has already occurred, the schedule will be executed at the specified day in the following week.

The time at command, the time once command, and the time repeating command overwrite one another. The most recently executed command takes effect.

Examples

# Configure the device to execute schedule saveconfig once at 15:00.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time once at 15:00

Schedule starts at 15:00 5/11/2011.

# Configure the device to execute schedule saveconfig once at 15:00 on the coming 15th day in a month.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time once at 15:00 month-date 15

# Configure the device to execute schedule saveconfig at 12:00 p.m. on the coming Monday and Friday.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time once at 12:00 week-day mon fri

# Configure the device to execute schedule saveconfig after 10 minutes.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time once delay 10

Related commands

scheduler schedule

time repeating

Use time repeating to specify an execution time table for a periodic schedule.

Use undo time to delete the execution time table configuration for a periodic schedule.

Syntax

time repeating [ at time [ date ] ] interval interval

time repeating at time [ month-date [ month-day | last ] | week-day week-day&<1-7> ]

undo time

Default

No execution time table is specified for a periodic schedule.

Views

Schedule view

Predefined user roles

network-admin

Parameters

at time: Specifies the execution time in the hh:mm format. The value range for hh is 0 to 23. The value range for mm is 0 to 59. If you do not specify this option, the current system time is used as the execution time.

date: Specifies the start date for the periodic schedule, in the MM/DD/YYYY or YYYY/MM/DD format. The value range for YYYY is 2000 to 2035. The value range for MM is 1 to 12. The value range for DD varies by month. If you do not specify this argument, the execution start date is the first day when the specified time arrives.

interval interval: Specifies the execution time interval in the hh:mm or mm format. This argument can have up to six characters. When in the hh:mm format, mm must be in the range of 0 to 59. When in the mm format, this argument must be equal to or greater than 1 minute.

month-date [ month-day | last ]: Specifies a day in a month, in the range 1 to 31. The last keyword indicates the last day of a month. If you specify a day that does not exist in a month, the configuration takes effect on that day in the next month.

week-day week-day&<1-7>: Specifies a space-separated list of up to seven week days for the schedule. Valid week day values include Mon, Tue, Wed, Thu, Fri, Sat, and Sun.

Usage guidelines

The time repeating [ at time [ date ] ] interval interval command configures the device to execute a schedule at intervals from the specified time on.

The time repeating at time [ month-date [ month-day | last ] | week-day week-day&<1-7> ] command configures the device to execute a schedule at the specified time on every specified day in a month or week.

The time at command, the time once command, and the time repeating command overwrite one another, whichever is executed most recently takes effect.

Examples

# Configure the device to execute schedule saveconfig once an hour from 8:00 a.m. on.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time repeating at 8:00 interval 60

# Configure the device to execute schedule saveconfig at 12:00 p.m. every day.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time repeating at 12:00

# Configure the device to execute schedule saveconfig at 8:00 a.m. on the 5th of every month.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time repeating at 8:00 month-date 5

# Configure the device to execute schedule saveconfig at 8:00 a.m. on the last day of every month.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time repeating at 8:00 month-date last

# Configure the device to execute schedule saveconfig at 8:00 a.m. every Friday and Saturday.

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time repeating at 8:00 week-day fri sat

Related commands

scheduler schedule

transceiver diagnostic selector

Use transceiver diagnostic selector to specify a diagnostic selector for a transceiver module and display specified diagnostic information.

Syntax

transceiver diagnostic selector selector-id

Default

No diagnostic selector is specified for a transceiver module.

Views

200-GE interface view

400-GE interface view

Predefined user roles

network-admin

Parameters

selector-id: Specifies a diagnostic selector. The value range varies by transceiver module model.

Usage guidelines

This command is available only for 200G and 400G transceiver modules that support CMIS 4.0.

The command settings will be saved in a register of the transceiver module. If the transceiver module has a power loss, the command settings will be cleared. You must reconfigure the command after a power recovery.

Examples

# Specify diagnostic selector 1 for the transceiver module in FourHundredGigE 1/0/1 and display  specified diagnostic information.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver diagnostic selector 1

Lane     Host side BER     Media side BER

1        1.00E-7           1.00E-7

2        1.00E-7           1.00E-7

3        1.00E-7           1.00E-7

4        1.00E-7           1.00E-7

5        1.00E-7           1.00E-7

6        1.00E-7           1.00E-7

7        1.00E-7           1.00E-7

8        1.00E-7           1.00E-7

# Specify diagnostic selector 2 for the transceiver module in FourHundredGigE 1/0/1 and display specified diagnostic information.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver diagnostic selector 2

Lane     Host error count     Host total bits

1        1234567890           1234567890123456789

2        1234567890           1234567890123456789

3        1234567890           1234567890123456789

4        1234567890           1234567890123456789

# Specify diagnostic selector 6 for the transceiver module in FourHundredGigE 1/0/1 and display specified diagnostic information.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver diagnostic selector 6

Lane     Host peak detect        Host SNR        Media peak detect        Media SNR

1        12345                   18.00dB         12345                    18.00dB

2        12345                   18.00dB         12345                    18.00dB

3        12345                   18.00dB         12345                    18.00dB

4        12345                   18.00dB         12345                    18.00dB

5        12345                   18.00dB         12345                    18.00dB

6        12345                   18.00dB         12345                    18.00dB

7        12345                   18.00dB         12345                    18.00dB

8        12345                   18.00dB         12345                    18.00Db

transceiver host-fault-detect enable

Use transceiver host-fault-detect enable to enable fault detection on the transceiver host side.

Use undo transceiver host-fault-detect to disable fault detection on the transceiver host side.

Syntax

transceiver host-fault-detect enable

undo transceiver host-fault-detect

Default

Fault detection on the transceiver host side is disabled.

Views

400-GE Ethernet interface view and its breakout interface view

Predefined user roles

network-admin

Usage guidelines

Only the QSFPDD-400G-ZR transceiver module supports this command.

If a transceiver module is hot-swapped or reset, this command becomes invalid. You can execute this command again after a hot-swap or reset operation.

Examples

# Enable fault detection on the host side of the transceiver module in interface FourHundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver host-fault-detect enable

transceiver lane cdr

Use transceiver lane cdr to configure CDR on a transmit or receive lane for a QSFP transceiver module.

Use undo transceiver lane cdr to restore the default.

Syntax

transceiver lane [ lane-number ] cdr { tx | rx } { on | off }

undo transceiver lane [ lane-number ] cdr { tx | rx }

Default

CDR is enabled on a transmit or receive lane on a QSFP transceiver module.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

lane-number: Specifies a transceiver lane number, in the range of 1 to 4. If you do not specify a transceiver lane, the command applies to all transceiver lanes.

tx: Specifies the transmit link on the transceiver module.

rx: : Specifies the receive link on the transceiver module.

on: Enables CDR.

off: Disables CDR.

Usage guidelines

Enabling CDR can reduce the jitter to improve transmission performance, and disabling CDR degrades transmission performance. Both the enable and disable operations might cause oscillation on device ports.

The configuration by this command is saved in a register on the transceiver module. It is not saved to the configuration file.

This command is supported only on the QSFP transceiver modules.

Examples

# Enable CDR on the transmit side on the QSFP transceiver module in interface HundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] transceiver lane cdr tx on

This command will engage the internal retiming function of transceiver Tx route. Continue? [Y/N]:Y

# Disable CDR on the receive side on the QSFP transceiver module in interface HundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface hundredgige 1/0/1

[Sysname-HundredGigE1/0/1] transceiver lane cdr rx off

This command will enable an internal bypassing mode of transceiver Rx route, which directs traffic around the internal CDR. Continue? [Y/N]:Y

Related commands

display transceiver status

transceiver lane enable

Use transceiver lane enable to enable a lane on a transceiver module.

Use undo transceiver lane to disable a lane on a transceiver module.

Syntax

transceiver lane [ lane-number ] enable

undo transceiver lane [ lane-number ] enable

Default

All lanes on a transceiver module are enabled.

Views

Ethernet interface view

Predefined user roles

network-admin

Parameters

lane-number: Specifies a lane by its number in the range of 1 to 8. If you do not specify a lane, this command enables all lanes on the transceiver module.

Usage guidelines

Execute this command only 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.

This command is supported only on the 400G transceiver modules, SFP transceiver modules, and QSFP transceiver modules.

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 400G transceiver module.

Use undo transceiver lane equalization to restore the default.

Syntax

transceiver lane [ lane-number ] equalization { precursor precursor-value | postcursor postcursor-value | amplitude amplitude-value }

undo transceiver lane [ lane-number ] equalization { precursor | postcursor | amplitude }

Default

The default settings vary by transceiver module model.

Views

400-GE Ethernet interface view and its breakout interface view

Predefined user roles

network-admin

Parameters

lane-number: Specifies a lane by its number in the range of 1 to 8. If you do not specify a lane, this command configures the settings for all lanes on the transceiver module.

precursor precursor-value: Specifies the 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 optimizing high speed signals to achieve optimal fiber link transmission. 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 disables and then enables the transceiver module automatically, 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 loopback

Use transceiver lane loopback to enable loopback testing on a transceiver module lane and specify a loopback testing mode.

Use undo transceiver lane loopback to restore the default.

Syntax

transceiver lane [ lane-number ] loopback loopback-mode

undo transceiver lane [ lane-number ] loopback loopback-mode

Default

Loopback testing is disabled for transceiver module lanes.

Views

200-GE interface view

400-GE interface view

Predefined user roles

network-admin

Parameters

lane-number: Specifies a lane by its number. The value is in the range of 1 to 4 for a 200G transceiver module and in the range of 1 to 8 for a 400G transceiver module. If you do not specify a lane, this command applies to all lanes of the transceiver module.

loopback-mode: Specifies a loopback testing mode.

·     host-input: Loopbacks the signal from the transmitter of the host side to the receiver of the host side as the input signal of the host.

·     host-output: Loopbacks the signal received by the receiver of the host side to the transmitter of the host side as the output signal of the host.

·     media-input: Loopbacks the signal from the transmitter of the media side to the receiver of the media side as the input signal of the media.

·     media-output: Loopbacks the signal received by the receiver of the media side to the transmitter of the media side as the output signal of the media.

Usage guidelines

This command is available only for 200G and 400G transceiver modules that support CMIS 4.0.

This command tests whether messages can be forwarded correctly between the designated transmitter and receiver and helps identify the point of failure when the transceiver module fails to forward messages.

The command settings will be saved in a register of the transceiver module. If the transceiver module has a power loss, the command settings will be cleared. You must reconfigure the command after a power recovery.

Examples

# Enable loopback testing and specify a loopback testing mode for lanes of the transceiver module in FourHundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver lane loopback media-input

This operation causes the service to be down for a while. Continue? [Y/N]:Y

Related commands

transceiver lane pattern

transceiver lane pattern

Use transceiver lane pattern to configure the signal mode and signal transmission Pseudo Random Binary Sequence (PRBS) pattern for a transceiver module lane.

Use undo transceiver lane pattern to restore the default.

Syntax

transceiver lane [ lane-number ] pattern [ host-checker | host-generator media-checker | media-generator ] prbs-pattern

undo transceiver lane [ lane-number ] pattern

Default

The default settings vary by transceiver module model.

Views

200-GE interface view

400-GE interface view

Predefined user roles

network-admin

Parameters

lane-number: Specifies a lane by its number. The value is in the range of 1 to 4 for a 200G transceiver module and in the range of 1 to 8 for a 400G transceiver module. If you do not specify a lane, this command applies to all lanes of the transceiver module.

host-checker: Specifies the host-side signal check mode.

host-generator: Specifies the host-side signal generation mode.

media-checker: Specifies the media-side signal check mode.

media-generator: Specifies the medial-side signal generation mode.

prbs-pattern: Specifies a signal transmission PRBS pattern. The value range varies by transceiver module model.

Usage guidelines

This command is available only for 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 reconfigure the command after a power recovery.

Examples

# Specify the host-side signal generation mode and signal transmission pattern of PRBS-31Q for all lanes of the transceiver module in FourHundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver lane pattern host-generator PRBS-31Q

This operation causes the service to be down for a while. Continue? [Y/N]:Y

transceiver media-fault-detect enable

Use transceiver media-fault-detect enable to enable fault detection on the transceiver media side.

Use undo transceiver media-fault-detect to disable fault detection on the transceiver media side.

Syntax

transceiver media-fault-detect enable

undo transceiver media-fault-detect

Default

Fault detection on the transceiver media side is disabled.

Views

400-GE Ethernet interface view and its breakout interface view

Predefined user roles

network-admin

Usage guidelines

Only the QSFPDD-400G-ZR transceiver module supports this command.

If the transceiver is hot swapped or reset, you must re-execute this command for it to take effect.

Examples

# Enable fault detection on the media side of the transceiver module in FourHundredGigE 1/0/1.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver media-fault-detect enable

transceiver monitor enable

Use transceiver monitor enable to enable transceiver monitoring.

Use undo transceiver monitor enable to restore the default.

Syntax

transceiver monitor enable

undo transceiver monitor enable

Default

Transceiver monitoring is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

After transceiver monitoring is enabled, the device samples the parameters of transceiver modules periodically, including the input power and output power of transceiver modules. If a sampled value reaches the alarm threshold, the device generates a log to notify users.

Examples

# Enable transceiver monitoring.

<Sysname> system-view

[Sysname] transceiver monitor enable

Related commands

transceiver monitor interval

transceiver monitor interval

Use transceiver monitor interval to set a transceiver monitoring interval.

Use undo transceiver monitor interval to restore the default.

Syntax

transceiver monitor interval interval

undo transceiver monitor interval

Default

The transceiver monitoring interval is 600 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

interval: Specifies the transceiver monitoring interval in seconds. The value range is 300 to 3600.

Usage guidelines

After transceiver monitoring is enabled, the device samples the parameters of transceiver modules periodically, including the input power and output power of transceiver modules. If a sampled value reaches the alarm threshold, the device generates a log entry to notify users.

This command takes effect only when the transceiver monitor enable command is used.

Examples

# Set the transceiver monitoring interval to 500 seconds.

<Sysname> system-view

[Sysname] transceiver monitor interval 500

Related commands

transceiver monitor enable

transceiver optical-channel frequency

Use transceiver optical-channel frequency to set the frequency and frequency grid for a transceiver optical channel.

Use undo transceiver optical-channel frequency to restore the default.

Syntax

transceiver optical-channel optical-channel-number frequency frequency-value [ grid grid-value ]

undo transceiver optical-channel optical-channel-number frequency

Default

The default varies by transceiver module model.

Views

400-GE Ethernet interface view and its breakout interface view

Predefined user roles

network-admin

Parameters

optical-channel-number: Specifies an optical channel by its number. The value is 1.

frequency-value: Specifies an operating frequency for the transceiver optical channel, in the range of 191300000 to 196100000 MHz.

grid grid-value: Specifies the frequency grid for the transceiver optical channel. The value for the grid-value argument varies by transceiver module model. Valid values typically include the grid-value argument include 3125 MHz, 6250 MHz, 12500 MHz, 25000 MHz, 33000 MHz, 50000 MHz, 75000 MHz, and 100000 MHz. To view the grid values supported by a transceiver module, enter a question mark (?) in the place of the grid-value argument.

Usage guidelines

Only the QSFPDD-400G-ZR transceiver module supports this command

If you execute the transceiver optical-channel frequency or transceiver optical-channel optical-channel-number frequency frequency-value command on an interface, and then re-insert the transceiver module, the interface will flaps several times before it can operate correctly in the up state.

Before executing this command, calculate the frequency for a transceiver optical channel based on the grid and the reference frequency of 193100000 MHz. If the frequency is calculated incorrectly, the configuration by this command will fail. To calculate the frequency for a transceiver optical channel:

Frequency for a transceiver optical channel = 193100000 MHz ± Frequency grid for a transceiver optical channel × n. The value for n is an integer.

If the grid grid-value option is not configured, you can use any supported frequency grid value to calculate the frequency for a transceiver optical channel.

If the grid grid-value option is configured, you must use the specified grid value to calculate the frequency for a transceiver optical channel. If you fail to do so, the system will fail to set the frequency.

Examples

# Set the frequency for optical channel 1 of the transceiver module in FourHundredGigE1/0/1.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 frequency ?

  <191000000-195000000>

[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 frequency 193200000

transceiver optical-channel tx-power

Use transceiver optical-channel tx-power to set the transmit power for a transceiver optical channel.

Use undo transceiver optical-channel tx-power to restore the default.

Syntax

Use transceiver optical-channel optical-channel-number tx-power power-value

Use undo transceiver optical-channel optical-channel-number tx-power

Default

The transmit power of a transceiver optical channel is –10 dBm.

Views

400-GE Ethernet interface view and its breakout interface view

Predefined user roles

network-admin

Parameters

optical-channel-number: Specifies an optical channel by its number. The value is 1.

power-value: Specifies the transmit power in dBm, accurate to 0.01 dBm. The value range varies by transceiver module model.

Usage guidelines

Only the QSFPDD-400G-ZR transceiver module supports this command.

Examples

# Set the transmit power of optical channel 1 of the transceiver in FourHundredGigE 1/0/1 to –5 dBm.

<Sysname> system-view

[Sysname] interface fourhundredgige 1/0/1

[Sysname-FourHundredGigE1/0/1] transceiver optical-channel 1 tx-power -5

transceiver power-mode

Use transceiver power-mode to set a power mode for a transceiver module.

Use undo transceiver power-mode to restore the default.

Syntax

transceiver power-mode { high | low }

undo transceiver power-mode

Default

The high power mode is specified for a transceiver module.

Views

Ethernet 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. To transmit signals, set high power mode for the transceiver module.

The power mode setting is saved in a register on the transceiver module. It is not saved to the configuration file.

This command is supported only on the 400G transceiver modules and QSFP transceiver modules.

Examples

# Set high power mode 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 power-mode high

# Set low power mode 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 power-mode low

This command will place the transceiver module in low-power-consumption mode, disabling the transceiver module from transmitting data. Continue? [Y/N]:Y

Related commands

display transceiver status

transceiver working-mode

Use transceiver working-mode to set an operating mode for a 400G transceiver module.

Use transceiver working-mode to restore the default.

Syntax

transceiver working-mode working-mode

undo transceiver working-mode

Default

The default settings vary by device model.

Views

400-GE Ethernet interface view and its breakout interface view

Predefined user roles

network-admin

Parameters

working-mode: Specifies an operating mode in a case-insensitive string, such as 400G-SR8 and 200G-SR4.

Usage guidelines

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.

For successful communication, two directly connected transceiver modules must be configured with the same operating mode.

The operating mode setting is saved in a register on the transceiver module. It is not saved to the configuration file.

Examples

# Set the operating mode to 400G-SR8 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 working-mode 400G-SR8

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

user-role

Use user-role to assign user roles to a schedule.

Use undo user-role to remove user roles from a schedule.

Syntax

user-role role-name

undo user-role role-name

Default

A schedule has the user roles of the schedule creator.

Views

Schedule view

Predefined user roles

network-admin

Parameters

role-name: Specifies a user role name, a case-sensitive string of 1 to 63 characters. The user role can be user-defined or predefined. Predefined user roles include network-admin, network-operator, and level-0 to level-15.

Usage guidelines

A schedule must have one or more user roles. A command in a schedule can be executed if it is permitted by one or more user roles of the schedule. For more information about user roles, see the RBAC configuration in Fundamentals Configuration Guide.

A schedule can have a maximum of 64 user roles. After the limit is reached, you cannot assign additional user roles to the schedule.

Examples

# Assign user role rolename to schedule test.

<Sysname> system-view

[Sysname] scheduler schedule test

[Sysname-schedule-test] user-role rolename

Related commands

command

scheduler schedule

 

 

 

 

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网