Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

apply-flags-omit

Syntax

Hierarchy Level

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.

Note: Junos OS does not support auto-completion for the apply-flags omit statement. You must type it manually to complete the statement.

If you configure apply-flags omit statement for the following configuration:

You see the following output, when you issue the show system command:

"/* 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.

Note: The 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.