[Contents] [Prev] [Next] [Index] [Report an Error]


Configuration Statements and Identifiers

You configure all router properties by including statements in the configuration. A statement consists of a keyword, which is fixed text, and, optionally, an identifier. An identifier is an identifying name that you define, such as the name of an interface, or a username, which allows you and the CLI to discriminate among a collection of statements.

The following list shows the statements available at the top level of the configuration mode (that is, the trunk of the hierarchy tree). Table 135 describes each statement.

[edit]
user@host# set ?
Possible completions:
> access                  Network access configuration
> accounting-options   Accounting data configuration
> applications            Define applications by protocol characteristics
+ apply-groups           Groups from which to inherit configuration data
> chassis                  Chassis configuration
> class-of-service       Class-of-service configuration
> firewall                  Define a firewall configuration
> forwarding-options   Configure options to control packet sampling
> groups                   Configuration groups
> interfaces              Interface configuration
> isdn                       ISDN process configuration
> logical-routers         Logical routers
> policy-options         Routing policy option configuration
> protocols               Routing protocol configuration
> routing-instances     Routing instance configuration
> routing-options        Protocol-independent routing option configuration
> security                 Security configuration
> services                Service PIC applications settings
> snmp                    Simple Network Management Protocol configuration
> system                  System parameters

An angle bracket ( > ) before the statement name indicates that it is a container statement and you can define other statements at levels below it.

If there is no angle bracket ( ) before the statement name, the statement is a leaf statement; you cannot define other statements at hierarchy levels below it.

A plus sign ( ) before the statement name indicates that it can contain a set of values. To specify a set, include the values in brackets. For example:

[edit]
user@host# set policy-options community my-as1-transit members [65535:10 
65535:11] 

In some statements, you can include an identifier. For some identifiers, such as interface names, you must specify the identifier in a precise format. For example, the interface name so-0/0/0 refers to a SONET/SDH interface that is on the Flexible PIC Concentrator (FPC) in slot 0, in the first Physical Interface Card (PIC) location, and in the first port on the PIC. For other identifiers, such as interface descriptive text, policy, and firewall term names, you can specify any name, including special characters, spaces, and tabs.

You must enclose in quotation marks (double quotes) identifiers and any strings that include the following characters: space tab ( ) [ ] { } ! @ # $ % ^ & | ' = ? 

Table 135 describes each top-level CLI configuration mode statement.


Table 135: Configuration Mode Top-Level Statements
Statement
Description

accounting-options

Configure accounting statistics data collection for interfaces and firewall filters. For information about the statements in this hierarchy, see the JUNOS Network Management Configuration Guide.

chassis

Configure properties of the router chassis, including the clock source, conditions that activate alarms, and SONET/SDH framing and concatenation properties. For information about the statements in this hierarchy, see the JUNOS Interfaces and Class of Service Configuration Guide

class-of-service

Configure class-of-service parameters. For information about the statements in this hierarchy, see the JUNOS Interfaces and Class of Service Configuration Guide.

firewall

Define filters that select packets based on their contents. For information about the statements in this hierarchy, see the JUNOS Policy Framework Configuration Guide.

forwarding-options

Define forwarding options, including traffic sampling options. For information about the statements in this hierarchy, see the JUNOS Interfaces and Class of Service Configuration Guide.

groups

Configure configuration groups.

interfaces

Configure interface information, such as encapsulation, interfaces, virtual channel identifiers (VCIs), and data-link channel identifiers (DLCIs). For information about the statements in this hierarchy, see the JUNOS Interfaces and Class of Service Configuration Guide.

policy-options

Define routing policies, which allow you to filter and set properties in incoming and outgoing routes. For information about the statements in this hierarchy, see the JUNOS Routing and Routing Protocols Configuration Guide.

protocols

Configure routing protocols, including Border Gateway Protocol (BGP), Intermediate System-to-Intermediate System (IS-IS), Open Shortest Path First (OSPF), Routing Information Protocol (RIP), Multiprotocol Label Switching (MPLS), Label Distribution Protocol (LDP), and Resource Reservation Protocol (RSVP). For information about the statements in this hierarchy, see the chapters that discuss how to configure the individual routing protocols in the JUNOS Routing and Routing Protocols Configuration Guide and the JUNOS MPLS Applications Configuration Guide.

routing-instances

Configure multiple routing instances. For information about the statements in this hierarchy, see the JUNOS Routing and Routing Protocols Configuration Guide.

routing-options

Configure protocol-independent routing options, such as static routes, autonomous system (AS) numbers, confederation members, and global tracing (debugging) operations to log. For information about the statements in this hierarchy, see the JUNOS Routing and Routing Protocols Configuration Guide.

snmp

Configure Simple Network Management Protocol (SNMP) community strings, interfaces, traps, and notifications. For information about the statements in this hierarchy, see the JUNOS Network Management Configuration Guide.

system

Configure systemwide properties, including the hostname, domain name, Domain Name System (DNS) server, user logins and permissions, mappings between hostnames and addresses, and software processes.



[Contents] [Prev] [Next] [Index] [Report an Error]