Example: Copying Partial Releases

This example shows you how to exclude a subsystem from a release to be copied.

Requirements

This example uses the following software and hardware components:

Overview

You can shorten the time it takes to copy a release from a server and reduce the amount of storage needed for a release. At the default setting, all subsystems are included when you copy a release from a server. Use the exclude-subsystem command to specify subsystems that you do not want to copy from the server. Use the show subsystems command to verify which files are included and excluded when you copy a release from a server.

Copying Partial Releases

Step-by-Step Procedure

To exclude a subsystem from the future releases to be copied:

  1. Determine which subsystems are included in the release on the server.
    host1#show subsystems file m:/x/images/x-y-z.rel
  2. Exclude any subsystems in the release that you do not need for the configuration. The subsystems that you indicate are added to the “ exclude list.” All subsequent release copies will exclude the images for these subsystems from the release copy.
    host1#(config)#exclude-subsystem coc12 host1#(config)#exclude-subsystem oc12s
  3. (Optional) Remove a subsystem from the exclude list.
    host1#(config)#no exclude-subsystem oc12s

    Use the no version without a subsystem name to remove all subsystems from the exclude list.

Verifying the Excluded Subsystems and Partial Release

This section describes the following:

Verifying the Subsystems to be Excluded

Purpose

Display the subsystems that will be included and excluded in future release copies.

Action

To display the subsystems that will be included and excluded in future release copies:

host1#show configuration 
...
exclude-subsystem coc12

Displaying the Excluded Subsystems

Purpose

Display the subsystems that were excluded, after copying a release.

Action

To display the excluded subsystems after copying a release:

host1#show subsystems file x8.rel

Determining the Partial Release

Purpose

Determine whether the currently running software is a result of a copy with excluded subsystems. The word “ Partial” indicates that subsystems were excluded.

Action

To determine whether the currently running software is a result of a copy with excluded subsystems:

host1#show version
Juniper Networks, Inc. Operating System Software
Copyright (c) 200X Juniper Networks, Inc. All rights reserved.
System Release: x-y-z.rel Partial

Related Documentation