Navigation
Supported Platforms
Related Documentation
- M, MX, PTX, QFX, 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, MX, PTX, QFX, T Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands
Published: 2013-08-15
Supported Platforms
Related Documentation
- M, MX, PTX, QFX, T Series
- Format for Specifying Filenames and URLs in Junos OS CLI Commands