Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

인터페이스 범위 구성

인터페이스 범위를 구성하려면 계층 수준에서 문을 사용합니다.interface-range[edit interfaces] 명령문은 정의에서 물리적 네트워킹 인터페이스 이름만 허용합니다.interface-range Junos OS는 다음 인터페이스 유형에 대한 인터페이스 범위를 지원합니다.

  • A t m: at-fpc/pic/port

  • 채널화: (coc | cstm)n-fpc/pic/port

  • Dpc: xe-fpc/pic/port

  • E1/E3: (e1 | e3)-fpc/pic/port

  • 이더넷: (xe | ge | fe)-fpc/pic/port

  • Isdn: isdn-fpc/pic/port

  • 직렬: se-fpc/pic/port

  • SONET/SDH: so-fpc/pic/port

  • T1/T3: (t1 | t3)-fpc/pic/port

인터페이스 범위 구성 방법:

  1. 계층 수준에서 문을 사용합니다.interface-range[edit interfaces] 인터페이스 범위에 대해 선택한 이름을 포함합니다.

    예를 들어 "range1"이라는 인터페이스 범위를 구성하려면 다음을 수행합니다.

  2. 멤버 범위를 지정하려면 계층 수준에서 문을 사용합니다.member-range start-range to end-range[edit interfaces interface-range range-name] 예:

  3. 개별 멤버를 지정하려면 계층 수준에서 문을 사용합니다.member[edit interfaces interface-range range-name] 예:
  4. 명령문과 함께 정규식을 사용하여 인터페이스 범위 멤버 목록을 지정할 수 있습니다 .member range of interface names 멤버 문의 범위에는 다음이 포함될 수 있습니다.
    • *—모두. 0에서 47까지의 순차적 인터페이스를 지정합니다.

      경고:

      member 문의 와일드카드는 특정 인터페이스 유형에서 지원하는 인터페이스 번호를 고려하지 않습니다.* 인터페이스 유형에 관계없이 인터페이스 그룹에는 0에서 47까지의 인터페이스 번호가 포함됩니다.* 따라서 member 문에서 사용할 때는 주의해야 합니다.*

    • num- 번호. 번호로 하나의 특정 인터페이스를 지정합니다.

    • [low-high]- 낮은 숫자에서 높은 숫자. 순차적 인터페이스의 범위를 지정합니다.

    • - 숫자 , , 및 여러 특정 인터페이스를 지정합니다.[num1, num2, num3]num1num2num3

    정규식과 와일드카드는 인터페이스 유형 접두사에 지원되지 않습니다. 예를 들어, 접두사 및 는 명시적으로 언급해야 합니다.etxe

    예:

정의에는 및 명령문이 모두 포함될 수 있습니다.interface-rangemembermember-range 정의 내에서 또는 문의 수 에는 제한이 없습니다.membermember-rangeinterface-range 그러나 정의 내에 하나 이상의 또는 문이 있어야 합니다.membermember-rangeinterface-range

단지 또는 명령문만 있고 공통 구성 명령문이 없는 정의는 유효합니다.interface-rangemembermember-range 그러나 선택적으로 공통 구성 문을 정의의 일부로 인터페이스 범위에 추가할 수 있습니다 .interface-range 예:

이렇게 정의된 인터페이스 범위는 노드가 존재하는 장소의 다른 구성 계층에서 사용할 수 있습니다.interface 예:

앞의 예에서 노드는 개별 인터페이스와 인터페이스 범위를 모두 수용할 수 있습니다.interface

팁:

확장된 구성에서 인터페이스 범위를 보려면 명령을 사용합니다 .(show | display inheritance)

지원되는 계층

기본적으로 은(는) 문을 사용할 수 있는 CLI 에서 구성할 수 없습니다.interface-rangeinterface 지원되는 위치는 다음과 같습니다. 그러나 이 목록에 표시된 계층 중 일부는 제품별로 다릅니다.

  • ethernet-switching-options analyzer name input [egress | ingress ] interface

  • ethernet-switching-options analyzer name output interface

  • ethernet-switching-options bpdu-block interface

  • ethernet-switching-options interfaces ethernet-switching-options voip interface

  • ethernet-switching-options redundant-trunk-group group g1 interface

  • ethernet-switching-options secure-access-port interface

  • poe interface vlans pro-bng-mc1-bsd1 interface

  • protocols dot1x authentication interface

  • protocols dvmrp interface

  • protocols esis interface

  • protocols gvrp interface

  • protocols igmp interface

  • protocols igmp-snooping vlan name interface

  • protocols igmp-host client num interface

  • protocols isis interface

  • protocols layer2-control bpdu-block interface

  • protocols layer2-control mac-rewrite interface

  • protocols ldp interface

  • protocols link-management peer control-channel

  • protocols link-management peer lmp-control-channel interface

  • protocols link-management te-link name interface

  • protocols lldp interface

  • protocols lldp-med interface

  • protocols mld interface

  • protocols mld-host client num interface

  • protocols mpls interface

  • protocols mstp interface

  • protocols mstp msti id interface

  • protocols mstp msti vlan id interface

  • protocols oam ethernet link-fault-management interface

  • protocols oam ethernet lmi interface

  • protocols ospf area id interface

  • protocols pim interface

  • protocols rip group name neighbour

  • protocols ripng group name neighbour

  • protocols router-advertisement interface

  • protocols router-discovery interface

  • protocols rstp interface

  • protocols rsvp interface

  • protocols sflow interfaces

  • protocols snmp interface

  • protocols stp interface

  • protocols vstp interface

  • protocols vstp vlan name interface