H3C S3100-52P Command Manual

H3C S3100-52P Command Manual

System maintenance and debugging
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 & 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-1
1.1.3 clock timezone......................................................................................................... 1-2
1.1.4 language-mode ....................................................................................................... 1-3
1.1.5 quit........................................................................................................................... 1-4
1.1.6 return ....................................................................................................................... 1-4
1.1.7 sysname .................................................................................................................. 1-5
1.1.8 system-view............................................................................................................. 1-6
1.2 System Status/Information Display Commands ................................................................ 1-6
1.2.1 display clock ............................................................................................................ 1-6
1.2.2 display debugging ................................................................................................... 1-7
1.2.3 display users ........................................................................................................... 1-8
1.2.4 display version......................................................................................................... 1-9
1.3 System Debugging Commands ....................................................................................... 1-10
1.3.1 debugging.............................................................................................................. 1-10
1.3.2 display diagnostic-information............................................................................... 1-10
1.3.3 terminal debugging................................................................................................ 1-11
Chapter 2 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-4
3.1.7 display memory ....................................................................................................... 3-5
3.1.8 display power .......................................................................................................... 3-6
3.1.9 display schedule reboot .......................................................................................... 3-6
3.1.10 reboot .................................................................................................................... 3-7
3.1.11 schedule reboot at................................................................................................. 3-8
3.1.12 schedule reboot delay ........................................................................................... 3-9
3.1.13 schedule reboot regularity................................................................................... 3-10

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100-52P and is the answer not in the manual?

Questions and answers

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 & 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-1 1.1.3 clock timezone......................
  • Page 2 Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Table of Contents...
  • Page 3: Chapter 1 Basic System Configuration & Debugging Commands

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands Chapter 1 Basic System Configuration & 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 Timezone

    # 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. <H3C> clock 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.
  • Page 5: Language-Mode

    Related command: clock summer-time and display clock. Example # Set the local time zone named z5, which is five hours ahead of the UTC time. <H3C> clock timezone z5 add 05:00:00 1.1.4 language-mode Syntax language-mode { chinese | english }...
  • Page 6: Quit

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands Example # Toggle from the english mode to the chinese mode. <H3C> language-mode chinese 1.1.5 quit Syntax quit View Any view...
  • Page 7: Sysname

    CLI prompt. For example, if the system name of the switch is H3C, the prompt for user view is <H3C>. Use the undo sysname command to restore the default system view of the Ethernet switch.
  • Page 8: System-View

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands [H3CLANSwitch] 1.1.8 system-view Syntax system-view View User view Parameter None Description Use the system-view command to enter system view from user view.
  • Page 9: Display Debugging

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands Related command: clock datetime. Example # Display the current date and time of the system. <H3C> display clock 18:36:31 beijing Sat 2002/02/02...
  • Page 10: Display Users

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands IP packet debugging is on IP icmp debugging is on 1.2.3 display users Syntax display users [ all ] View Any view Parameter all: Displays the information about all user terminal interfaces.
  • Page 11: Display Version

    H3C Comware Platform Software. Comware software, Version 3.10, Release 1500 Copyright(c) 2004-2007 Hangzhou H3C Technologies. Co., Ltd. All rights reserved. H3C S3100-52P uptime is 0 week, 0 day, 15 hours, 20 minutes H3C S3100-52P with 1 MIPS Processor bytes DRAM 8196K...
  • Page 12: System Debugging Commands

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

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands Parameter None Description Use the display diagnostic-information command to display system diagnostic information, or save system diagnostic information to a file suffixed with diag in the Flash memory.
  • Page 14 Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S3100-52P Ethernet Switch & Debugging Commands 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 15: 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.1 ping Syntax ping [ -a ip-address ] [-c count ] [ -d ] [ -f ] [ -h ttl ] [ -i interface-type interface-number...
  • Page 16 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands -t timeout: Sets the timeout time (in ms) waiting for an ICMP ECHO-REPLY packet after an ICMP ECHO-REQUEST packet is sent. The timeout argument ranges from 0 to 65535 and defaults to 2,000 ms.
  • Page 17: Tracert

    Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands --202.38.160.244 ping statistics-- 5 packet transmitted 5 packet received 0% packet loss round-trip min/avg/max = 1/2/3 ms 2.1.2 tracert Syntax tracert [ -a source-ip ] [ -f first-ttl ] [ -m max-ttl ] [ -p port ] [ -q num-packet ] [ -w timeout ]...
  • Page 18 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S3100-52P Ethernet Switch Commands 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.
  • 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

    Flash memory of a specified switch. Description Use the boot bootrom command to update the BootROM. Example # Update the BootROM of the switch using the file named S3100-52P.btm. <H3C> boot bootrom S3100-52P.btm 3.1.3 display boot-loader Syntax...
  • Page 21: Display Cpu

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Table 3-1 Description on the fields of the display boot-loader command Field Description The current boot app is Current boot file 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 Parameter manuinfo: Displays the manufacture information of the specified switch.
  • Page 23: Display Memory

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands Description Use the display fan command to view the working state of the built-in fans. Example # Display the working state of the fans.
  • Page 24: Display Power

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 3.1.8 display power Syntax display power [ unit unit-id [ power-id ] ] View Any view Parameter unit-id: Unit ID of a switch. power-id: Power ID.
  • Page 25: Reboot

    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 <H3C> %Apr 1 23:57:58:685 2000 H3C DEV/5/DEV_LOG:- 1 - Switch is rebooting... Starting..
  • Page 26: Schedule Reboot At

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 3.1.11 schedule reboot at Syntax schedule reboot at hh:mm [ mm/dd/yyyy | yyyy/mm/dd ] undo schedule reboot View User view Parameter hh:mm: Reboot time, where hh (hour) ranges from 0 to 23, and mm (minute) ranges from 0 to 59.
  • Page 27: Schedule Reboot Delay

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands 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.
  • Page 28: Schedule Reboot Regularity

    Command Manual – System Maintenance and Debugging H3C S3100-52P Ethernet Switch Chapter 3 Device Management Commands You can set the reboot waiting delay in two formats: the hours:minutes format and the absolute minutes format, and both must be less than or equal to 30 × 24 × 60 (that is, 30 days).
  • Page 29 Example # Schedule a reboot so that the switch reboots at 10:00 every Thursday. <H3C> system-view System View: return to User View with Ctrl+Z. [H3C] schedule reboot regularity at 10:00 thursday Schedule reboot regularity, are you sure?[Y/N]:y [H3C] 3-11...

Table of Contents