Some JUNOS leaf statements accept multiple values, which can be either user-defined or drawn from a set of predefined values. CLI notation uses square brackets to enclose all values in a single statement, as in the following:
-
statement [ value1 value2 value3 ...];
The JUNOS XML API instead encloses each value in its own tag element. The following example shows the JUNOS XML tag elements for a CLI statement with multiple user-defined values. The import statement imports two routing policies defined elsewhere in the configuration. For complete information about changing routing platform configuration, see Changing Configuration Information.

The following example shows the JUNOS XML tag elements for a CLI statement with multiple predefined values. The permissions statement grants three predefined permissions to members of the user-accounts login class.
