01-Fundamentals Command Reference

HomeSupportSwitchesH3C S9500E Switch SeriesReference GuidesCommand ReferencesH3C S9500E Command References-Release1828P04-6W18201-Fundamentals Command Reference
08-Device Management Commands
Title Size Download
08-Device Management Commands 370.46 KB

Contents

Device management commands 1

board-offline· 1

buffer-manage share-size· 2

clock datetime· 3

clock summer-time one-off 3

clock summer-time repeating· 4

clock timezone· 5

copyright-info enable· 6

display alarm·· 7

display buffer-manage configuration· 9

display clipboard· 10

display clock· 10

display cpu-usage· 11

display cpu-usage history· 14

display device· 16

display device manuinfo· 18

display device manuinfo chassis-only· 19

display device manuinfo fan· 20

display device manuinfo power 21

display diagnostic-information· 22

display environment 23

display fan· 25

display fan auto-control-mode· 26

display hardware-failure-detection· 26

display hardware-failure-protection· 28

display job· 29

display memory· 30

display power-supply· 31

display schedule job· 33

display schedule reboot 34

display system config file· 34

display system working mode· 35

display system-failure· 36

display transceiver alarm·· 36

display transceiver diagnosis 38

display transceiver interface· 40

display transceiver manuinfo· 41

display version· 42

display xbar 43

fan auto-control-mode· 45

forward-path check· 45

hardware-failure-detection· 46

hardware-failure-protection auto-down· 47

hardware-failure-protection aggregation· 48

header 49

job· 50

power-supply off 51

power-supply on· 52

reboot 52

reset unused porttag· 53

schedule job· 54

schedule reboot at 56

schedule reboot delay· 57

shutdown-interval 58

sysname· 59

system working mode· 59

system-failure· 60

temperature-limit 61

test diag-offline· 63

time· 66

view·· 68

xbar 69

 


board-offline

Syntax

Standalone mode:

board-offline slot slot-number

undo board-offline slot slot-number

IRF mode:

board-offline chassis chassis-number slot slot-number

undo board-offline chassis chassis-number slot slot-number

View

System view

Default level

3: Manage level

Parameters

slot slot-number: Specifies the slot number of a card.

chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-number argument represents the ID of the IRF member switch, and the slot-number argument represents the number of the slot that holds the card. To display the member ID and slot number information, use the display device command.

Description

Use board-offline to isolate the specified card. With this command executed, the specified card stops forwarding data packets. This operation allows for convenient on-site diagnosis or logic upgrading while causing no interference on system operations and services of other cards.

Use undo board-offline to restore the defaults.

No card is isolated by default.

You can use the display device command to view whether a card is isolated, that is, whether the card is in the offline state.

The active main processing unit (MPU) cannot be isolated from the system. If the standby MPU is isolated, the load mode of the active MPU becomes load-single.

When you upgrade the logic of an interface card, isolate the interface card first.

Do not perform configuration (except for the test diag-offline command) on an offline interface card because the configuration might not take effect.

Related commands: test diag-offline.

Examples

# Isolate the card in slot 3.

<Sysname> system-view

[Sysname] board-offline slot 3

Caution: This command is only for diagnostic purpose which will cause board normal service unusable. Continue? [Y/N]:y

%May 22 08:48:32:193 2008 H3C DIAG/4/WARN:slot 3 is offline

Config successfully

buffer-manage share-size

Syntax

Standalone mode:

buffer-manage { ingress | egress } slot slot-number share-size size-value

undo buffer-manage { ingress | egress } slot slot-number share-size

IRF mode:

buffer-manage { ingress | egress } chassis chassis-number slot slot-number share-size size-value

undo buffer-manage { ingress | egress } chassis chassis-number slot slot-number share-size

View

System view

Default level

3: Manage level

Parameters

ingress: Sets the receive buffer shared by all interfaces.

egress: Sets the transmit buffer shared by all interfaces.

slot slot-number: Specifies the slot number of an interface card. If the slot-number argument is not provided, this command applies to all interface cards.

chassis chassis-number slot slot-number: Sets the size of the shared receive buffer or transmit buffer on an interface card of a certain IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the interface card resides.

size-value: Sets the size of the shared receive buffer or transmit buffer, with a step of 512. The size of the shared receive buffer is in the range of 0 to 2048 blocks, and that of the shared transmit buffer is in the range of 0 to 7168 blocks.

Description

Use buffer-manage share-size to set the size of the receive or transmit buffer shared by all interfaces on an interface card.

Use undo buffer-manage share-size to restore the default.

By default, the size of the shared receive buffer is 1024 blocks, and that of the shared transmit buffer is 4608 blocks.

You can modify the shared buffer area depending on traffic patterns. If transient large traffic bursts occur on some interfaces, you can expand the shared buffer to accommodate the bursts to prevent traffic loss. If transient small traffic bursts often occur on the interfaces, you can decrease the shared buffer so that each port can get more dedicated buffer memory.

Examples

# In standalone mode, set the size of the shared transmit buffer for the card in slot 3 to 2048 blocks.

<Sysname> system-view

[Sysname] buffer-manage egress slot 3 share-size 2048

# In IRF mode, set the size of the shared transmit buffer for the card in slot 3 on member switch 1 to 2048 blocks.

<Sysname> system-view

[Sysname] buffer-manage egress chassis 1 slot 3 share-size 2048

clock datetime

Syntax

clock datetime time date

View

User view

Default level

3: Manage level

Parameters

time: Configured time, in the hh:mm:ss format. The hh value is in the range of 00 to 23, the mm value is in the range of 00 to 59, and the ss value is in the range of 00 to 59. Zeros can be omitted, unless you specify 00:00:00.

date: Configured date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the DD value is in the range of 1 to 31.

Description

Use clock datetime to set the current time and date of the device.

You can leave the ss field blank when you specify the time parameters.

Related commands: clock summer-time one-off, clock summer-time repeating, clock timezone, and display clock.

Examples

# Set the current system time to 14:10:20 08/01/2008.

<Sysname> clock datetime 14:10:20 8/1/2008

# Set the current system time to 00:06:00 01/01/2008.

<Sysname> clock datetime 0:6 2008/1/1

clock summer-time one-off

Syntax

clock summer-time zone-name one-off start-time start-date end-time end-date add-time

undo clock summer-time

View

System view

Default level

3: Manage level

Parameters

zone-name: Name of the daylight saving time, a case-sensitive string of 1 to 32 characters.

start-time: Start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

start-date: Start date, in the MM/DD/YYYY or YYYY/MM/DD format.

end-time: End time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

end-date: End date, in the MM/DD/YYYY or YYYY/MM/DD format.

add-time: Time added to the standard time of the device, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

Description

Use clock summer-time one-off to adopt daylight saving time from the start-time of the start-date to the end-time of the end-date. Daylight saving time adds the add-time to the standard time of the device.

Use undo clock summer-time to cancel the daylight saving time setting.

By default, daylight saving time is disabled and the UTC time zone applies.

The interval between start-time start-date and end-time end-date must be longer than 1 day and shorter than 1 year. If the current system time is in the specified daylight saving days, the add-time value automatically adds to the system time.

To verify the setting, use the display clock command.

The timestamps in system messages are adjusted in reference to the time zone and daylight saving schedule.

Related commands: clock datetime, clock summer-time repeating, clock timezone, and display clock.

Examples

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

<Sysname> system-view

[Sysname] clock summer-time abc1 one-off 6 08/01/2008 6 09/01/2008 1

clock summer-time repeating

Syntax

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

undo clock summer-time

View

System view

Default level

3: Manage level

Parameters

zone-name: Name of the daylight saving time, which is a string of 1 to 32 characters.

start-time: Start time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

start-date: Start date, which can be set in the following ways:

·     Enter the year, month and date at one time, in the MM/DD/YYYY or YYYY/MM/DD format.

·     Enter the year, month and date one by one, separated by spaces. The year is in the range of 2000 to 2035; the month can be January, February, March, April, May, June, July, August, September, October, November or December; the start week can be the first, second, third, fourth, fifth or last week of the month; the start date is Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

end-time: End time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

end-date: End date which can be set in the following ways:

·     Enter the year, month and date at one time, in the MM/DD/YYYY or YYYY/MM/DD format.

·     Enter the year, month and date one by one, separated by spaces. The year is in the range of 2000 to 2035; the month can be January, February, March, April, May, June, July, August, September, October, November or December; the end week can be the first, second, third, fourth, fifth or last week of the month; the end date is Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

add-time: Time added to the standard time of the device, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

Description

Use clock summer-time repeating to set a recurring daylight saving schedule.

Use undo clock summer-time to cancel the configuration of the daylight saving time.

By default, daylight saving time is disabled and UTC time zone applies.

The interval between start-time start-date and end-time end-date must be longer than 1 day and shorter than 1 year. If the current system time is in the specified daylight saving days, the add-time value automatically adds to the system time.

To verify the setting, use the display clock command.

The timestamps in system messages are adjusted in reference to the time zone and daylight saving schedule.

Related commands: clock datetime, clock summer-time one-off, clock timezone, and display clock.

Examples

# Set the system time ahead 1 hour every year after 2008 (inclusive) for the period from August 1 at 06:00:00 to September 1 at 06:00:00.

<Sysname> system-view

[Sysname] clock summer-time abc2 repeating 06:00:00 08/01/2008 06:00:00 09/01/2008 01:00:00

clock timezone

Syntax

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

undo clock timezone

View

System view

Default level

3: Manage level

Parameters

zone-name: Time zone name, a case-sensitive string of 1 to 32 characters.

add: Adds a specified offset to UTC time.

minus: Subtracts a specified offset to UTC time.

zone-offset: Offset to the UTC time, in the hh:mm:ss format. Zeros can be omitted, unless you specify 00:00:00.

Description

Use clock timezone to set the local time zone.

Use undo clock timezone to restore the local time zone to the default UTC time zone.

By default, the local time zone is UTC zone.

To verify the setting, use the display clock command.

The timestamps in system messages are adjusted in reference to the time zone and daylight saving schedule.

Related commands: clock datetime, clock summer-time one-off, clock summer-time repeating, and display clock.

Examples

# Set the name of the local time zone to Z5, 5 hours ahead of UTC time.

<Sysname> system-view

[Sysname] clock timezone z5 add 5

copyright-info enable

Syntax

copyright-info enable

undo copyright-info enable

View

System view

Default level

3: Manage level

Parameters

None

Description

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

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

By default, this feature is enabled.

Examples

# Enable displaying the copyright statement.

<Sysname> system-view

[Sysname] copyright-info enable

·     When a Telnet user logs in, the following statement appears:

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

* Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*

* Without the owner's prior written consent,                               *

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

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

 

<Sysname>

·     When a console user quits user view, the following message appears:

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

* Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*

* Without the owner's prior written consent,                               *

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

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

 

User interface con0 is available.

 

 

 

Please press ENTER.

# Disable displaying the copyright statement.

<Sysname> system-view

[Sysname] undo copyright-info enable

·     When a Telnet user logs in, the user view prompt appears:

<Sysname>

·     When a console user quits user view, the following message appears:

User interface con0 is available.

 

 

 

Please press ENTER.

display alarm

Syntax

Standalone mode:

