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:
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:
- Display any configuration specific to the application.[edit]user@router# extension package-name show
- 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):
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. |


