Format for Specifying IP Addresses, Network Masks, and Prefixes in Junos Configuration Statements

Many statements in the Junos OS configuration include an option to specify an IP address or route prefix. In this manual, this option is represented in one of the following ways:

You enter all IP addresses in classless mode. You can enter the IP address with or without a prefix length, in standard dotted notation (for example, 1.2.3.4), or hexadecimal notation as a 32-bit number in network-byte order (for example, 0x01020304). If you omit any octets, they are assumed to be zero. Specify the prefix length as a decimal number in the range from 1 through 32.

Related Topics