H3C S7500 Series Command Manual
H3C S7500 Series Command Manual

H3C S7500 Series Command Manual

System maintenance and debugging
Hide thumbs Also See for S7500 Series:

Advertisement

Quick Links

Command Manual - System Maintenance and Debugging
H3C S7500 Series Ethernet Switches
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-1
1.1.3 clock timezone......................................................................................................... 1-3
1.1.4 language-mode ....................................................................................................... 1-4
1.1.5 quit........................................................................................................................... 1-4
1.1.6 return ....................................................................................................................... 1-5
1.1.7 sysname .................................................................................................................. 1-5
1.1.8 system-view............................................................................................................. 1-6
1.2 System Status/Information Display Commands ................................................................ 1-7
1.2.1 display clock ............................................................................................................ 1-7
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-11
1.3.3 terminal debugging................................................................................................ 1-12
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-2
3.1.3 boot bootrom default ............................................................................................... 3-2
3.1.4 bootrom-update security-check enable................................................................... 3-3
3.1.5 display boot-loader .................................................................................................. 3-3
3.1.6 display cpu .............................................................................................................. 3-4
3.1.7 display device.......................................................................................................... 3-5
3.1.8 display environment ................................................................................................ 3-6
3.1.9 display fan ............................................................................................................... 3-6
3.1.10 display memory ..................................................................................................... 3-7
3.1.11 display power ........................................................................................................ 3-8
3.1.12 display schedule reboot ........................................................................................ 3-9

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for H3C S7500 Series

  • Page 1: Table Of Contents

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches 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-1 1.1.3 clock timezone......................
  • Page 2 Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Table of Contents 3.1.13 display uplink monitor.................... 3-9 3.1.14 loadsharing enable....................3-10 3.1.15 pause-protection ....................3-11 3.1.16 qe monitor ......................3-12 3.1.17 qe monitor errpkt ....................3-12 3.1.18 qe monitor errpkt check-time................3-13 3.1.19 qe monitor overflow-threshold................
  • Page 3: Chapter 1 Basic System Configuration And Debugging Commands

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands 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...
  • Page 4 Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands clock summer-time zone-name repeating { start-time start-date end-time end-date | start-time start-year start-month start-week start-day end-time end-year end-month end-week end-day } offset-time...
  • Page 5: Clock Timezone

    # Set the daylight saving time named z2, which starts from 06:00:00 2002/06/08, ends until 06:00:00 2002/09/01, and is one hour ahead of the standard time. <H3C> clock summer-time z2 one-off 06:00:00 2005/06/08 06:00:00 2002/09/01 01:00:00 # Set the daylight saving time named z2, which starts from 06:00:00 06/08, ends until 06:00:00 09/01, and is one hour ahead of the standard time every year from 2002 on.
  • Page 6: Language-Mode

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands 1.1.4 language-mode Syntax language-mode { chinese | english } View User view Parameters chinese: Sets the CLI language environment to Chinese.
  • Page 7: Return

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands Examples # Return from system view to user view. <H3C> system-view System View: return to User View with Ctrl+Z. [H3C] quit <H3C>...
  • Page 8: System-View

    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 9: System Status/Information Display Commands

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands 1.2 System Status/Information Display Commands 1.2.1 display clock Syntax display clock View Any view Parameters None Description Use the display clock command to display the current date and time of the system, so that you can adjust them if they are wrong.
  • Page 10: Display Users

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands View Any view Parameters interface-type: Interface type, supported by the switch, which can be Ethernet, GigabitEthernet, AUX, VLAN-interface and so on.
  • Page 11: Display Version

    # Display the version of the system. <H3C> display version H3C Comware Platform Software Comware software, Version 3.10, Release 3135 Copyright (c) 2004-2007 Hangzhou H3C Technologies Co., Ltd. All rights reserved. H3C S7506R uptime is 0 week, 0 day, 0 hour, 23 minutes...
  • Page 12: System Debugging Commands

    Second CPLD Ver Software Version : S7506R-3135 Patch Version None LPU 1: uptime is 0 weeks,0 days,0 hours,21 minutes H3C S7500 LPU with 1 MPC8241 Processor 128M bytes SDRAM bytes Flash Memory bytes NVRAM Memory PCB Version VER.B BootROM Version...
  • Page 13: Display Diagnostic-Information

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands 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.
  • Page 14: Terminal Debugging

    Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands Module name Description MEMORY Memory information QUEUE Queue management information RXTX Packet transmission information STP information SYSTEM System status information...
  • Page 15 Command Manual – System Maintenance and Debugging Chapter 1 Basic System Configuration H3C S7500 Series Ethernet Switches and Debugging Commands 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 16: Chapter 2 Network Connectivity Test Commands

    Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S7500 Series Ethernet Switches 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 | -n | - p...
  • Page 17 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S7500 Series Ethernet Switches Commands -r: Specifies to record the routes. By default, the system does not record any route. -s packetize: Specifies the size (in bytes) of each ECHO-REQUEST packet (excluding the IP and ICMP headers).
  • Page 18: Tracert

    Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S7500 Series Ethernet Switches Commands Examples # Check the reachability of the host with IP address 202.38.160.244. <H3C> 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 19 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S7500 Series Ethernet Switches Commands -q num-packet: Sets the number of packets to be sent every time. The num-packet argument ranges from 0 to 65,535 and defaults to 3.
  • Page 20 Command Manual – System Maintenance and Debugging Chapter 2 Network Connectivity Test H3C S7500 Series Ethernet Switches Commands 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.21.61(128.32.21.61) 39 ms 19 ms 19 ms...
  • Page 21: Chapter 3 Device Management Commands

    # Specify the S7500.APP as the main application adopted when the active SRPU reboots next time. <H3C> boot boot-loader primary S7500.APP slot 0 # Specify the S7500.APP as the main application file adopted when the standby SRPU reboots next time.
  • Page 22: Boot Bootrom

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.2 boot bootrom Syntax boot bootrom file-url slot slot-list View User view Parameters file-url: Path + name of a BootROM file (that is, a .btm file) in the Flash memory.
  • Page 23: Bootrom-Update Security-Check Enable

    Boot ROM. By default, validity check function is enabled during Boot ROM upgrade. S7500 series switches have many cards. Every card has its own Boot ROM application. Wrongly upgrading the Boot ROM causes serious results. The validity checking is used to avoid the above wrong operation.
  • Page 24: Display Cpu

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Parameters None Description Use the display boot-loader command to display the APP file that is adopted when the switch boots this time and next time.
  • Page 25: Display Device

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands <H3C> display cpu slot 0 Board 0 CPU busy status: 18% in last 5 seconds 19% in last 1 minute 19% in last 5 minutes...
  • Page 26: Display Environment

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Slot No. Brd Type Brd Status Subslot Num Sft Ver Patch Ver NONE Absent Absent None None LS81SRPG Master S7506R-3135 None LS81GT48 Normal...
  • Page 27: Display Memory

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Parameters fan-id: ID number of a fan. Description Use the display fan command to view the working state of the built-in fans. You can check whether the fans are working normally through the command.
  • Page 28: Display Power

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Table 3-3 Description on the fields of the display memory command Field Description System Total Memory(bytes) Total memory size of the system, in unit of bytes...
  • Page 29: Display Schedule Reboot

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.12 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.
  • Page 30: Loadsharing Enable

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands UpLink monitor information Dest_IP_Addr Dest_MAC_Addr Vlan Port ErrCnt Last_Err_Time 192.168.0.35 ----.----.---- 04/29 16:15:04 The above information shows there are 135 Layer 3 connectivity errors between the local device and the remote device whose IP address is 192.168.0.35.
  • Page 31: Pause-Protection

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.15 pause-protection Syntax pause-protection { enable | disable } slot slot-number View System view Parameters enable: Enables pause frame protection mechanism. disable: Disables pause frame protection mechanism.
  • Page 32: Qe Monitor

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands 3.1.16 qe monitor Syntax qe monitor { enable | disable } View System view Parameters enable: Enables queue traffic monitoring. disable: Disables queue traffic monitoring.
  • Page 33: Qe Monitor Errpkt Check-Time

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands runt: Specifies to detect error packets that are of runt type on current interface. Error packets that are of runt type refer to frames whose data segment is less than 64 bytes without CRC errors.
  • Page 34: Qe Monitor Overflow-Threshold

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Examples # Set the interval for detecting error packets to 50 seconds. <H3C> system-view System View: return to User View with Ctrl+Z. [H3C] qe monitor errpkt check-time 50 3.1.19 qe monitor overflow-threshold...
  • Page 35: Reboot

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Parameters enable: Enables Rambus Dynamic Random Access Memory (RDRAM) of the device. disable: Disables RDRAM of the device. Description Use the rdram enable command to enable RDRAM of the device.
  • Page 36 Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands 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.
  • Page 37: Schedule Reboot Delay

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Examples # Suppose the current time is 16:21, schedule a reboot so that the switch reboots at 22:00 on the current day. <H3C> schedule reboot at 22:00...
  • Page 38: Temperature-Limit

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands 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 old one (if available).
  • Page 39: Uplink Monitor

    Command Manual – System Maintenance and Debugging H3C S7500 Series Ethernet Switches Chapter 3 Device Management Commands Examples # Set the lower temperature limit of card 0 to 10, and upper temperature limit to 75. <H3C> temperature-limit 0 10 75 Success temperature limit set successfully 3.1.25 uplink monitor...

Table of Contents