H3C S3100-52P Command Manual

H3C S3100-52P Command Manual

Hide thumbs Also See for S3100-52P:

Advertisement

Quick Links

Command Manual - System Maintenance and Debugging
H3C S3100-52P Ethernet Switch
Chapter 1 Basic System Configuration and Debugging Commands....................................... 1-1
1.1 Basic System Configuration Commands ........................................................................... 1-1
1.1.1 clock datetime ......................................................................................................... 1-1
1.1.2 clock summer-time .................................................................................................. 1-2
1.1.3 clock timezone......................................................................................................... 1-3
1.1.4 quit........................................................................................................................... 1-4
1.1.5 return ....................................................................................................................... 1-4
1.1.6 sysname .................................................................................................................. 1-5
1.1.7 system-view............................................................................................................. 1-6
1.2 System Status and Information Display Commands ......................................................... 1-6
1.2.1 display clock ............................................................................................................ 1-6
1.2.2 display debugging ................................................................................................... 1-7
1.2.3 display version......................................................................................................... 1-8
1.3 System Debugging Commands ......................................................................................... 1-9
1.3.1 debugging................................................................................................................ 1-9
1.3.2 display diagnostic-information............................................................................... 1-10
1.3.3 terminal debugging................................................................................................ 1-10
Chapter 2 Network Connectivity Test Commands..................................................................... 2-1
2.1 Network Connectivity Test Commands ............................................................................. 2-1
2.1.1 ping.......................................................................................................................... 2-1
2.1.2 tracert ...................................................................................................................... 2-3
Chapter 3 Device Management Commands ............................................................................... 3-1
3.1 Device Management Commands ...................................................................................... 3-1
3.1.1 boot boot-loader ...................................................................................................... 3-1
3.1.2 boot bootrom ........................................................................................................... 3-1
3.1.3 display boot-loader.................................................................................................. 3-2
3.1.4 display cpu .............................................................................................................. 3-3
3.1.5 display device.......................................................................................................... 3-4
3.1.6 display fan ............................................................................................................... 3-5
3.1.7 display memory ....................................................................................................... 3-5
3.1.8 display patch-information ........................................................................................ 3-6
3.1.9 display power .......................................................................................................... 3-7
3.1.10 display schedule reboot ........................................................................................ 3-7
3.1.11 display transceiver alarm interface........................................................................ 3-8
3.1.12 display transceiver diagnosis interface ............................................................... 3-12
3.1.13 display transceiver interface................................................................................ 3-13
3.1.14 display transceiver manuinfo interface................................................................ 3-14

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 Basic System Configuration and Debugging Commands........1-1 1.1 Basic System Configuration Commands ................1-1 1.1.1 clock datetime ......................1-1 1.1.2 clock summer-time ....................1-2 1.1.3 clock timezone......................
  • Page 2 Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Table of Contents 3.1.15 patch activate ...................... 3-15 3.1.16 patch delete......................3-16 3.1.17 patch load......................3-17 3.1.18 patch run ......................3-17 3.1.19 reboot ........................3-18 3.1.20 schedule reboot at....................3-19 3.1.21 schedule reboot delay ..................
  • Page 3: Basic System Configuration Commands

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging Chapter 1 Basic System Configuration and Debugging Commands 1.1 Basic System Configuration Commands 1.1.1 clock datetime Syntax clock datetime HH:MM:SS { YYYY/MM/DD | MM/DD/YYYY }...
  • Page 4: Clock Summer-Time

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging 1.1.2 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.
  • Page 5: Clock Timezone

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging <Sysname> clock summer-time abc2 repeating 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00 <Sysname> 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 1.1.3 clock timezone...
  • Page 6: Quit

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging Summer-Time : abc1 one-off 06:00:00 08/01/2005 06:00:00 09/01/2005 01:00:00 1.1.4 quit Syntax quit View Any view Parameters None Description Use the quit command to return from current view to a lower level view.
  • Page 7: Sysname

    Ethernet switch. Changing the system name will affect the CLI prompt. For example, if the system name of the switch is H3C, the prompt for user view is <H3C>. Examples...
  • Page 8: System-View

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging <Sysname> system-view System View: return to User View with Ctrl+Z. [Sysname] sysname LANSwitch [LANSwitch] 1.1.7 system-view Syntax system-view View User view Parameters...
  • Page 9: Display Debugging

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging 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, clock summer-time.
  • Page 10: Display Version

    H3C Comware Platform Software Comware Software, Version 3.10, Test 1501 Copyright (c) 2004-2007 Hangzhou H3C Technologies Co., Ltd. All rights reserved. S3100-52P uptime is 0 week, 3 days, 4 hours, 28 minutes S3100-52P with 1 Processor bytes DRAM 8196K bytes Flash Memory Config Register points to FLASH Hardware Version is REV.C...
  • Page 11: System Debugging Commands

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging 1.3 System Debugging Commands 1.3.1 debugging Syntax debugging module-name [ debugging-option ] undo debugging { all | module-name [ debugging-option ] }...
  • Page 12: Display Diagnostic-Information

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch Debugging 1.3.2 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.
  • Page 13 Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration and H3C S3100-52P Ethernet Switch 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.
  • Page 14: Chapter 2 Network Connectivity Test Commands

    Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands Chapter 2 Network Connectivity Test Commands 2.1 Network Connectivity Test Commands 2.1.1 ping Syntax ping [ -a ip-address ] [ -c count ] [ -d ] [ -f ] [ -h ttl ] [ -i interface-type interface-number ]...
  • Page 15 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands -q: Specifies to display only the statistics without the details. By default, all the information including the details and statistics will be displayed.
  • Page 16: Tracert

    Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands Related commands: tracert. Examples # Check the reachability of the host whose IP address is 202.38.160.244. <Sysname> ping 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...
  • Page 17 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands 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.
  • Page 18 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands <Sysname> 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...
  • Page 19: Chapter 3 Device Management Commands

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Chapter 3 Device Management Commands 3.1 Device Management Commands 3.1.1 boot boot-loader Syntax boot boot-loader [ backup-attribute ] { file-url | device-name } View...
  • Page 20: Display Boot-Loader

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Parameters file-ulr: Path plus name of a Boot ROM file (that is, a .btm file) in the Flash, a string of 1 to 64 characters.
  • Page 21: Display Cpu

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Table 3-1 Description for the fields of the display boot-loader command Field Description The current boot app is Boot file used for the current boot of the system...
  • Page 22: Display Device

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 3.1.5 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 switch.
  • Page 23: Display Fan

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Field Description Type Card type State Running state 3.1.6 display fan Syntax display fan [ unit unit-id [ fan-id ] ] View Any view Parameters unit-id: Unit ID of a switch, the value can only be 1.
  • Page 24: Display Patch-Information

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Examples # Display the memory usage of this switch. <Sysname> display memory Unit 1 System Available Memory(bytes): 30045312 System Used Memory(bytes): 15698468 Used Rate: 52%...
  • Page 25: Display Power

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Table 3-5 Description on the fields of the display patch-information command Field Description patch version Patch version number program version Patch baseline version number...
  • Page 26: Display Transceiver Alarm Interface

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 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.
  • Page 27 Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Field Description 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.
  • Page 28 Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Field Description Wavelength of optical signal exceeds the Wavelength unlocked manufacturer’s tolerance. Temp high Temperature is high. Temp low Temperature is low. Voltage high Voltage is high.
  • Page 29 Transceiver type is not supported on the hardware port. Note: For pluggable transceivers supported by S3100-52P Ethernet switch, refer to H3C S3100-52P Ethernet Switch Installation Manual. Examples # Display the alarm information of all pluggable transceivers. <Sysname> display transceiver alarm interface...
  • Page 30: Display Transceiver Diagnosis Interface

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 3.1.12 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.
  • Page 31: Display Transceiver Interface

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Field Description Digital diagnosis parameter-TX power, in TX power(dBM) dBM, with the precision to 0.01 dBM. 3.1.13 display transceiver interface Syntax display transceiver interface [ interface-type interface-number ]...
  • Page 32: Display Transceiver Manuinfo Interface

    Monitoring NO: not supported Vendor name or vendor name specified of the transceiver: Vendor Name Transceiver customized by H3C: H3C is displayed. Other transceiver: the original vendor name is displayed. Ordering Name Ordering name of the pluggable transceiver 3.1.14 display transceiver manuinfo interface...
  • Page 33: Patch Activate

    Chapter 3 Device Management Commands Description Use the display transceiver manuinfo interface command to display part of the electrical label information of a single or all pluggable transceivers customized by H3C. Related commands: display transceiver alarm interface, display transceiver diagnosis interface, display transceiver interface.
  • Page 34: Patch Delete

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands The active patches will become inactive after a system reboot. If you want to run these patches again, you need to use the command to activate and run these patches.
  • Page 35: Patch Load

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 3.1.17 patch load Syntax patch load filename View System view Parameters filename: Patch file name to be specified, a string of 1 to 142 characters.
  • Page 36: Reboot

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Parameters None Description Use the patch run command to place ACTIVE patches to the RUNNING state. This command is applicable to ACTIVE patches only. After a system reboot, running patches remain in the RUNNING state and keep working.
  • Page 37: Schedule Reboot At

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Examples # Directly restart this switch without saving the current configuration. <Sysname> reboot Start to check configuration with next startup configuration file, please wait..
  • Page 38: Schedule Reboot Delay

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Note: The switch timer can be set to a precision of one minute, that is, the switch will reboot within one minute after the specified reboot date and time.
  • Page 39: Schedule Reboot Regularity

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Description Use the schedule reboot delay command to enable the delay reboot function on the switch, and set the reboot delay time. Use the undo schedule reboot command to disable the delay reboot function.
  • Page 40: System-Monitor Enable

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands period: Reboot period of the switch, in the format period = { daily | { monday | tuesday | wednesday | thursday | friday | saturday | sunday }* }. daily indicates the reboot period is one day, that is, the switch reboots at a specified time every day.
  • Page 41: Xmodem Get

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 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.
  • Page 42 Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Description Use the xmodem get command to download files from the local device connected with the Console port of a switch through XMODEM. This command can be configured only when the device logging onto a switch through the Console port.

Table of Contents