Displaying and Debugging Device Management 245
Tab le 265 Designate the APP Adopted when Booting the Switch Next Time
Upgrading BootROM You can use this command to upgrade the BootROM with the BootROM program
in the Flash Memory. This configuration task facilitates the remote upgrade. You
can upload the BootROM program file from a remote end to the Switch via FTP
and then use this command to upgrade the BootROM.
Perform the following configuration in User View.
Tab le 266 Upgrade BootROM
Displaying and
Debugging Device
Management
After the above configuration, execute display command in all views to display
the running of the device management configuration, and to verify the effect of
the configuration.
Tab le 267 Display and Debug Device Management
Device Management
Configuration
Example
Networking Requirement
The user logs into the Switch using Telnet, downloads the application from the FTP
server to the flash memory of the Switch, and implements remote upgrade using
the right commands.
The Switch serves as FTP client and the remote PC as FTP server. The configuration
on the FTP server: Configure an FTP user named as Switch, with password hello
and with read and write authority over the Switch root directory on the PC. The IP
address of a VLAN interface on the Switch is 1.1.1.1, and that of the PC is 2.2.2.2.
The Switch and PC are reachable.
The Switch applications Switch.app and boot.app are stored on the PC. Using
FTP, the Switch can download the
switch.app and boot.app from the remote FTP
server.
Operation Command
Designate the APP adopted when booting
the Switch next time
boot boot-loader file-url
Operation Command
Upgrade BootROM boot bootrom file-url
Operation Command
Display the module types and running states
of each card.
display device [ unit unit-id ]
Display the running state of the built-in fans. display fan [ unit unit-id ]
Display the Used status of Switch memory display memory [ unit unit-id ]
Display the state of the power. display power [ unit unit-id ] [
power-ID ]
Display the APP to be applied when
rebooting the Switch.
display boot-loader [ unit
unit-id ]
Display the busy status of CPU display cpu [ unit unit-id ]