[Contents] [Prev] [Next] [Index] [Report an Error]

# ip address

#### Syntax

ip address ipAddress ipMask [ secondary ]

no ip address [ ipAddress ipMask [ secondary ] ]

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

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.

#### Options

- ipAddress—IP address in 32-bit dotted decimal format (for example, 192.56.32.2)
- 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

#### Mode

Interface Configuration, Profile Configuration, Subinterface Configuration

#### Related Topics

- Configuring Local ATM Cross-Connects with AAL5 Encapsulation, Configuring Local Cross-Connects Between Ethernet/VLAN Interfaces, Configuring the Loopback Interface and Router ID for BGP for L2VPNs, Configuring the Loopback Interface and Router ID for VPLS, and Configuring MPLS LSPs for L2VPNs in the JUNOSe BGP and MPLS Configuration Guide

[Contents] [Prev] [Next] [Index] [Report an Error]