01-Fundamentals

HomeSupportResource CenterH3C Access Controllers Command References(E5208P03 E5215P01 R5215P01)-6W10201-Fundamentals
08-Device management commands
Title Size Download
08-Device management commands 290.15 KB

Device management commands

The WX1800H series, WX2500H series, and WX3000H series access controllers do not support the slot keyword or the slot-number argument.

clock datetime

Use clock datetime to set the local system time.

Syntax

clock datetime time date

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

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.

Examples

# Set the local system time to 08:08:08 01/01/2017.

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

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

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

Related commands

·     clock protocol

·     clock summer-time

·     clock timezone

·     display clock

clock protocol

Use clock protocol to specify the system time source.

Use undo clock protocol to restore the default.

Syntax

clock protocol { none | ntp }

undo clock protocol

Default

The device uses the NTP time source.

Views

System view

Predefined user roles

network-admin

Parameters

none: Uses the local system time.

ntp: Uses NTP to obtain the UTC time. You must configure NTP correctly. For more information about NTP, 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 configure 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 configure the clock protocol ntp command, the device obtains the UTC time through NTP and calculates the system time. The device then periodically synchronizes the UTC time and recalculates the system time.

The system time calculated by using the UTC time from an NTP time source is more precise.

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

Examples

# Configure the device to use the local system time.

<Sysname> system-view

[Sysname] clock protocol none

clock summer-time

Use clock summer-time to configure the device to use daylight saving time during a specific period of time.

Use undo clock summer-time to cancel the configuration.

Syntax

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

undo clock summer-time

Default

Daylight saving time is disabled.

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 system uses the UTC time zone.

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.

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.

A job cannot contain any of these commands: telnet, ftp, ssh2, and monitor process.

A schedule does not support user interaction. 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.

If a command uses the ID of an existing command, the existing command is replaced.

Examples

# Assign commands to the job backupconfig to back up the configuration file startup.cfg 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 job shutdownGE to shut down GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] scheduler job shutdownGE

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

[Sysname-job-shutdownGE] command 2 interface gigabitethernet 1/0/1

[Sysname-job-shutdownGE] command 3 shutdown

Related commands

scheduler job

copyright-info enable

Use copyright-info enable to enable displaying the copyright statement.

Use undo copyright-info enable to disable displaying the copyright statement.

Syntax

copyright-info enable

undo copyright-info enable

Default

The copyright statement is displayed.

Views

System view

Predefined user roles

network-admin

Examples

# Enable displaying the copyright statement.

<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 clock

Use display clock to display the system time, date, local 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 local time zone is not specified.

<Sysname> display clock

10:09:00 UTC Fri 02/16/2017

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

<Sysname> display clock

15:10:00 Z5 Fri 02/16/2017

Time Zone : Z5 add 05:00:00

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

<Sysname> display clock

15:11:00 Z5 Fri 02/16/2017

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, including software and hardware copyright statements, and software license information.

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 ]

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, this command displays CPU usage statistics in text form.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays CPU usage statistics for all member devices.

Usage guidelines

After startup, the device tracks the average CPU usage at the following intervals:

·     5 seconds.

·     1 minute.

·     5 minutes.

This command displays the average CPU usage values during the last 5-second, 1-minute, and 5-minute intervals.

Examples

# (IRF-incapable devices.) Display the current CPU usage statistics in text form.

<Sysname> display cpu-usage

Unit CPU usage:

       1% in last 5 seconds

       1% in last 1 minute

       1% in last 5 minutes

# (IRF-capable devices.) Display the current CPU usage statistics for all member devices in text form.

<Sysname> display cpu-usage

Slot 1 CPU 0 CPU usage:

       6% in last 5 seconds

      10% in last 1 minute

       5% in last 5 minutes

Slot 2 CPU 0 CPU usage:

       5% in last 5 seconds

       8% in last 1 minute

       5% in last 5 minutes

# Display the current CPU usage statistics for all member devices in table form.

<Sysname> display cpu-usage

Slot CPU        Last 5 sec        Last 1 min        Last 5 min

1    0          22%               54%               44%

2    0          17%               29%               28%

Table 1 Command output

Field

Description

Unit CPU usage

CPU usage statistics.

Slot

Member ID of the IRF member device.

CPU

Number of the CPU.

x% in last 5 seconds

Last 5 sec

Average CPU usage during the last 5-second interval.

y% in last 1 minute

Last 1 min

Average CPU usage during the last 1-minute interval.

z% in last 5 minutes

Last 5 min

Average CPU usage during the last 5-minute interval.

Slot x CPU y CPU usage

Usage statistics for CPU y of member device x.

 

display cpu-usage configuration

Use display cpu-usage configuration to display CPU usage monitoring settings.

Syntax

