Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

Displaying and Deleting Configuration for Applications

To display or delete the configuration for a specific application package, use the extension package-name (show | delete) configuration mode command:

extension package-name (show | delete) <section>

This command filters for configuration based on the package named in the command, starting at the top of the configuration hierarchy, or, if you use the section option, starting at the hierarchy level indicated by the section option. The output displays the configuration of all matches.

Note: Remove all the soon-to-be invalid configurations before removing the application package. See Removing Application Packages.

To delete application configuration:

  1. Display any configuration specific to the application.
    [edit]user@router# extension package-name show
  2. When you are satisfied that this is the configuration you want to delete, issue the extension package-name delete command. Use the section option to limit the scope of the deletion if needed.
    [edit]user@router# extension package-name delete

Matches for the extension show Command

Matches for the extension package-name show command include those packages whose package names exactly match the value of package-name as well as those whose names have the same root but may have longer names, similar to a wildcard situation.

The following example shows simplified output illustrating how the extension package-name show command works. Suppose a router has packageA, packageB, and packageAB installed and you issue the command extension packageA show. The output displays configuration for packages with names that not only exactly match packageA but also have roots that match (in this case, packageAB):

user@router# extension packageA show
system {packageA {....}packageAB {....}}

Matches for the extension delete Command

In contrast, the extension package-name delete command treats the value of package-name as a literal. It deletes only configuration contributed by the package whose package name exactly matches the given value.

Note: A configuration schema defined in any native Junos package is never deleted by the removal of any third-party package.

Published: 2013-08-16