family
语法
family { ethernet-switching { filter { group filter-group-number; input filter-name; input-list [ filter-names ]; output filter-name; output-list [ filter-names ]; } interface-mode (access | trunk); recovery-timeout seconds; storm-control profile-name; vlan { members (vlan-name |[-vlan-names] | all); } } fibre-channel { port-mode (f-port | np-port); } inet { accounting { destination-class-usage; source-class-usage { input; output; } } address ipv4-address { arp ip-address (mac | multicast-mac) mac-address <publish>; broadcast address; preferred; primary; vrrp-group group-number { (accept-data | no-accept-data); advertise–interval seconds; advertisements-threshold number; authentication-key key; authentication-type authentication; fast-interval milliseconds; (preempt | no-preempt) { hold-time seconds; } priority number; track { interface interface-name { priority-cost number; } priority-hold-time seconds; route ip-address/mask routing-instance instance-name priority-cost cost; } virtual-address [addresses]; vrrp-inherit-from { active-group group-number; active-interface interface-name; } } } filter { group filter-group-number; input filter-name; input-list [ filter-names ]; output filter-name; output-list [ filter-names ]; } mtu bytes; no-neighbor-learn; no-redirects; primary; rpf-check { fail-filter filter-name; mode { loose; } } } inet6 { accounting { destination-class-usage; source-class-usage { input; output; } } address address { eui-64; ndp ip-address (mac | multicast-mac) mac-address <publish>; preferred; primary; vrrp-inet6-group group-id { accept-data | no-accept-data; advertisements-threshold number; authentication-key key; authentication-type authentication; fast-interval milliseconds; inet6-advertise-interval milliseconds; preempt | no-preempt { hold-time seconds; } priority number; track { interface interface-name { priority-cost number; } priority-hold-time seconds; route ip-address/mask routing-instance instance-name priority-cost cost; } virtual-inet6-address [addresses]; virtual-link-local-address ipv6–address; vrrp-inherit-from { active-group group-name; active-interface interface-name; } } } (dad-disable | no-dad-disable); filter { group filter-group-number; input filter-name; input-list [ filter-names ]; output filter-name; output-list [ filter-names ]; } mtu bytes; nd6-stale-time time; no-neighbor-learn; no-redirects; policer { input policer-name; output policer-name; } rpf-check { fail-filter filter-name; mode { loose; } } mpls { filter { group filter-group-number; input filter-name; input-list [ filter-names ]; output filter-name; output-list [ filter-names ]; } mtu bytes; } } }
层次结构级别
[edit interfaces interface-name unit logical-unit-number], [edit interfaces interface-range interface-name unit logical-unit-number family]
描述
为 QFX 系列交换机上的逻辑接口配置协议家族信息。
默认
默认情况下,QFX 系列上的接入接口设置为 系列以太网交换 。如果要更改接口的家族设置,可能必须先删除此默认设置或任何用户配置的家族设置。
您必须配置逻辑接口才能使用物理设备。
选项
交换机上的接口类型包括:
聚合以太网 (ae)
千兆以太网 (ge)
环路 (lo0)
管理以太网 (me0)
-
路由 VLAN 接口 (RVI) (VLAN)
10 千兆以太网 (xe)
并非所有接口类型都支持所有 家族 子语句。检查交换机 CLI 中是否有特定协议家族配置支持的子语句。
所需权限级别
接口 — 在配置中查看此语句。接口控制 — 将此语句添加到配置中。
发布信息
Junos OS 11.1 版中引入的语句。