Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

interfaces

Syntax

interfaces {aex {disable;aggregated-ether-options {configured-flow-control {rx-buffers (on | off);tx-buffers (on | off);}(flow-control | no-flow-control);lacp mode {admin-key key;periodic interval;system-id mac-address;}link-speed speed;loopback;no-loopback;minimum-links number;}mc-ae {chassis-id chassis-id;mc-ae-id mc-ae-id;mode (active-active); status-control (active | standby);}description text;gratuitous-arp-reply | no-gratuitous-arp-reply)hold-time down milliseconds up milliseconds;mtu bytes;no-gratuitous-arp-request;traceoptions;(traps | no traps);unit logical-unit-number {disable;description text;family {ethernet-switching {filter input filter-name; filter output filter-name; native-vlan-id vlan-id;port-mode mode;reflective-relay;vlan {members [ (all | names | vlan-ids) ];}}inet {address address {primary;}filter input filter-name; filter output filter-name; primary;targeted-broadcast;}(traps | no traps);vlan-id vlan-id-number;}vlan-tagging;}interface-range interface-range-name {disable;description text;ether-options {802.3ad aex {lacp {force-up;}} (auto-negotiation| no-auto-negotiation);configured-flow-control {rx-buffers (on | off);tx-buffers (on | off);}(flow-control | no-flow-control);link-mode mode;speed (auto-negotiation | speed);}hold-time milliseconds down milliseconds;member interface-name;member-range starting-interface-name to ending-interface-name;mtu bytes;unit logical-unit-number {disable;description text;family family-name {...}(traps | no traps);vlan-id vlan-id-number;}}lo0 {disable;description text;hold-time milliseconds down milliseconds;traceoptions;(traps | no traps);unit logical-unit-number {disable;description text;family {inet {address address {primary;}filter input filter-name; filter output filter-name; primary;targeted-broadcast;}(traps | no traps);}}mex {disable;description text;hold-time milliseconds down milliseconds;(gratuitous-arp-reply | no-gratuitous-arp-reply);no-gratuitous-arp-request;traceoptions;traps;unit logical-unit-number {disable;description text;family {ethernet-switching {filter input filter-name; filter output filter-name; native-vlan-id vlan-id;port-mode mode;reflective-relay;vlan {members [ (all | names | vlan-ids) ];}}inet {address address {primary;filter input filter-name; filter output filter-name; primary;targeted-broadcast;}}traps;vlan-id vlan-id-number;}vlan-tagging;vlan {disable;description text; (gratuitous-arp-reply| no-gratuitous-arp-reply);hold-time milliseconds down milliseconds;mtu bytes;no-gratuitous-arp-request;traceoptions;(traps | no traps);unit logical-unit-number {description text;disable;family {inet {address address {primary;}filter input filter-name; filter output filter-name; primary;targeted-broadcast;}(traps | no traps);}}fc-0/0/port {fibrechannel-options {bb-sc-n;(loopback | no-loopback);speed (auto-negotiation | 2g | 4g | 8g);}unit logical-unit-number {disable;description text;family {fibre-channel {port-mode np-port;}(traps | no traps);}ge-0/0/port {disable;description text;ether-options {802.3ad aex {lacp {force-up;primary;}}(auto-negotiation | no-auto-negotiation);configured-flow-control {rx-buffers (on | off);tx-buffers (on | off);}(flow-control | no-flow-control);link-mode mode;loopback;no-loopback;speed (auto-negotiation | speed);}gratuitous-arp-reply| no-gratuitous-arp-reply);hold-time milliseconds down milliseconds;mtu bytes;no-gratuitous-arp-request;traceoptions;(traps | no traps);unit logical-unit-number {description text;disable;family {ethernet-switching {filter input filter-name; filter output filter-name; native-vlan-id vlan-id;port-mode mode;reflective-relay;vlan {members [ (all | names | vlan-ids) ];}}inet {address address {primary;}filter input filter-name; filter output filter-name; primary;rpf-check <mode loose>;targeted-broadcast;}inet6{address address {eui-64preferredprimary;filter input filter-name; filter output filter-name; rpf-check <mode loose>;}}(traps | no traps);vlan-id vlan-id-number;}vlan-tagging;}vrrp-group group-id {(accept-data | no-accept-data);advertise-interval seconds;authentication-key key;authentication-type authentication;fast-interval milliseconds;(preempt | no-preempt) {hold-time seconds;}priority number;track {interface interface-name {bandwidth-threshold bits-per-second priority-cost priority;priority-cost priority;}priority-hold-time seconds;route prefix/prefix-length routing-instance instance-name priority-cost priority;}}virtual-address [ addresses ];}xe-0/0/port {disable;description text;ether-options {802.3ad aex {lacp {force-up;}}configured-flow-control {rx-buffers (on | off);tx-buffers (on | off);}(flow-control | no-flow-control);loopback;no-loopback;}(gratuitous-arp-reply| no-gratuitous-arp-replyhold-time milliseconds down milliseconds;mtu bytes;no-gratuitous-arp-request;traceoptions;(traps | no traps);unit logical-unit-number {disable;description text;family {ethernet-switching {filter input filter-name; filter output filter-name; native-vlan-id vlan-id;port-mode mode;reflective-relay;vlan {members [ (all | names | vlan-ids) ];}}fibre-channel {port-mode (f-port | np-port);}inet {address address {primary;}filter input filter-name; filter output filter-name; primary;rpf-check <mode loose>;targeted-broadcast;}inet6{address address {eui-64preferredprimary;filter input filter-name; filter output filter-name; rpf-check <mode loose>;}}(traps | no traps);vlan-id vlan-id-number;}vlan-tagging;}}

Hierarchy Level

[edit]

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Configure the interfaces on the QFX Series.

Most standard Junos OS configuration statements are available in the Junos OS for a switch. This topic lists Junos OS statements that you commonly use when configuring a switch as well as statements added to support switches only.

Options

aex—Configure an aggregated Ethernet interface.

xe-0/0/port/—Configure a 10-Gigabit Ethernet interface.

ge-0/0/port/—Configure a Gigabit Ethernet interface.

fc-0/0/port/—Configure a Fibre Channel interface.

meX/—Configure a management interface.

mc-ae—Configure a multichassis aggregated Ethernet (MC-AE) interface.

The remaining statements are explained separately.

Required Privilege Level

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

Published: 2013-07-01