Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Using Junos OS Defaults Groups

Junos OS provides a hidden and immutable configuration group called junos-defaults that is automatically applied to the configuration of your router. The junos-defaults group contains preconfigured statements that contain predefined values for common applications. Some of the statements must be referenced to take effect, such as definitions for applications (for example, FTP or telnet settings). Other statements are applied automatically, such as terminal settings.

Note: Many identifiers included in the junos-defaults configuration group begin with the name junos-. Because identifiers beginning with the name junos- are reserved for use by Juniper Networks, you cannot define any configuration objects using this name.

You cannot include junos-defaults as a configuration group name in an apply-groups statement.

To view the full set of available preset statements from the Junos defaults group, issue the show groups junos-defaults configuration mode command at the top level of the configuration. The following example displays a partial list of Junos defaults groups:

user@host# show groups junos-defaults# Make vt100 the default for the console portsystem {ports {console type vt100;}}applications {# File Transfer Protocol application junos-ftp {application-protocol ftp;protocol tcp;destination-port 21;}# Trivial File Transfer Protocol application junos-tftp {application-protocol tftp;protocol udp;destination-port 69;}# RPC port mapper on TCP application junos-rpc-portmap-tcp {application-protocol rpc-portmap;protocol tcp;destination-port 111;}# RPC port mapper on UDP }

To reference statements available from the junos-defaults group, include the selected junos- default-name statement at the applicable hierarchy level.

Published: 2012-11-27

Published: 2012-11-27