unit
语法
unit logical-unit-number { accept-source-mac { mac-address mac-address { policer { input cos-policer-name; output cos-policer-name; } } } accounting-profile name; advisory-options { downstream-rate rate; upstream-rate rate; } allow-any-vci; atm-scheduler-map (map-name | default); auto-configure { agent-circuit-identifier { dynamic-profile profile-name; } line-identity { include { accept-no-ids; circuit-id; remote-id; } dynamic-profile profile-name; } } backup-options { interface interface-name; } bandwidth rate; cell-bundle-size cells; clear-dont-fragment-bit; compression { rtp { maximum-contexts number <force>; f-max-period number; queues [queue-numbers]; port { minimum port-number; maximum port-number; } } } compression-device interface-name; copy-tos-to-outer-ip-header; demux { inet { address-source address; auto-configure { address-ranges { authentication { password password-string; username-include { auth-server-realm realm-string; delimiter delimiter-character; domain-name domain-name; interface-name; source-address; user-prefix user-prefix-string; } } dynamic-profile profile-name { network ip-address { range name { low lower-limit; high upper-limit; } } } } } } inet6 { address-source address; auto-configure { address-ranges { authentication { password password-string; username-include { auth-server-realm realm-string; delimiter delimiter-character; domain-name domain-name; interface-name; source-address; user-prefix user-prefix-string; } } dynamic-profile profile-name { network ip-address { range name { low lower-limit; high upper-limit; } } } } } } } demux-destination family; demux-source family; demux-options { underlying-interface interface-name; } description text; etree-ac-role (leaf | root); interface { l2tp-interface-id name; (dedicated | shared); } dialer-options { activation-delay seconds; callback; callback-wait-period time; deactivation-delay seconds; dial-string [dial-string-numbers]; idle-timeout seconds; incoming-map { caller caller-id | accept-all; initial-route-check seconds; load-interval seconds; load-threshold percent; pool pool-name; redial-delay time; watch-list { [routes]; } } } disable; disable-mlppp-inner-ppp-pfc; dlci dlci-identifier; drop-timeout milliseconds; dynamic-call-admission-control { activation-priority priority; bearer-bandwidth-limit kilobits-per-second; } encapsulation type; epd-threshold cells plp1 cells; family family-name { ... the family subhierarchy appears after the main [edit interfaces interface-name unit logical-unit-number] hierarchy ... } fragment-threshold bytes; host-prefix-only; inner-vlan-id-range start start-id end end-id; input-vlan-map { (pop | pop-pop | pop-swap | push | push-push | swap | swap-push | swap-swap); inner-tag-protocol-id tpid; inner-vlan-id number; tag-protocol-id tpid; vlan-id number; } interleave-fragments; inverse-arp; layer2-policer { input-policer policer-name; input-three-color policer-name; output-policer policer-name; output-three-color policer-name; } link-layer-overhead percent; minimum-links number; mrru bytes; multicast-dlci dlci-identifier; multicast-vci vpi-identifier.vci-identifier; multilink-max-classes number; multipoint; oam-liveness { up-count cells; down-count cells; } oam-period (disable | seconds); output-vlan-map { (pop | pop-pop | pop-swap | push | push-push | swap | swap-push | swap-swap); inner-tag-protocol-id tpid; inner-vlan-id number; tag-protocol-id tpid; } passive-monitor-mode; peer-unit unit-number; plp-to-clp; point-to-point; ppp-options { mru size; mtu (size | use-lower-layer); chap { access-profile name; default-chap-secret name; local-name name; passive; } compression { acfc; pfc; } dynamic-profile profile-name; ipcp-suggest-dns-option; lcp-restart-timer milliseconds; loopback-clear-timer seconds; ncp-restart-timer milliseconds; pap { access-profile name; default-pap-password password; local-name name; local-password password; passive; } } pppoe-options { access-concentrator name; auto-reconnect seconds; (client | server); service-name name; underlying-interface interface-name; } pppoe-underlying-options { access-concentrator name; direct-connect; dynamic-profile profile-name; max-sessions number; } proxy-arp; service-domain (inside | outside); shaping { (cbr rate | rtvbr peak rate sustained rate burst length | vbr peak rate sustained rate burst length); queue-length number; } short-sequence; targeted-distribution; transmit-weight number; (traps | no-traps); trunk-bandwidth rate; trunk-id number; tunnel { backup-destination address; destination address; key number; routing-instance { destination routing-instance-name; } source source-address; ttl number; } vci vpi-identifier.vci-identifier; vci-range start start-vci end end-vci; vpi vpi-identifier; vlan-id number; vlan-id-range number-number; vlan-tags inner tpid.vlan-id outer tpid.vlan-id; family family { accounting { destination-class-usage; source-class-usage { (input | output | input output); } } access-concentrator name; address address { ... the address subhierarchy appears after the main [edit interfaces interface-name unit logical-unit-number family family-name] hierarchy ... } bundle interface-name; core-facing; demux-destination { destination-prefix; } demux-source { source-prefix; } direct-connect; duplicate-protection; dynamic-profile profile-name; filter { group filter-group-number; input filter-name; input-list [filter-names]; output filter-name; output-list [filter-names]; } interface-mode (access | trunk); ipsec-sa sa-name; keep-address-and-control; mac-validate (loose | strict); max-sessions number; mtu bytes; multicast-only; no-redirects; policer { arp policer-template-name; input policer-template-name; output policer-template-name; } primary; protocols [inet iso mpls]; proxy inet-address address; receive-options-packets; receive-ttl-exceeded; remote (inet-address address | mac-address address); rpf-check { fail-filter filter-name mode loose; } sampling { input; output; } service { input { post-service-filter filter-name; service-set service-set-name <service-filter filter-name>; } output { service-set service-set-name <service-filter filter-name>; } } service-name-table table-name targeted-options { backup backup; group group; primary primary; weight ($junos-interface-target-weight | weight-value); } (translate-discard-eligible | no-translate-discard-eligible); (translate-fecn-and-becn | no-translate-fecn-and-becn); translate-plp-control-word-de; unnumbered-address interface-name destination address destination-profile profile-name; vlan-id number; vlan-id-list [number number-number]; address address { arp ip-address (mac | multicast-mac) mac-address <publish>; broadcast address; destination address; destination-profile name; eui-64; primary-only; multipoint-destination address { dlci dlci-identifier; epd-threshold cells <plp1 cells>; inverse-arp; oam-liveness { up-count cells; down-count cells; } oam-period (disable | seconds); shaping { (cbr rate | rtvbr burst length peak rate sustained rate | vbr burst length peak rate sustained rate); queue-length number; } vci vpi-identifier.vci-identifier; } preferred; primary; (vrrp-group | vrrp-inet6-group) group-number { (accept-data | no-accept-data); advertise–interval seconds; authentication-type authentication; authentication-key key; fast-interval milliseconds; (preempt | no-preempt) { hold-time seconds; } priority number; track { interface interface-name { bandwidth-threshold bits-per-second priority-cost number; } priority-hold-time seconds; route ip-address/prefix-length routing-instance instance-name priority-cost cost; } virtual-address [addresses]; virtual-link-local-address ipv6–address; vrrp-inherit-from { active-interface interface-name; active-group group-number; } } } } }
层次结构级别
[edit interfaces interface-name], [edit logical-systems logical-system-name interfaces interface-name], [edit interfaces interface-set interface-set-name interface interface-name]
描述
在物理设备上配置逻辑接口。您必须配置逻辑接口才能使用物理设备。
选项
logical-unit-number
- 逻辑单元的编号。
范围: 0 到 1,073,741,823,适用于多路复用、PPPoE 和伪线静态接口。对于所有其他静态接口类型,为 0 到 16,385。
etree-ac-role (leaf | root)
— 将接口配置为叶接口或根接口。
其余语句将单独解释。有关详细信息,请在 CLI 资源管理器 中搜索语句,或单击语法部分中的链接语句。
所需权限级别
接口 — 在配置中查看此语句。
接口控制 — 将此语句添加到配置中。
发布信息
在 Junos OS 7.4 版之前引入的语句。
在 Junos OS 18.3R1 版中,静态伪线接口的范围增加到 1,073,741,823。