interfaces (QFX Series, ACX Series)
语法
OCX 系列交换机不支持以下语句及其关联的子语句:auto-negotiation
、 fcoe-lag
fibre-channel
ethernet-switching
speed
mc-ae
vlan
fibrechannel-options
vlan-id
和 。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 { powersaving { member-range starting-interface-name to ending-interface-name; unused; } 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; 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; } }
层次结构级别
[edit]
描述
在 QFX 系列、ACX 系列和 OCX 系列上配置接口。
OCX 系列交换机不支持以下语句及其关联的子语句:auto-negotiation
、 、 speed
fibre-channel
vlan-id
fcoe-lag
fibrechannel-options
mc-ae
vlan
ethernet-switching
vlan-tagging
交换机的 Junos OS 中提供了大多数标准 Junos OS 配置语句。本主题列出了配置交换机时常用的 Junos OS 语句,以及为仅支持交换机而添加的语句。
查看 功能浏览器 以了解节能功能的支持平台。
选项
Aex— 配置聚合以太网接口。
xe-0/0/port/ — 配置 10 千兆以太网接口。
ge-0/0/port/ — 配置千兆以太网接口。
fc-0/0/port/— 配置光纤通道接口。
meX/ — 配置管理接口。
mc-ae — 配置多机箱聚合以太网 (MC-AE) 接口。
其余语句将单独解释。请参阅 CLI 资源管理器。
所需权限级别
接口 — 在配置中查看此语句。
接口控制 — 将此语句添加到配置中。
发布信息
Junos OS 11.1 版中引入的语句。
对 Junos OS EVO 21.3 版中引入的 QFX 系列的语句支持