interfaces (QFX Series, ACX Series)
Syntax
The following statements and their associated substatements
are not supported on OCX Series switches: auto-negotiation
, speed
, ethernet-switching
, fcoe-lag
, fibre-channel
, fibrechannel-options
, mc-ae
, vlan
, vlan-id
, and vlan-tagging
.
interfaces { aex { disable; aggregated-ether-options { configured-flow-control { rx-buffers (on | off); tx-buffers (on | off); } (fcoe-lag | no-fcoe-lag); flexible-vlan-tagging; (flow-control | no-flow-control); lacp mode { admin-key key; force-up; periodic interval; system-id mac-address; } link-speed speed; local-bias; 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 { powersaving; 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; unused; 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); } flexible-vlan-tagging; (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; mac 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; targeted-broadcast; } (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; (primary | backup); } } configured-flow-control { rx-buffers (on | off); tx-buffers (on | off); } flexible-vlan-tagging; (flow-control | no-flow-control); loopback; no-loopback; } (gratuitous-arp-reply| no-gratuitous-arp-reply hold-time milliseconds down milliseconds; mac 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; targeted-broadcast; } (traps | no traps); vlan-id vlan-id-number; } vlan-tagging; } }
Hierarchy Level
[edit]
Description
Configure the interfaces on the QFX Series and OCX Series.
The following statements and their associated substatements
are not supported on OCX Series switches: auto-negotiation
, ethernet-switching
, fcoe-lag
, fibre-channel
, fibrechannel-options
, mc-ae
, speed
, vlan
, vlan-id
, and vlan-tagging
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. See CLI Explorer.
Usage
- Configure the power saving mode in ACX systems, using the
interfaces powersaving
commands and reboot. To remove power saving mode, remove theinterfaces powersaving
commands and reboot the system. See example for reference. - It is recommended to configure power saving mode on one core (Core1) ports.
set interfaces interface-range powersaving (ACX)
user@host>set interfaces interface-range PowerSaving member-range et-0/0/24 to et-0/0/50 user@host>set interfaces interface-range PowerSaving member-range et-0/0/51 to et-0/0/53 user@host>interfaces interface-range PowerSaving unused
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 11.1.
Statement support for QFX series introduced in Junos OS EVO Release 21.3