display cpu-usage configuration [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays the CPU usage monitoring settings for the master device.

Examples

# Display the CPU usage monitoring settings.

<Sysname> display cpu-usage configuration

CPU usage monitor is enabled.

Current monitor interval is 60 seconds.

Current monitor threshold is 90%.

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 ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

job job-id: Specifies a process by its ID. 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 an IRF member device by its member ID. If you specify a process but do not specify a member device, this command displays the statistics for the process on the master device. If you do not specify any options, this command displays the statistics for all processes on all member devices.

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 for the entire system.

<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 of member device 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 than 2%.

# Display the historical CPU usage statistics for process 1.

<Sysname> display cpu-usage history job 1

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 (scmd)

The output shows the following items:

·     Process name, which is scmd. A process name in  a pair of square brackets ([ ]) represents a kernel process.

·     CPU that is holding the process: CPU 0 of member device 1.

·     Historical CPU usage statistics for process 1 in the last 60 minutes.

¡     20 minutes ago: Approximately 5%.

¡     Other time: 2% or lower than 2%.

Related commands

·     monitor cpu-usage enable

·     monitor cpu-usage interval

display device

Use display device to display device information.

Syntax

display device [ cf-card ] [ slot slot-number | verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

cf-card: Specifies the CF cards.

The following matrix shows the cf-card keyword and hardware compatibility:

 

Hardware series

Model

Keyword compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

WX2540H

WX2560H

No

WX3000H series

WX3010H-X

Yes

WX3010H

WX3010H-L

WX3024H

WX3024H-L

No

WX3500H series

WX3508H

No

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Yes

 

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays hardware information for all member devices.

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

Usage guidelines

If you do not specify the cf-card keyword, this command displays information about cards on the device.

Examples

# Display device information about all IRF member devices in the IRF fabric.

<Sysname> display device

Slot No.  Subslot No. Board Type        Status    Max Ports                     

1         0           WX3510H           Normal    8

Table 2 Command output

Field

Description

Slot No.

IRF member device ID.

Subslot No.

Subslot number of the subcard.

Board Type

Hardware type.

Status

Hardware status:

·     Normal—The hardware is operating correctly.

·     Fault—The hardware is not operating correctly.

Max Ports

Maximum number of ports supported.

 

display device manuinfo

Use display device manuinfo to display electronic label information for the device.

Syntax

display device manuinfo [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays electronic label information for all member devices.

Usage guidelines

An electronic label is a profile of a device or card. It contains the permanent configuration, including the serial number, manufacturing date, MAC address, and vendor name. The data is written to the storage component during debugging or testing.

Examples

# Display electronic label information for the device.

<Sysname> display device manuinfo

Slot 1 CPU 0:                                                                  

@@                                                                             

DEVICE_NAME:WX3510H                                                            

DEVICE_SERIAL_NUMBER:210235A1JNC14B900031                                      

MAC_ADDRESS:000f-e212-6103                                                     

MANUFACTURING_DATE:2016-05-08                                                  

VENDOR_NAME:H3C                                                                

##

Table 3 Command output

Field

Description

Slot 1 CPU 0

Member ID of the device and number of the CPU.

DEVICE_NAME

Device name.

DEVICE_SERIAL_NUMBER

Serial number.

MAC_ADDRESS

MAC address.

MANUFACTURING_DATE

Manufacturing date.

VENDOR_NAME

Vendor name.

 

display device manuinfo fan

Use display device manuinfo fan to display electronic label information for a fan.

Syntax

display device manuinfo slot slot-number fan fan-id

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

fan-id: Specifies a fan by its ID.

The following matrix shows the fan-id argument and hardware compatibility:

 

Hardware series

Model

Argument compatibility

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

No

N/A

WX2500H series

WX2510H

WX2540H

No

N/A

WX2560H

Yes

1

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

No

N/A

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

No

N/A

WX5500E series

WX5510E

WX5540E

No

N/A

WX5500H series

WX5540H

WX5560H

WX5580H

No

N/A

Access controller modules

EWPXM1WCME0

LSUM1WCME0

Yes

1

EWPXM1MAC0F

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCMX20RT

LSUM1WCMX40RT

No

N/A

 

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

WX2540H

No

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

No

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

No

WX5500E series

WX5510E

WX5540E

No

WX5500H series

WX5540H

WX5560H

WX5580H

No

Access controller modules

EWPXM1WCME0

LSUM1WCME0

Yes

EWPXM1MAC0F

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

Examples

# Display electronic label information for fan 2 on IRF member device 1.

<Sysname> display device manuinfo fan 2

Slot 1:

Fan 2:

DEVICE_NAME          : fan

DEVICE_SERIAL_NUMBER : 210235A36L1234567890

MAC_ADDRESS          : NONE

MANUFACTURING_DATE   : 2017-01-20

VENDOR_NAME          : H3C

display device manuinfo power

Use display device manuinfo power to display electronic label information for a power supply.

Syntax

display device manuinfo slot slot-number power power-id

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

power-id: Specifies a power supply by its ID.

The following matrix shows the power-id argument and hardware compatibility:

 

Hardware series

Model

Argument compatibility

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

No

N/A

WX2500H series

WX2510H

WX2540H

WX2560H

No

N/A

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

No

N/A

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

No

N/A

WX5500E series

WX5510E

WX5540E

No

N/A

WX5500H series

WX5540H

No

N/A

WX5560H

Yes

1 to 2

WX5580H

Yes

1

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

N/A

 

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

WX2540H

WX2560H

No

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

No

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

No

WX5500E series

WX5510E

WX5540E

No

WX5500H series

WX5540H

No

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

Examples

# Display electronic label information for power supply 1 on IRF member device 1.

<Sysname> display device manuinfo slot 1 power 1

Power 1:

DEVICE_NAME          : power

DEVICE_SERIAL_NUMBER : 210235A36L1234567890

MANUFACTURING_DATE   : 2017-01-20

VENDOR_NAME          : H3C

display diagnostic-information

Use display diagnostic-information to display or save device diagnostic information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

hardware: Specifies hardware-related diagnostic information.

infrastructure: Specifies diagnostic information for the fundamental features.

l2: Specifies diagnostic information for the Layer 2 features.

l3: Specifies diagnostic information for the Layer 3 features.

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

key-info: Displays or saves only critical diagnostic information. The device might have a large amount of diagnostic 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 diagnostic information. If you do not specify this keyword, the command displays or saves both critical and non-critical diagnostic information.

filename: Saves the information to a file. The filename argument must use the .tar.gz extension.

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 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, if the device name is A/B, the file name uses A_B, as in flash:/diag_A_B_20170101-000438.tar.gz.

This command does not support the |, >, or >> option.

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

Examples

# Display the device diagnostic information.

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

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

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

...

# Save the device diagnostic 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_Sysnme_20170101-024601.tar.gz]:

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

Please wait...

Save successfully.

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

# Save the device diagnostic information 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, including the temperature thresholds and the current temperature values.

Syntax

display environment [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays temperature information for all member devices.

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

Yes

WX2500H series

WX2510H

WX2560H

Yes

WX2540H

No

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Yes

 

Examples

# Display information about all temperature sensors on the device.

<Sysname> display environment

System temperature information (degree centigrade):

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

Slot  Sensor       Temperature  LowerLimit  WarningLimit  AlarmLimit  ShutdownLimit

0     inflow 1     27           -10         50            70          100

0     hotspot 1    53           10          50            80          100

Table 4 Command output

Field

Description

System temperature information (degree centigrade)

Temperature information (°C).

sensor

Temperature sensor:

·     hotspot—Hotspot sensor.

·     inflow—Air inlet sensor.

Slot

A number in this field indicates an IRF member device.

Temperature

Current temperature.

LowerLimit

Lower temperature limit.

WarningLimit

Warning temperature threshold.

AlarmLimit

Alarming temperature threshold.

ShutdownLimit

Shutdown temperature threshold. When the sensor temperature reaches the limit, the system shuts down automatically.

 

display fan

Use display fan to display fan operating status information.

Syntax

display fan [ slot slot-number [ fan-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays fan operating status information for all member devices.

fan-id: Specifies a fan by its ID. If you do not specify a fan, this command displays operating status information for all fans at the specified position.

The following matrix shows the fan-id argument and hardware compatibility:

 

Hardware series

Model

Argument compatibility

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

No

N/A

WX2500H series

WX2510H

WX2540H

No

N/A

WX2560H

Yes

1

WX3000H series

WX3010H

WX3024H-L

Yes

1 to 3

WX3010H-L

WX3010H-X

WX3024H

Yes

1 to 2

WX3500H series

WX3508H

Yes

1

WX3510H

WX3520H

WX3540H

Yes

1 to 3

WX5500E series

WX5510E

Yes

1 to 3

WX5540E

Yes

1 to 4

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

1 to 4

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Yes

1

 

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

WX2540H

No

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Yes

 

Examples

# Display the operating states of all fans.

<Sysname> display fan

Fan 1 State: Normal

Fan 2 State: Normal

display memory

Use display memory to display memory usage information.

Syntax

display memory [ summary ] [ slot slot-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, this command displays detailed information about memory usage.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays memory usage for all member devices.

Examples

# Display brief memory usage information.

<Sysname> display memory summary

Memory statistics are measured in KB:                                          

Slot 1:                                                          

             Total      Used      Free    Shared   Buffers    Cached   FreeRatio

Mem:       3774732   1608528   2166204         0      1188    188096       57.4%

-/+ Buffers/Cache:   1419244   2355488                                         

Swap:           0         0         0

Table 5 Command output

Field

Description

Slot

Member ID of the IRF member device.

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

Buffers

Physical memory used for buffers.

Cached

Physical memory used for caches.

FreeRatio

Free memory ratio.

-/+ Buffers/Cache

-/+ Buffers/Cache:used = Mem:Used – Mem:Buffers – Mem:Cached, which indicates the physical memory used by applications.

-/+ Buffers/Cache:free = Mem:Free + Mem:Buffers + Mem:Cached, which indicates the physical memory available for applications.

Swap

Swap memory.

 

display memory-threshold

Use display memory-threshold to display memory alarm thresholds and statistics.

Syntax

display memory-threshold [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays the memory usage thresholds and statistics for the master device.

Usage guidelines

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

Examples

# Display memory alarm thresholds and statistics.

<Sysname> display memory-threshold

Memory usage threshold: 100%

Free memory threshold:

     Minor: 64M

     Severe: 48M

     Critical: 32M

     Normal: 96M

Current memory state: Normal

Event statistics:

 [Back to normal state]

    First notification: 2017-2-15 09:21:35.546

    Latest notification: 2017-2-15 09:21:35.546

    Total number of notifications sent: 1

 [Enter minor low-memory state]

    First notification at: 2017-2-15 09:07:05.941

    Latest notification at: 2017-2-15 09:07:05.941

    Total number of notifications sent: 1

 [Back to minor low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Enter severe low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Back to severe low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

 [Enter critical low-memory state]

    First notification at: 0.0

    Latest notification at: 0.0

    Total number of notifications sent: 0

display power

Use display power to display power supply information.

Syntax

display power [ slot slot-number [ power-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command displays power supply information for all member devices.

power-id: Specifies a power supply by its ID. If you do not specify a power supply, this command displays information about all power supplies at the specified position.

The following matrix shows the power-id argument and hardware compatibility:

 

Hardware series

Model

Argument compatibility

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

No

N/A

WX2500H series

WX2510H

WX2540H

No

N/A

WX2560H

Yes

1

WX3000H series

WX3010H-L

Yes

1

WX3010H

WX3010H-X

WX3024H

WX3024H-L

Yes

1 to 2

WX3500H series

WX3508H

Yes

1

WX3510H

WX3520H

WX3540H

Yes

2

WX5500E series

WX5510E

Yes

1

WX5540E

Yes

2

WX5500H series

WX5540H

Yes

2

WX5560H

Yes

1 to 2

WX5580H

Yes

1

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

N/A

 

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

WX2540H

No

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

Examples

# Display power supply information.

<Sysname> display power

Power 1 State: Normal

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 has no command, 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 Feb 27 10:44:42 2017

Completion time : Tue Feb 27 10:44:47 2017

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

<Sysname>system-view

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

[Sysname]interface rang gigabitethernet 1/0/1 to gigabitethernet 1/0/3

[Sysname-if-range]shutdown

Table 6 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 has no 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 03/03/2017 (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 Feb 27 10:44:42 2017

Last execution time  : Tue Feb 27 10:44:42 2017

Last completion time : Tue Feb 27 10:44:47 2017

Execution counts     : 1

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

Job name                                          Last execution status

shutdown                                          Successful

Table 7 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 stable state

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

Syntax

display system stable state

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

The device takes some time to start up. If the values of the status fields do not change to Stable, execute this command multiple times to identify the device or member 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 cards in Fault state.

·     Use the display ha service-group command to display the status of HA service groups and identify the groups in batch backup state.

·     Use the display system internal ha service-group command to display service operating status.

Examples

# (IRF-incapable devices.) Display system stability and status information.

<Sysname> display system stable state

System state    : Stable

  Role      State

  Active    Stable

# (IRF-capable devices.) Display system stability and status information.

<Sysname> display system stable state

System state    : Not ready

Redundancy state: Not ready

  Slot   CPU   Role      State

  1      0     Active    Stable

* 2      0     Standby   HA batch backup

Table 8 Command output

Field

Description

System state

System status:

·     StableThe system is operating stably. This value is displayed only on IRF-capable devices.

·     Not ready—The system is not operating stably.

Redundancy state

This field is available only on IRF-capable devices.

System redundancy status:

·     Stable—Both MPUs are operating stably. You can perform a switchover.

·     No redundance—The system has only one MPU and the MPU is operating stably. You cannot perform a switchover.

·     Not ready—The system is not operating stably. You cannot perform a switchover.

Role

Role of the member in the system:

·     Active—The member is the master.

·     Standby—The member is a subordinate member.

State

Device status:

·     Stable—The device is operating stably.

The following states are available only on IRF-capable devices:

·     Board Inserted—The member device has just been installed.

·     Kernel initiating—Kernel of the member device is being initialized.

·     Service starting—Services on the member device are starting.

·     Service stopping—Services on the member device are stopping.

·     HA batch backup—An HA batch backup is going on.

·     Interface data batch backupAn interface data batch backup is in progress.

*

The object is not operating stably.

 

Related commands

·     display device

·     display system internal process state (Device management probe commands)

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

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

No

WX2540H

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

Table 9 shows the common transceiver alarm components. If no error occurs, "None" is displayed.

Table 9 Common transceiver alarm components

Field

Description

SFP/SFP+/GBIC/SFF:

RX

Receive

TX

Transmit

power

Optical power

Temp

Temperature

QSFP+:

RX

Receive

TX

Transmit

power

Optical power

Temp

Temperature

CFP:

RX

Receive

TX

Transmit

power

Optical power

Temp

Temperature

REFCLK

Reference clock

XFP:

RX

Receive

TX

Transmit

power

Optical power

Temp

Temperature

APD

Avalanche photo diode

TEC

Thermoelectric cooler

XENPAK:

RX

Receive

TX

Transmit

power

Optical power

Temp

Temperature

WIS

WAN interface sublayer

PMA/PMD

Physical medium attachment/physical medium dependent

PCS

Physical coding sublayer

PHY XS

PHY extended sublayer

 

Examples

# Display the alarms present on the transceiver module in interface Ten-GigabitEthernet 1/0/9.

<Sysname> display transceiver alarm interface ten-gigabitethernet 1/0/9

Ten-GigabitEthernet1/0/9 transceiver current alarm information:

  RX loss of signal

  RX power low

Table 10 Command output

Field

Description

transceiver current alarm information

Alarms present on the transceiver module.

RX loss of signal

Received signals are lost.

RX power low

Received power is low.

 

display transceiver diagnosis

Use display transceiver diagnosis to display the current values of the digital diagnosis parameters on transceiver modules.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays the current values of the digital diagnosis parameters on every transceiver module.

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

No

WX2540H

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

This command cannot display information about some transceiver modules.

Examples

# Display the current values of the digital diagnosis parameters on the transceiver module in interface Ten-GigabitEthernet 1/0/9.

<Sysname> display transceiver diagnosis interface ten-gigabitethernet 1/0/9

Ten-GigabitEthernet1/0/9 transceiver diagnostic information:

  Current diagnostic parameters:

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

    36        3.31        6.13      -35.64          -5.19

  Alarm thresholds:

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

    High   50         3.55        1.44      -10.00         5.00

    Low    30         3.01        1.01      -30.00         0.00

Table 11 Command output

Field

Description

transceiver diagnostic information

Digital diagnosis information for the transceiver module in the interface.

Temp.(°C)

Temperature in °C, accurate to 1°C.

Voltage(V)

Voltage in V, accurate to 0.01 V.

Bias(mA)

Bias current in mA, accurate to 0.01 mA.

RX power(dBm)

Receive power in dBm, accurate to 0.01 dBm.

TX power(dBm)

Transmit power in dBm, accurate to 0.01 dBm.

 

display transceiver 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.

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

No

WX2540H

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

Examples

# Display the key parameters of the transceiver module in interface Ten-GigabitEthernet 1/0/9.

<Sysname> display transceiver interface ten-gigabitethernet 1/0/9

Ten-GigabitEthernet1/0/9 transceiver information:

  Transceiver Type              : 1000_BASE_SX_SFP

  Connector Type                : LC

  Wavelength(nm)                : 850

  Transfer Distance(m)          : 550(50um),270(62.5um)

  Digital Diagnostic Monitoring : YES

  Vendor Name                   : H3C

  Ordering Name                 : SFP-GE-SX-MM850

Table 12 Command output

Field

Description

Connector Type

Connector types:

·     SC—Fiber connector developed by NTT.

·     LC—1.25 mm/RJ-45 fiber connector developed by Lucent.

·     RJ-45.

·     CX 4.

Wavelength(nm)

Central wavelength (in nm) of the transmit laser. If the transceiver supports multiple wavelengths, every two wavelength values are separated by a comma.

For a copper cable, this field displays N/A.

Transfer Distance(xx)

Transmission distance, where xx indicates the distance unit:

·     km—Kilometers, for single-mode transceiver modules.

·     m—Meters, for other transceiver modules.

If the transceiver module supports multiple types of transmission media, this field displays the transmission distance for each type, in the form transmission distance (medium type).

Transmission medium types include:

·     9 um9/125 µm single-mode fiber.

·     50 um50/125 µm multimode fiber.

·     62.5 um62.5/125 µm multimode fiber.

·     TPTwisted pair.

·     CX4CX4 cable.

Digital Diagnostic Monitoring

Support for the digital diagnosis function:

·     YES—Supported.

·     NO—Not supported.

Ordering Name

Product code.

 

display transceiver manuinfo

Use display transceiver manuinfo to display electronic label information for transceiver modules.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface [ interface-type interface-number ]: Specifies an interface by its type and number. If no interface is specified, this command displays electronic label information for the transceiver modules on all interfaces.

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

No

WX2500H series

WX2510H

No

WX2540H

WX2560H

Yes

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

No

 

This command displays only part of the electronic label information.

Examples

# Display electronic label information for the transceiver module on interface Ten-GigabitEthernet 1/0/9.

<Sysname> display transceiver manuinfo interface ten-gigabitethernet 1/0/9

Ten-GigabitEthernet1/0/9 transceiver manufacture information:

  Manu. Serial Number  : 213410A0000054000251

  Manufacturing Date   : 2017-02-01

  Vendor Name          : H3C

Table 13 Command output

Field

Description

Manu. Serial Number

Serial number generated during production of the transceiver module.

Manufacturing Date

Date when the electronic label information was written to the transceiver module.

 

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

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 }

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 configure a single-line banner or a multiline banner. For more information, see Fundamentals Configuration Guide.

Examples

# Configure the incoming banner, legal banner, login banner, MOTD banner, and shell banner.

<Sysname> system-view

[Sysname] header incoming

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

Welcome to incoming(header incoming)%

[Sysname] header legal

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

Welcome to legal (header legal)%

[Sysname] header login

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

Welcome to login(header login)%

[Sysname] header motd

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

Welcome to motd(header motd)%

[Sysname] header shell

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

Welcome to shell(header shell)%

In this example, the percentage sign (%) is the starting and ending character for each banner and is not included in the banners.

# Telnet to the device to test the configuration. The login banner appears only when password or scheme login authentication has been configured.

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

* 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.                    *

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

 

 

Welcome to legal (header legal)

 Press Y or ENTER to continue, N to exit.

 

Welcome to motd(header motd)

 

Welcome to login(header login)

 

Login authentication

 

 

Password:

 

Welcome to shell(header shell)

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

memory-threshold

Use memory-threshold to set free-memory thresholds.

Use undo memory-threshold to restore the defaults.

Syntax

memory-threshold [ slot slot-number ] minor minor-value severe severe-value critical critical-value normal normal-value

undo memory-threshold [ slot slot-number ]

Default

The following matrix shows the default values for the arguments:

 

Hardware series

Model

Default (MB)

WX1800H series

WX1804H

WX1810H

WX1820H

Minor alarm threshold: 96

Severe alarm threshold: 64

Critical alarm threshold: 48

Normal state threshold: 128

WX2500H series

WX2510H

WX2540H

WX2560H

Minor alarm threshold: 96

Severe alarm threshold: 64

Critical alarm threshold: 48

Normal state threshold: 128

WX3000H series

WX3010H

WX3010H-L

WX3024H

WX3024H-L

Minor alarm threshold: 96

Severe alarm threshold: 64

Critical alarm threshold: 48

Normal state threshold: 128

WX3010H-X

Minor alarm threshold: 352

Severe alarm threshold: 256

Critical alarm threshold: 192

Normal state threshold: 384

WX3500H series

WX3508H

Minor alarm threshold: 96

Severe alarm threshold: 64

Critical alarm threshold: 48

Normal state threshold: 128

WX3510H

WX3520H

WX3540H

Minor alarm threshold: 352

Severe alarm threshold: 256

Critical alarm threshold: 192

Normal state threshold: 384

WX5500E series

WX5510E

Minor alarm threshold: 352

Severe alarm threshold: 256

Critical alarm threshold: 192

Normal state threshold: 384

WX5540E

Minor alarm threshold: 384

Severe alarm threshold: 256

Critical alarm threshold: 192

Normal state threshold: 512

WX5500H series

WX5540H

WX5560H

WX5580H

Minor alarm threshold: 384

Severe alarm threshold: 256

Critical alarm threshold: 192

Normal state threshold: 512

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Minor alarm threshold: 96

Severe alarm threshold: 64

Critical alarm threshold: 48

Normal state threshold: 128

 

Views

System view

Predefined user roles

network-admin

Parameters

minor minor-value: Specifies the minor alarm threshold in MB. This threshold must be equal to or less than the normal state threshold. Setting this threshold to 0 disables the minor alarm function.

The following matrix shows the value ranges for the minor-value argument:

 

Hardware series

Model

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

0 to 992

WX2500H series

WX2510H

WX2540H

WX2560H

0 to 992:

·     WX2510H

·     WX2540H

0 to 985: WX2560H

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

0 to 1004:

·     WX3010H-L

·     WX3024H-L

0 to 1996:

·     WX3010H

·     WX3024H

0 to 3686: WX3010H-X

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

0 to 1996: WX3508H

0 to 3686:

·     WX3510H

·     WX3520H

·     WX3540H

WX5500E series

WX5510E

WX5540E

0 to 3686: WX5510E

0 to 7704: WX5540E

WX5500H series

WX5540H

WX5560H

WX5580H

0 to 7704: WX5540H

0 to 31775:

·     WX5560H

·     WX5580H

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

0 to 7088:

·     EWPXM1WCME0

·     LSUM1WCME0

0 to 6579:

·     EWPXM1MAC0F

·     EWPXM2WCMD0F

·     LSQM1WCMX20

·     LSUM1WCMX20RT

0 to 29663:

·     LSQM1WCMX40

·     LSUM1WCMX40RT

 

severe severe-value: Specifies the severe alarm threshold in MB. This threshold must be equal to or less than the minor alarm threshold. Setting this threshold to 0 disables the severe alarm function.

critical critical-value: Specifies the critical alarm threshold in MB. This threshold must be equal to or less than the severe alarm threshold. Setting this threshold to 0 disables the critical alarm function.

normal normal-value: Specifies the normal state threshold in MB. This threshold must be equal to or less than the total memory size.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command sets free-memory thresholds for the master device.

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 exceeds a free-memory threshold, the system generates an alarm notification and sends it to affected service modules or processes. If the amount of free memory space drops below a free-memory threshold, the system generates an alarm-removed notification and sends it to affected service modules or processes. For more information about the thresholds, see Fundamentals Configuration Guide.

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

Related commands

display memory-threshold

memory-threshold usage

Use memory-threshold usage to set the memory usage threshold.

Use undo memory-threshold usage to restore the default.

Syntax

memory-threshold [ slot slot-number ] usage memory-threshold

undo memory-threshold [ slot slot-number ] usage

Default

The memory usage threshold is 100%.

Views

System view

Predefined user roles

network-admin

Parameters

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

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command sets the memory usage threshold for the master device.

Usage guidelines

The device samples memory usage at an interval of 1 minute. 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 chassis 1 slot 2 cpu 1 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 ]

undo monitor cpu-usage enable [ slot slot-number ]

Default

CPU usage monitoring is enabled.

Views

System view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command enables CPU usage monitoring for the master device.

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.

Syntax

monitor cpu-usage interval interval-value [ slot slot-number ]

Default

The system samples CPU usage every 1 minute.

Views

System view

Predefined user roles

network-admin

Parameters

interval-value: Specifies the sampling interval for CPU usage monitoring. Valid values include 5Sec for 5 seconds, 1Min for 1 minute, and 5Min for 5 minutes.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command sets the interval for the master device.

Usage guidelines

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

Examples

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

<Sysname> system-view

[Sysname] monitor cpu-usage interval 5Sec

Related commands

·     display cpu-usage configuration

·     display cpu-usage history

·     monitor cpu-usage enable

monitor cpu-usage threshold

Use monitor cpu-usage threshold to set the CPU usage threshold.

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

Syntax

monitor cpu-usage threshold cpu-threshold [ slot slot-number ]

undo monitor cpu-usage threshold [ slot slot-number ]

Default

The CPU usage threshold is 99%.

Views

System view

Predefined user roles

network-admin

Parameters

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

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member device, this command sets the CPU usage threshold for the master device.

Usage guidelines

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

Examples

# Set the CPU usage threshold to 80%.

<Sysname> system-view

[Sysname] monitor cpu-usage threshold 80

Related commands

display cpu-usage configuration

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 Boot ROM 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 Boot ROM 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 an IRF member device or all IRF member devices.

Syntax

reboot [ slot slot-number ] [ force ]

Views

User view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify an  IRF member device, this command reboots the IRF fabric.

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.

·     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.

·     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.

 

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

On an IRF fabric, you can use this command to reboot the master or a subordinate member device.

Perform the following tasks before rebooting the master:

·     Identify whether the IRF fabric has subordinate members and whether the subordinate members are operating correctly.

·     Use the display system stable state command to display system stability and status information.

If the IRF fabric has only one member device, the IRF fabric will be rebooted. If the IRF fabric has a subordinate member and the member is operating correctly, a switchover will occur.

 

 

NOTE:

To ensure correct operation of the IRF fabric and member devices, do not trigger a switchover by rebooting the master if the status of a member device is not Stable.

 

Examples

# Reboot the device when no configuration change has occurred since the last time you saved the running configuration.

<Sysname> reboot

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

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

Now rebooting, please wait...

# If any configuration has changed, reboot the device and save the configuration.

<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 flash successfully.

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

Now rebooting, please wait...

# If any configuration has changed, reboot the device but do not save the configuration.

<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]:n

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

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

 

The command takes effect after the device reboots.

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 job view. If the job already exists, you enter job view directly.

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: Sets 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:

Device reboot interrupts network services.

 

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.

For data security, if you are performing file operations at the reboot time, the system does not reboot.

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

Examples

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

<Sysname> scheduler reboot at 12:00

Reboot system at 12:00:00 06/02/2017 (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 6 characters. When in the hh:mm format, mm must be in the range of 0 to 59.

Usage guidelines

CAUTION

CAUTION:

Device reboot interrupts network services.

 

For data security, if you are performing file operations at the reboot time, the system does not reboot.

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

Examples

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

<Sysname> scheduler reboot delay 88

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

scheduler schedule

Use scheduler schedule to create a schedule and enter schedule view. If the schedule already exists, you enter schedule view directly.

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 time

undo shutdown-interval

Default

The port status detection timer setting is 30 seconds.

Views

System view

Predefined user roles

network-admin

Parameters

time: Specifies the port status detection timer value in seconds. The value range is 0 to 300. To disable port status detection, set this argument to 0.

Usage guidelines

The device starts a port status detection timer when a port is shut down by a protocol. Once the timer expires, the device brings up the port so the port status reflects 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 T1T 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

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]

temperature-limit

Use temperature-limit to set the temperature alarm thresholds for the device.

Use undo temperature-limit to restore the default.

Syntax

temperature-limit slot slot-number { hotspot | inflow } sensor-number lowlimit warninglimit [ alarmlimit ]

undo temperature-limit slot slot-number { hotspot | inflow } sensor-number

Default

The defaults vary by temperature sensor model. To view the defaults, use the undo temperature-limit command to restore the defaults and then execute the display environment command.

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 near the chip that generates a great amount of heat and used to monitor the chip.

inflow: Configures temperature alarm thresholds for inlet sensors. An inlet sensor is near the air inlet and used for monitoring ambient temperature.

sensor-number: Specifies a sensor by its number, an integer starting from 1. Each number represents a temperature sensor on the device or card.

The following matrix shows the sensor-number argument and hardware compatibility:

 

Hardware series

Model

Argument compatibility

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

No

N/A

WX2500H series

WX2510H

Yes

hotspot: 1

inflow: N/A

WX2540H

No

N/A

WX2560H

Yes

hotspot: 1

inflow: 1

WX3000H series

WX3010H-L

WX3024H-L

Yes

hotspot: 1 to 2

inflow: 1

WX3010H

WX3010H-X

WX3024H

Yes

hotspot: 1

inflow: 1

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

hotspot: 1

inflow: 1

WX5500E series

WX5510E

Yes

hotspot: 1

inflow: 1

WX5540E

Yes

hotspot: 1 to 3

inflow: 1

WX5500H series

WX5540H

WX5580H

Yes

hotspot: 1 to 3

inflow: 1

WX5560H

Yes

hotspot: 1 to 2

inflow: 1

Access controller modules

EWPXM1WCME0

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX40RT

Yes

hotspot: 1 to 3

inflow: 1

EWPXM2WCMD0F

LSQM1WCMX20

LSUM1WCMX20RT

Yes

hotspot: 1 to 2

inflow: 1

 

lowlimit: Specifies the low-temperature threshold in Celsius degrees.

The following matrix shows the value ranges for the lowlimit argument:

 

Hardware series

Model

Value range

WX1800H series

WX1804H

WX1810H

WX1820H

hotspot: 0°C to 10°C (32°F to 50°F)

WX2500H series

WX2510H

hotspot: 0°C to 10°C (32°F to 50°F)

WX2540H

N/A

WX2560H

hotspot: 32°C to 42°C (89.6°F to 107.6°F)

inflow: 5°C to 15°C (41°F to 59°F)

WX3000H series

WX3010H

WX3024H

hotspot: 10°C to 20°C (50°F to 68°F)

inflow: 5°C to 15°C (41°F to 59°F)

WX3010H-L

Hotspot sensor 1: 15°C to 25°C (59°F to 77°F)

Hotspot sensors 2: 5°C to 15°C (41°F to 59°F)

inflow: 0°C to 10°C (32°F to 50°F)

WX3024H-L

Hotspot sensor 1: 5°C to 15°C (41°F to 59°F)

Hotspot sensors 2: 20°C to 30°C (68°F to 86°F)

inflow: 5°C to 15°C (41°F to 59°F)

WX3010H-X

hotspot: 20°C to 30°C (68°F to 86°F)

inflow: 0°C to 10°C (32°F to 50°F)

WX3500H series

WX3508H

hotspot: 32°C to 42°C (89.6°F to 107.6°F)

inflow: 5°C to 15°C (41°F to 59°F)

WX3510H

WX3520H

WX3540H

hotspot: –30°C to +100°C (–22°F to +212°F)

inflow: –30°C to +74°C (–22°F to +165.2°F)

WX5500E series

WX5510E

hotspot: –30°C to +100°C (–22°F to +212°F)

inflow: –30°C to +74°C (–22°F to +165.2°F)

WX5540E

–30°C to +100°C (–22°F to +212°F)

WX5500H series

WX5540H

–30°C to +100°C (–22°F to +212°F)

WX5560H

Hotspot sensor 1: 24°C to 40°C (75.2°F to 104°F)

Hotspot sensors 2: 20°C to 35°C (68°F to 95°F)

inflow: 5°C to 20°C (41°F to 68°F)

WX5580H

Hotspot sensor 1: 24°C to 40°C (75.2°F to 104°F)

Hotspot sensors 2 and 3: 20°C to 35°C (68°F to 95°F)

inflow: 5°C to 20°C (41°F to 68°F)

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

–30°C to +100°C (–22°F to +212°F)

 

warninglimit: Specifies the high-temperature warning threshold in Celsius degrees. This threshold must be greater than the low-temperature threshold.

alarmlimit: Specifies the high-temperature alarming threshold in Celsius degrees. This threshold must be greater than the high-temperature warning threshold.

Usage guidelines

The following matrix shows the command and hardware compatibility:

 

Hardware series

Model

Command compatibility

WX1800H series

WX1804H

WX1810H

WX1820H

Yes

WX2500H series

WX2510H

WX2560H

Yes

WX2540H

No

WX3000H series

WX3010H

WX3010H-L

WX3010H-X

WX3024H

WX3024H-L

Yes

WX3500H series

WX3508H

WX3510H

WX3520H

WX3540H

Yes

WX5500E series

WX5510E

WX5540E

Yes

WX5500H series

WX5540H

WX5560H

WX5580H

Yes

Access controller modules

EWPXM1MAC0F

EWPXM1WCME0

EWPXM2WCMD0F

LSQM1WCMX20

LSQM1WCMX40

LSUM1WCME0

LSUM1WCMX20RT

LSUM1WCMX40RT

Yes

 

When the 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 inlet sensor 1 on member device 1.

<Sysname> system-view

[sysname] temperature-limit slot 1 inflow 1 -10 70 100

time at

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

Use undo time to delete the execution time configuration for a schedule.

Syntax

time at time date

undo time

Default

No execution time or date is specified for a 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 configured command takes effect.

Examples

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

<Sysname> system-view

[Sysname] scheduler schedule saveconfig

[Sysname-schedule-saveconfig] time at 1:1 2017/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 time configuration for a 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 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 6 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 configured 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 configuration for a schedule.

Syntax

time repeating [ at time [ date ] ] interval interval-time

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 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-time: Specifies the execution time interval in the hh:mm or mm format. This argument can have up to 6 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-time command configures the device to execute a schedule at an interval 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 configured 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

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

By assigning user roles to and removing user roles from a schedule, you can control the commands to be executed in a schedule.

A schedule must have one or more user roles, and can have up to 64 user roles. A command in a schedule can be executed if it is permitted by one or more user roles of the schedule.

The security-audit role is mutually exclusive with any other user roles. Assigning the security-audit role removes existing user role assignments. Assigning any other user roles removes the security-audit role assignment.

For more information about user roles, see the RBAC configuration in Fundamentals Configuration Guide.

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