Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    ip address


    ip address ipAddress ipMask [ secondary ]

    no ip address [ ipAddress ipMask [ secondary ] ]

    Release Information

    Command introduced before JunosE Release 7.1.0.


    Sets a primary or secondary IP address for an interface or subinterface. The no version removes an IP address or disables IP processing. You must specify the layer 2 encapsulation before you can set the IP address.


    • ipAddress—IP address in 32-bit dotted decimal format (for example,
    • ipMask—mask for associated IP subnet in dotted decimal or prefix length notation
    • secondary—Specifies that the configured address is a secondary IP address; if omitted, the configured address is the primary IP address


    Interface Configuration, Profile Configuration, Subinterface Configuration

    Published: 2014-08-20