- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Device Management Commands | 380.75 KB |
Contents
display buffer-manage configuration
display device manuinfo chassis-only
display diagnostic-information
display hardware-failure-detection
display hardware-failure-protection
hardware-failure-protection auto-down
hardware-failure-protection aggregation
|
NOTE: The switch operates in IRF or standalone (the default) mode. For more information about the IRF mode, see IRF Configuration Guide. |
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 view the member ID and slot number information, use the display device command.
Description
Use the boot-offline command 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 the undo board-offline command to restore the defaults.
No card is isolated by default.
Related commands: test diag-offline.
|
NOTE: You can use the display device command to view whether a card is isolated, that is, whether the card is in the offline state. |
|
CAUTION: · 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. · Before upgrading a logic of a line processing unit (LPU), keep the LPU offline. · Do not perform configuration (except for the test diag-offline command) on an offline LPU because the configuration may not take effect. |
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 on the service card.
egress: Sets the transmit buffer shared by all interfaces on the service card.
slot slot-number: Specifies the slot number of a service card. If the slot-number argument is not provided, this command applies to all service cards.
chassis chassis-number slot slot-number: Sets the size of the shared receive buffer or transmit buffer on a service 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 service 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 ranges from 0 to 2048 blocks, and that of the shared transmit buffer ranges from 0 to 7168 blocks.
Description
Use the buffer-manage share-size command to set the size of the receive or transmit buffer shared by all interfaces on a service card.
Use the undo buffer-manage share-size command 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
# Set the size of the shared transmit buffer for the card in slot 3 to 2048 blocks. (In standalone mode)
<Sysname> system-view
[Sysname] buffer-manage egress slot 3 share-size 2048
# Set the size of the shared transmit buffer for the card in slot 3 on member switch 1 to 2048 blocks. (In IRF mode)
<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 ranges from 00 to 23, the mm value ranges from 00 to 59, and the ss value ranges from 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 ranges from 2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31.
Description
Use the clock datetime command 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 the clock summer-time one-off command 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 the undo clock summer-time command 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 one day and shorter than one 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 one 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 ranges from 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 ranges from 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 the clock summer-time repeating command to set a recurring daylight saving schedule.
Use the undo clock summer-time command 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 one day and shorter than one 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 one 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 the clock timezone command to set the local time zone.
Use the undo clock timezone command 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, five 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 the copyright-info enable command to enable displaying the copyright statement.
Use the undo copyright-info enable command 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 the display alarm command to display the alarm information.
After this command is executed, the system automatically queries and displays the current alarm information of the boards.
Examples
# Display the alarm information of the switch. (In standalone mode)
<Sysname> display alarm
Slot Level Info
6 ERROR The board in slot 10 is faulty.
Table 1 Output description
Field |
Description |
Level |
Alarm severity In the descending order, the alarm severity levels include ERROR, WARNING, NOTICE, and INFO. |
Info |
Detailed alarm information |
# Display the alarm information of the switch. (In IRF mode)
<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 service card. The slot-number argument represents the slot number of a service card. If the slot-number argument is not specified, the command displays the configuration of the shared buffer on all service cards.
chassis chassis-number slot slot-number: Displays the configuration of the shard buffer on the specified service 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 service 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 the display buffer-manage configuration command to display the configuration of the shared buffer on the specified service card.
Examples
# Display the configuration of the shared buffer on service card 3. (In standalone mode)
<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
# Display the configuration of the shared buffer on service card 3 on the switch with the member ID of 1. (In IRF mode)
<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 the display clipboard command to view 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
# View 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 the display clock command to view 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 ]
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, which ranges from 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 ranges from 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 ranges from 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. The device does not support the from-device keyword.
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 the display cpu-usage command 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
# Display the current CPU usage statistics. (In standalone mode)
<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
# Display the last fifth and sixth CPU usage statistics records. (In standalone or IRF mode)
<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
# Display the current CPU usage statistics. (In IRF mode)
<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 Output description
Field |
Description |
1% in last 5 seconds |
After the switch boots, the system calculates and records the average CPU usage in every five seconds. This field displays the average CPU usage in the last five seconds. |
1% in last 1 minute |
After the switch boots, the system calculates and records the average CPU usage in every one 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 five minutes. This field displays the average CPU usage in the last five minutes. |
CPU usage info (no: x idx: x) |
Information of 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 one second, the actual measurement periods of different CPU usage records may 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 ] [ | { 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 the slot-number argument is not provided, the system displays the historical CPU usage statistics for 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, all the cards of the IRF member switch are specified (On a distributed IRF member switch)
cpu cpu-number: Displays the historical 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 the display cpu-usage history command to display the historical CPU usage statistics in charts. 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 system CPU usage statistics.
<Sysname> display cpu-usage history
100%|
95%|
90%|
85%|
80%|
75%|
70%|
65%|
60%|
55%|
50%|
45%|
40%|
35%|
30%|
25%|
20%|
15%| #
10%| ### #
5%| ########
------------------------------------------------------------
10 20 30 40 50 60 (minutes)
cpu-usage last 60 minutes(SYSTEM)
The output shows the CPU usage 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. This keyword is only valid for distributed IRF member switches.
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 the display device command to display device information.
If the cf-card keyword is not provided, the command displays information of all cards on the device.
Examples
# Display brief information of cards on the switch. (In standalone mode)
<Sysname> display device
Slot No. Brd Type Brd Status Software Version
0 LSR1SRP2B2 Master S9500E-CMW520-A1221
1 NONE Absent NONE
2 NONE Absent NONE
3 LSR1GT24LEC Normal S9500E-CMW520-A1221
4 NONE Absent NONE
5 NONE Absent NONE
6 NONE Absent NONE
# Display brief information of cards on the switch. (In IRF mode)
Slot No. Brd Type Brd Status Software Version
1/0 LSR1SRP2B2 Master S9500E-CMW520-A1221
1/1 NONE Absent NONE
1/2 NONE Absent NONE
1/3 LSR1GT24LEC1 Normal S9500E-CMW520-A1221
1/4 NONE Absent NONE
1/5 NONE Absent NONE
1/6 NONE Absent NONE
|
NOTE: The command output is for reference only. |
Table 3 Output description
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, which can be the following values: · 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 normally. |
Brd Status |
Card status, which can be the following values: · 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 an LPU and functions normally. · 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 normally. |
Software Version |
Software version of the current card, which can be the following values: · 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. This keyword is valid for distributed IRF member switches only.
|: 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 the display device manuinfo command 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
# Display electronic label data for the card in slot 3 on the switch. (In standalone mode)
<Sysname> display device manuinfo slot 3
DEVICE_NAME: LSR1GT24LEC1
DEVICE_SERIAL_NUMBER: 210235A045B05B004350
MAC_ADDRESS: 000f-e200-5600
MANUFACTURING_DATE: 2008-04-13
VENDOR_NAME: H3C
# Display the electronic label data for the card in slot 3 on member switch 1. (In IRF mode)
<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
|
NOTE: The command output is for reference only. |
Table 4 Output description
Field |
Description |
DEVICE_NAME |
Device name |
DEVICE_SERIAL_NUMBER |
Device serial number |
MAC_ADDRESS |
MAC address of the switch |
MANUFACTURING_DATE |
Manufacturing date of the switch |
VENDOR_NAME |
Vendor name |
Chassis n Slot m |
A card in slot m on the switch with the member ID of n |
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 the display device manuinfo chassis-only command to display the electronic label data for the specified backplane.
Examples
# Display the electronic label data for the backplane. (In standalone mode)
<Sysname> display device manuinfo chassis-only
chassis :
DEVICE_NAME : NONE
DEVICE_SERIAL_NUMBER : 210235A36L1234MMSSRR
MANUFACTURING_DATE : NONE
VENDOR_NAME : NONE
# Display the electronic label data for the backplane on IRF member switch 1. (In IRF mode)
<Sysname> display device manuinfo chassis 1 chassis-only
Chassis 1:
chassis :
DEVICE_NAME : NONE
DEVICE_SERIAL_NUMBER : 210235A36L1234MMSSRR
MANUFACTURING_DATE : NONE
VENDOR_NAME : NONE
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 the display device manuinfo fan command 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 unit 2:
DEVICE_NAME : NONE
DEVICE_SERIAL_NUMBER : 210231A36L1234567890
MANUFACTURING_DATE : NONE
VENDOR_NAME : NONE
# 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 unit 2:
DEVICE_SERIAL_NUMBER : 210231A36L1234567891
MANUFACTURING_DATE : NONE
VENDOR_NAME : NONE
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 module, where power-id represents the power module number and ranges from 1 to 2.
chassis chassis-number: Displays the electronic label data for the power modules 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 the display device manuinfo power command to display the electronic label data for the specified power module.
Examples
# Display the electronic label data for power module 2. (In standalone mode)
<Sysname> display device manuinfo power 2
Power unit 2:
DEVICE_NAME : NONE
DEVICE_SERIAL_NUMBER : 210231A36L1234567890
MANUFACTURING_DATE : NONE
VENDOR_NAME : NONE
# Display the electronic label data for power module 2 on IRF member switch 1. (IRF mode)
<Sysname> display device manuinfo chassis 1 power 2
Chassis 1:
Power unit 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 the display diagnostic-information command 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 output of this command 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 the display environment command to display the temperature information of the switch, including the current temperature and temperature thresholds. If slot is not provided, all sensors are specified.
Examples
# Display the temperature information of the cards in standalone mode.
<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
# Display the temperature information of the cards in IRF mode.
<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 5 Output description
Field |
Description |
System Temperature information (degree centigrade) |
Temperature information of system cards (degree centigrade) |
Slot |
Slot number of the card (standalone mode); slot number of a card on the specified member switch in the format of member ID/slot number (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 the display fan command to display the operating state of built-in fans.
Examples
# Display the detailed information of all fans on the switch in standalone mode.
<Sysname> display fan
Fan 1 State: Normal
# Display the detailed information of 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 the display fan auto-control-mode command 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 the display hardware-failure-detection command 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 repeatedly, only the last one is recorded.
|
NOTE: 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 plugged out 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 6 Output description
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 the display hardware-failure-protection command 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 7 Output description
Field |
Description |
Aggregation |
Indicates 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 the display job command 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 8 Output description
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 cpu-number 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 the display memory command to display the usage of the memory of a device.
1. 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.
2. 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 9 Output description
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
When this value exceeds 96%, memory leakage may 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 the detailed information of 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. Without this argument, this command displays the detailed information of the power supplies of all IRF member switches.
verbose: Displays the detailed information of 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 the display power-supply command to display the information of the power supply of a device, including:
· Enabled/disabled status of the power supply management function
· Power supply type, rated input voltage and rated output power
· Number of redundant power modules and the available, redundant, used, remaining power of each module.
· State of the in-place power modules
· Power supply state of the LPUs
Examples
# Display the detailed information of the power supply system in standalone mode.
<Sysname> display power-supply verbose
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
# Display the detailed information of the power supply system in IRF mode.
<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 10 Output description
Field |
Description |
PSU x state: |
Status of power module x |
Watts |
Power in watts |
Status |
Power supply status of the card: · on: The card is normally 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. |
Power info on chassis 1: |
Power supply information of the switch with the member ID of 1 |
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 the display schedule job command 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, the command displays nothing.
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 the display schedule reboot command 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 two hours and five 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 the display system config file command to display the brief information of 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 the brief information of the hardware configuration file of the current system.
<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 the display system working mode command to display the system working mode of the switch.
Examples
# Display the system working 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 above information indicates that the system operates in enhanced Layer 3 mode, and the system will operate in enhanced Layer 2 mode after system 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
1. Standalone mode:
Use the display system-failure command to display the exception handling method of the active MPU and standby MPU.
Related commands: system-failure.
2. IRF mode:
Use the display system-failure command 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
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 the display transceiver command 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 11 Output description
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 |
Vendor Name |
Vendor name or name of the vendor who customizes the transceiver: · H3C customized transceiver module: H3C is displayed. · Other transceivers: The vendor name is displayed; if the vendor is unknown or illegal, unknown is displayed. |
Ordering Name |
· H3C devices: Switch model is displayed. · Other devices: N/A is displayed. |
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 or all transceiver modules. The interface-type interface-number arguments specify an interface by its type and number. If no interface is specified, the command displays present 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 the display transceiver alarm command to display alarms present on transceiver modules.
If no error occurs, None is displayed. Table 12 describes the transceiver module alarms that might occur.
Table 12 Common transceiver module alarms
Field |
Remarks |
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. |
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
|
NOTE: The command output is for reference only. |
Table 13 Output description
Field |
Description |
transceiver current alarm information |
Current alarm information of the transceiver |
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 present measured value of digital diagnosis parameters of the H3C customized transceiver module in the specified interface. The interface-type interface-number represents interface type and interface number. If it is not specified, the command displays the present measured value of digital diagnosis parameters of all H3C customized 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 the display transceiver diagnosis command to display the present measured values of the digital diagnosis parameters for H3C customized transceiver modules.
Examples
# Display the present measured values of the digital diagnosis parameters for H3C customized 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
|
NOTE: The command output is for reference only. |
Table 14 Output description
Field |
Description |
transceiver diagnostic information |
Digital diagnosis information of the transceiver plugged 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 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 H3C customized transceiver module in the specified interface. The interface-type interface-number represents interface type and interface number. If it is not specified, the command displays part of the electronic label data for all H3C customized 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 the display transceiver manuinfo command to display the electronic label data for H3C customized transceiver modules.
Examples
# Display the electronic label data for the H3C customized 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
|
NOTE: The command output is for reference only. |
Table 15 Output description
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
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 the display version command to display system version information, including the system software version, chassis model, and basic MPU and LPU data.
Examples
# Display system version information.
<Sysname> display version
H3C Comware Platform Software
Comware Software, Version 5.20, Release 1232P01-DFT
Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S9505E uptime is 0 week, 0 day, 9 hours, 15 minutes
LSR1SRP2B2 0: uptime is 0 week, 0 day, 9 hours, 15 minutes
1024 Mbytes SDRAM
1024 Kbytes NVRAM Memory
Type : LSR1SRP2B2
BootRom : 1.09
Software : S9500E-CMW520-R1232P01-DFT
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
512 Mbytes SDRAM
0 Kbytes NVRAM Memory
Type : LSR1GT24LEC1
Software : S9500E-CMW520-R1232P01-DFT
Patch : P001
PCB : Ver.A
FPGA : NONE
CPLD : 002
CpuCard
Type : LSR1CPA
PCB : Ver.B
CPLD : 001
BootRom : 1.09
|
NOTE: The command output is for reference only. |
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 the display xbar command to display the load mode of the active MPU and standby MPU of the device, including configured load mode and current load mode.
Related commands: xbar.
|
NOTE: 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. |
Examples
# Display the load mode of the active MPU and standby MPU in standalone mode.
<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.
# Display the load mode of the active MPU and standby MPU of all IRF member switches in IRF mode.
<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 the fan auto-control-mode command 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 the forward-path check enable command to enable automatic forwarding path check. The automatic forwarding path check function can check whether traffic forwarding of the switch works properly.
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 the hardware-failure-detection command 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
Use the hardware-failure-protection auto-down command to enable hardware failure protection on a port.
Use the undo hardware-failure-protection auto-down command to disable hardware failure protection on a port.
By default, hardware failure protection is enabled on a port.
|
CAUTION: · The hardware-failure-protection auto-down command is effective only when the fix action for detected failures is configured as isolate. · 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. · For information about IRF physical ports, see IRF Configuration Guide. |
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.
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 the hardware-failure-protection aggregation command to enable hardware failure protection for aggregation groups.
Use the undo hardware-failure-protection aggregation command to disable hardware failure protection for aggregation groups.
By default, hardware failure protection for aggregation groups is disabled.
|
NOTE: 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 last UP port 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 last UP port 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 last UP port 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.
|
NOTE: · 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 the header command to create a banner.
Use the undo header command 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)%
# Test the configuration by using Telnet. The login banner appears only when password or scheme login authentication has been 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 the job command to schedule a job or enter job view.
Use the undo job command 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 the power-supply off command to stop power supply to the specified card.
|
NOTE: The specified card cannot be the MPU. |
Examples
# Stop power supply to the card in slot 9. (In standalone mode)
<Sysname> power-supply off slot 9
# Stop power supply to the card in slot 3 on member switch 1. (In IRF mode)
<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 the power-supply on command to start power supply to the specified card.
|
NOTE: The specified card cannot be the MPU. |
Examples
# Start power supply to the card in slot 9. (In standalone mode)
<Sysname> power-supply on slot 9
# Start power supply to the card in slot 3 on member switch 1. (In IRF mode)
<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
1. Standalone mode:
Use the reboot command 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).
2. IRF mode:
Use the reboot command 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.
|
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. · 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
# Reboot the device (The output information is omitted here). (In standalone mode)
<Sysname> reboot
# Reboot the card in slot 2 on member switch 2 (The output information is omitted here). (In IRF mode)
<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 the reset unused porttag command to clear unused 16-bit indexes of the active MPU and the standby MPU. (In standalone mode)
Use the reset unused porttag command 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 ranges from 0 to 23, and the mm value ranges from 0 to 59.
· date: Sets the date to execute the command, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from 2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 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 ranges from 0 to 720, and the mm value ranges from 0 to 59. When the hh value is 720, the mm value cannot be more than 0.
· mm format—It ranges from 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 the schedule job command to schedule a job in the non-modular approach.
Use the undo schedule job command 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 in the non-modular approach:
· You can schedule only one job and run only one command in this approach. If you perform the schedule job command multiple times, the last 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 ranges from 0 to 23, and the mm value ranges from 0 to 59.
date: Reboot date for the device, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from 2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 1 to 31.
Description
Use the schedule reboot at command to schedule a device reboot to occur at a specific time and date.
Use the undo schedule reboot command 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 last configuration takes effect. The schedule reboot at command and the schedule reboot delay command overwrite each other, and whichever is configured last takes effect.
The alert “REBOOT IN ONE MINUTE” appears one minute before the reboot time.
For data security, if you are performing file operations at the reboot time, the system does not reboot.
|
CAUTION: · Device reboot can interrupt network services. · Changing any clock setting can cancel the reboot schedule. |
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 ranges from 0 to 720, and the mm value ranges from 0 to 59. When the hh value is 720, the mm value cannot be more than 0.
mm: Device reboot wait time in minutes, which ranges from 0 to 43,200.
Description
Use the schedule reboot delay command to schedule a device reboot to occur after a delay.
Use the undo schedule reboot command 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 last configuration takes effect. The schedule reboot at command and the schedule reboot delay command overwrite each other, and whichever is configured last takes effect.
The alert “REBOOT IN ONE MINUTE” appears one minute before the reboot time.
For data security, if you are performing file operations at the reboot time, the system does not reboot.
|
CAUTION: Device reboot can interrupt network services. |
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: Detection interval in seconds, which ranges from 0 to 300.
Description
Use the shutdown-interval command to set a detection interval.
Use the undo shutdown-interval command to restore the default.
By default, the detection interval is 30 seconds.
Some protocol modules might shut down ports under specific circumstances. For example, an MSTP module will automatically shut down a port that receives configuration messages after the BPDU guard function is enabled on the port. Then, the MSTP module enables a detection timer and detects the status of the port. If the port is still down when the detection timer times out, the MSTP module will automatically bring up the port.
· If you change the detection interval to T1 during port detection, the interval from when you change the interval to the time when the protocol module shuts down the port is T. If T<T1, the port which is down will be brought up after T1-T time. If T>=T1, the port which is down will be brought up immediately. For example, if the detection interval is set to 30 seconds and you change it to 10 seconds (T1=10) two seconds after the port is shut down (T=2), this port will be brought up 8 seconds later. If the detection interval is set to 30 seconds and you change it to 2 seconds ten seconds after the port is shut down, this port will be brought up immediately.
· If the detection interval is set to 0, the protocol module will never automatically recover the port. You need to manually bring up the port by using the undo shutdown command or change the detection interval to a non-zero value.
Examples
# Set the detection interval 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 30 characters.
Description
Use the sysname command to set the name of the device.
Use the undo sysname demand 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 the system working mode command to configure the system working mode to adjust allocation of the hardware resources of the system.
Use the undo system working mode command to restore the default.
By default, the system working mode is standard.
|
NOTE: · Restart the switch immediately to make your changes on the working mode effective. · An IRF member switch cannot operate in hybrid mode; meanwhile, 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
1. Standalone mode:
Use the system-failure command 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 LPU 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.
2. IRF mode:
Use the system-failure command 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 LPU 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.
|
CAUTION: 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 the temperature-limit command to set the temperature thresholds on a card.
Use the undo temperature-limit command 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.
|
NOTE: · 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 16 and Table 17.
Table 16 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 17 Temperature alarm thresholds of LPUs
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 the test diag-offline command 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.
Related commands: board-offline.
|
NOTE: · 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 you to send the diagnosis information to qualified engineers for analysis. |
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.
$$
|
NOTE: The command output is for reference only. |
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 ranges from 0 to 23 and the mm value ranges from 0 to 59.
date: Specifies the execution date, in the MM/DD/YYYY or YYYY/MM/DD format. The YYYY value ranges from 2000 to 2035, the MM value ranges from 1 to 12, and the DD value ranges from 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 command will be executed only once.
repeating: Specifies that the command will be repeatedly executed.
month-date month-day: Specifies the date for executing the command. month-day specifies the date, and ranges from 1 to 31.
week-day week-daylist: Specifies the day or days for executing the command. week-daylist specifies one day or up to seven 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 two 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 ranges from 0 to 720, and the mm value ranges from 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 ranges from 1 to 43,200. That is, the maximum value of the delay timer is 30 days.
Description
Use the time command to add an entry in the job schedule.
Use the undo time command to remove an entry from the job schedule.
Use Table 18 when you add commands in a job.
Table 18 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.
|
NOTE: · 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 one configured last takes effect. |
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, which may 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, which may 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 five 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 five 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 the view command to specify a view for a job.
Use the undo view command 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 one specified the last 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, GigabitEthernetx/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 the xbar command 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 work in the load-single mode.
Related commands: display xbar.
|
NOTE: · 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 normally. |
Examples
# Set the load mode for the active MPU and the standby MPU to load-balance.
<Sysname> system-view
[Sysname] xbar load-balance