Command Reference PKG_MGMT Commands
When this parameter value is not N/A, the command is used to
display detailed information of the corresponding component,
check whether the component isintact, and check whether this
component works properly.
This command includes one with component_name and one without component_name. During
upgrade, it requires users to understand all components installed on current device and their version
information before components deletion. This needs to use the show component command without
component_name. The show component command with component_name is used to obtain details
of the corresponding component. The detailed information enables users to easily realize
components’ operation and damage. It is significant to insure their troubleshooting, security and
reliability.
Some components in use will change their defaults files. Though this is more possibly normal
than malicious, the show component command is used only to judge whether component files
change in use. It is unable to distinguish natural damage from malicious one. It depends on
users to make a further judgment.
The following example displays all components already installed on the box device and their
information.
Ruijie# show component
Package :sysmonit
Version:1.0.1.23cd34aa Build time: Wed Dec 7 00:58:56 2013
Size:12877 Install time :Wed Mar 5 14:23:12 2012
Description: this is a system monit package
Required packages: None
-------------------------------------------------------------------
Package:bridge
Version:2.0.1.37cd5cda Build time: Wed Dec 7 00:54:56 2013
Size:23245 Install time :Wed Mar 5 14:30:12 2012
Description: this is a bridge package
Required packages: None
-------------------------------------------------------------------
This command is used to obtain all components already installed on the device and theirbasic
information. The information offers a basis for users to decide whether to upgrade or delete
components.
Version number of the component