interfaces (EX Series switches)
语法
#statement-name-statement__interfaces-ae #statement-name-statement__interfaces-ge #statement-name-statement__interfaces-interface-range #statement-name-statement__interfaces-lo0 #statement-name-statement__interfaces-me0 #statement-name-statement__interfaces-traceoptions #statement-name-statement__interfaces-vlan #statement-name-statement__interfaces-vme #statement-name-statement__interfaces-xe
接口 ae
aex { accounting-profile name; aggregated-ether-options { (flow-control | no-flow-control); lacp { (active | passive); admin-key key; periodic interval; system-id mac-address; } (link-protection | no-link-protection); link-speed speed; (loopback | no-loopback); minimum-links number; } description text; disable; (gratuitous-arp-reply | no-gratuitous-arp-reply); mtu bytes; no-gratuitous-arp-request; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} proxy-arp (restricted | unrestricted); (traps | no-traps); vlan-id vlan-id-number; } vlan-tagging; }
接口 ge
ge-fpc/pic/port { accounting-profile name; description text; disable; ether-options { 802.3ad { aex; (backup | primary); lacp { force-up; } } (auto-negotiation | no-auto-negotiation); (flow-control | no-flow-control); ieee-802-3az-eee; link-mode mode; (loopback | no-loopback); speed (auto-negotiation | speed); } (gratuitous-arp-reply | no-gratuitous-arp-reply); hold-time up milliseconds down milliseconds; media-type; mtu bytes; no-gratuitous-arp-request; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} proxy-arp (restricted | unrestricted); (traps | no-traps); vlan-id vlan-id-number; } vlan-tagging; }
接口接口范围
interface-range name { accounting-profile name; description text; disable; ether-options { 802.3ad { aex; (backup | primary); lacp { force-up; } } (auto-negotiation | no-auto-negotiation); (flow-control | no-flow-control); ieee-802-3az-eee; link-mode mode; (loopback | no-loopback); speed (auto-negotiation | speed); } (gratuitous-arp-reply | no-gratuitous-arp-reply); hold-time up milliseconds down milliseconds; member interface-name; member-range starting-interface name to ending-interface name; mtu bytes; unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} proxy-arp (restricted | unrestricted); (traps | no-traps); vlan-id vlan-id-number; } vlan-tagging; }
接口 lo0
lo0 { accounting-profile name; description text; disable; hold-time up milliseconds down milliseconds; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} (traps | no-traps); } }
接口 me0
me0 { accounting-profile name; description text; disable; (gratuitous-arp-reply | no-gratuitous-arp-reply); hold-time up milliseconds down milliseconds; no-gratuitous-arp-request; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} (traps | no-traps); vlan-id vlan-id-number; } vlan-tagging; }
接口追踪功能
traceoptions { file <filename> <files number> <match regular-expression> <size size> <world-readable | no-world-readable>; flag flag <disable>; no-remote-trace; }
接口 vlan
vlan { accounting-profile name; description text; disable; (gratuitous-arp-reply | no-gratuitous-arp-reply); hold-time up milliseconds down milliseconds; mtu bytes; no-gratuitous-arp-request; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} proxy-arp (restricted | unrestricted); (traps | no-traps); } }
接口 vme
vme { accounting-profile name; description text; disable; (gratuitous-arp-reply | no-gratuitous-arp-reply); hold-time up milliseconds down milliseconds; mtu bytes; no-gratuitous-arp-request; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} (traps | no-traps); vlan-id vlan-id-number; } vlan-tagging; }
接口 xe
xe-fpc/pic/port { accounting-profile name; description text; disable; ether-options { 802.3ad { aex; (backup | primary); lacp { force-up; } } (flow-control | no-flow-control); link-mode mode; (loopback | no-loopback); } (gratuitous-arp-reply | no-gratuitous-arp-reply); hold-time up milliseconds down milliseconds; mtu bytes; no-gratuitous-arp-request; traceoptions { flag flag; } (traps | no-traps); unit logical-unit-number { accounting-profile name; bandwidth rate; description text; disable; family family-name {...} proxy-arp (restricted | unrestricted); (traps | no-traps); vlan-id vlan-id-number; } vlan-tagging; }
层次结构级别
[edit]
描述
在 EX 系列交换机上配置接口。
选项
有关交换机上支持的接口类型和协议家族选项,请参阅 表 1 。不同的协议系列支持交换机上接口类型的不同子集。请参阅 语句, family
了解交换机接口支持的协议族语法。
并非所有接口类型都支持所有 家族 子状态。检查交换机 CLI,了解特定协议系列配置支持的子状态。
接口类型 | 说明 | 支持的协议系列 | |||||
---|---|---|---|---|---|---|---|
ccc | 以太网交换 | inet inet6 | iso | mpls | |||
Ae |
聚合以太网接口(也称为链路聚合组 [LAG]) |
✓* |
✓ |
✓ |
✓ |
✓ |
✓ |
通用 电气 |
千兆位以太网接口 |
✓ |
✓ |
✓ |
✓ |
✓ |
✓ |
接口范围 |
接口范围配置 |
支持的协议系列是组成范围的接口类型支持的协议系列。 |
|||||
lo0 |
环路接口 |
✓ |
✓ |
✓ |
✓ |
||
me0 |
管理以太网接口 |
✓ |
✓ |
✓ |
✓ |
✓ |
|
Vlan |
路由的 VLAN 接口 (RVI) |
✓ |
✓ |
✓ |
|||
Vme |
虚拟管理以太网接口 |
✓ |
✓ |
✓ |
✓ |
||
氙气 |
10 千兆位以太网接口 |
✓ |
✓ |
✓ |
✓ |
✓ |
✓ |
|
*仅在 EX8200 交换机上支持 |
其余语句将单独解释。请参阅 CLI Explorer。
所需权限级别
接口 — 要在配置中查看此语句。接口控制 — 要将此语句添加到配置中。
发布信息
Junos OS 9.0 版中引入的语句。