- Table of Contents
-
- H3C WX3000 Series Unified Switches Switching Engine Command Reference-6W103
- 00-Preface
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-Auto Detect Command
- 06-Voice VLAN Command
- 07-GVRP Command
- 08-Basic Port Configuration Command
- 09-Link Aggregation Command
- 10-Port Isolation Command
- 11-Port Security-Port Binding Command
- 12-DLDP Command
- 13-MAC Address Table Management Command
- 14-MSTP Command
- 15-802.1x and System Guard Command
- 16-AAA Command
- 17-MAC Address Authentication Command
- 18-IP Address and Performance Command
- 19-DHCP Command
- 20-ACL Command
- 21-QoS-QoS Profile Command
- 22-Mirroring Command
- 23-ARP Command
- 24-SNMP-RMON Command
- 25-Multicast Command
- 26-NTP Command
- 27-SSH Command
- 28-File System Management Command
- 29-FTP-SFTP-TFTP Command
- 30-Information Center Command
- 31-System Maintenance and Debugging Command
- 32-VLAN-VPN Command
- 33-HWPing Command
- 34-DNS Command
- 35-Smart Link-Monitor Link Command
- 36-PoE-PoE Profile Command
- 37-Routing Protocol Command
- 38-UDP Helper Command
- 39-Index
- Related Documents
-
Title | Size | Download |
---|---|---|
31-System Maintenance and Debugging Command | 132 KB |
Table of Contents
1 Basic System Configuration and Debugging Commands
Basic System Configuration Commands
System Status and Information Display Commands
display diagnostic-information
2 Network Connectivity Test Commands
Network Connectivity Test Commands
display transceiver alarm interface
display transceiver diagnosis interface
display transceiver manuinfo interface
Basic System Configuration Commands
clock datetime
Syntax
clock datetime HH:MM:SS { YYYY/MM/DD | MM/DD/YYYY }
View
User view
Parameters
HH:MM:SS: Current time, where HH ranges from 0 to 23, MM and SS range from 0 to 59.
YYYY/MM/DD or MM/DD/YYYY: Current date, where YYYY represents year ranging from 2000 to 2099, MM represents month ranging from 1 to 12, and DD represents day ranging from 1 to 31.
Description
Use the clock datetime command to set the current date and time of the device.
By default, it is 23:55:00 04/01/2000 when the system starts up.
In an implementation where exact absolute time is required, it is necessary to use this command to set the current date and time of the device.
Related commands: display clock.
Examples
# Set the current date and time of the device to 0:0:0 2001/01/01.
<device> clock datetime 0:0:0 2001/01/01
<device> display clock
00:00:04 UTC Mon 01/01/2001
Time Zone : add 00:00:00
clock summer-time
Syntax
clock summer-time zone-name { one-off | repeating } start-time start-date end-time end-date offset-time
undo clock summer-time
View
User view
Parameters
zone-name: Name of the summer time, a string of 1 to 32 characters.
one-off: Sets the summer time for only one year (the specified year).
repeating: Sets the summer time for every year starting from the specified year.
start-time: Start time of the summer time, in the form of HH:MM:SS.
start-date: Start date of the summer time, in the form of YYYY/MM/DD or MM/DD/YYYY.
end-time: End time of the summer time, in the form of HH:MM:SS.
end-date: end date of the summer time, in the form of YYYY/MM/DD or MM/DD/YYYY.
offset-time: Offset of the summer time relative to the standard time, in the form of HH:MM:SS.
Description
Use the clock summer-time command to set the name, time range and time offset of the summer time.
After the setting, you can use the display clock command to check the results.
Examples
# Set the summer time named abc1, which starts from 06:00:00 2005/08/01, ends until 06:00:00 2005/09/01, and is one hour ahead of the standard time.
<device> clock summer-time abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
<device> display clock
00:02:36 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Summer-Time : abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
# Set the summer time named abc2, which starts from 06:00:00 08/01, ends until 06:00:00 09/01, and is one hour ahead of the standard time every year from 2005 on.
<device> clock summer-time abc2 repeating 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
<device> display clock
00:01:25 UTC Mon 01/01/2001
Time Zone : add 00:00:00
Summer-Time : abc2 repeating 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
clock timezone
Syntax
clock timezone zone-name { add | minus } HH:MM:SS
undo clock timezone
View
User view
Parameters
zone-name: Name of the time zone, in length of 1 to 32 characters.
add: Specifies to add a time value based on the universal time coordinated (UTC) time to generate a later time.
minus: Specifies to subtract a time value based on the UTC time to generate an earlier time.
HH:MM:SS: Time to be added or subtracted from the UTC time, in the form of HH:MM:SS.
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.
After the setting, you can use the display clock command to check the setting. The log information time and the debugging information time adopts the local time after the time zone and the summer time have been adjusted.
Related commands: clock summer-time, display clock.
Examples
# Set the local time zone named z5, which is five hours earlier than the UTC time.
<device> clock timezone z5 add 05:00:00
<device> display clock
05:03:17 z5 Mon 01/01/2001
Time Zone : z5 add 05:00:00
Summer-Time : abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00
quit
Syntax
quit
View
Any view
Parameters
None
Description
Use the quit command to return from current view to a lower level view, or exit the system if current view is user view.
The following lists the three levels of views available on the device (from lower level to higher level):
l User view
l System view
l VLAN view, Ethernet port view, and so on
Related commands: return, system-view.
Examples
# Return from system view to user view.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] quit
<device>
return
Syntax
return
View
System view and higher-level views
Parameters
None
Description
Use the return command to return from current view to user view. The composite key <Ctrl+Z> has the same effect with the return command.
Related commands: quit.
Examples
# Return from interface view to user view.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] interface GigabitEthernet 1/0/1
[device-GigabitEthernet1/0/1] return
<device>
sysname
Syntax
sysname sysname
undo sysname
View
System view
Parameters
sysname: System name of the device. It is a string of 1 to 30 characters. By default, it is H3C.
Description
Use the sysname command to set the system name of the device. Use the undo sysname command to restore the default system name of the device.
Changing the system name will affect the CLI prompt. For example, if the system name of the device is device, the prompt for user view is <device>.
Examples
# Set the system name of the device to LANSwitch.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] sysname LANSwitch
[LANSwitch]
system-view
Syntax
system-view
View
User view
Parameters
None
Description
Use the system-view command to enter system view from user view.
Related commands: quit, return.
Examples
# Enter system view from user view.
<device> system-view
System View: return to User View with Ctrl+Z.
[device]
System Status and Information Display Commands
display clock
Syntax
display clock
View
Any view
Parameters
None
Description
Use the display clock command to display the current date, time, timezone and summertime of the system, so that you can adjust them if they are wrong.
The maximum date and time that can be displayed by this command is 23:59:59 9999/12/31.
Related commands: clock datetime, clock timezone and clock summer-time.
Examples
# Display the current date and time of the system.
<device> display clock
18:36:31 beijing Sat 2002/02/02
Time Zone : beijing add 01:00:00
Summer-Time : bj one-off 01:00:00 2003/01/01 01:00:00 2003/08/08 01:00:00
Table 1-1 display clock command output description
Field |
Description |
18:36:31 beijing Sat 2002/02/02 |
Current date and time of the system |
Time Zone |
Configured time zone information |
Summer-Time |
Configured summer time information |
display debugging
Syntax
display debugging [ unit unit-id ] [ interface interface-type interface-number ] [ module-name ]
View
Any view
Parameters
unit-id: Unit ID of the device, the value can only be 1.
interface-type: Interface type.
interface-number: Interface number.
module-name: Functional module name.
Description
Use the display debugging command to display enabled debugging on a specified device.
Examples
# Display enabled debugging on unit 1.
<device> display debugging unit 1
ARP packet debugging switch is on
TCP:
TCP packet debugging switch is on for task any socket any
IP icmp debugging is on
display users
Syntax
display users [ all ]
View
Any view
Parameters
all: Specifies to display the user information about all user interfaces.
Description
Use the display users command to display the user information about user interfaces.
If the all keyword is not specified, the user information of the currently used user interfaces is displayed.
Examples
# Display the user information about the currently used user interfaces.
<device> display users
UI Delay Type Ipaddress Username Userlevel
0 AUX 0 00:00:17 3
8 VTY 0 01:37:55 TEL 192.168.0.200 3
+ 9 VTY 1 00:00:00 TEL 192.168.0.3 3
12 VTY 4 00:00:00 TEL 192.168.0.115 3
+ : Current operation user.
F : Current operation user work in async mode.
Table 1-2 display users command output description
Item |
Description |
UI |
User interface |
Delay |
Duration in which no interaction occurs between user and device |
Type |
User login type |
Ipaddress |
IP address used to log in using telnet program |
Username |
User name |
User level |
User level |
F |
The currently used user interface working in the asynchronous mode |
+ |
The currently used user interface |
display version
Syntax
display version
View
Any view
Parameters
None
Description
Use the display version command to display the version information about the device system.
Specifically, you can use this command to check the software version and release time, the basic hardware configuration, and some other information about the device.
Examples
# Display the version information of the system.
H3C Comware Platform Software
Comware Software, Version 3.10, 0001
Copyright (c) 2004-2008 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C WX3024-LSW uptime is 0 week, 0 day, 0 hour, 22 minutes
H3C WX3024-LSW with 1 RMI XLS 408L 750MHz Processor
128M bytes DRAM
8M bytes Flash Memory
Config Register points to FLASH
Hardware Version is REV.A
CPLD Version is 001
Basic Bootrom Version is 1.01
Extend Bootrom Version is 1.01
[SubSlot 0] 25 GE ( 4 COMBO ) Hardware Version is REV.A
System Debugging Commands
debugging
Syntax
debugging module-name [ debugging-option ]
undo debugging { all | module-name [ debugging-option ] }
View
User view
Parameters
module-name: Module name.
debugging-option: Debugging option.
all: Specifies to disable all debugging.
Description
Use the debugging command to enable system debugging.
Use the undo debugging command to disable system debugging.
By default, all debugging is disabled for the system.
Enabled debugging will generate a great deal of debugging information and thus will affect the efficiency of the system. Therefore, it is recommended not to enable debugging for multiple functions at the same time. The undo debugging all command can be used to disable all debugging at a time.
Related commands: display debugging.
Examples
# Enable IP packet debugging.
<device> debugging ip packet
<device> display debugging
IP packet debugging is on
display diagnostic-information
Syntax
display diagnostic-information
View
Any view
Parameters
None
Description
Use the display diagnostic-information command to display system diagnostic information, or save system diagnostic information to a file with the extension .diag in the flash memory.
Examples
# Save system diagnostic information to the file default.diag (suppose that the device is a H3C WX3024 device).
<device> display diagnostic-information
This operation may take a few minutes, continue?[Y/N]y
Diagnostic-information is saved to Flash or displayed(Y=save N=display)?[Y/N]y
Please input the file name(*.diag)[flash:/default.diag]:
The file is already existing, overwrite it? [Y/N]y
% Output information to file: flash:/default.diag.
Please wait......
# Display the diagnostic information of the system.
<device> display diagnostic-information
This operation may take a few minutes, continue?[Y/N]y
Diagnostic-information is saved to Flash or displayed(Y=save N=display)?[Y/N]n
-------------------- display version --------------------
……
<Omitted>
terminal debugging
Syntax
terminal debugging
undo terminal debugging
View
User view
Parameters
None
Description
Use the terminal debugging command to enable terminal display for debugging information.
Use the undo terminal debugging command to disable terminal display for debugging information.
By default, terminal display for debugging information is disabled.
Related commands: debugging.
Examples
# Enable terminal display for debugging information.
<device> terminal debugging
% Current terminal debugging is on
Network Connectivity Test Commands
ping
Syntax
ping [ -a ip-address ] [ -c count ] [ -d ] [ -f ] [ -h ttl ] [ -i interface-type interface-number ] [ ip ] [ -n ] [ - p pattern ] [ -q ] [ -s packetsize ] [ -t timeout ] [ -tos tos ] [ -v ] host
View
Any view
Parameters
-a ip-address: Specifies the source IP address to send ICMP ECHO-REQUEST packet. This IP address must be a local interface IP address.
-c count: Specifies how many times the ICMP ECHO-REQUEST packet will be sent. The count argument is the times, which ranges from 1 to 4,294,967,295 and defaults to 5.
-d: Specifies the socket to be in DEBUGGING mode. By default, the socket is in non-DEBUGGING mode.
-f: Specifies to discard a packet directly instead of fragmenting it if its length is greater than the maximum transmission unit (MTU) of the interface.
-h ttl: Specifies the time to live (TTL) value of the ICMP ECHO-REQUEST packets in the range 1 to 255. By default, the TTL value is 255.
-i: Specifies the port to send the packets.
interface-type: Interface type.
interface-number: Interface number.
ip: Specifies IP ICMP packet.
-n: Specifies to directly regard the host argument as an IP address without performing domain name resolution. By default, the host argument is first regarded as an IP address; if it is not an IP address, domain name resolution is performed.
-p pattern: Specifies the padding byte pattern of the ICMP ECHO-REQUEST packets. The pattern argument is a byte in hexadecimal. For example, -p ff fills a packet with all ffs. By default, the system fills a packet with 0x01, 0x02, and so on, until 0x09; then it repeats this procedure from 0x01 again.
-q: Specifies to display only the statistics without the details. By default, all the information including the details and statistics will be displayed.
-s packestize: Specifies the size (in bytes) of each ICMP ECHO-REQUEST packet (excluding the IP and ICMP headers). The packetsize argument ranges from 20 to 32,000 and defaults to 56 bytes.
-t timeout: Specifies the timeout time (in milliseconds) before an ICMP ECHO-REPLY packet is received after an ICMP ECHO-REQUEST packet is sent. The timeout argument ranges from 0 to 65535 ms and defaults to 2,000 ms.
-tos tos: Specifies the ToS value of the ICMP ECHO-REQUEST packets in the range 0 to 255. By default, this value is 0.
-v: Specifies to display other ICMP packets received (that is, non-ECHO-REPLY packets). By default, other ICMP packets like non-ECHO-REPLY packets are not displayed.
host: Domain name or IP address of the destination host.
Description
Use the ping command to check the IP network connectivity and the reachability of a host.
The executing procedure of the ping command is as follows: First, the source host sends an ICMP ECHO-REQUEST packet to the destination host. If the connection to the destination network is normal, the destination host receives this packet and responds with an ICMP ECHO-REPLY packet.
You can use the ping command to check the network connectivity and the quality of a network line. This command can output the following information:
l Response status of the destination to each ICMP ECHO-REQUEST packet, including the number of bytes, packet sequence number, TTL and response time of the response packet if the response packet is received within the timeout time. If no response packet is received within the timeout time, the message "Request time out" is displayed instead.
l Final statistics, including the numbers of sent packets and received response packets, the irresponsive packet percentage, and the minimum, average and maximum values of response time.
You can set a relatively long timeout time if the network transmission speed is slow.
Related commands: tracert.
Examples
# Check the reachability of the host whose IP address is 202.38.160.244.
ping 202.38.160.244 : 56 data bytes, press CTRL_C to break
Reply from 202.38.160.244 : bytes=56 sequence=1 ttl=255 time = 1ms
Reply from 202.38.160.244 : bytes=56 sequence=2 ttl=255 time = 2ms
Reply from 202.38.160.244 : bytes=56 sequence=3 ttl=255 time = 1ms
Reply from 202.38.160.244 : bytes=56 sequence=4 ttl=255 time = 3ms
Reply from 202.38.160.244 : bytes=56 sequence=5 ttl=255 time = 2ms
--202.38.160.244 ping statistics--
5 packet transmitted
5 packet received
0% packet loss
round-trip min/avg/max = 1/2/3 ms
tracert
Syntax
tracert [ -a source-ip ] [ -f first-ttl ] [ -m max-ttl ] [ -p port ] [ -q num-packet ] [ -w timeout ] string
View
Any view
Parameters
-a source-ip: Specifies the source interface IP address used by this command.
-f first-ttl: Specifies the initial TTL value of the packets to be sent, so as to only display the addresses of those gateways on the path whose hop counts are not smaller than the hop count specified by the first-ttl argument. For example, if the first-ttl argument is 3, the command displays the addresses of the gateways from the third hop. The first-ttl argument ranges from 1 to 255 and defaults to 1.
-m max-ttl: Specifies the maximum TTL value of the packets to be sent. After the command sends a packet with the maximum TTL, it will not send any more packets. With this argument, this command only displays the addresses of those gateways from the source address to hop according to the hop count specified by the argument. For example, if the max-ttl argument is 5, the command displays the addresses of the gateways from the source to the fifth hop. The max-ttl argument ranges from 1 to 255 and defaults to 30.
-p port: Specifies the destination port of the packets to be sent. The port argument ranges from 0 to 65535 and defaults to 33434. Generally, you need not change the argument.
-q num-packet: Specifies the number of packets to be sent each time. The num-packet argument ranges from 0 to 65,535 and defaults to 3.
-w timeout: Specifies the timeout time to wait for ICMP error packets. The timeout argument ranges from 0 to 65,535 and defaults to 5,000 (in milliseconds).
string: IP address of the destination host, or host name of the remote system with 1 to 20 characters.
Description
Use the tracert command to trace the gateways that the test packets pass through from the source to the destination. This command is mainly used to check the network connectivity and help locate the network faults.
The executing procedure of the tracert command is as follows: First, the source sends a packet with the TTL of 1, and the first hop device returns an ICMP error message indicating that it cannot forward this packet because of TTL timeout. Then, the source resends a packet with the TTL of 2, and the second hop device also returns an ICMP TTL timeout message. This procedure goes on and on until a packet gets to the destination or the maximum TTL is reached. During the procedure, the system records the source address of each ICMP TTL timeout message in order to offer the path that the packets pass through to the destination.
If you find that the network is faulty by using the ping command, you can use the tracert command to find where the fault is in the network.
The tracert command can output the IP addresses of all the gateways that the packets pass through to the destination. It outputs the string "***" if the response from a gateway times out.
Examples
# Trace the gateways that the packets pass through to the destination with IP address 18.26.0.115.
<device> tracert 18.26.0.115
tracert to 18.26.0.115 (18.26.0.115), 30 hops max,40 bytes packet
1 128.3.112.1 (128.3.112.1) 0 ms 0 ms 0 ms
2 128.32.216.1 (128.32.216.1) 19 ms 19 ms 19 ms
3 128.32.206.1 (128.32.206.1) 39 ms 19 ms 19 ms
4 128.32.136.23 (128.32.136.23) 19 ms 39 ms 39 ms
5 128.32.168.22 (128.32.168.22) 20 ms 39 ms 39 ms
6 128.32.197.4 (128.32.197.4) 59 ms 119 ms 39 ms
7 131.119.2.5 (131.119.2.5) 59 ms 59 ms 39 ms
8 129.140.70.13 (129.140.70.13) 80 ms 79 ms 99 ms
9 129.140.71.6 (129.140.71.6) 139 ms 139 ms 159 ms
10 129.140.81.7 (129.140.81.7) 199 ms 180 ms 300 ms
11 129.140.72.17 (129.140.72.17) 300 ms 239 ms 239 ms
12 * * *
13 128.121.54.72 (128.121.54.72) 259 ms 499 ms 279 ms
14 * * *
15 * * *
16 * * *
17 * * *
18 18.26.0.115 (18.26.0.115) 339 ms 279 ms 279 ms
Device Management Commands
display cpu
Syntax
display cpu [ unit unit-id ]
View
Any view
Parameters
unit-id: Unit ID of the device, the value can only be 1.
Description
Use the display cpu command to display the CPU usage.
Examples
# Display the CPU usage of this device.
<device> display cpu
Unit 1
Board 0 CPU busy status:
16% in last 5 seconds
16% in last 1 minute
16% in last 5 minutes
Table 3-1 display cpu command output description
Field |
Description |
CPU busy status |
CPU usage status. |
16% in last 5 seconds 16% in last 1 minute 16% in last 5 minutes |
The CPU usage in the last five seconds is 16%. The CPU usage in the last one minute is 16%. The CPU usage in the last five minutes is 16%. |
display device
Syntax
display device [ manuinfo [ unit unit-id ] | unit unit-id ]
View
Any view
Parameters
manuinfo: Specifies to display the manufacture information of the specified device.
unit-id: Unit ID of the device, the value can only be 1.
Description
Use the display device command to display the information, such as the module type and operating status, about each board (main board and sub-board) of a specified device.
You can use this command to display the following information about each board, including slot number, sub-slot number, the number of ports, versions of PCB, FPGA, CPLD and Boot ROM software, address learning mode, interface board type, and so on.
Examples
# Display board information of this device.
Unit 1
SlotNo SubSNo PortNum PCBVer FPGAVer CPLDVer BootRomVer AddrLM Type State
0 0 48 REV.A NULL 001 616 IVL MAIN Normal
Table 3-2 display device command output description
Field |
Description |
SlotNo |
Serial number of the slot |
SubSNo |
Serial number of the sub slot |
PortNum |
Number of ports |
PCBVer |
Version number of the PCB card |
FPGAVer |
Version number of the FPGA encapsulation |
CPLDVer |
Logical version number of the hardware CPLD |
BootRomVer |
Version number of the Boot ROM |
AddrLM |
MAC address learning mode |
Type |
Card type |
State |
Running state |
display memory
Syntax
display memory [ unit unit-id ]
View
Any view
Parameters
unit-id: Unit ID of the device, the value can only be 1.
limit: Specifies to display the memory configuration information of the device.
Description
Use the display memory command to display the memory usage of the specified device.
Examples
# Display the memory usage of this device.
Unit 1
System Available Memory(bytes): 28486656
System Used Memory(bytes): 13180084
Used Rate: 46%
Table 3-3 display memory command output description
Field |
Description |
System Available Memory(bytes) |
Available memory size of the system, in unit of bytes |
System Used Memory(bytes) |
Used memory size of the system, in unit of bytes |
Used Rate |
Percentage of the used memory |
display schedule reboot
Syntax
display schedule reboot
View
Any view
Parameters
None
Description
Use the display schedule reboot command to display information about scheduled reboot.
Related commands: schedule reboot at, schedule reboot delay.
Examples
# Display the information about scheduled reboot.
<device> display schedule reboot
System will reboot at 16:00:00 2002/11/1 (in 2 hours and 5 minutes).
display transceiver alarm interface
Syntax
display transceiver alarm interface [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the display transceiver alarm interface command to display the current alarm information of a single or all transceivers.
If no error occurs, None is displayed.
Table 3-4 shows the alarm information that may occur for the four types of transceivers.
Table 3-4 display transceiver alarm interface command output description
Field |
Description |
GBIC/SFP |
|
RX loss of signal |
RX signal is lost. |
RX power high |
RX power is high. |
RX power low |
RX power is low. |
TX fault |
TX fault |
TX bias high |
TX bias current is high. |
TX bias low |
TX bias current is low. |
TX power high |
TX power is high. |
TX power low |
TX power is low. |
Temp high |
Temperature is high. |
Temp low |
Temperature is low. |
Voltage high |
Voltage is high. |
Voltage low |
Voltage is low. |
Transceiver info I/O error |
Transceiver information read and write error |
Transceiver info checksum error |
Transceiver information checksum error |
Transceiver type and port configuration mismatch |
Transceiver type does not match port configuration. |
Transceiver type not supported by port hardware |
Transceiver type is not supported on the port. |
XFP |
|
RX loss of signal |
RX signal is lost. |
RX not ready |
RX is not ready |
RX CDR loss of lock |
RX clock cannot be recovered. |
RX power high |
RX power is high. |
RX power low |
RX power is low. |
TX not ready |
TX is not ready. |
TX fault |
TX fault |
TX CDR loss of lock |
TX clock cannot be recovered. |
TX bias high |
TX bias current is high. |
TX bias low |
TX bias current is low. |
TX power high |
TX power is high. |
TX power low |
TX power is low. |
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. |
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. |
XENPAK |
|
WIS local fault |
WIS (WAN Interface Sublayer) local fault |
Receive optical power fault |
Receive optical power fault |
PMA/PMD receiver local fault |
PMA/PMD (Physical Medium Attachment/Physical Medium Dependent) receiver local fault |
PCS receive local fault |
PCS (Physical Coding Sublayer) receiver local fault |
PHY XS receive local fault |
PHY XS (PHY Extended Sublayer) receive local fault |
RX power high |
RX power is high. |
RX power low |
RX power is low. |
Laser bias current fault |
Laser bias current fault |
Laser temperature fault |
Laser temperature fault |
Laser output power fault |
Laser output power fault |
TX fault |
TX fault |
PMA/PMD receiver local fault |
PMA/PMD receiver local fault |
PCS receive local fault |
PCS receive local fault |
PHY XS receive local fault |
PHY XS receive local fault |
TX bias high |
TX bias current is high. |
TX bias low |
TX bias current is low. |
TX power high |
TX power is high. |
TX power low |
TX power is low. |
Temp high |
Temperature is high. |
Temp low |
Temperature 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. |
For pluggable transceivers supported by the device, refer to H3C WX3000 Series Unified Switches Configuration Guide.
Examples
# Display the alarm information of the transceiver on interface GigabitEthernet 1/0/28.
<Sysname> display transceiver alarm interface gigabitethernet 1/0/28
GigabitEthernet1/0/28 transceiver current alarm information:
TX fault
Table 3-5 display transceiver alarm interface command output description
Field |
Description |
transceiver current alarm information |
Current alarm information of the transceiver |
TX fault |
TX fault |
display transceiver diagnosis interface
Syntax
display transceiver diagnosis interface [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the display transceiver diagnosis interface command to display the currently measured value of digital diagnosis parameters of a single or all customized anti-spoofing transceivers.
Examples
# Display the currently measured value of digital diagnosis parameters of the customized anti-spoofing pluggable optical transceiver on interface GigabitEthernet 1/0/50.
<Sysname> display transceiver diagnosis interface gigabitethernet 1/0/50
GigabitEthernet1/0/50 transceiver diagnostic information:
Current diagnostic parameters:
Temp(°C) Voltage(V) Bias(mA) RX power(dBM) TX power(dBM)
36 3.31 6.13 -35.64 -5.19
Table 3-6 display transceiver diagnosis interface command output description
Field |
Description |
transceiver diagnostic information |
Digital diagnosis information of the transceiver carried by an interface |
Current diagnostic parameters |
Current diagnostic parameters |
Temp.(°C) |
Digital diagnosis parameter-temperature, in °C, with the precision to 1°C. |
Voltage(V) |
Digital diagnosis parameter-voltage, in V, with the precision to 0.01 V. |
Bias(mA) |
Digital diagnosis parameter-bias current, in mA, with the precision to 0.01 mA. |
RX power(dBM) |
Digital diagnosis parameter-RX power, in dBM, with the precision to 0.01 dBM. |
TX power(dBM) |
Digital diagnosis parameter-TX power, in dBM, with the precision to 0.01 dBM. |
display transceiver interface
Syntax
display transceiver interface [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the display transceiver interface command to display main parameters of a single or all transceivers.
Examples
# Display main parameters of the pluggable transceiver on interface GigabitEthernet 1/0/28.
<Sysname> display transceiver interface gigabitethernet 1/0/28
GigabitEthernet1/0/28 transceiver information:
Transceiver Type : 1000_BASE_LX_SFP
Connector Type : LC
Wavelength(nm) : 1310
Transfer Distance(km) : 10(9um)
Digital Diagnostic Monitoring : YES
Vendor Name : H3C
Ordering Name : SFP-GE-LX10-SM1310
Table 3-7 display transceiver interface command output description
Field |
Description |
transceiver information |
Transceiver information of the interface |
Transceiver Type |
Transceiver type |
Connector Type |
Type of the connectors of the transceiver: l Optical connectors, including SC (SC connector, developed by NTT) and LC (LC connector, 1.25 mm/RJ45 optical connector developed by Lucent). l Other connectors, including RJ-45 and CX4. |
Wavelength(nm) |
l Optical transceiver: central wavelength of the laser sent, in nm. If the transceiver supports multiple wavelengths, every two wavelength values are separated by a comma. l Electrical 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: l 9 um: 9/125 um single-mode fiber l 50 um: 50/125 um multi-mode fiber l 62.5 um: 62.5/125 um multi-mode fiber l TP: Twisted pair l CX4: CX4 cable |
Digital Diagnostic Monitoring |
Whether the digital diagnosis function is supported, where: l YES: supported l NO: not supported |
Vendor Name |
Vendor name or vendor name specified of the transceiver |
Ordering Name |
Ordering name of the transceiver |
Gigabit SFP ports on the device support not only Gigabit SFP modules, but also 100M SFP modules.
display transceiver manuinfo interface
Syntax
display transceiver manuinfo interface [ interface-type interface-number ]
View
Any view
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the display transceiver manuinfo interface command to display part of the electrical label information of a single or all customized anti-spoofing pluggable transceivers .
Examples
# Display part of the electrical label information of the customized anti-spoofing pluggable transceiver on interface GigabitEthernet 1/0/28.
<Sysname> display transceiver manuinfo interface gigabitethernet 1/0/28
GigabitEthernet1/0/28 transceiver manufacture information:
Manu. Serial Number : 213410A0000054000251
Manufacturing Date : 2007-07-28
Vendor Name : H3C
Table 3-8 display transceiver manuinfo interface command output description
Field |
Description |
Manu. Serial Number |
Serial number generated during debugging and testing |
Manufacturing Date |
Debugging and testing date. The date takes the value of the system clock of the computer that performs debugging and testing. |
Vendor Name |
Vendor name specified |
reboot
Syntax
reboot [ unit unit-id ]
View
User view
Parameters
unit-id: Unit ID of the device, the value can only be 1.
Description
Use the reboot command to restart a specified device.
Before rebooting, the system checks whether there is any configuration change. If yes, it prompts whether or not to proceed. This prevents the system from losing the configurations in case of shutting down the system without saving the configurations.
Examples
# Directly restart this device without saving the current configuration.
Start to check configuration with next startup configuration file,
please wait......
This command will reboot the device. Current configuration may be lost in next startup if you continue. Continue? [Y/N] y
This will reboot device. Continue? [Y/N] y
<device>
%Apr 2 00:06:01:148 2006 device DEV/5/DEV_LOG:- 1 -
Switch is rebooting...
Starting......
schedule reboot at
Syntax
schedule reboot at hh:mm [ mm/dd/yyyy | yyyy/mm/dd ]
undo schedule reboot
View
User view
Parameters
hh:mm: Reboot time, where hh (hour) ranges from 0 to 23, and mm (minute) ranges from 0 to 59.
mm/dd/yyyy or yyyy/mm/dd: Reboot date, where yyyy (year) ranges from 2,000 to 2,099, mm (month) ranges from 1 to 12, and the range of dd (day) depends on the specific month. You cannot set the date 30 days later than the system current date.
Description
Use the schedule reboot at command to schedule a reboot on the current device and set the reboot date and time.
Use the undo schedule reboot command to cancel the scheduled reboot.
By default, no scheduled reboot is set on the device.
The device timer can be set to a precision of one minute, that is, the device will reboot within one minute after the specified reboot date and time.
After you execute the schedule reboot at command with a specified future date, the device will reboot at the specified time with at most one minute delay.
After you execute the schedule reboot at command without specifying a date, the device will:
l Reboot at the specified time on the current day if the specified time is later than the current time.
l Reboot at the specified time on the next day if the specified time is earlier than the current time.
After you execute the command, the system will prompt you to confirm. Enter "Y" or "y" for your setting to take effect, and your setting will overwrite the previous one (if available).
If you adjust the system time by the clock command after executing the schedule reboot at command, the schedule reboot at command will be invalid and the scheduled reboot will not happen.
Related commands: reboot, display schedule reboot.
Examples
# Suppose the current time is 05:06, schedule a reboot so that the device reboots at 22:00 on the current day.
<device> schedule reboot at 22:00
Reboot system at 22:00 2000/04/02(in 22 hours and 0 minutes)
confirm?[Y/N]:y
<device>
schedule reboot delay
Syntax
schedule reboot delay { hh:mm | mm }
undo schedule reboot
View
User view
Parameters
hh:mm: Reboot waiting delay, where hh ranges from 0 to 720, and mm ranges from 0 to 59. The value of hh:mm can be up to 720:00.
mm: Reboot waiting delay, ranging from 0 to 43,200 minutes.
Description
Use the schedule reboot delay command to schedule a reboot on the device, and set the reboot waiting delay.
Use the undo schedule reboot command to cancel the scheduled reboot.
By default, no scheduled reboot is set on the device.
The device timer can be set to a precision of one minute, that is, the device will reboot within one minute after the specified reboot date and time.
You can set the reboot waiting delay in two formats: the hour:minute format and the absolute minute format, and both must be less than or equal to 30 × 24 × 60 (that is, 30 days).
After you execute the command, the system will prompt you to confirm. Enter "Y" or "y" for your setting to take effect. Your setting will overwrite the previous one (if available).
If you adjust the system time by the clock command after executing the schedule reboot delay command, the schedule reboot delay command will be invalid and the scheduled reboot will not happen.
Related commands: reboot, schedule reboot at, undo schedule reboot, display schedule reboot.
Examples
# Suppose the current time is 05:02, schedule a reboot so that the device reboots after 70 minutes.
<device> schedule reboot delay 70
Reboot system at 06:12 2000/04/02(in 1 hours and 10 minutes)
confirm?[Y/N]:y
<device>
schedule reboot regularity
Syntax
schedule reboot regularity at hh:mm period
undo schedule reboot regularity
View
System view
Parameters
hh:mm: Reboot time of the device, in the hour:minute format, where hh ranges from 0 to 24, and mm ranges from 0 to 59.
period: Reboot period of the device, in the format period = { daily | { monday | tuesday | wednesday | thursday | friday | saturday | sunday }* }. daily indicates the reboot period is one day, that is, the device reboots at a specified time every day. { monday | tuesday | wednesday | thursday | friday | saturday | sunday }* indicates the week day when the device reboots.
Description
Use the schedule reboot regularity command to enable the periodical reboot of the device and set the reboot time.
Use the undo schedule reboot regularity command to cancel the configured reboot period.
By default, the reboot period of the device is not configured.
The device timer can be set to a precision of one minute, that is, the device will reboot within one minute after the specified reboot date and time.
After you execute the command, the system will prompt you to confirm. Enter "Y" or "y" for your setting to take effect. Your setting will overwrite the previous one (if available).
If you adjust the system time by the clock command after executing the schedule reboot regularity command, the schedule reboot regularity command will be invalid.
Related commands: reboot, schedule reboot at, undo schedule reboot, display schedule reboot.
Examples
# Schedule a reboot so that the device reboots at 10:00 every Thursday.
System View: return to User View with Ctrl+Z.
[device] schedule reboot regularity at 10:00 thursday
Schedule reboot regularity, are you sure?[Y/N]:y
[device]
system-monitor enable
Syntax
system-monitor enable
undo system-monitor enable
View
System view
Parameters
None
Description
Use the system-monitor enable command to enable real-time monitoring of the running status of the system.
Use the undo system-monitor enable command to disable real-time monitoring of the running status of the system.
This function enables you to dynamically record the system running status, such as CPU, thus facilitating analysis and solution of the problems of the device.
By default, real-time monitoring of the running status of the system is enabled.
Enabling of this function consumes some amounts of CPU resources. Therefore, if your network has a high CPU usage requirement, you can disable this function to release your CPU resources.
Examples
# Disable real-time monitoring of the running status of the system.
<device> system-view
System View: return to User View with Ctrl+Z.
[device] undo system-monitor enable
xmodem get
Syntax
xmodem get { file-url | device-name }
View
User view
Parameters
file-url: Path plus name of a file in the flash, a string of 1 to 64 characters.
device-name: File name, in the form of unit[NO.]>flash:, which is used to indicate that the specified file is stored in the flash of a specified device.
Description
Use the xmodem get command to download files from the local device connected with the Console port of the device through XMODEM. This command can be configured only when the device logging onto the device through the Console port.
Note that, the communication parameter settings of the Console port of the device and those of the serial port of the local device must be consistent and, the interface type of the Console port must be AUX.
Examples
# Download files through XMODEM.
<device> xmodem get flash:/config.cfg
**** WARNING ****
xmodem is a slow transfer protocol limited to the current speed settings of the auxiliary ports.
During the course of the download no exec input/output will be available!
---- ******* ----