Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- M Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- MX Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- PTX Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- QFX Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- T Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
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 in one of the following ways:
- network/prefix-length—Network portion of the IP address, followed by a slash and the destination prefix length (previously called the subnet mask). For example, 10.0.0.1/8.
- network—IP address. For example, 10.0.0.2.
- destination-prefix/prefix-length—Route prefix, followed by a slash and the destination prefix length. For example, 192.168.1.10/32.
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 from 1 through 32.
Related Documentation
- M Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- MX Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- PTX Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- QFX Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
- T Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands

