Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

family inet (Interfaces)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
inet {
    accounting {
        destination-class-usage;
        source-class-usage {
            input;
            output;
        }
    }
    address (source–address/prefix) { 
        arp destination-address {
            (mac mac-address | multicast-mac multicast-mac-address);
            publish publish-address;
        }
        broadcast address;
        preferred;
        primary;
        vrrp-group group-id {
            (accept-data | no-accept-data); 
            advertise-interval seconds;
            advertisements-threshold number;
            authentication-key key-value;
            authentication-type (md5 | simple);
            fast-interval milliseconds;
            inet6-advertise-interval milliseconds
            (preempt <hold-time seconds> | no-preempt );
            priority value;
            track {
                interface interface-name {
                    bandwidth-threshold bandwidth;
                     priority-cost value;
                }
                priority-hold-time seconds;
                route route-address{
                    routing-instance routing-instance;
                     priority-cost value;
                }
            }
            virtual-address [address];
            virtual-link-local-address address;
            vrrp-inherit-from {
                active-group value;
                active-interface interface-name;
            }
        }
        web-authentication {
            http;
            https;
            redirect-to-https;
        }
    }
    dhcp {
        client-identifier {
            (ascii string | hexadecimal string);
        }
        lease-time (length | infinite);
        retransmission-attempt value;
        retransmission-interval seconds;
        server-address server-address;
        update-server;
        vendor-id vendor-id ;
    }
    dhcp-client {
        client-identifier {
            prefix {
                host-name;
                logical-system-name;
                routing-instance-name;
            }
            use-interface-description (device | logical);
            user-id (ascii string| hexadecimal string);
        }
        lease-time (length | infinite);
        retransmission-attempt value;
        retransmission-interval seconds;
        server-address server-address;
        update-server;
        vendor-id vendor-id ;
    }
    filter {
        group number;
        input filter-name;
        input-list [filter-name];
        output filter-name;
        output-list [filter-name];
    }
    mtu value;
    no-neighbor-learn;
    no-redirects;
    policer {
        arp arp-name;
        input input-name;
        output output-name;
    }
    primary;
    rpf-check {
        fail-filter filter-name;
        mode {
            loose;
        }
    }
    sampling {
        input;
        output;
        simple-filter;
    }
    targeted-broadcast {
        (forward-and-send-to-re |forward-only);
    }
    unnumbered-address {
        interface-name;
        preferred-source-address preferred-source-address;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit interfaces interface unit unit ]

Description

Assign an IP address to a logical interface.

Options

ipaddress—Specify the IP address for the interface. The remaining statements are explained separately.

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.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement supported in Junos 10.2 for SRX Series Firewalls.

footer-navigation