display alarm [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display alarm [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: Monitor level

Parameters

slot slot-number: Displays the alarm information of the specified card. The slot-number argument represents the slot number of a card. If the slot-number argument is not specified, the command displays the alarm information of all cards.

chassis chassis-number slot slot-number: Displays the alarm information on the specified card on an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the card resides. If the option is not specified, this command displays the alarm information of all cards on the IRF member switches.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display alarm to display the alarm information.

After this command is executed, the system automatically queries and displays the current alarm information of the boards.

Examples

# In standalone mode, display the alarm information on the switch.

<Sysname> display alarm

Slot  Level    Info

6     ERROR    The board in slot 10 is faulty.

Table 1 Command output

Field

Description

Level

Alarm severity.

The alarm severity levels include ERROR, WARNING, NOTICE, and INFO.

Info

Detailed alarm information.

 

# In IRF mode, display the alarm information on the switch.

<Sysname> display alarm

Chassis  Slot  Level    Info

1        6     ERROR    The board in slot 10 is faulty.

display buffer-manage configuration

Syntax

Standalone mode:

display buffer-manage configuration [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display buffer-manage configuration [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

slot slot-number: Displays the configuration of the shared buffer on the specified interface card. The slot-number argument represents the slot number of an interface card. If the slot-number argument is not specified, the command displays the configuration of the shared buffer on all interface cards.

chassis chassis-number slot slot-number: Displays the configuration of the shard buffer on the specified interface card on an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the interface card resides.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display buffer-manage configuration to display the configuration of the shared buffer on the specified interface card.

Examples

# In standalone mode, display the configuration of the shared buffer on interface card 3.

<Sysname> display buffer-manage configuration slot 3

Ingress: the number of shared buffer units for received packets

Egress: the number of shared buffer units for sent packets

Slot No. Ingress    Egress

3        1536       4608

# In IRF mode, display the configuration of the shared buffer on interface card 3 on the switch with the member ID of 1.

<Sysname> display buffer-manage configuration chassis 1 slot 3

Ingress: the number of shared buffer units for received packets

Egress: the number of shared buffer units for sent packets

Chassis No.  Slot No.  Ingress    Egress

1            3         1536       4608

display clipboard

Syntax

display clipboard [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display clipboard to display the contents of the clipboard.

To copy the specified content to the clipboard:

·     Move the cursor to the starting position of the content and press <Esc+Shift+,> ("," is an English comma).

·     Move the cursor to the ending position of the content and press the <Esc+Shift+.> combination ("." is an English dot) to copy the specified content to the clipboard.

Examples

# Display the content of the clipboard.

<Sysname> display clipboard

---------------- CLIPBOARD-----------------

display ip routing-table

display clock

Syntax

display clock [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display clock to display the current system time and date.

The current system time and date are decided by the clock datetime, clock summer-time one-off (or clock summer-time repeating), and clock timezone commands. For more information about how the system time and date are decided, see Fundamentals Configuration Guide.

Related commands: clock datetime, clock summer-time one-off, clock summer-time repeating, and clock timezone.

Examples

# Display the current time and date.

<Sysname> display clock

09:41:23 UTC Thu 12/15/2005

display cpu-usage

Syntax

Standalone mode:

display cpu-usage [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ]

display cpu-usage entry-number [ offset ] [ verbose ] [ slot slot-number [ cpu cpu-number ] ] [ from-device ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display cpu-usage [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ]

display cpu-usage entry-number [ offset ] [ verbose ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] [ from-device ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

entry-number: Number of entries to be displayed, in the range of 1 to 60.

offset: Offset between the serial number of the first CPU usage statistics record to be displayed and that of the last CPU usage record to be displayed. It is in the range of 0 to 59.

For example, the idx of the latest statistics record is 12. If the offset is set to 3, the system will display the statistics records from the one with the idx of 9, where idx represents the serial number of the period for the statistics, and its value is in the range of 0 to 60 cyclically. The system makes CPU usage statistics periodically, and the system records the average CPU usage during this period, and the idx value is added by 1 automatically.

verbose: Displays the average CPU usage statistics for each task in the specified period. If this keyword is not provided, the command displays brief CPU usage statistics.

from-device: Displays the external storage medium, such as a Flash or hard disk.  This keyword is not supported in the current software version. This keyword is reserved for further support.

slot slot-number: Displays the CPU usage statistics for the specified card. The slot-number argument specifies the slot number of a card. If the slot-number argument is not provided, the system displays the CPU usage statistics for all cards.

chassis chassis-number slot slot-number: Displays the CPU usage statistics for the specified card on an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the card resides. If you do not provide these two arguments, all the cards of the IRF member switch are specified.

cpu cpu-number: Displays the CPU usage statistics for the specified CPU.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

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

The system regularly (typically at 60-second intervals) collects CPU usage statistics and saves the statistical results in the history record area.

The display cpu-usage entry-number command displays entry-number latest records, starting from the latest record. The display cpu-usage entry-number offset command displays entry-number latest records, starting from the last (offset+1)th record.

Examples

# In standalone mode, display the current CPU usage statistics.

<Sysname> display cpu-usage

Slot 0 CPU usage:

       1% in last 5 seconds

       1% in last 1 minute

       1% in last 5 minutes

Slot 3 CPU usage:

       0% in last 5 seconds

       0% in last 1 minute

       0% in last 5 minutes

# In standalone or IRF mode, display the last fifth and sixth CPU usage statistics records.

<Sysname> display cpu-usage 2 4

===== CPU usage info (no:  0  idx: 45) =====

CPU Usage Stat. Cycle: 60 (Second)

CPU Usage            : 2%

CPU Usage Stat. Time : 2007-09-25  03:45:03

CPU Usage Stat. Tick : 0x4b(CPU Tick High) 0x4cd1c391(CPU Tick Low)

Actual Stat. Cycle   : 0x0(CPU Tick High) 0xb2d2e00f(CPU Tick Low)

===== CPU usage info (no:  1  idx: 44) =====

CPU Usage Stat. Cycle: 60 (Second)

CPU Usage            : 2%

CPU Usage Stat. Time : 2007-09-25  03:44:03

CPU Usage Stat. Tick : 0x4a(CPU Tick High) 0x99f23a9f(CPU Tick Low)

Actual Stat. Cycle   : 0x0(CPU Tick High) 0xb2d2e0d6(CPU Tick Low)s

# In IRF mode, display the current CPU usage statistics.

<Sysname> display cpu-usage

Chassis 1 Slot 0 CPU usage:

       2% in last 5 seconds

       2% in last 1 minute

       2% in last 5 minutes

 

Chassis 1 Slot 3 CPU usage:

       1% in last 5 seconds

       1% in last 1 minute

       1% in last 5 minutes

Table 2 Command output

Field

Description

1% in last 5 seconds

After the switch boots, the system calculates and records the average CPU usage in every 5 seconds.

This field displays the average CPU usage in the last 5 seconds.

1% in last 1 minute

After the switch boots, the system calculates and records the average CPU usage in every 1 minute.

This field displays the average CPU usage in the last minute.

1% in last 5 minutes

After the switch boots, the system calculates and records the average CPU usage in every 5 minutes.

This field displays the average CPU usage in the last 5 minutes.

CPU usage info (no:  x  idx: x)

CPU usage records (no: The (no+1)th record is displayed. no numbers from 0, a smaller number equals a newer record. idx: index of the current record in the history record table). If only the information of the current record is displayed, no and idx are not displayed.

CPU Usage Stat. Cycle

CPU usage measurement interval, in seconds. For example, if the value is 41, it indicates that the average CPU usage during the last 41 seconds is calculated. The value range of this field is 1 to 60.

CPU Usage

Average CPU usage in a measurement interval, in percentage.

CPU Usage Stat. Time

CPU usage statistics time in seconds, that is, the system time when the command is executed.

CPU Usage Stat. Tick

System runtime in ticks, represented by a 64-bit hexadecimal. CPU Tick High represents the most significant 32 bits and the CPU Tick Low represents the least significant 32 bits.

Actual Stat. Cycle

Actual CPU usage measurement period in ticks, represented by a 64-bit hexadecimal. CPU Tick High represents the most significant 32 bits and the CPU Tick Low represents the least significant 32 bits. Owing to the precision of less than 1 second, the actual measurement periods of different CPU usage records might differ slightly.

Chassis n Slot m

A card in slot m on the switch with the member ID of n.

 

display cpu-usage history

Syntax

Standalone mode:

display cpu-usage history [ task task-id ] [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display cpu-usage history [ task task-id ] [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

task task-id: Displays the historical CPU usage statistics for the specified task, where task-id represents the task number. If the task-id argument is not provided, the system displays the historical CPU usage statistics for the entire system. The CPU utilization rates of the entire system is the sum of CPU utilization rates of all tasks.

slot slot-number: Displays the historical CPU usage statistics for the specified card. The slot-number argument specifies the slot number of a card. If no card is specified, this command displays the historical CPU usage statistics for the main CPU on the active MPU.

chassis chassis-number slot slot-number: Displays the historical CPU usage statistics for the specified card on an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the card resides. If you do not provide these two arguments, this command displays the historical CPU usage statistics for the main CPU on the global active MPU.

cpu cpu-number: Displays the historical CPU usage statistics for the specified CPU. If no CPU is specified, this command displays the historical CPU usage statistics for the main CPU in the specified slot.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display cpu-usage history to display the historical CPU usage statistics in a chart. If no argument is provided, the system displays the historical CPU usage statistics for the active MPU.

The system regularly collects CPU usage statistics and saves the statistics in the history record area. The display cpu-usage history command displays the CPU usage statistics for the last 60 minutes in axes, where:

·     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, whichever is closer. 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.

·     Consecutive pound signs (#) indicate the CPU usage at a specific time. The value on the vertical axis for the topmost # sign at a specific time represents the CPU usage at that time.

Examples

# Display the CPU usage statistics for the main CPU of the 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 last 60 minutes(SYSTEM)

The output shows the CPU usage for the main CPU of the whole system (with the task name SYSTEM) in the last 60 minutes:

·     5%: 12 minutes ago

·     10%: 13 minutes ago

·     15%: 14 minutes ago

·     10%: 15 minutes ago

·     5%: 16 and 17 minutes ago

·     10%: 18 minutes ago

·     5%: 19 minutes ago

·     2% or lower than 2%: other time

display device

Syntax

Standalone mode:

display device [ cf-card ] [ slot slot-number [ subslot subslot-number ] | verbose ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display device [ cf-card ] [ [ chassis chassis-number ] [ slot slot-number [ subslot subslot-number ] ] | verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

cf-card: Displays information about CF cards.

chassis chassis-number: Displays detailed information about the specified card on an IRF member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric. If you do not provide the argument, all the IRF member switches of the IRF fabric are specified.

slot slot-number: Displays information about the specified card. The slot-number argument represents the slot number of a card.

subslot subslot-number: Displays information about the specified subcard. The subslot-number represents the subslot of a subcard. If no subcard is installed, the subslot-number is fixed to 0.

verbose: Displays detailed information.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display device to display device information.

If the cf-card keyword is not provided, the command displays information of all cards on the device.

Examples

# In standalone mode, display brief information about all cards on the switch.

<Sysname> display device

Slot No.   Brd Type        Brd Status   Software Version

 0         LSR1SRP2B2      Master       S9500E-CMW520-A1729

 1         NONE            Absent       NONE

 2         NONE            Absent       NONE

 3         LSR1GT24LEC     Normal       S9500E-CMW520-A1729

 4         NONE            Absent       NONE

 5         NONE            Absent       NONE

 6         NONE            Absent       NONE

# In IRF mode, display brief information about all cards on the switch.

Slot No.   Brd Type        Brd Status   Software Version

 1/0       LSR1SRP2B2      Master       S9500E-CMW520-A1729

 1/1       NONE            Absent       NONE

 1/2       NONE            Absent       NONE

 1/3       LSR1GT24LEC1    Normal       S9500E-CMW520-A1729

 1/4       NONE            Absent       NONE

 1/5       NONE            Absent       NONE

 1/6       NONE            Absent       NONE

Table 3 Command output

Field

Description

Slot No.

·     Slot number of a card (in standalone mode).

·     Slot number of a card on the specified member switch in the format of member ID/slot number (in IRF mode).

Brd Type

Hardware type of a card:

·     Specific card model, such as LSR1GT24LEC, which is the same as the silkscreen.

·     NONE—No card is in the slot.

·     UNKNOWN—The card is not supported by the software version and thus cannot start correctly.

Brd Status

Card status:

·     Absent—No card is in the slot.

·     Master—The card is an active MPU.

·     Slave—The card is a standby MPU.

·     Normal—The card is operating correctly.

·     Fault—The card has not been booted or an error occurred to the card.

·     Off—The card is not powered on.

·     Illegal—The card is not supported by the software version and thus cannot start correctly.

·     Offline—The card is isolated.

Software Version

Software version of the current card:

·     Specific software version—The software version of the switch.

·     NONE—No card is in the slot.

·     Mismatched—The software version does not support the card and thus cannot be uploaded.

 

display device manuinfo

Syntax

Standalone mode:

display device manuinfo [ slot  slot-number [ subslot subslot-number ] ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display device manuinfo [ chassis chassis-number [ slot slot-number [ subslot subslot-number ] ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

3: Manage level

Parameters

slot slot-number: Displays the electronic label data for the specified card. The slot-number argument represents the slot number of a card. If the slot-number argument is not provided, the system displays the electronic label data for all cards.

subslot subslot-number: Displays the electronic label data for the specified subcard. The subslot-number represents the subslot where the subcard resides. It no subcard is installed, the subslot number is 0.

chassis chassis-number: Displays the electronic label data for an IRF member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display device manuinfo to display electronic label data.

An electronic label is a profile of a device or card and 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

# In standalone mode, display the electronic label data for the card in slot 3 on the switch.

<Sysname> display device manuinfo slot 3

Slot 3:

DEVICE_NAME          : LSR1GT24LEC1

DEVICE_SERIAL_NUMBER : 210235A045B05B004350

MAC_ADDRESS          : 000f-e200-5600

MANUFACTURING_DATE   : 2008-04-13

VENDOR_NAME          : H3C

# In IRF mode, display the electronic label data for the card in slot 3 on member switch 1.

<Sysname> display device manuinfo chassis 1 slot 3

Chassis 1:

 

Slot 3:

DEVICE_NAME          : LSR1GT24LEC1

DEVICE_SERIAL_NUMBER : 210235A045B05B004350

MAC_ADDRESS          : 000f-e200-5600

MANUFACTURING_DATE   : 2008-04-13

VENDOR_NAME          : H3C

display device manuinfo chassis-only

Syntax

Standalone mode:

display device manuinfo chassis-only [ | { begin | exclude | include } regular-expression ]

IRF mode:

display device manuinfo chassis chassis-number chassis-only [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

3: Manage level

Parameters

chassis chassis-number: Displays the electronic label data for the backplanes on an IRF member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display device manuinfo chassis-only to display the electronic label data for the specified backplane.

Examples

# In standalone mode, display the electronic label data for the backplane.

<Sysname> display device manuinfo chassis-only

Chassis self:

DEVICE_NAME          : LST1Z9504AC

DEVICE_SERIAL_NUMBER : 210235A36L1234MMSSRR

MANUFACTURING_DATE   : 2012-03-03

VENDOR_NAME          : H3C

# In IRF mode, display the electronic label data for the backplane on IRF member switch 1.

<Sysname> display device manuinfo chassis 1 chassis-only

Chassis 1:

 

Chassis self:

DEVICE_NAME            : LST1Z9504AC

DEVICE_SERIAL_NUMBER   : 210235A36L1234MMSSRR

MANUFACTURING_DATE     : 2012-03-03

VENDOR_NAME            : H3C

display device manuinfo fan

Syntax

Standalone mode:

display device manuinfo fan fan-id [ | { begin | exclude | include } regular-expression ]

IRF mode:

display device manuinfo chassis chassis-number fan fan-id [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

3: Manage level

Parameters

fan-id: Displays the electronic label data for the specified fan. On a switch with only one fan frame, for example, S9505E or S9508E, the fan ID is 1. On a switch with two fan frames, for example, S9512E, the fan ID of the upper fan frame is 1, and that of the lower one is 2.

chassis chassis-number: Displays the electronic label data for the fans on an IRF member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display device manuinfo fan to display the electronic label data for the specified fan.

Examples

# Display the electronic label data for fan 2. (Standalone mode)

<Sysname> display device manuinfo fan 2

Fan 2:

DEVICE_NAME          : LSTM3FANH

DEVICE_SERIAL_NUMBER : 210231A36L1234567890

MANUFACTURING_DATE   : 2012-02-07

VENDOR_NAME          : H3C

# Display the electronic label data for fan 2 on IRF member switch 1. (IRF mode)

<Sysname> display device manuinfo chassis 1 fan 2

Chassis 1:

 

Fan 2:

DEVICE_NAME            : LSTM3FANH

DEVICE_SERIAL_NUMBER   : 210231A36L1234567891

MANUFACTURING_DATE     : 2012-02-07

VENDOR_NAME            : H3C

display device manuinfo power

Syntax

Standalone mode:

display device manuinfo power power-id [ | { begin | exclude | include } regular-expression ]

IRF mode:

display device manuinfo chassis chassis-number power power-id [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

3: Manage level

Parameters

power-id: Displays the electronic label data for the specified power supply, where power-id represents the power supply number and is in the range of 1 to 2.

chassis chassis-number: Displays the electronic label data for the power supplies on an IRF member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display device manuinfo power to display the electronic label data for the specified power supply.

Examples

# In standalone mode, display the electronic label data for power supply 2.

<Sysname> display device manuinfo power 2

Power 2:

DEVICE_NAME          : NONE

DEVICE_SERIAL_NUMBER : 210231A36L1234567890

MANUFACTURING_DATE   : NONE

VENDOR_NAME          : NONE

# In IRF mode, display the electronic label data for power supply 2 on IRF member switch 1.

<Sysname> display device manuinfo chassis 1 power 2

Chassis 1:

 

Power 2:

DEVICE_NAME            : NONE

DEVICE_SERIAL_NUMBER   : 210231A36L1234567891

MANUFACTURING_DATE     : NONE

VENDOR_NAME            : NONE

display diagnostic-information

Syntax

display diagnostic-information [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display diagnostic-information to display or save running status data for multiple feature modules.

For diagnosis or troubleshooting, you can use separate display commands to collect running status data module by module, or use the display diagnostic-information command to bulk collect running data for multiple modules.

The command output can be saved on the active MPU instead of standby MPUs.

Examples

# Save the statistics of each module's running status in the system.

<Sysname> display diagnostic-information

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

Please input the file name(*.diag)[flash:/default.diag]:aa.diag

Diagnostic information is outputting to flash:/aa.diag.

Please wait...

Save succeeded.

To view the content of file aa.diag, execute the more.aa.diag command in user view, in combination of the Page Up and Page Down keys.

display environment

Syntax

Standalone mode:

display environment [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display environment [ chassis chassis-number [ slot slot-number ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

slot slot-number: Displays the temperature information of the sensors on a card. The slot-number argument is the slot number of the card.

chassis chassis-number: Displays the temperature information of the sensors on the specified member switch. chassis-number is the ID of an IRF member switch of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display environment to display the temperature information of the switch, including the current temperature and temperature thresholds. If no card is specified, this command displays the temperature information for all sensors.

Examples

# In standalone mode, display the temperature information of the cards.

<Sysname> display environment

System temperature information (degree centigrade):

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

Slot  Sensor    Temperature  LowerLimit  WarningLimit  AlarmLimit ShutdownLimit

   0  inflow  1       26         -10           55           85          N/A

   0  outflow 1       30           5           75           90          N/A

   0  hotspot 1       29           0           70           85          N/A

   0  hotspot 2       30          20           80           95          N/A

   3  inflow  1       26         -10           55           75          N/A

   3  outflow 1       28          -5           65           85          N/A

   3  hotspot 1       28          -5           65           85          N/A

# In IRF mode, display the temperature information of the cards.

<Sysname> display environment

System temperature information (degree centigrade):

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

Slot  Sensor    Temperature  LowerLimit  WarningLimit  AlarmLimit ShutdownLimit

1/0   inflow  1       25         -10           55           85          N/A

1/0   outflow 1       31           5           75           90          N/A

1/0   hotspot 1       29           0           70           85          N/A

1/0   hotspot 2       32          20           80           95          N/A

1/3   inflow  1       25         -10           55           75          N/A

1/3   outflow 1       28          -5           65           85          N/A

1/3   hotspot 1       31          -5           65           85          N/A

Table 4 Command output

Field

Description

System Temperature information (degree centigrade)

Temperature information of system cards (degree centigrade).

Slot

·     Slot number of the card (in standalone mode).

·     Slot number of a card on the specified member switch in the format of member ID/slot number (in IRF mode).

Sensor

Temperature sensor:

·     Hotspot—Hotspot temperature sensor.

·     Inflow—Inflow temperature sensor.

·     Outflow—Outflow temperature sensor.

Temperature

Current temperature.

Lower limit

Lower limit of temperature.

WarningLimit

Upper limit of temperature for warning.

AlarmLimit

Upper limit of temperature for alarming.

ShutdownLimit

Upper limit of temperature for shutting down the switch (not supported).

 

display fan

Syntax

Standalone mode:

display fan [ fan-id ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display fan [ chassis chassis-number [ fan-id ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

fan-id: Displays the operating state of the specified fan, where fan-id represents the built-in fan number.

chassis chassis-number: Displays the operating state of fans of the specified IRF member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric. If you do not provide the argument, the system displays the operating states of fans of all the IRF member switches of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display fan to display the operating state of built-in fans.

Examples

# In standalone mode, display detailed information about all fans on the switch.

<Sysname> display fan

Fan-tray state on chassis 0:

Fan-tray  1    state: Normal

# In IRF mode, display detailed information about all fans on the member switch in IRF mode:

<Sysname> display fan

Chassis 1:

 Fan   1 State: Normal

 Fan   2 State: Absent

display fan auto-control-mode

Syntax

Standalone mode:

display fan auto-control-mode [ | { begin | exclude | include } regular-expression ]

IRF mode:

display fan auto-control-mode chassis chassis-number [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

chassis-number: Specifies an IRF member switch.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display fan auto-control-mode to display the automatic speed adjustment mode of the fans on the switch.

Examples

# Display the automatic speed adjustment mode of the fans on the switch.

<Sysname> display fan auto-control-mode

Current fan auto-control mode: silence-mode

display hardware-failure-detection

Syntax

display hardware-failure-detection [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display hardware-failure-detection to display hardware failure detection information and fix operation records, including the fix actions configured to be taken for different failures, and the latest 10 fix operation records for each card. If the same operation is executed multiple times, only the most recent one is recorded.

The fix operation records for each card are stored in the MPU. You can use the display hardware-failure-detection command to display stored information even after a card is removed or has been replaced.

Examples

# Display hardware failure detection information and fix operation records on the switch.

<Sysname> display hardware-failure-detection

Current level:

    chip       : isolate

    board      : isolate

    forwarding : warning

----------------------------Slot  4 records:-------------------------------

Slot  0:

   1. 2010-06-09, 04:34:14 rebooted by board detection.

Slot  4:

   1. 2010-06-09, 11:16:39 rebooted by forwarding detection.

Slot  6:

   1. 2010-06-09, 11:13:37 some auto-down ports on this slot are down by forwarding detection.

   2. 2010-06-09, 11:13:16 some auto-down ports on this slot are down by forwarding detection.

   3. 2010-06-09, 11:12:54 some auto-down ports on this slot are down by forwarding detection.

   4. 2010-06-09, 11:12:54 some auto-down ports on this slot are down by forwarding detection.

   5. 2010-06-08, 17:55:20 some auto-down ports on this slot are down by forwarding detection.

   6. 2010-06-08, 17:55:00 some auto-down ports on this slot are down by forwarding detection.

Slot  7:

   1. 2010-06-09, 11:13:16 some auto-down ports on this slot are down by forwarding detection.

   2. 2010-06-09, 10:42:44 some auto-down ports on this slot are down by forwarding detection.

   3. 2010-06-09, 10:33:59 some auto-down ports on this slot are down by forwarding detection.

Slot  8:

   1. 2010-06-08, 14:03:40 some auto-down ports on this slot are down by forwarding detection.

   2. 2010-06-08, 14:03:11 some auto-down ports on this slot are down by forwarding detection..

Table 5 Command output

Field

Description

Current level

Fix actions corresponding to different failures.

Slot slotid records

Fix operation records stored on the MPU.

Slot slotid:

Fix operation records for the card.

some auto-down ports

This output is displayed after a port configured with the hardware-failure-protection auto-down command is automatically shut down in case of hardware failure.

 

display hardware-failure-protection

Syntax

display hardware-failure-protection [ aggregation | port { auto-down | interface-type interface-number } ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

aggregation: Displays whether hardware failure protection is enabled for aggregation groups.

port: Displays port hardware failure protection information.

auto-down: Displays the ports configured with the hardware-failure-protection auto-down command.

interface-type interface-number: Displays whether hardware failure protection is enabled on the specified port.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display hardware-failure-protection to display hardware failure protection information.

Without any keyword specified, this command displays all hardware failure protection information on the switch, including whether hardware failure protection is enabled for aggregation groups, and the ports that are configured with the hardware-failure-protection auto-down command.

Examples

# Display hardware failure protection information on the switch.

<Sysname> display hardware-failure-protection

Aggregation: on

Ports: Ge2/0/1  Ge3/0/1

# Display the ports that are configured with the hardware-failure-protection auto-down command.

<Sysname> display hardware-failure-protection port auto-down

Ports allowed auto-down: Ge2/0/1  Ge3/0/1

# Displays whether hardware failure protection is enabled on GigabitEthernet 2/0/2.

<Sysname> display hardware-failure-protection port GigabitEthernet 2/0/2

Auto-down is NOT allowed while hardware-failure happened.

Table 6 Command output

Field

Description

Aggregation

Whether hardware failure protection is enabled for aggregation groups.

Ports allowed auto-down

Ports that are configured with the hardware-failure-protection auto-down command.

 

display job

Syntax

display job [ job-name ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

job-name: Specifies a job name, which is a string of 1 to 32 characters.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display job to display information about scheduled jobs configured by using the job command.

If no job is specified, this command displays information about all scheduled jobs.

Related commands: job, time, and view.

Examples

# Display detailed information about the scheduled job saveconfig.

<Sysname> display job saveconfig

Job name: saveconfig

  Specified view: monitor

  Time 1: Execute command save 1.cfg after 40 minutes

The output shows that the current configuration will be automatically saved to the configuration file 1.cfg in 40 minutes.

Table 7 Command output

Field

Description

Job name

Name of the scheduled job.

Specified view

View containing the commands in the job.

Time timeid

Execution time of each command in the job.

Execute command

Command string.

 

display memory

Syntax

Standalone mode:

display memory [ slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display memory [ chassis chassis-number slot slot-number [ cpu cpu-number ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

slot slot-number: Displays the memory of a CPU of the specified card. The slot-number argument represents the slot number of the card.

chassis chassis-number slot slot-number: Displays the memory of a CPU of the specified card of an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the card resides.

cpu cpu-number: Displays the memory of a specified CPU, where the cpu-number argument represents the ID of the CPU.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display memory to display the usage of the memory of a device.

·     Standalone mode:

If the keyword slot is not provided, the system displays the usage of the memory of the active MPU. If the keyword cpu is not provided, the system displays the memory of the main CPU.

·     IRF mode:

If the keyword chassis is not provided, the system displays the usage of the memory of the active MPU of the master. If the keyword cpu is not provided, the system displays the memory of the main CPU.

Examples

# Display the usage of the memory of the switch.

<Sysname> display memory

System Total Memory(bytes): 732833120

Total Used Memory(bytes): 143874744

Used Rate: 19%

Table 8 Command output

Field

Description

System Total Memory(bytes)

Total size of the system memory (in bytes).

Total Used Memory(bytes)

Size of the memory used (in bytes).

Used Rate

Percentage of the memory used to the total memory.

CAUTION CAUTION:

When this value exceeds 96%, memory leakage might have occurred to the switch. Please consult H3C technical support engineers for troubleshooting.

 

display power-supply

Syntax

Standalone mode:

display power-supply [ verbose ] [ | { begin | exclude | include } regular-expression ]

IRF mode:

display power-supply [ chassis chassis-number ] [ verbose ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

chassis chassis-number: Displays information about the power supply of an IRF member switch. The chassis-number argument represents the ID of the IRF member switch, which you can display with the display device command. If you do not provide this option, this command displays information about the power supplies of all IRF member switches.

verbose: Displays detailed information about the power supply.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display power-supply to display information about the power supply of a device, including:

·     Whether the power supply management function is enabled or disabled

·     Power supply type, rated input voltage, and rated output power

·     Number of redundant power supplies

·     Available, redundant, used, and remaining power of each power supply

·     States of the existing power supplies

·     Power supply states of the cards

Examples

# In standalone mode, display detailed information about the power supply system.

<Sysname> display power-supply verbose

Power info on chassis 0:

PSU  1    state: Normal

PSU  2    state: Fault

Line-card power status:

Slot  Board-Type       Watts  Status

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

 2    None             --     Absent

 3    None             --     Absent

 4    None             --     Absent

 5    None             --     Absent

 6    None             --     Absent

# In IRF mode, display detailed information about the power supply system.

<Sysname> display power-supply verbose

Power info on chassis 1:

PSU  1    state: Normal

PSU  2    state: Absent

 

Line-card power status:

Slot  Board-Type       Watts  Status

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

 2    LSR1GT24LEC1     85     On

 3    LSR1GP48LEC1     115    On

 4    None             --     Absent

 5    Unknown          200    Wait

 6    LSR1GT24LEC1     85     On

Table 9 Command output

Field

Description

Watts

Power in watts.

Status

Power supply status of the card:

·     On—The card is supplied with power.

·     Absent—The card is not in the slot.

·     Wait—The card is waiting to be powered on.

·     Off—The card is unsolicitedly powered off due to user operation or over-temperature protection.

 

display schedule job

Syntax

display schedule job [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display schedule job to display the job configured by using the schedule job command.

Related commands: schedule job.

Examples

# Display the configuration of the job configured by using the schedule job command.

<Sysname> display schedule job

Specified command: execute 1.bat

Specified view: system view

Executed time: at 12:00 03/31/2008 (in 0 hours and 16 minutes)

If you change the system time within 16 minutes after you execute the schedule job command, the scheduled job becomes invalid. Then, if you execute the display schedule job command again, no information is displayed.

display schedule reboot

Syntax

display schedule reboot [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

3: Manage level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display schedule reboot to display the reboot schedule.

Related commands: schedule reboot at and schedule reboot delay.

Examples

# Display the reboot schedule.

<Sysname> display schedule reboot

System will reboot at 16:00:00 03/10/2008 (in 2 hours and 5 minutes).

The output shows that the system will reboot at 16:00:00 on March 10, 2008 (in 2 hours and 5 minutes).

display system config file

Syntax

display system config file [ file-url ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

file file-url: Specifies the saving path and name of the hardware configuration file.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display system config file to display brief information about the specified hardware configuration file. If no argument is provided, this command displays the brief information of the hardware configuration file of the system, that is, SysConfigMode.cfg saved in the directory flash:/.

Examples

# Display brief information about the hardware configuration file on the current device.

<Sysname> display system config file

Sysconfigname     : TrafficDistributeForSecurity

FileSerialNum     : TDFS-200908201

SupportBoard      : ALL

Description       : Traffic Distribute For Security

Limit             : Traffic Distribute For Security

display system working mode

Syntax

display system working mode [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display system working mode to display the operating mode of the switch.

Examples

# Display the operating mode.

<Sysname> display system working mode

Current system working mode      : routee

Working mode after system restart: bridgee

Notice: Changing working mode will take effect only after system restart.

The output shows that the system operates in enhanced Layer 3 mode, and the system will operate in enhanced Layer 2 mode at next reboot.

display system-failure

Syntax

display system-failure [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

3: Manage level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

·     Standalone mode:

Use display system-failure to display the exception handling method of the active MPU and standby MPU.

Related commands: system-failure.

·     IRF mode:

Use display system-failure to display the exception handling method of all IRF member switches of an IRF fabric.

Related commands: system-failure.

Examples

# Display the exception handling method.

<Sysname> display system-failure

 System failure handling method: reboot

display transceiver alarm

Syntax

display transceiver alarm interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays alarms that are present on the specified transceiver modules. The interface-type interface-number argument represents interface type and interface number. If no interface is specified, the command displays alarm information for all transceiver modules.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display transceiver alarm to display alarms present on transceiver modules.

If no error occurs, None is displayed. Table 10 describes the transceiver module alarms that might occur.

Table 10 Common transceiver module alarms

Field

Remarks

SFP/SFP+:

 

RX loss of signal

Incoming (RX) signal is lost.

TX fault

Transmit (TX) fault.

RX power high

Incoming (RX) power level is high.

RX power low

Incoming (RX) power level is low.

TX power high

TX power is high.

TX power low

TX power is low.

TX bias high

TX bias current is high.

TX bias low

TX bias current is low.

Temp high

Temperature is high.

Temp low

Temperature is low.

Voltage high

Voltage is high.

Voltage low

Voltage is low.

Transceiver info I/O error

Transceiver information read and write error.

Transceiver info checksum error

Transceiver information checksum error.

Transceiver type and port configuration mismatch

Transceiver type does not match port configuration.

Transceiver type not supported by port hardware

Transceiver type is not supported on the port.

XFP:

 

RX loss of signal

Incoming (RX) signal is lost.

RX not ready

RX is not ready.

RX CDR loss of lock

RX clock cannot be recovered.

TX fault

TX fault.

TX not ready

TX is not ready.

TX CDR loss of lock

TX clock cannot be recovered.

Module not ready

Module is not ready.

APD supply fault

APD (Avalanche Photo Diode) supply fault.

TEC fault

TEC (Thermoelectric Cooler) fault.

Wavelength unlocked

Wavelength of optical signal exceeds the manufacturer’s tolerance.

RX power high

RX power is high.

RX power low

RX power is low.

TX power high

TX power is high.

TX power low

TX power is low.

TX bias high

TX bias current is high.

TX bias low

TX bias current is low.

Temp high

Temperature is high.

Temp low

Temperature is low.

Voltage high

Voltage is high.

Voltage low

Voltage is low.

Transceiver info I/O error

Transceiver information read and write error.

Transceiver info checksum error

Transceiver information checksum error.

Transceiver type and port configuration mismatch

Transceiver type does not match port configuration.

Transceiver type not supported by port hardware

Transceiver type is not supported on the port.

 

Examples

# Display alarm information for the transceiver module in interface GigabitEthernet 3/0/1.

<Sysname> display transceiver alarm interface GigabitEthernet 3/0/1

GigabitEthernet3/0/1 transceiver current alarm information:

TX fault

display transceiver diagnosis

Syntax

display transceiver diagnosis interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays the measured value of digital diagnosis parameters of the transceiver module in the specified interface. The interface-type interface-number argument represents interface type and interface number. If it is not specified, the command displays the measured value of digital diagnosis parameters of all transceiver modules.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display transceiver diagnosis to display the measured values of the digital diagnosis parameters for transceiver modules.

Examples

# Display the measured values of the digital diagnosis parameters for the transceiver module in interface GigabitEthernet 3/0/1.

<Sysname> display transceiver diagnosis interface gigabitethernet 3/0/1

GigabitEthernet3/0/1 transceiver diagnostic information:

  Current diagnostic parameters:

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

36        3.31        6.13      -35.64          -5.19

Table 11 Command output

Field

Description

transceiver diagnostic information

Digital diagnosis information of the transceiver in the interface.

Current diagnostic parameters

Current diagnostic parameters.

Temp.(°C)

Digital diagnosis parameter-temperature, in °C, with the precision to 1°C.

Voltage(V)

Digital diagnosis parameter-voltage, in V, with the precision to 0.01 V.

Bias(mA)

Digital diagnosis parameter-bias current, in mA, with the precision to 0.01 mA.

RX power(dBM)

Digital diagnosis parameter-RX power, in dBM, with the precision to 0.01 dBM.

TX power(dBM)

Digital diagnosis parameter-TX power, in dBM, with the precision to 0.01 dBM.

 

display transceiver interface

Syntax

display transceiver interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays the key parameters of all transceiver modules or the transceiver module in the specified interface. The interface-type interface-number arguments specify an interface by its type and number. If no interface is specified, the command displays the key parameters of all transceiver modules.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

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

Examples

# Display the key parameters of the transceiver module in interface GigabitEthernet 3/0/19.

<Sysname> display transceiver interface Gigabitethernet 3/0/19

GigabitEthernet2/3 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

transceiver information

Transceiver module information.

Transceiver Type

Transceiver module type.

Connector Type

Connector type options:

·     SC—Fiber connector developed by NTT.

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

·     RJ-45.

·     CX 4.

Wavelength(nm)

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

·     Copper transceiver—Displayed as N/A.

Transfer Distance(xx)

Transfer distance, with xx representing km for single-mode transceivers and m for other transceivers. If the transceiver supports multiple transfer medium, every two values of the transfer distance are separated by a comma. The corresponding transfer medium is included in the bracket following the transfer distance value. The following are the transfer media:

·     9 um—9/125 um single-mode fiber.

·     50 um—50/125 um multi-mode fiber.

·     62.5 um—62.5/125 um multi-mode fiber.

·     TP—Twisted pair.

·     CX4—CX4 cable.

Digital Diagnostic Monitoring

Support for the digital diagnosis function:

·     YES—Supported.

·     NO—Not supported.

Ordering Name

Product code.

 

display transceiver manuinfo

Syntax

display transceiver manuinfo interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

2: System level

Parameters

interface [ interface-type interface-number ]: Displays the electronic label data for the transceiver module in the specified interface. The interface-type interface-number argument represents interface type and interface number. If it is not specified, the command displays part of the electronic label data for all transceiver modules.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display transceiver manuinfo to display the electronic label data for transceiver modules.

Examples

# Display the electronic label data for the transceiver module in interface GigabitEthernet 3/0/19.

<Sysname> display transceiver manuinfo interface gigabitethernet 3/0/19

GigabitEthernet3/0/19 transceiver manufacture information:

  Manu. Serial Number  : XXXXXXXXXXXXXXXXXX

  Manufacturing Date   : 2008-09-01

Vendor Name          : H3C

Table 13 Command output

Field

Description

Manu. Serial Number

Serial number of the transceiver, generated during device commissioning.

Manufacturing Date

Commissioning date of the transceiver, which is the date of the computer used for commissioning the switch.

Vendor Name

Name of vendor who customizes the transceiver.

 

display version

Syntax

display version [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display version to display system version information, including the system software version, chassis model, and card data.

Examples

# Display system version information.

<Sysname> display version

H3C Comware Platform Software

Comware Software, Version 5.20, Release 1729

Copyright (c) 2004-2012 Hangzhou H3C Tech. Co., Ltd. All rights reserved.

H3C S9505E uptime is 0 week, 0 day, 9 hours, 15 minutes

Last reboot reason : User reboot

 

LSR1SRP2B2 0:  uptime is 0 week, 0 day, 9 hours, 15 minutes

Last reboot reason : User reboot

1024    Mbytes SDRAM

1024    Kbytes NVRAM Memory

Type     : LSR1SRP2B2

BootRom  : 1.20

Software : S9500E-CMW520-R1729

Patch    : P001

PCB      : Ver.A

FPGA     : NONE

CPLD     : 001F

Mbus card

    Type      : LSR1MBCB

    Software  : 110

    PCB       : Ver.B

 

LSR1GT24LEC1 5:  uptime is 0 week, 0 day, 9 hours, 13 minutes

Last reboot reason : User reboot

512     Mbytes SDRAM

0       Kbytes NVRAM Memory

Type     : LSR1GT24LEC1

Software : S9500E-CMW520-R1729

Patch    : P001

PCB      : Ver.A

FPGA     : NONE

CPLD     : 002

CpuCard

    Type      : LSR1CPA

    PCB       : Ver.B

    CPLD      : 001

    BootRom   : 1.20

display xbar

Syntax

Standalone mode:

display xbar [ | { begin | exclude | include } regular-expression ]

IRF mode:

display xbar [ chassis chassis-number ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

chassis chassis-number: Displays the load mode of the active MPU and standby MPU of a specified member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display xbar to display the load mode of the active MPU and standby MPU of the device, including configured load mode and current load mode.

The configured load mode might be different from the running load mode. The load balancing mode becomes valid only when both the active MPU and the standby MPU are in the slot. Otherwise, even if the load balancing mode is configured the active MPU automatically switches to the active-standby mode.

Related commands: xbar.

Examples

# In standalone mode, display the load mode of the active MPU and standby MPU.

<Sysname> display xbar

The configured system HA xbar load mode is BALANCE

The activated system HA xbar load mode is SINGLE

The output shows that the configured mode is load mode and the running load mode is standby.

# In IRF mode, display the load mode of the active MPU and standby MPU of all IRF member switches.

<Sysname> display xbar

Chassis 1:

The configured system HA xbar load mode is BALANCE

The activated system HA xbar load mode is SINGLE

Chassis 2:

The configured system HA xbar load mode is SINGLE

The activated system HA xbar load mode is SINGLE

The output shows that two member switches exist. On device 1, the configured mode is load mode and the running load mode is standby; on device 2, the configured mode is standby and the running mode is also standby.

fan auto-control-mode

Syntax

Standalone mode:

fan auto-control-mode { low-temperature-mode | silence-mode }

undo fan auto-control-mode

IRF mode:

fan auto-control-mode { low-temperature-mode | silence-mode } chassis chassis-number

undo fan auto-control-mode chassis chassis-number

View

System view

Default level

3: Manage level

Parameters

chassis-number: Specifies an IRF member switch.

low-temperature-mode: Configures the automatic speed adjustment mode as low temperature mode. In this mode, the fans operate at a high speed to ensure low temperature of the switch.

silence-mode: Configures the automatic speed adjustment mode as silent mode. In this mode, the fans operate at a low speed with low noise, but the temperature is a little higher than that in lower temperature mode. This mode is suitable for a noise-sensitive environment.

Description

Use fan auto-control-mode to configure the automatic speed adjustment mode of fans.

By default, the fans operate in low temperature mode.

Examples

# Configure the automatic speed adjustment mode of fans on the switch with the member ID of 2 to silent mode.

<Sysname> system-view

[Sysname]fan auto-control-mode silence-mode chassis 2

[Sysname]display fan auto-control-mode chassis 2  

Current fan automatic control mode : silence-mode

# Restore the default of the automatic speed adjustment mode of fans on the switch with the member ID of 2.

[Sysname]undo fan auto-control-mode chassis 2

[Sysname]display fan auto-control-mode chassis 2

Current fan automatic control mode : low-temperature-mode

forward-path check

Syntax

forward-path check { enable | disable }

View

System view

Default level

3: Manage level

Parameters

enable: Enables automatic forwarding path check.

disable: Disables automatic forwarding path check.

Description

Use forward-path check enable to enable automatic forwarding path check. The automatic forwarding path check function can check whether traffic forwarding of the switch is operating correctly.

By default, the automatic forwarding path check function is enabled.

Examples

# Disable automatic forwarding path check.

<Sysname> system-view

[Sysname] forward-path check disable

hardware-failure-detection

Syntax

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

View

System view

Default level

3: Manage level

Parameters

chip: Enables in-service hardware failure detection for chips (including chips, capacitors, and resistors)

board: Enables in-service hardware failure detection for cards, including control channel detection and card status fast detection.

forwarding: Enables in-service hardware failure detection for the forwarding service.

off: Takes no action.

warning: Sends warning messages.

reset: Resets the failed card.

isolate: Shuts down the failed port, isolates the failed card, prohibits the failed card from loading software, or powers off the failed card to reduce the impact of the failure to the system.

Description

Use hardware-failure-detection to enable in-service hardware failure detection and configure fix actions taken in case of hardware failures.

You can enable this feature for chips, cards, and the forwarding service respectively. The fix actions include off, warning, reset, and isolate.

By default, the fix action taken for all hardware failures is warning.

Examples

# Enable in-service hardware failure detection for chips and send warning messages in case of chip failures.

<Sysname> system-view

[Sysname]hardware-failure-detection chip warning

Config successfully

# Configure in-service hardware failure detection for cards and reset a card in case that the card fails.

<Sysname> system-view

[Sysname]hardware-failure-detection board reset

Config successfully

hardware-failure-protection auto-down

Syntax

hardware-failure-protection auto-down

undo hardware-failure-protection auto-down

View

Ethernet interface view

Default level

3: Manage level

Parameters

None

Description

CAUTION

CAUTION:

Before configuring the hardware-failure-protection auto-down command on a port, make sure a backup link exists to avoid service interruption in case the port is shut down.

 

Use hardware-failure-protection auto-down to enable hardware failure protection on a port.

Use undo hardware-failure-protection auto-down to disable hardware failure protection on a port.

By default, hardware failure protection is enabled on a port.

The hardware-failure-protection auto-down command is effective only when the fix action for detected failures is configured as isolate.

After this command is configured on a port, the port is automatically shut down when a hardware failure is detected on the port. The port status displayed with the display interface command is Protect DOWN. To bring up the port, use the undo shutdown command on the port.

The hardware-failure-protection auto-down command does not take effect on a port in either of the following cases:

·     The port is configured with the loopback { external | internal } command.

·     The port is configured with the port up-mode command.

·     The port is configured as an IRF physical port.

For information about IRF physical ports, see IRF Configuration Guide.

Examples

# Enable hardware failure protection on GigabitEthernet 7/0/47.

<Sysname> system-view

[Sysname] interface GigabitEthernet 7/0/47

[Sysname-GigabitEthernet7/0/47] hardware-failure-protection auto-down

Config successfully

# Disable hardware failure protection on GigabitEthernet 7/0/47

<Sysname> system-view

[Sysname]interface GigabitEthernet 7/0/47

[Sysname-GigabitEthernet7/0/47]undo hardware-failure-protection auto-down

Config successfully

hardware-failure-protection aggregation

Syntax

hardware-failure-protection aggregation

undo hardware-failure-protection aggregation

View

System view

Default level

3: Manage level

Parameters

None

Description

Use hardware-failure-protection aggregation to enable hardware failure protection for aggregation groups.

Use undo hardware-failure-protection aggregation to disable hardware failure protection for aggregation groups.

By default, hardware failure protection for aggregation groups is disabled.

The hardware-failure-protection aggregation command is effective only when the fix action for detected failures is configured as isolate.

After this command is configured, the hardware failure of a member port in an aggregation group is handled as follows:

·     If the member port is not configured with the hardware-failure-protection auto-down command, and it is not the final port in up state in the aggregation group, the port is shut down automatically.

·     If the member port is not configured with the hardware-failure-protection auto-down command and it is the final port in up state in the aggregation group, the port will not be shut down.

·     If the member port is configured with the hardware-failure-protection auto-down command, the port is shut down automatically no matter whether it is the final port in up state in the aggregation group.

The hardware-failure-protection aggregation command does not take effect on a member port in an aggregation group in either of the following cases:

·     The port is configured with the loopback { external | internal } command.

·     The port is configured with the port up-mode command.

Because hardware failure protection is enabled on member ports of an aggregation group, use the undo hardware-failure-protection auto-down command to disable this feature for the member ports of all aggregation groups before you enable hardware failure protection for the aggregation groups.

If a port is automatically shut down due to hardware failure protection, its status displayed with the display interface command is Protect DOWN. To bring up the port, use the undo shutdown command on the port.

Examples

# Enable hardware failure protection for aggregation groups.

<Sysname> system-view

[Sysname] hardware-failure-protection aggregation

Config successfully

Note: make sure 'undo hardware-failure-protection auto-down' is

configured on every aggregate group member port

# Disable hardware failure protection for aggregation groups.

<Sysname> system-view

[Sysname] undo hardware-failure-protection aggregation

Config successfully

header

Syntax

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

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

View

System view

Default level

2: System level

Parameters

incoming: Configures the banner displayed before a Modem dial-up user accesses user view. If authentication is required, the incoming banner appears after the authentication is passed.

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

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

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

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

text: Banner message, which can be input in two formats. For more information, see Fundamentals Configuration Guide.

Description

Use header to create a banner.

Use undo header to clear a banner.

Banners are greeting or alert messages that the system displays during the login process of a user.

Examples

# Configure banners.

<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 characters of text. Entering % after the displayed test quits the header command. As the starting and ending characters, % is not part of the banners.

# Verify the configuration by using Telnet. (Password authentication is configured.)

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

* Copyright (c) 2004-2009 Hangzhou H3C Tech. 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

Syntax

job job-name

undo job job-name

View

System view

Default level

3: Manage level

Parameters

job-name: Specifies a job name, a string of 1 to 32 characters.

Description

Use job to schedule a job or enter job view.

Use undo job to delete a scheduled job.

By default, no scheduled job is created.

You can add commands to execute in a job in job view.

You can use the job command to schedule multiple jobs.

Related commands: time and view.

Examples

# Create the job saveconfiguration or enter its view.

<Sysname> system-view

[Sysname] job saveconfiguration

[Sysname-job-saveconfiguration]

power-supply off

Syntax

Standalone mode:

power-supply off slot slot-number

IRF mode:

power-supply off chassis chassis-number slot slot-number

View

User view

Default level

3: Manage level

Parameters

slot slot-number: Specifies a card by its slot number.

chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the card resides. To view the member ID and slot number information, use the display device command.

Description

Use power-supply off to stop power supply to the specified card.

The specified card cannot be the MPU.

Examples

# In standalone mode, stop power supply to the card in slot 9.

<Sysname> power-supply off slot 9

# In IRF mode, stop power supply to the card in slot 3 on member switch 1.

<Sysname> power-supply off chassis 1 slot 3

power-supply on

Syntax

Standalone mode:

power-supply on slot slot-number

IRF mode:

power-supply on chassis chassis-number slot slot-number

View

User view

Default level

3: Manage level

Parameters

slot slot-number: Specifies a card by its slot number.

chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-number argument refers to the ID of the IRF member switch, and the slot-number argument refers to the number of the slot where the card resides. To view the member ID and slot number information, use the display device command.

Description

Use power-supply on to start power supply to the specified card.

The specified card cannot be the MPU.

Examples

# In standalone mode, start power supply to the card in slot 9.

<Sysname> power-supply on slot 9

# In IRF mode, start power supply to the card in slot 3 on member switch 1.

<Sysname> power-supply on chassis 1 slot 3

reboot

Syntax

Standalone mode:

reboot [ slot slot-number ]

IRF mode:

reboot [ chassis chassis-number [ slot slot-number ] ]

View

User view

Default level

3: Manage level

Parameters

slot slot-number: Specifies the slot number of a card. If you do not specify this option, this command applies to all cards.

chassis chassis-number: Specifies an IRF member switch by its member ID. If you do not specify this option, this command applies to all member switches.

Description

CAUTION

CAUTION:

·     Device reboot can interrupt network services.

·     If the main system software image file has been corrupted or does not exist, the reboot command cannot reboot the switch. You must re-specify a main system software image file, or power off the switch and then power it on so the system can reboot with the backup system software image file.

 

·     In standalone mode:

Use reboot to reboot a card, a subcard, or the whole system.

If the slot keyword is not provided, the whole system will reboot.

Do not use the reboot command to reboot the standby MPU. Instead, use the slave restart command (see High Availability Command Reference).

·     In IRF mode:

Use reboot to reboot an IRF member switch, a subcard, or all the IRF member switches.

You can use the reboot [ chassis chassis-number [ slot slot-number [ subslot subslot-number ] ] ] command on the master to reboot the master or a slave.

¡     If no member switch is specified, all member switches reboot.

¡     If a member switch is specified but no card is specified, the specified member switch reboots.

¡     If a card is specified, only the specified card reboots.

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

You cannot reboot a card in the power-off state. You can use the display device command to display the power supply status of a card.

Examples

# In standalone mode, reboot the device. The output information is omitted here.

<Sysname> reboot

# In IRF mode, reboot the card in slot 2 on member switch 2. The output information is omitted here.

<Sysname> reboot chassis 2 slot 2

reset unused porttag

Syntax

reset unused porttag

View

User view

Default level

1: Monitor level

Parameters

None

Description

Use reset unused porttag to clear unused 16-bit indexes of the active MPU and the standby MPU. (In standalone mode)

Use reset unused porttag to clear used 16-bit indexes of all IRF member switches. (IRF mode)

A confirmation is required when you execute this command. If you fail to make a confirmation within 30 seconds or enter "N" to cancel the operation, the command will not be carried out.

Examples

# Clear unused 16-bit indexes.

<Sysname> reset unused porttag

Current operation will delete all unused port tag(s). Continue? [Y/N]:y

<Sysname>

schedule job

Syntax

schedule job { at time1 [ date ] | delay time2 } view view command

undo schedule job

View

User view

Default level

3: Manage level

Parameters

at time1 [ date ]: Specifies the time and/or date to execute a command.

·     time1: Sets time to execute the command, in the hh:mm format. The hh value is in the range of 0 to 23, and the mm value is in the range of 0 to 59.

·     date: Sets the date to execute the command, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the DD value is in the range of 1 to 31.

delay time2: Runs the job after a delay. The time2 argument specifies the delay in one of the following formats:

·     hh:mm format—The hh value is in the range of 0 to 720, and the mm value is in the range of 0 to 59. When the hh value is 720, the mm value cannot be more than 0.

·     mm format—It is in the range of 0 to 432000 minutes, with 0 indicating that the command is executed immediately.

view view: Specifies the view in which the command is executed. The view argument represents the view name, and it can take only one of the following keywords:

·     shell—Represents user view.

·     system—Represents system view.

command: Command to execute.

Description

Use schedule job to schedule a job by using the non-modular method.

Use undo schedule job to remove the scheduled job.

You can schedule a job to automatically run a command or a set of commands without administrative interference. The commands in a job are polled every minute. When the scheduled time for a command is reached, the job automatically executes the command. If a confirmation is required while the command is running, the system automatically enters Y or Yes. If characters are required, the system automatically enters a default character string or an empty character string when no default character string is available.

Follow these guidelines when you schedule a job by using the non-modular method:

·     You can schedule only one job and run only one command with this method. If you perform the schedule job command multiple times, the most recent configuration takes effect.

·     To have the command successfully executed, check that the specified view and command are valid. The system does not verify their validity.

·     If you specify both the time1 and date arguments, the execution time or date must be later than the current system time or date.

·     If you specify the time1 argument, but not the date argument:

¡     When time1 is earlier than the current system time, the command runs at time1 the next day.

¡     When time1 is later than the current system time, the command runs at time1 of the current day.

·     The interval between the scheduled time and the current system time cannot exceed 720 hours, or 30 days.

·     Changing any clock setting can cancel the job set by using the schedule job command.

·     After job execution, the configuration interface, view, and user status that you have before job execution restore even if the job has run a command that changes the user interface (for example, telnet, ftp, and ssh2), the view (for example, system-view, quit and interface GigabitEthernet), or the user status (for example, super).

·     The job scheduled by using the schedule job command cannot be saved. When an active/standby MPU switchover or master/slave switchover occurs, the job is lost.

·     To check whether the job is executed, use the display logbuffer command.

Examples

# Configure the switch to execute the batch file 1.bat in system view in 60 minutes (supposing that the current time is 11:43).

<Sysname> schedule job delay 60 view system execute 1.bat

Info: Command execute 1.bat in system view will be executed at 12:43 10/31/2007 (in 1 hours and 0 minutes).

# Configure the switch to execute the batch file 1.bat in system view at 12:00 in the current day (supposing that the current time is 11:43).

<Sysname> schedule job at 12:00 view system execute 1.bat

Info: Command execute 1.bat in system view will be executed at 12:00 10/31/2007 (in 0 hours and 16 minutes).

schedule reboot at

Syntax

schedule reboot at hh:mm [ date ]

undo schedule reboot

View

User view

Default level

3: Manage level

Parameters

hh:mm: Reboot time for the device, in the hh:mm format. The hh value is in the range of 0 to 23, and the mm value is in the range of 0 to 59.

date: Reboot date for the device, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the DD value is in the range of 1 to 31.

Description

CAUTION

CAUTION:

·     Device reboot can interrupt network services.

·     Changing any clock setting can cancel the reboot schedule.

 

Use schedule reboot at to schedule a device reboot to occur at a specific time and date.

Use undo schedule reboot to disable the scheduled reboot function.

By default, the scheduled reboot function is disabled.

In an IRF fabric, the device reboot schedule applies to all member switches.

The interval between the reboot date and the current date cannot exceed 30 x 24 hours, or 30 days.

When no reboot date is specified:

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

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

The switch supports only one device reboot schedule. If you configure the schedule reboot at command multiple times, the most recent configuration takes effect. The schedule reboot at command and the schedule reboot delay command overwrite each other. The command that is configured most recently takes effect.

The alert "REBOOT IN ONE MINUTE" appears 1 minute before the reboot time.

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

Examples

# Configure the switch to reboot at 12:00 AM. This example assumes that the current time is 11:43.

<Sysname> schedule reboot at 12:00

Reboot system at 12:00 06/06/2008(in 0 hour(s) and 16 minute(s))

 confirm? [Y/N]:

Enter y at the prompt. If you have used the terminal logging command to enable the log display function (enabled by default) on the terminal, the system automatically displays a reboot schedule log message.

<Sysname>

%Jun  6 11:43:11:629 2006 Sysname CMD/5/REBOOT:

vty0(192.168.1.54): Set schedule reboot parameters at 11:43:11 06/06/2006, and system will reboot at 12:00 06/06/2008.

schedule reboot delay

Syntax

schedule reboot delay { hh:mm | mm }

undo schedule reboot

View

User view

Default level

3: Manage level

Parameters

hh:mm: Device reboot wait time, in the hh:mm format. The hh value is in the range of 0 to 720, and the mm value is in the range of 0 to 59. When the hh value is 720, the mm value cannot be more than 0.

mm: Device reboot wait time in minutes, in the range of 0 to 43200.

Description

CAUTION

CAUTION:

·     Device reboot can interrupt network services.

·     Changing any clock setting can cancel the reboot schedule.

 

Use schedule reboot delay to schedule a device reboot to occur after a delay.

Use undo schedule reboot to disable the scheduled reboot function.

By default, the scheduled reboot function is disabled.

In an IRF fabric, the device reboot schedule applies to all member switches.

The reboot delay cannot exceed 30 x 24 x 60 minutes, or 30 days.

The switch supports only one device reboot schedule. If you configure the schedule reboot delay command multiple times, the most recent configuration takes effect. The schedule reboot at command and the schedule reboot delay command overwrite each other. The command that is configured most recently takes effect.

The alert "REBOOT IN ONE MINUTE" appears 1 minute before the reboot time.

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

Examples

# Configure the device to reboot in 88 minutes. This example assumes that the current time is 11:48.

<Sysname> schedule reboot delay 88

Reboot system at 13:16 06/06/2006(in 1 hour(s) and 28 minute(s)). confirm? [Y/N]:

Enter y at the prompt. If you have used the terminal logging command to enable the log display function (enabled by default) on the terminal, the system automatically displays a reboot schedule log message.

<Sysname>

%Jun  6 11:48:44:860 2006 Sysname CMD/5/REBOOT:

vty0(192.168.1.54): Set schedule reboot parameters at 11:48:44 06/06/2006, and system will reboot at 13:16 06/06/2006.

shutdown-interval

Syntax

shutdown-interval time

undo shutdown-interval

View

System view

Default level

2: System level

Parameters

time: Port status detection timer in seconds, which is in the range of 0 to 300.

Description

Use shutdown-interval to set the port status detection timer.

Use undo shutdown-interval to restore the default.

By default, the port status detection timer is 30 seconds.

Some protocols might shut down ports under specific circumstances. For example, MSTP shuts down a BPDU guard-enabled port when the port receives a BPDU, and the loop detection function in shutdown mode shuts down a port when a loop is detected on the port. You can set the port status detection timer so the device restores the port to its original physical status if the port is still down when the timer expires.

If you change the detection timer to T1 during port detection, the interval from when you change the timer to the time when the protocol module shuts down the port is T. If T<T1, the down port will be recovered after T1-T time. If T>=T1, the down port is recovered immediately. For example, if the detection timer is set to 30 seconds and you change it to 10 seconds (T1=10) 2 seconds after the port is shut down (T=2), this port will be recovered 8 seconds later. If the detection timer is set to 30 seconds and you change it to 2 seconds 10 seconds after the port is shut down, this port is recovered immediately.

If the detection timer is set to 0, the protocol module never automatically recovers the port. You must manually bring up the port by using the undo shutdown command or change the detection timer to a non-zero value.

Examples

# Set the port status detection timer to 100 seconds.

<Sysname> system-view

[Sysname] shutdown-interval 100

sysname

Syntax

sysname sysname

undo sysname

View

System view

Default level

2: System level

Parameters

sysname: Name of the device, which is a string of 1 to 64 characters.

Description

Use sysname to set the name of the device.

Use undo sysname to restore the device name to the default.

Changing device name affects the prompt of the CLI. For example, if the device name is Sysname, the prompt of user view is <Sysname>.

Examples

# Set the name of the device to test.

<Sysname> system-view

[Sysname] sysname test

[test]

system working mode

Syntax

system working mode { { advance | bridgee | routee | standard } [ hybrid ] }

undo system working mode

View

System view

Default level

3: Manage level

Parameters

advance: Advanced mode.

bridgee: Enhanced L2 mode.

routee: Enhanced L3 mode.

standard: Standard mode.

hybrid: Hybrid mode. If bridge and hybrid are both configured, the switch supports enhanced L2 hybrid mode.

Description

Use system working mode to configure the system working mode to adjust allocation of the hardware resources of the system.

Use undo system working mode to restore the default.

By default, the system working mode is standard.

Restart the switch immediately to make your changes on the working mode effective.

An IRF member switch cannot operate in hybrid mode. A switch operating in hybrid mode can operate in standalone mode instead of IRF mode.

Examples

# Configure the system working mode as enhanced L3.

<Sysname> system-view

[Sysname] system working mode routee

routeE mode has been set. It will take effect after system restart.

system-failure

Syntax

system-failure { maintain | reboot }

undo system-failure

View

System view

Default level

3: Manage level

Parameters

maintain: Specifies that when the system detects any software abnormality, it maintains the current situation, and does not take any measure to recover itself.

reboot: Specifies that when the system detects any software abnormality, it recovers itself through automatic reboot.

Description

·     Standalone mode:

Use system-failure to configure the exception handling method of the MPUs.

By default, an MPU reboots when an exception occurs to it.

The system always reboots an interface card or the auxiliary CPU system when an exception occurs to them.

The exception handling method is effective only for the failed card, and does not influence the functions of other cards.

·     IRF mode:

Use system-failure to configure the exception handling method of the MPUs.

By default, an MPU reboots when an exception occurs to it.

The system always reboots an interface card or the auxiliary CPU system when an exception occurs to them.

The exception handling method is effective only for the failed card, and does not influence the operations of other cards or the IRF fabric.

The system cannot ignore all exceptions when the preferred exception handling method is set to maintain. If the system ignore exceptions, some functions might fail.

Examples

# Set the exception handling method to reboot.

<Sysname> system-view

[Sysname] system-failure reboot

temperature-limit

Syntax

Standalone mode:

temperature-limit slot slot-number { inflow | hotspot | outflow } sensor-num LowerLimit WarningLimit [ AlarmLimit ]

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

IRF mode:

temperature-limit chassis chassis-number slot slot-number { inflow | hotspot | outflow } sensor-num LowerLimit WarningLimit [ AlarmLimit ]

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

View

System view

Default level

2: System level

Parameters

chassis chassis-number: Specifies an IRF member switch. The chassis-number argument represents the ID of the IRF member switch, which you can display with the display device command.

slot-number: Specifies the temperature limit of the card in the specified slot.

hotspot: Specifies a hotspot sensor, which is typically placed near the chip that generates a great amount of heat for temperature monitoring.

inflow: Specifies an intake sensor, which is placed near the air inlet for temperature monitoring.

outflow: Specifies an exhaust sensor, which is placed near the air exhaust for temperature monitoring.

sensor-number: Specifies the sensor number. It is an integer starting from 1, each number representing a temperature sensor of a device or card.

sensor-num: Temperature sensor ID.

LowerLimit: Low temperature threshold in Celsius degrees.

WarningLimit: Warning temperature threshold in Celsius degrees.

AlarmLimit: Alarming temperature threshold in Celsius degrees. If you do not specify this argument, the command uses the current AlarmLimit configuration of the switch.

Description

Use temperature-limit to set the temperature thresholds on a card.

Use undo temperature-limit to restore the temperature thresholds to the default.

If the temperature is lower than the low temperature threshold, the device logs the event and sends a trap. If the temperature reaches the warning threshold, the device logs the event and sends a trap. If the temperature is higher than the alarming threshold, the device not only repeatedly outputs the log information and send traps, but also alerts users through the LED on the device panel.

The warning and alarming temperature thresholds must be higher than the low temperature threshold.

The alarming temperature threshold must be higher than the warning temperature threshold.

Only cards configured with a hotspot temperature sensor support the hotspot keyword.

The temperature threshold range and default vary with switch models. For more information, see Table 14 and Table 15.

Table 14 Temperature alarm thresholds of MPU

Temperature sensor

Low temperature threshold

Warning temperature threshold

Alarming temperature threshold

Inflow temperature sensor

–15°C to –5°C, –10°C by default (5°F to 23°F, 14°F by default)

50°C to 60°C, 55°C by default (122°F to 140°F, 131°F by default)

80°C to 90°C, 85°C by default (176°F to 194°F, 185°F by default)

Outflow temperature sensor

0°C to 10°C, 5°C by default (32°F to 50°F, 41°F by default)

70°C to 80°C, 75°C by default (158°F to 176°F, 167°F by default)

85°C to 95°C, 90°C by default (185°F to 203°F, 194°F by default)

No. 1 hotspot temperature sensor

–5°C to +5°C, 0°C by default (23°F to 41°F, 32°F by default)

65°C to 75°C, 70°C by default (149°F to 167°F, 158°F by default)

80°C to 90°C, 85°C by default (176°F to 194°F, 185°F by default)

No. 2 hotspot temperature sensor

15°C to 25°C, 20°C by default (59°F to 77°F, 68°F by default)

75°C to 85°C, 80°C by default (167°F to 185°F, 176°F by default)

90°C to 100°C, 95°C by default (194°F to 212°F, 203°F by default)

 

Table 15 Temperature alarm thresholds of interface cards

Temperature sensor

Low temperature threshold

Warning temperature threshold

Alarming temperature threshold

Inflow temperature sensor

–15°C to –5°C, –10°C by default (5°F to 23°F, 14°F by default)

50°C to 60°C, 55°C by default (122°F to 140°F, 131°F by default)

70°C to 80°C, 75°C by default (158°F to 176°F, 167°F by default)

Outflow temperature sensor

–10°C to 0°C, –5°C by default (14°F to 32°F, 23°F by default)

60°C to 70°C, 65°C by default (140°F to 158°F, 149°F by default)

80°C to 90°C, 85°C by default (176°F to 194°F, 185°F by default)

No. 1 hotspot temperature sensor

–10°C to 0°C, –5°C by default (14°F to 32°F, 23°F by default)

60°C to 70°C, 65°C by default (140°F to 158°F, 149°F by default)

80°C to 90°C, 85°C by default (176°F to 194°F, 185°F by default)

 

Examples

# Set the low temperature threshold of inflow temperature sensor 1 configured on card 0 to –10°C (14°F), the warning temperature threshold to 60°C (140°F), and the alarming temperature threshold to 90°C (194°F).

<Sysname> system-view

[Sysname] temperature-limit slot 0 inflow 1 -10 60 90

test diag-offline

Syntax

Standalone mode:

test diag-offline slot slot-number

IRF mode:

test diag-offline chassis chassis-number slot slot-number

View

System view

Default level

3: Manage level

Parameters

slot-number: Slot number of a card.

chassis chassis-number slot slot-number: Specifies the card on the specified member switch to be diagnosed. The chassis-number argument represents the ID of the IRF member switch, and the slot-number argument represents the number of the slot that holds the card. To view the member ID and slot number information, use the display device command.

Description

Use test diag-offline to diagnose problems of the isolated card.

With the command executed, the system implements a set of self-test and diagnosis operations and records the diagnosis information. The diagnosis information is displayed and saved in the format of logs in the root directory of the flash. Each log is named in the format of diag_slot_time, where slot indicates the location of the card and time indicates when the diagnosis operation is performed.

When you execute the test diag-offline command, the path where the diagnosis information is saved is displayed following the diagnosis information on the terminal. For example, you can see flash:/diag_slot3_20080522_103458.txt.

H3C recommends that you send the diagnosis information to qualified engineers for analysis.

Related commands: board-offline.

Examples

# Diagnose problems of the isolated card in slot 3.

<Sysname> system-view

[Sysname] test diag-offline slot 3

@

Now we begin testing. please don't pull out this board until test finished!

[diag]test cpu chipcheck

@

CPLD0   test...................ok

PHY0    test...................ok

test result : pass

$$

[diag]test chipcheck

@

CPLD0   test...................ok

PP0     test...................ok

PHY0    test...................ok

PHY1    test...................ok

PHY2    test...................ok

PHY3    test...................ok

PHY4    test...................ok

PHY5    test...................ok

PHY6    test...................ok

PHY7    test...................ok

PHY8    test...................ok

PHY9    test...................ok

PHY10   test...................ok

PHY11   test...................ok

LSW0    test...................ok

test result : pass

$$

[diag]test temperature

@

CHIP  LOW_LIMIT  CURRENT_TEMPERATURE HIGH_LIMIT     STATUS

0     -5         27                  75             ok

1     -5         30                  75             ok

2.0   20         56                  90             ok

2.2   -5         33                  75             ok

test result : pass

$$

[diag]test junction temperature

@

CHIP  LOW_LIMIT  CURRENT_TEMPERATURE HIGH_LIMIT     STATUS

0     -5         27                  75             ok

1     -5         30                  75             ok

2.0   20         56                  90             ok

2.2   -5         34                  75             ok

test result : pass

$$

[diag]test extchip description pp

@

QDR_TYPE   : QDR II+

EB_RL      : 2.5

EB_SPEED   : 400.0MHz

EB_SIZE    : 8MB

IB_RL      : 2.5

IB_SPEED   : 400.0MHz

IB_SIZE    : 4MB

LPM_TYPE   : DDR II+

LPM_RL     : 2.5

LPM_SPEED  : 400.0MHz

LPM1_SIZE  : 2MB

LPM2_SIZE  : 4MB

LPM3_SIZE  : 2MB

CS_TYPE    : DDR II+

CS_RL      : 2.5

CS_SPEED   : 400.0MHz

CS_SIZE    : 4MB

TCAM_TYPE  : IDT

TCAM_SPEED : 250.0MHz

TCAM_SIZE  : 5Mbit

test result : pass

$$

[diag]test external-ram

@

PP0 ingress buffer test..........................ok

PP0 egress buffer test...........................ok

PP0 LPM0 test....................................ok

PP0 LPM1 test....................................ok

PP0 LPM2 test....................................ok

PP0 control SRAM test............................ok

PP0 TCAM test....................................ok

test result : pass

$$

[diag]test prbs

@

slot 3  prbs test......ok

test result : pass

$$

[diag]test mbus status

@

error : please check mbus card present and active, communication is abnormal

test result : fail

$$

[diag]test mbus voltage

@

error : please check mbus card present and active, communication is abnormal

test result : fail

$$

[diag]test management channel

@

slot 3  test...................ok

test result : pass

The test of this offline-board finished, final test result as below :

Test result : this board is abnormal

You can view the file in flash to see the test information : flash:/diag_slot3_20080522_103458.txt.

$$

time

Syntax

time timeid at time1 date command command

time timeid { one-off | repeating } at time1 [ month-date month-day | week-day week-daylist ] command command

time timeid { one-off | repeating } delay time2 command command

undo time timeid

View

Job view

Default level

3: Manage level

Parameters

timeid: Time index, an integer between 1 and 10.

at time1: Specifies the execution time, in the hh:mm format, where the hh value is in the range of 0 to 23 and the mm value is in the range of 0 to 59.

date: Specifies the execution date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value is in the range of 2000 to 2035, the MM value is in the range of 1 to 12, and the DD value is in the range of 1 to 31. The specified execution date must be ahead of the current date.

command command: Specifies the command to be automatically executed, in the text format. The command must be executable in the view specified by the view command; otherwise this command cannot be automatically executed. Therefore, ensure the correctness of the configuration.

one-off: Specifies that the specified command is executed for once.

repeating: Specifies a recurring time schedule.

month-date month-day: Specifies the date for executing the command. month-day specifies the date, and is in the range of 1 to 31.

week-day week-daylist: Specifies the day or days for executing the command. week-daylist specifies 1 to 7 days, which can be any combination of Sun, Mon, Tue, Wed, Thu, Fri, and Sat. For example, to have a command executed on Monday, you can enter week-day Mon; to have a command executed on Friday and Saturday, enter week-day Fri Sat. Use a space between every 2 days for separation.

delay time2: Specifies the delay time for executing the command, in the hh:mm format or mm format.

·     When the time argument is in the hh:mm format, the hh value is in the range of 0 to 720, and the mm value is in the range of 0 to 59. When the hh value is 720, the mm value can be only 00.

·     When the time argument is in the mm format , the mm value is in the range of 1 to 43,200. That is, the maximum value of the delay timer is 30 days.

Description

Use time to add an entry in the job schedule.

Use undo time to remove an entry from the job schedule.

The commands in a job must be in the same view.

Every job can have up to 10 commands.

The time ID (time-id) must be unique in a job. If two time and command bindings have the same time ID, the most recent configuration takes effect.

Changing a clock setting does not affect the schedule set by using the time command.

Use Table 16 when you add commands in a job.

Table 16 Command schedule options

Command

Description

time timeid at time1 date command command

Schedules a command to run at a specific time and date. The time or date must be later than the current system time or date.

time timeid one-off at time1 command command

Schedules a command to run at a specific time on the current day. If the specified time has passed, the command runs the next day. The command runs only once.

time timeid one-off at time1 month-date month-day command command

Schedules a command to run at a specific day in the current month. If the specified time or day has passed, the command runs in the next month.

The command runs only once.

time timeid one-off at time1 week-day week-daylist command command

Schedules a command to run at a specific time on a specific day or days in the current week. If the specified time or day has passed, the command runs in the next week.

The command runs only once.

time timeid repeating at time1 command command

Schedules a command to run at a specific time every day.

time timeid repeating at time1 month-date month-day command command

Schedules a command to run on a specific day every month.

time timeid repeating at time1 week-day week-daylist command command

Schedules a command to run at a specific time in a specific day or days every week.

time timeid one-off delay time2 command command

Schedules a command to run after a delay time.

The command runs only once.

time timeid repeating delay time2 command command

Schedules a command to run every the delay time.

 

Related commands: job and view.

Examples

# Configure the switch to save the configuration file a.cfg at 24:00 on May 18, 2009.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 at 24:00 2009/05/18 command save a.cfg

# Configure the switch to save the configuration file at 12:00 every day.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 repeating at 12:00 command save a.cfg

# Configure the switch to save the configuration file at 8:00 AM on 5th in the current month. This job might be executed in the second month if the time has passed.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 one-off at 8:00 month-date 5 command save a.cfg

# Configure the switch to save the configuration file at 8:00 AM on 5th every month.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 repeating at 8:00 month-date 5 command save a.cfg

# Configure the switch to save the configuration file at 8:00 AM on Friday and Saturday in the current week. This job might be delayed to the next week if the time has passed.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 one-off at 8:00 week-day fri sat command save a.cfg

# Configure the switch to save the configuration file at 8:00 on Friday and Saturday every week.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 repeating at 8:00 week-day fri sat command save a.cfg

# Configure the switch to save the configuration file 5 minutes behind the current system time.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 one-off delay 5 command save a.cfg

# Configure the switch to save the configuration file every 5 minutes.

<Sysname> system-view

[Sysname] job saveconfig

[Sysname-job-saveconfig] view monitor

[Sysname-job-saveconfig] time 1 repeating delay 5 command save a.cfg

view

Syntax

view view-name

undo view

View

Job view

Default level

3: Manage level

Parameters

view-name: Specifies a view name, a string of 1 to 90 characters. All commands in the job are executed in the specified view.

Description

Use view to specify a view for a job.

Use undo view to remove the view of a job.

By default, no view is specified for a job.

Every job can have only one view. If you specify multiple views, the view specified most recently takes effect.

Input a view name in its complete form and make sure that the view name is available on the switch. Most commonly used view names include monitor for user view, system for system view, GigabitEthernet x/x/x for Ethernet interface view, and Vlan-interfacex for VLAN interface view.

Related commands: job and time.

Examples

# Specify system view for the job creatvlan.

<Sysname> system-view

[Sysname] job creatvlan

[Sysname-job-creatvlan] view system

xbar

Syntax

Standalone mode:

xbar { load-balance | load-single }

IRF mode:

xbar chassis chassis-number { load-balance | load-single }

View

System view

Default level

2: System level

Parameters

load-balance: Balances load (processing and forwarding packets) between the active MPU and standby MPU.

load-single: The active MPU processes and forwards packets, whereas the standby MPU only backs up data and monitors the state of the active MPU.

chassis chassis-number: Configures the load mode for the active MPU and standby MPU of a specified member switch. The chassis-number argument is the ID of an IRF member switch of the current IRF fabric.

Description

Use xbar to set the load mode for the active MPU and the standby MPU of the switch.

By default, the active MPU and the standby MPU operate in the load-single mode.

The load-balance mode be valid only when both the active MPU and the standby MPU are in their slots. Otherwise, even if the load-balance mode is configured the active MPU automatically switches to the load-single mode.

The models of the active MPU and the standby MPU must be consistent; otherwise, the standby MPU cannot start correctly.

Related commands: display xbar.

Examples

# Set the load mode for the active MPU and the standby MPU to load-balance.

<Sysname> system-view

[Sysname] xbar load-balance

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网