family inet

Syntax

family inet {address ip-address; }}

Hierarchy Level

[edit interfaces interface unit unit ]

Release Information

Statement introduced in a prior release of Junos OS.

Description

Assign an IP address to a logical interface.

Options

ipaddress—Specifies the IP address for the interface.

Note: You use family inet to assign an IPv4 address. You use family inet6 to assign an IPv6 address. An interface can be configured with both an IPv4 and IPv6 address.

Usage Guidelines

For configuration procedures and examples, see the Junos OS Interfaces Configuration Guide for Security Devices.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.