interfaces (QFX Series, ACX Series)
语法
OCX 系列交换机不支持以下语句及其关联的子陈述:、 auto-negotiation
、 speed
、 ethernet-switching
、 fcoe-lag
、 fibrechannel-options
fibre-channel
、 mc-ae
vlan
、 和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 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; } }
层次结构级别
[edit]
描述
配置 QFX 系列和 OCX 系列上的接口。
OCX 系列交换机不支持以下语句及其关联的子陈述:、 auto-negotiation
、 、 、 fcoe-lag
、 fibre-channel
、 mc-ae
fibrechannel-options
、 vlan
speed
vlan-id
和 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 浏览器。
使用
- 在 ACX 系统中配置节能模式,使用
interfaces powersaving
命令并重新启动。要移除节能模式,请interfaces powersaving
移除命令并重新启动系统。请参阅示例,了解参考。 - 建议在一个核心 (Core1) 端口上配置节能模式。
集接口接口范围节能 (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
必需的权限级别
接口 — 在配置中查看此语句。
接口控制 — 将此语句添加到配置中。
版本信息
在 Junos OS 11.1 版中引入的语句。
在 Junos OS EVO 21.3 版中引入的 QFX 系列语句支持