H3C S3610 Series Command Manual

H3C S3610 Series Command Manual

System maintaining and debugging
Hide thumbs Also See for S3610 Series:

Advertisement

Quick Links

Command Manual - System Maintaining and Debugging
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 Basic Configuration Commands................................................................................ 1-1
1.1 Basic Configuration Commands ........................................................................................ 1-1
1.1.1 clock datetime ......................................................................................................... 1-1
1.1.2 clock summer-time one-off...................................................................................... 1-2
1.1.3 clock summer-time repeating .................................................................................. 1-3
1.1.4 clock timezone......................................................................................................... 1-4
1.1.5 command-privilege .................................................................................................. 1-5
1.1.6 display clipboard...................................................................................................... 1-6
1.1.7 display clock ............................................................................................................ 1-7
1.1.8 display current-configuration ................................................................................... 1-8
1.1.9 display diagnostic-information............................................................................... 1-10
1.1.10 display history-command .................................................................................... 1-10
1.1.11 display hotkey...................................................................................................... 1-11
1.1.12 display this........................................................................................................... 1-12
1.1.13 display version..................................................................................................... 1-13
1.1.14 header ................................................................................................................. 1-14
1.1.15 hotkey.................................................................................................................. 1-16
1.1.16 quit....................................................................................................................... 1-18
1.1.17 return ................................................................................................................... 1-18
1.1.18 super ................................................................................................................... 1-19
1.1.19 super password ................................................................................................... 1-20
1.1.20 sysname .............................................................................................................. 1-21
1.1.21 system-view......................................................................................................... 1-22
Chapter 2 System Maintaining and Debugging Commands ..................................................... 2-1
2.1 System Maintaining Commands ........................................................................................ 2-1
2.1.1 ping.......................................................................................................................... 2-1
2.1.2 ping ipv6 .................................................................................................................. 2-3
2.1.3 tracert ...................................................................................................................... 2-4
2.1.4 tracert ipv6............................................................................................................... 2-6
2.2 System Debugging Commands ......................................................................................... 2-7
2.2.1 debugging................................................................................................................ 2-7
2.2.2 display debugging ................................................................................................... 2-8
Chapter 3 Device Management Commands ............................................................................... 3-1
3.1 Device Management Commands ...................................................................................... 3-1
3.1.1 boot-loader .............................................................................................................. 3-1
3.1.2 bootrom ................................................................................................................... 3-2
3.1.3 display cpu-usage ................................................................................................... 3-2

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3610 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S3610 Series

  • Page 1: Table Of Contents

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Table of Contents Table of Contents Chapter 1 Basic Configuration Commands................1-1 1.1 Basic Configuration Commands ..................1-1 1.1.1 clock datetime ......................1-1 1.1.2 clock summer-time one-off..................1-2 1.1.3 clock summer-time repeating ..................
  • Page 2 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Table of Contents 3.1.4 display boot-loader....................3-5 3.1.5 display device......................3-5 3.1.6 display device manuinfo..................3-6 3.1.7 display fan ....................... 3-7 3.1.8 display memory ....................... 3-7 3.1.9 display power ......................3-8 3.1.10 display reboot-type....................
  • Page 3: Chapter 1 Basic Configuration Commands

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands Chapter 1 Basic Configuration Commands 1.1 Basic Configuration Commands 1.1.1 clock datetime Syntax clock datetime time date View User view Parameters time: Current time in the format of HH:MM:SS, where HH is hours in the range 0 to 23, MM is minutes in the range 0 to 59, and SS is seconds in the range 0 to 59.
  • Page 4: Clock Summer-Time One-Off

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands 1.1.2 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 User view Parameters zone-name: Name of the summer time, a string of 1 to 32 characters. It is case sensitive.
  • Page 5: Clock Summer-Time Repeating

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands If the current system time is in the time range specified with this command, the system time automatically adds “add-time” after the execution of this command.
  • Page 6: Clock Timezone

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands 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.
  • Page 7: Command-Privilege

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands undo clock timezone View User view Parameters zone-name: Time zone name, a string of 1 to 32 characters. It is case sensitive. add: Positive offset to universal time coordinated (UTC) time.
  • Page 8: Display Clipboard

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands command: Command to be set in the specified view. Description Use the command-privilege command to assign a level for the commands in the specified view.
  • Page 9: Display Clock

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands Parameters None 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 the <Esc+Shift+,>...
  • Page 10: Display Current-Configuration

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands 09:41:23 UTC Thu 12/15/2005 1.1.8 display current-configuration Syntax display current-configuration [ [ configuration [ configuration ] | controller | interface [ interface-type ] [ interface-number ] ] [ by-linenum ] [ | { begin | include |...
  • Page 11 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands Character Meaning Note It is not recommended to use Left bracket, used as a stack this character to establish a symbol in a program regular expression.
  • Page 12: Display Diagnostic-Information

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands user-interface vty 0 4 1.1.9 display diagnostic-information Syntax display diagnostic-information View Any view Parameters None Description Use the display diagnostic-information command to display or save the statistics of each module’s running status in the system.
  • Page 13: Display Hotkey

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands View Any view Parameters None Description Use the display history-command command to display commands saved in the history buffer. The system will save validated history commands performed last in current user view to the history buffer, which can save up to ten commands by default.
  • Page 14: Display This

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands =Defined hotkeys= Hotkeys Command CTRL_G display current-configuration CTRL_L display ip routing-table CTRL_O undo debug all =Undefined hotkeys= Hotkeys Command CTRL_T NULL CTRL_U NULL...
  • Page 15: Display Version

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands View Any view Parameters by-linenum: Specifies to display the number of each line. Description Use the display this command to display the validated configuration information under the current view.
  • Page 16: Header

    <Sysname> display version H3C Comware Platform Software Comware Software, Version 5.20, Test 5301 Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved. H3C S3610-52P uptime is 0 week, 0 day, 7 hours, 51 minutes H3C S3610-52P 128M bytes DRAM...
  • Page 17 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands login: Sets the login banner at authentication. motd: Banner displayed before login. If authentication is required, the banner is displayed before authentication. shell: Sets the banner displayed when a non Modem login user enters user view.
  • Page 18: Hotkey

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands * Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved.* * Without the owner's prior written consent, * no decompiling or reverse-engineering shall be allowed.
  • Page 19 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands Examples # Assign the hot key <Ctrl+T> to the display tcp status command. <Sysname> system-view [Sysname] hotkey ctrl_t display tcp status # Display the configuration of hotkeys.
  • Page 20: Quit

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands ESC_P Move the cursor up a line. ESC_< Specify the beginning of clipboard. ESC_> Specify the end of clipboard. 1.1.16 quit Syntax quit...
  • Page 21: Super

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands Examples # Return to user view from Ethernet port view. [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] return <Sysname> 1.1.18 super Syntax super [ level ]...
  • Page 22: Super Password

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands entered password is incorrect or no password is configured, the switch fails. Therefore, before switching to a higher user level, users should configure the password needed.
  • Page 23: Sysname

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 1 Basic Configuration Commands Use the undo super password command to restore the default. By default, no password is set to switch from a lower user level to a higher one.
  • Page 24: System-View

    Chapter 1 Basic Configuration Commands Use the undo sysname demand to restore the device name to the default. The default name of the device is H3C. Modifying device name affects the prompt of the CLI. For example, if the device name is Sysname, the prompt of user view is <Sysname>.
  • Page 25: Chapter 2 System Maintaining And Debugging Commands

    Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands Chapter 2 System Maintaining and Debugging Commands 2.1 System Maintaining Commands 2.1.1 ping Syntax ping [ ip ] [ -a source-ip | -c count | -f | -h ttl | -i interface-type interface-number | -m...
  • Page 26 Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands -n: Specifies that the Domain Name System (DNS) is disabled. DNS is enabled by default, that is, the hostname is translated into an address.
  • Page 27: Ping Ipv6

    Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands Reply from 10.1.1.5 : bytes=56 Sequence=5 ttl=255 time = 2 ms --- 10.1.1.5 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss...
  • Page 28: Tracert

    Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands Description Use the ping ipv6 command to verify whether an IPv6 address is reachable, and display the corresponding statistics. You must use the command in the form of ping ipv6 ipv6 instead of ping ipv6 if the destination name is an ipv6 name.
  • Page 29 Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands -m max-ttl: Specifies the maximum TTL, that is, the maximum allowed number of hops for a packet, in the range 1 to 255. It defaults to 30, and must be greater than the first TTL.
  • Page 30: Tracert Ipv6

    Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands * * * 128.121.54.72 259 ms 499 ms 279 ms * * * * * * * * * * * * 18.26.0.115...
  • Page 31: System Debugging Commands

    Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands 1 3003::1 30 ms 10 ms 10 ms 2 3002::1 10 ms 11 ms 9 ms 2.2 System Debugging Commands 2.2.1 debugging...
  • Page 32: Display Debugging

    Command Manual – System Maintaining and Debugging Chapter 2 System Maintaining and H3C S3610&S5510 Series Ethernet Switches Debugging Commands Related commands: display debugging. Examples # Enable IP packet debugging. <Sysname> debugging ip packet 2.2.2 display debugging Syntax display debugging [ interface interface-type interface-number ] [ module-name ]...
  • Page 33: Chapter 3 Device Management Commands

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Chapter 3 Device Management Commands Note: File names in this document comply with the following rules: Path + file name (namely, a full file name): File on a specified path. A full file name consists of 1 to 135 characters.
  • Page 34: Bootrom

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.2 bootrom Syntax bootrom update file file-url View User view Parameters update file file-url: Upgrades Boot ROM, where file-url represents name of the file to be upgraded.
  • Page 35 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Description Use the display cpu-usage command to display the CPU usage statistics. The system takes statistics of CPU usage at intervals (usually every 60 seconds) and saves the statistical results in the history record area.
  • Page 36 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands CPU Usage : 3% CPU Usage Stat. Time : 2006-07-10 10:56:55 CPU Usage Stat. Tick : 0x1d9d(CPU Tick High) 0x3a659a70(CPU Tick Low) Actual Stat. Cycle...
  • Page 37: Display Boot-Loader

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.4 display boot-loader Syntax display boot-loader View Any view Parameters None Description Use the display boot-loader command to display the bo ot file for the current boot and next boot.
  • Page 38: Display Device Manuinfo

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands <Sysname> display device Slot No. Brd Type Brd Status Subslot Num Sft Ver MAIN Normal Test 5301 Table 3-2 Description on the fields of the display device command...
  • Page 39: Display Fan

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Table 3-3 Description on the fields of the display device manuinfo command Field Description DEVICE_NAME Device name DEVICE_SERIAL_NUMBER Device serial number MAC_ADDRESS MAC address of the device...
  • Page 40: Display Power

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Description Use the display memory command to display the usage of the memory of a device. Examples # Display the usage of the memory of a device.
  • Page 41: Display Reboot-Type

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.10 display reboot-type Syntax display reboot-type View Any view Parameters None Description Use the display reboot-type command to display the reboot type of the device.
  • Page 42: Display Transceiver Alarm Interface

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands The above information indicates the system will reboot at 16:00:00 on March 10, 2006 (in two hours and five minutes). 3.1.12 display transceiver alarm interface...
  • Page 43 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Field Remarks Alarm type Transceiver info Transceiver information — checksum error checksum error RX loss of signal RX signal is lost. — RX not ready...
  • Page 44 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Field Remarks Alarm type Transceiver type not Transceiver type is not supported by port — supported on the port. hardware XENPAK WIS (WAN Interface...
  • Page 45: Display Transceiver Diagnosis Interface

    Note: For pluggable transceivers supported by S3610 & S5510 series Ethernet switches, refer to H3C S3610 Series Ethernet Switches Installation Manual and H3C S5510 Series Ethernet Switches Installation Manual. Examples # Display the alarm information of the transceiver on interface GigabitEthernet 1/1/1.
  • Page 46: Display Transceiver Interface

    H3C. Examples # Display the currently measured value of digital diagnosis parameters of the anti-spoofing pluggable optical transceiver customized by H3C on interface GigabitEthernet 1/1/2. <Sysname> display transceiver diagnosis interface gigabitethernet 1/1/2 GigabitEthernet1/1/2 transceiver diagnostic information: Current diagnostic parameters: Temp(°C)
  • Page 47 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands 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.
  • Page 48: Display Transceiver Manuinfo Interface

    H3C. Examples # Display part of the electrical label information of the anti-spoofing pluggable transceiver customized by H3C on interface GigabitEthernet 1/1/4. <Sysname> display transceiver manuinfo interface gigabitethernet 1/1/4 3-16...
  • Page 49: Reboot

    Debugging and testing date.. The date takes the Manufacturing Date value of the system clock of the computer that performs debugging and testing. Vendor Name Vendor name specified, that is, H3C. 3.1.16 reboot Syntax reboot View User view Parameters...
  • Page 50: Reset Unused Porttag

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Examples # Reboot the device. <Sysname> reboot Start to check configuration with next startup configuration file, please wait ..This command will reboot the device. Current configuration will be lost in next startup if you continue.
  • Page 51 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands View User view Parameters hh:mm: Reboot time of a device, in the format of hh:mm (hours:minutes). The value of the hh argument ranges of is 0 to 23, and the value of the mm argument ranges from 0 to 59.
  • Page 52: Schedule Reboot Delay

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Caution: This command reboots the device in a future time, thus resulting in service interruption. Please use it with caution. Examples # Configure the device to reboot at 12:00 AM (supposing that the current time is 11:43).
  • Page 53 Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands Note that: The reboot wait time can be in the format of hh:mm (hours:minutes) or mm (absolute minutes). The absolute minutes cannot exceed 30 x 24 x 60 minutes, namely, 30 days.
  • Page 54: Shutdown-Interval

    Command Manual – System Maintaining and Debugging H3C S3610&S5510 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.20 shutdown-interval Syntax shutdown-interval time View System view Parameters time: Detection interval in seconds, in the range of 1 to 300. Description Use the shutdown-interval command to set a detection interval.

This manual is also suitable for:

S5510 series

Table of Contents