H3C S9500 Series Command Manual

Type
Command Manual

The H3C S9500 Series, your recently acquired device, offers a comprehensive suite of features designed to enhance your networking experience. With its advanced hardware architecture, it delivers exceptional performance and reliability. The S9500 Series is equipped with a robust operating system that provides comprehensive Layer 2 and Layer 3 features, including routing, switching, and multicast capabilities. It also supports advanced features such as MPLS, VPN, and QoS, enabling you to build a scalable and secure network infrastructure.

The H3C S9500 Series, your recently acquired device, offers a comprehensive suite of features designed to enhance your networking experience. With its advanced hardware architecture, it delivers exceptional performance and reliability. The S9500 Series is equipped with a robust operating system that provides comprehensive Layer 2 and Layer 3 features, including routing, switching, and multicast capabilities. It also supports advanced features such as MPLS, VPN, and QoS, enabling you to build a scalable and secure network infrastructure.

Command Manual – Device Management
H3C S9500 Series Routing Switches Table of Contents
i
Table of Contents
Chapter 1 Device Management Commands ...............................................................................1-1
1.1 Device Management Commands ......................................................................................1-1
1.1.1 boot boot-loader......................................................................................................1-1
1.1.2 boot bootrom...........................................................................................................1-2
1.1.3 display boot-loader..................................................................................................1-3
1.1.4 display cpu ..............................................................................................................1-3
1.1.5 display device..........................................................................................................1-4
1.1.6 display environment................................................................................................1-5
1.1.7 display fan...............................................................................................................1-6
1.1.8 display memory.......................................................................................................1-6
1.1.9 display power ..........................................................................................................1-7
1.1.10 display schedule reboot ........................................................................................1-7
1.1.11 reboot....................................................................................................................1-8
1.1.12 schedule reboot at.................................................................................................1-8
1.1.13 schedule reboot delay.........................................................................................1-10
1.1.14 temperature-limit .................................................................................................1-11
1.1.15 update l3plus.......................................................................................................1-11
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-1
Chapter 1 Device Management Commands
1.1 Device Management Commands
1.1.1 boot boot-loader
Syntax
boot boot-loader { primary | backup } file-url [ slot slot-number ]
View
User view
Parameters
file-url: ARP program path + program name.
slot-number: Slot number of the active or standby SRPU.
primary: Specifies this program to be the primary bootstrap program.
backup: Specifies this program to be the backup bootstrap program.
Description
Use the boot boot-loader primary command to set a specified program as the primary
bootstrap program.
Use the boot boot-loader backup command to set a specified program as the backup
bootstrap program.
If the switch cannot be started through specified bootstrap program, a program will be
selected from the Flash or CF card as bootstrap program. If the switch still cannot be
started normally, the switch fails to boot up.
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-2
Note:
z An S9500 series routing switch supports system switchover, both its active and
standby SRPUs have an application program system. You can operate on the
programs on both SRPUs. But when you specify a bootstrap program on the
standby SRPU, the URL of the program must begin with "slot[No.]#[flash: | cf:]/",
where, [No.] is the slot number of the standby SRPU and [flash: | cf:] is the name of
the equipment, flash card or CF card. For example, if the slot number of the standby
SRPU is 1, the URL of the 9500.app program under the root directory on the
standby SRPU must be "slot1#flash:/9500.app".
z You must configure the boot file in the CF card or the root directory of the Flash
memory. Otherwise, your configuration will be failed.
Examples
# Specify flash:/S9500-CMW310-r1262.app as the current primary bootstrap program
of the active SRPU.
<H3C> boot boot-loader primary flash:/S9500-CMW310-r1262.app
The specified file will be booted next time!.
# Specify slot1#flash:/S9500-CMW310-r1262.app as the current primary bootstrap
program on the standby SRPU in slot 1.
<H3C> boot boot-loader primary slot1#flash:/S9500-CMW310-r1262.app slot 1
The specified file will be booted next time!.
1.1.2 boot bootrom
Syntax
boot bootrom file-url slot slot-num-list
View
User view
Parameters
file-url: Path and name of Bootrom file in the storage device.
slot slot-num-list: Specifies the slot number list of switch. The formula is
slot-num-list={ slot-num [ to slot-num ] }&<1-n>. &<1-n> indicates that the prior
parameter can be input for n times. For S9505, n is 7; for S9512, n is 14.
Description
Use the boot bootrom command to upgrade Boot Rom.
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-3
Examples
# Upgrade bootrom of slot 1.
<H3C> boot bootrom PLATV100R006B01D009.app slot 1
1.1.3 display boot-loader
Syntax
display boot-loader
View
Any view
Parameters
None
Description
Use the display boot-loader command to view APP file used this time and next time.
Examples
<H3C> display boot-loader
The primary app to boot of board 0 at the next time is: flash:/switch.app
The backup app to boot of board 0 at the next time is: flash:/switch.app
The app to boot of board 0 at this time is: flash:/switch.app
Table 1-1 display boot-loader command output description
Field Description
The app to boot of board 0 at the next
time is: flash:/Switch.app
Startup file used on startup next time
The app to boot of board 0 at this time is:
flash:/PLAT.APP
Startup file used on startup this time
1.1.4 display cpu
Syntax
display cpu [slot slot-no ]
View
Any view
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-4
Parameters
slot slot-no: Specifies a card by its slot number.
Description
Use the display cpu command to display CPU occupancy.
Examples
# Display CPU occupancy on slot 0.
<H3C> display cpu slot 0
Board 0 CPU busy status:
6% in last 5 seconds
7% in last 1 minute
12% in last 5 minutes
Table 1-2 display cpu command output description
Field Description
Board 0 CPU busy status: CPU usage of switch
6% in last 5 seconds
7% in last 1 minute
12% in last 5 minutes
CPU usage in last 5 seconds is 6%.
CPU usage in last 1 minute is 7%.
CPU usage in last 5 minutes is 12%.
1.1.5 display device
Syntax
display device [ detail | [ shelf shelf-no ] [ frame frame-no ] [ slot slot-no ] ]
View
Any view
Parameters
detail: displays all slot detail information.
shelf-no: Shelf number.
frame-no: Frame number.
slot-no: Slot number.
Description
Use the display device command to display the module type and working status
information of a card, including physical card number, physical daughter card number,
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-5
PCB version number, hardware version number, FPGA version number, version
number of BOOT ROM software, address learning mode, interface card type and so on.
Examples
# Show device information.
<H3C> display device
Slot No. Brd Type Brd Status Subslot Num Sft Ver
0 LSB1SRPB Master 0 9500-0004
1 NONE Absent Absent None
2 NONE Absent Absent None
3 NONE Absent Absent None
4 NONE Absent Absent None
5 NONE Absent Absent None
6 NONE Absent Absent None
7 NONE Absent Absent None
1.1.6 display environment
Syntax
display environment
View
Any view
Parameters
None
Description
Use the display environment command to view environment information.
Examples
# Display the environment information.
<H3C> display environment
System temperature information (degree centigrade):
----------------------------------------------------
Board Temperature Lower limit Upper limit
0 33 10 45
2 35 10 65
4 34 10 65
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-6
1.1.7 display fan
Syntax
display fan [ fan-id ]
View
Any view
Parameters
fan-id: the fan ID.
Description
Use the display fan command to view the working state of the built-in fans. User can
perform this command to see if they work normally.
Examples
# Display the working state of the fans.
<H3C> display fan
Fan 1 State: Normal
1.1.8 display memory
Syntax
display memory [ slot slot-no ]
View
Any view
Parameters
slot-no: Specifies slot number
Description
Use the display memory command to display memory situation.
Examples
# Display memory situation.
<H3C> display memory slot 0
System Total Memory(bytes): 197932416
Total Used Memory(bytes): 65234704
Used Rate: 32%
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-7
Table 1-3 display memory command output description
Field Description
System Total Memory(bytes)
The Total Memory of switch, unit in byte
Total Used Memory(bytes)
The Total used Memory of switch, unit in byte
Used Rate The memory used rate
1.1.9 display power
Syntax
display power [ power-id ]
View
Any view
Parameters
power-id: Power ID.
Description
Use the display power command to view the working state of the built-in power supply.
Examples
# Display power state.
<H3C> display power
Power 1 State: Absent
Power 2 State: Normal
Power 3 State: Absent
1.1.10 display schedule reboot
Syntax
display schedule reboot
View
Any view
Parameters
None
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-8
Description
Use the display schedule reboot command to check the configuration of related
parameters of the switch schedule reboot terminal service.
Related commands: reboot, schedule reboot at.
Examples
# Display the configuration of the schedule reboot terminal service parameters of the
current switch.
<H3C> display schedule reboot
System will reboot at 16:00:00 2006/11/1 (in 2 hours and 5 minutes).
1.1.11 reboot
Syntax
reboot [ slot slot-no ]
View
User view
Parameters
slot slot-no: Specifies the physical card number.
Description
Use the reboot command to reboot to restart the switch or the specified card. Example
# Reset the switch.
<H3C> reboot
1.1.12 schedule reboot at
Syntax
schedule reboot at hh:mm [ yyyy/mm/dd ]
undo schedule reboot
View
User view
Parameters
hh:mm: Reboot time of the switch, in the format of "hour: minute" The hh ranges from 0
to 23, and the mm ranges from 0 to 59.
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-9
yyyy/mm/dd: Reboot date of the switch, in the format of "year/month/day. The yyyy
ranges from 2000 to 2099, the mm ranges from 1 to 12, and the value of dd is related to
the specific month.
Description
Use the schedule reboot at command to enable the timing reboot function of the
switch and set the specific reboot time and date.
Use the undo schedule reboot command to disable the timing reboot function.
By default, the timing reboot switch function is disabled.
Note:
The precision of switch timer is 1 minute. The switch will reboot in one minute when
time comes to the specified rebooting point.
If the schedule reboot at command sets specified date parameters, which represents
a data in the future, the switch will be restarted in specified time, with error not more
than 1 minute.
If no specified date parameters are configured, two cases are involved: If the
configured time is after the current time, the switch will be restarted at the time point of
that day; if the configured time is before the current time, the switch will be restarted at
the time point of the next day.
It should be noted that the configured date should not exceed the current date more
than 30 days. In addition, after the command is configured, the system will prompt you
to input confirmation information. Only after the "Y" or the "y" is entered can the
configuration be valid. If there is related configuration before, it will be covered directly.
Moreover, after the schedule reboot at command is configured and the system time is
adjusted by the clock command, the former configured schedule reboot at parameter
will go invalid.
Related commands: reboot, display schedule reboot.
Examples
# Set the switch to be restarted at 22:00 that night (the current time is 15:50).
<H3C> schedule reboot at 16:00
Reboot system at 16:00:00 2007/02/28 (in 0 hours and 11 minutes)
confirm?[Y/N]:y
<H3C>
%Feb 28 15:48:20 2007 H3C CMD/5/REBOOT:
con0: schedule reboot parameters at 15:48:17 2007/02/28. And system will reboot
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-10
at 16:00:00 2007/02/28.
1.1.13 schedule reboot delay
Syntax
schedule reboot delay { hhh:mm | mmm }
undo schedule reboot
View
User view
Parameters
hhh:mm: Waiting time for rebooting a switch, in the format of "hour: minute" The hhh
ranges from 0 to 720, and the mm ranges from 0 to 59.
mmm: Waiting delay for rebooting a switch, in the format of "absolute minutes" .
Ranging from 0 to 43200.
Description
Use the schedule reboot delay command to enable the timing reboot switch function
and set the waiting time.
Use the undo schedule reboot command to disable the timing reboot function.
By default, the timing reboot switch function is disabled.
Note:
z The precision of the rebooting timer is 1 minute. When you configure the timing
reboot function, the system prompts a waiting time. The device will be rebooted
within one minute at the expiry of the waiting time.
z If you are performing file operations when the device is to be rebooted, the system
does not execute the command for the sake of security.
Note that:
z Two formats can be used to set the waiting delay of timing reboot switch, namely
the format of "hour: minute" and the format of "absolute minutes". But the total
minutes should be no more than 30×24×60 minutes, or 30 days.
z After this command is configured, the system will prompt you to input confirmation
information. Only after the "Y" or the "y" is entered can the configuration be valid. If
there is related configuration before, it will be covered directly.
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-11
z Moreover, after the schedule reboot at command is configured, and the system
time is adjusted by the clock command, the original schedule reboot at
parameter will become invalid.
Related commands: reboot, schedule reboot at, display schedule reboot.
Examples
# Configure the switch to be restarted after 88 minutes (the current time is 21:32).
<H3C> schedule reboot delay 88
Reboot system for 23:00:00 UTC 2006/11/1 (in 1 hours and 28 minutes)
Confirm? [Y/N]:y
1.1.14 temperature-limit
Syntax
temperature-limit slot-no down-value up-value
undo temperature-limit slot-no
View
User view
Parameters
slot-no: Physical card number.
down-value: Lower temperature limit, in the range 0°C to 70°C (32°F to 158°F).
up-value: Upper temperature limit, in the range 20°C to 90°C (68°F to 194°F).
Description
Use the temperature-limit command to configure temperature limit.
Use the undo temperature-limit command to restore temperature limit to default
value.
Examples
# Set the lower and upper temperature limit of card 0.
<H3C> temperature-limit 0 10 75
1.1.15 update l3plus
Syntax
update l3plus slot slot-no filename file-name ftpserver server-name username
user-name password password [ port port-num ]
Command Manual – Device Management
H3C S9500 Series Routing Switches Chapter 1 Device Management Commands
1-12
View
System view
Parameters
slot-no: Slot for the LPU to be updated.
file-name: Name of upgrading file to be downloaded. The file suffix is .app.
server-name: IP address or host name of FTP Server where the file to be updated
locates.
user-name: User name for file transfer protocol (FTP) login.
password: User password for FTP login.
port-num: FTP port number, in the range 0 to 65,535. By default, it is 21.
Description
Use the update l3plus command to update LPUs. After the command is executed, the
system logs into an FTP Server with the host name, user name and user password
provided. The system downloads the host software containing load program of LPU to
the system’s synchronous dynamic random access memory (SDRAM), and uses the
file to reenable LPUs.
Caution:
z When you use the update l3plus command to update LPUs, you must use the
switch host APP file which includes the load program of L3PLUS LPUs.
z The maximum size of L3PLUS update file loaded by the update l3plus command is
24 M.
Examples
# Update the LPU in slot 2. The file to be downloaded is saved in the host with the IP
address 192.168.1.100, and its name is L3PLUS.app. The user name and password for
FTP login are 654321 and 123456 respectively.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] update l3plus slot 2 filename L3PLUS.app ftpserver 192.168.1.100
username 654321 password 123456
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13

H3C S9500 Series Command Manual

Type
Command Manual

The H3C S9500 Series, your recently acquired device, offers a comprehensive suite of features designed to enhance your networking experience. With its advanced hardware architecture, it delivers exceptional performance and reliability. The S9500 Series is equipped with a robust operating system that provides comprehensive Layer 2 and Layer 3 features, including routing, switching, and multicast capabilities. It also supports advanced features such as MPLS, VPN, and QoS, enabling you to build a scalable and secure network infrastructure.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI