apply-flags-omit
Syntax
apply-flags [omit];
Hierarchy Level
All hierarchy levels
Description
The apply-flags omit
statement excludes parts of the
configuration from being displayed and omits them from appearing in the
output of the show configuration
command. Any omitted
configuration is still there in the configuration and visible to the system
upon commit, however it is not displayed to the user unless specifically
referenced in the show
command or viewed from the current
hierarchy level.
apply-flags omit
statement. You must type it manually
to complete the statement.If you configure apply-flags omit
statement for the following
configuration:
user@host#set system login apply-flags omit user@host#set system root-authentication apply-flags omit
You see the following output, when you issue the show system
command:
user@host# show system root-authentication { /* OMITTED */ }; login { /* OMITTED */ }; ...
"/* OMITTED */" indicates that this portion of the configuration is omitted.
The system uses a comment to keep the syntax valid, so you can copy and
paste the configuration even when data is omitted. However, the system
displays full system login
configuration when you run
show system login
command, regardless of the omit
flag, because it ignores the flag for the sections specified in the
command.
omit
flag affects only CLI
output; the configuration is always visible when accessed through API
calls.Options
omit | Omit the parent statement during normal display. |
Required Privilege Level
configure—To enter configuration mode, but other required privilege levels depend on where the statement is located in the configuration hierarchy.
Release Information
Statement introduced before Junos OS Release 7.4.