Several commands provide information about hotfixes that have been loaded on the router. You can use the show hotfix command to discover the armed and activation status of all hotfixes or a specific hotfix. The output lists the hotfix by name and a unique ID number, which is useful if the filename has been changed. This command also displays dependencies for each hotfix; that is, other hotfixes that must be activated before that hotfix can be activated. For more usage details and sample output, see show hotfix.
The dir command displays all hotfixes present on the local flash card. The in use field indicates that the hotfix is either currently activated or armed to be activated as a startup hotfix for the currently armed release.
host1# dir
*** Active/standby file systems are not synchronized. ***
Active System Controller:
unshared in
file size size date (UTC) use
------------------------- --------- --------- ------------------- ---
reboot.hty 596288 596288 03/07/2005 19:35:52
system.log 6762 6762 03/07/2005 17:30:08
haIpSetup.mac 4874 4874 03/24/2004 10:02:08
6-0-1p0-5.rel 148489185 148489185 02/28/2005 18:17:32 !
hf63035.hfx 30445 30445 03/07/2005 14:04:02 !
hf63030.hfx 28675 28675 03/05/2005 18:22:32
...
You can use the show version command to display a summary of each of the hotfixes currently activated on the system, including the hotfix name and hotfix ID.
host1#show version
Juniper Edge Routing Switch ERX-1400
Copyright (c) 1999-2005 Juniper Networks, Inc. All rights reserved.
System Release: 6-0-1p0-5.rel
Version: 6.0.1 patch-0.5 (January 28, 2005 14:55)
Active hotfixes:
hf63036.hfx (Id: 1020)
hf63037.hfx (Id: 1030)
System running for: 7 days, 3 hours, 55 minutes, 5 seconds
(since FRI FEB 04 2005 13:01:30 UTC)
The show boot command displays the current boot settings, including armed hotfixes that will be activated when the router reboots.
host1#show boot
System Release: 6-0-1p0-5.rel
Armed Hotfixes: hf63035.hfx
hf63036.hfx
hf63037.hfx
System Configuration: running-configuration
The header of the show configuration command output includes the armed hotfix summary. You can issue the show configuration system file-system command to display the boot hotfix commands that restore the router to its current configuration when you issue the configuration script on a router configured with factory defaults.
Hotfixes that are active when you issue the show configuration command are not part of the command output or the resulting configuration script. Only armed hotfixes are part of the show configuration script.
host1#show configuration system file-system
! Configuration script being generated on TUE MAR 22 2005 16:43:41 UTC ! Juniper Edge Routing Switch ERX-1400 ! Version: 6.0.1 patch-0.5 (January 28, 2005 14:55) ! Active hotfixes: hf63036.hfx (Id: 23453036) ! hf63037.hfx (Id: 34563037) ! Copyright (c) 1999-2005 Juniper Networks, Inc. All rights reserved. ! ! Commands displayed are limited to those available at privilege level 15 ! boot config running-configuration boot system 6-0-1p0-5.rel boot hotfix hf63036.hfx boot hotfix hf63037.hfx no boot backup no boot subsystem no boot backup subsystem no boot force-backup
show hotfix
host1#show hotfix
name id active armed requires ---------------- ---- ------ ----- ---------- sleep.hfx 975 X X 990 clock.hfx 990 X X showHotfix.hfx 2010 incompatible.hfx 410 hfActivate.hfx 960
host1#show hotfix detail
name id active armed requires
---------------- ---- ------ ----- ----------
sleep.hfx 975 X X 990
clock.hfx 990 X X
showHotfix.hfx 2010
incompatible.hfx 410
hfActivate.hfx 960
name synopsis
---------------- ------------------------------------------------
sleep.hfx Modify the output of the sleep command.
clock.hfx Modify the behavior of show clock.
showHotfix.hfx Changes the output of show hotfix.
incompatible.hfx Changes the output of show hotfix.
hfActivate.hfx Change log message severity for hotfix activate.
host1#show hotfix clock.hfx detail HotfixId: 990
Synopsis: Modify the behavior of show clock.
Active: Yes Armed: Yes
Description: Changes the output of the show clock command.
Affected modules: SRP, GE, VTM
Dependencies:
Safe to repatch:
Unsafe with:
Notes: 1) This hotfix can only be activated when the active SRP reloads 2) Arming this hotfix will cause the standby SRP to reload