- wildcard delete <statement-path> <identifier> <regular-expression>
Command introduced before JUNOS Release 7.4.
Delete a statement or identifier. All subordinate statements and identifiers contained within the specified statement path are deleted with it.
Deleting a statement or an identifier effectively “unconfigures” or disables the functionality associated with that statement or identifier.
If you do not specify statement-path or identifier, the entire hierarchy starting at the current hierarchy level is removed.
delete—Delete several related configuration items simultaneously, such as channelized interfaces or static routes, by using a single command and regular expressions.
statement-path—(Optional) Path to an existing statement or identifier. Include this if the statement or identifier to be deleted is not at the current hierarchy level.
identifier—(Optional) Name of the statement or identifier to delete.
regular-expression—(Optional) The pattern based on which you want to delete multiple items. When you use the wildcard command to delete related configuration items, the regular-expression must be the final statement.
See Using Global Replace in a JUNOS Configuration—Using the Upto Option.
configure—To enter configuration mode; other required privilege levels depend on where the statement is located in the configuration hierarchy.