Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


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

Many statements in the Junos OS configuration include an option to specify an IP address or route prefix. This option is represented as destination-prefix/prefix-length. Specifically, the route prefix, followed by a slash and the destination prefix length. For example,

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,, 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 from 1 through 32.