예를 들면 다음과 같습니다. ELS를 지원하는 QFX 시리즈 및 EX 시리즈 스위치에서 이더넷 링 보호 스위칭 구성
연결된 EX 시리즈 또는 QFX 시리즈 스위치에서 이더넷 링 보호 스위칭(ERPS)을 구성하여 치명적인 루프의 네트워크 중단을 방지할 수 있습니다. ERPS는 스패닝 트리 프로토콜과 유사하지만 ERPS는 링 토폴로지용으로 커스터마이징되기 때문에 더욱 효율적입니다. 링을 형성하려면 최소 3개의 스위치를 연결하고 구성해야 합니다.
이 예에서는 ELS를 지원하는 4개의 스위치에서 이더넷 링 보호 스위칭을 구성하는 방법을 보여 줍니다. 이 스위치는 링 토폴로지의 전용 링크에서 서로 연결됩니다. ELS 지원 및 지원 미포함 스위치를 포함하여 다양한 유형의 스위치를 ERPS 링에 포함할 수 있습니다. EX 시리즈 스위치 중 ELS를 지원하지 않는 소프트웨어를 실행하는 경우 다음 구성 방향을 사용하십시오. 예를 들면 다음과 같습니다. EX 시리즈 스위치에서 이더넷 링 보호 스위칭 구성. ELS 세부 정보는 를 참조하십시오 향상된 레이어 2 소프트웨어 CLI 사용.
요구 사항
이 예에서는 다음과 같은 하드웨어 및 소프트웨어 구성 요소를 사용합니다.
4개의 연결된 EX 시리즈 스위치 또는 QFX 시리즈 스위치로, ELS(Enhanced Layer 2 Software)를 지원하여 링 토폴로지에서 노드 역할을 합니다. 다음과 같은 QFX 시리즈 스위치를 사용할 수 있습니다. QFX5100, QFX5200 및 QFX10000. 이 구성은 EX4300, EX4600, EX2300 및 EX3400 스위치에서 실행되는 ELS(Enhanced Layer 2 Software) 구성 스타일을 지원하는 EX 시리즈 스위치에도 적용됩니다.
EX 시리즈 스위치용 Junos OS 릴리스 13.2X50-D10 이상
QFX5100 스위치용 Junos OS 릴리스 14.1X53-D10 이상 QFX5200 및 QFX10000 스위치의 Junos OS 릴리스 15.1X53-D30 이상
시작하기 전에 다음 사항을 확인해야 합니다.
4개의 스위치 각각에 2개의 트렁크 인터페이스를 구성했습니다. 이 예에서 사용된 인터페이스 이름 목록을 참조하십시오 표 1 .
4개의 스위치에 모두 VLAN(이름
erp-control-vlan-1
및 ID100
)을 구성하고 VLAN을 사용하는 4개의 스위치 각각에서 2개의 네트워크 인터페이스를 연결했습니다. QFX 시리즈를 위한 VLAN 구성 또는 ELS 지원(CLI Procedure)을 사용하는 EX 시리즈 스위치용 VLAN 구성을 참조하십시오. 이 예에서 사용된 인터페이스 이름 목록을 참조하십시오 표 1 .4개의 스위치에 2개의 VLAN(이름
erp-data-1
및 vlan ID101
를 가진 VLAN과 이름erp-data-2
및 vlan ID102
를 가진 두 번째 vlan)을 구성하고 각 스위치의 east/west 인터페이스를 연결했습니다.
개요 및 토폴로지
ERPS는 모든 스위치 간 트렁크 포트에 대한 제어 VLAN을 포함한 전용 물리적 링크를 사용하여 활성 링크를 보호합니다. ERPS VLAN은 모두 이 링크에 있으며 기본적으로 차단됩니다. 스위치 간의 트래픽이 아무 문제 없이 흐르는 경우 활성 링크가 모든 트래픽을 처리합니다. 데이터 링크 중 하나에서 오류가 발생하는 경우에만 ERPS 제어 채널이 트래픽을 인계하고 포워딩을 시작합니다.
스위치의 트렁크 포트는 VLAN을 사용하여 ERPS를 위한 개별 제어 채널을 생성합니다. 여러 ERPS 인스턴스가 링에 구성되면 ERPS 링크에는 여러 개의 RCL(Ring Protection Link) 세트와 RPL 소유자가 존재하며 각 인스턴스마다 다른 채널이 차단됩니다. 비트렁크 포트는 패킷에 VLAN 정보가 없는 채 제어 채널 및 PDU(Protocol Data Unit)가 태그되지 않기 때문에 물리적 링크를 사용합니다.
이 예에서는 에 표시된 것처럼 트렁크 포트에 의해 링에 연결된 4개의 스위치에서 erp1이라는 하나의 보호 링(노드 링이라고 함)을 그림 1만듭니다. 링크는 트렁크 포트이므로 VLAN 100이 erp1 트래픽에 사용됩니다. 각 스위치의 east interface는 인접 스위치의 서쪽 인터페이스와 연결됩니다. Cobia는 RPL 소유자이며 인터페이스 ge-0/0/0이 RPL 엔드 인터페이스로 구성됩니다. Jas5-esc의 인터페이스 ge-0/0/0은 RPL neighbor 인터페이스로 구성됩니다. 유휴 상태에서 RPL 단말 장치는 이 특정 ERP 인스턴스에 대한 제어 VLAN 및 데이터 채널 VLAN을 차단합니다. Cobia의 차단된 포트는 별표 그림 1로 표시됩니다.

이 예에서는 4개의 스위치와 2개 모두 그림 1표 1에 표시된 인터페이스를 구성합니다.
인터페이스 |
코비아 (Cobia) |
Jas5-esc |
Jas6-esc |
헤어테일 |
---|---|---|---|---|
동쪽 |
ge-0/0/0 |
ge-0/0/10 |
ge-0/0/30 |
ge-0/0/20 |
서쪽 |
ge-0/0/20 |
ge-0/0/0 |
ge-0/0/20 |
ge-0/0/10 |
세 번째 |
ge-0/0/10 |
ge-0/0/20 |
ge-0/0/0 |
ge-0/0/0 |
구성
Cobia에서 ERPS 구성, RPL 소유자 노드
CLI 빠른 구성
Cobia를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣고, 줄 바꿈을 제거하고, 네트워크 구성에 필요한 세부 정보를 변경한 다음, 명령을 복사하여 계층적 수준에서 CLI [edit]
에 붙여넣습니다.
스패닝 트리 프로토콜이 구성된 경우 인터페이스에서 ERPS를 구성할 수 없습니다. (RSTP는 기본적으로 구성됩니다.) 따라서 이 예에서는 ERPS를 구성하기 전에 각 링 포트에서 RSTP가 비활성화됩니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리 프로토콜은 두 가지 방법으로 비활성화됩니다. 따라서 이 예의 처음 두 문장은 다음과 같이 다양합니다. Junos 릴리스 15.1 이상은 15.1이 다른 명령을 사용하기 전에 한 명령을 사용하여 RSTP 및 Junos 릴리스를 해제합니다.
Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/0 disable Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/20 disable Junos OS release prior to 15.1: delete rstp interface ge-0/0/0 Junos OS release prior to 15.1: delete rstp interface ge-0/0/20 set protocols protection-group ethernet-ring erp1 set protocols protection-group ethernet-ring erp1 ring-protection-link-owner set protocols protection-group ethernet-ring erp1 data-channel 101 set protocols protection-group ethernet-ring erp1 data-channel 102 set protocols protection-group ethernet-ring erp1 control-vlan 100 set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0 set protocols protection-group ethernet-ring erp1 east-interface ring-protection-link-end set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/20.0 set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100 set protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100
단계별 절차
Cobia에서 ERPS를 구성하려면 다음을 수행합니다.
ERPS 인터페이스에서 현재 구성된 스패닝 트리 프로토콜을 비활성화합니다. RSTP, VSTP 및 MSTP는 모두 스패닝 트리 프로토콜에서 사용할 수 있습니다. RSTP는 기본 구성에서 활성화되므로 이 예에서는 RSTP 비활성화를 보여 줍니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리 프로토콜은 두 가지 방법으로 비활성화됩니다.
Junos 릴리스 15.1 이상에서 실행 중인 경우 이러한 명령으로 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# set rstp interface ge-0/0/0 disable user@switch# set rstp interface ge-0/0/20 disable
15.1 이전에 Junos 릴리스를 실행하는 경우 이러한 명령으로 모든 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# delete rstp interface ge-0/0/0 user@switch# delete rstp interface ge-0/0/20
erp1이라는 노드 링을 생성합니다.
[edit protocols] user@switch# set protection-group ethernet-ring erp1
RPL 소유자 노드로 코비아를 지정:
[edit protocols protection-group ethernet-ring erp1] user@switch# set ring-protection-link-owner
VLAN 101 및 102를 데이터 채널로 구성합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set data-channel 101 user@switch# set data-channel 102
트렁크 인터페이스에서 이 ERPS 인스턴스에 대한 제어 vlan 100을 구성합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set control-vlan 100
제어 채널 ge-0/0/0.0을 통해 Node Ring erp1의 east interface를 구성하고 이 특정 링 보호 링크가 여기서 끝난다는 것을 나타낸다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set east-interface control-channel ge-0/0/0.0 user@switch# set east-interface ring-protection-link-end
컨트롤 채널 ge-0/0/20.0으로 Node Ring erp1의 서쪽 인터페이스 구성:
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel ge-0/0/20.0
트렁크 포트의 모든 링 인스턴스에는 ERP 패킷이 통과하는 하나의 컨트롤 VLAN이 있습니다. 또한 컨트롤 VLAN은 구성된 경우 데이터 VLAN을 제어합니다. 두 인터페이스에서 컨트롤 VLAN으로 100을 할당합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel vlan 100 user@switch# set east-interface control-channel
Jas5-esc에서 ERPS 구성
CLI 빠른 구성
Jas5-esc를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣고, 줄 바꿈을 제거하고, 네트워크 구성에 필요한 세부 정보를 변경한 다음, 계층 수준에서 CLI [edit]
에 명령을 복사하여 붙여넣습니다.
스패닝 트리 프로토콜이 구성된 경우 인터페이스에서 ERPS를 구성할 수 없습니다. (RSTP는 기본적으로 구성됩니다.) 따라서 이 예에서는 ERPS를 구성하기 전에 각 링 포트에서 RSTP가 비활성화됩니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리는 두 가지 방식으로 비활성화됩니다. 따라서 처음 두 문장은 서로 다릅니다. Junos 릴리스 15.1 이상은 15.1이 다른 명령을 사용하기 전에 한 명령을 사용하여 RSTP 및 Junos 릴리스를 해제합니다.
Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/10 disable Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/0 disable Junos OS release prior to 15.1: delete rstp interface ge-0/0/10 Junos OS release prior to 15.1: delete rstp interface ge-0/0/0 set protocols protection-group ethernet-ring erp1 set protocols protection-group ethernet-ring erp1 data-channel 101 set protocols protection-group ethernet-ring erp1 data-channel 102 set protocols protection-group ethernet-ring erp1 control-vlan 100 set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/10.0 set protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100 ge-0/0/0.0 set protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/20.0 set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100 set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100
단계별 절차
Jas5-esc에서 ERPS를 구성하려면 다음을 수행합니다.
ERPS 인터페이스에서 현재 구성된 스패닝 트리 프로토콜을 비활성화합니다. RSTP, VSTP 및 MSTP는 모두 스패닝 트리 프로토콜에서 사용할 수 있습니다. RSTP는 기본 구성에서 활성화되므로 이 예에서는 RSTP 비활성화를 보여 줍니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리 프로토콜은 두 가지 방법으로 비활성화됩니다.
Junos 릴리스 15.1 이상에서 실행 중인 경우 이러한 명령으로 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# set rstp interface ge-0/0/10 disable user@switch# set rstp interface ge-0/0/0 disable
15.1 이전에 Junos 릴리스를 실행하는 경우 이러한 명령으로 모든 버전의 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# delete rstp interface ge-0/0/10 user@switch# delete rstp interface ge-0/0/0
erp1이라는 노드 링을 생성합니다.
[edit protocols] user@switch# set protection-group ethernet-ring erp1
erp-data-1 및 erp-data-2라는 두 개의 데이터 채널을 구성하여 링 인스턴스에 속하는 VLAN IP 집합을 정의합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set data-channel vlan 101 user@switch# set data-channel vlan 102
Node Ring erp1에 대한 ID 100을 통한 제어 VLAN 구성:
[edit protocols protection-group ethernet-ring erp1] user@switch# set control-vlan 100
컨트롤 채널 ge-0/0/10.0으로 Node Ring erp1의 East Interface를 구성합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set east-interface control-channel ge-0/0/10.0
컨트롤 채널 ge-0/0/0.0 vlan 100으로 Node Ring erp1의 서쪽 인터페이스를 구성합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel ge-0/0/0.0
트렁크 포트의 모든 링 인스턴스에는 ERP 패킷이 통과하는 하나의 컨트롤 VLAN이 있습니다. 또한 컨트롤 VLAN은 구성된 경우 데이터 VLAN을 제어합니다. vlan # 100을 제어 VLAN으로 할당:
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel vlan 100 user@switch# set east-interface control-channel vlan 100
헤어테일에서 ERPS 구성
CLI 빠른 구성
Hairtail을 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣고, 줄 바꿈을 제거하고, 네트워크 구성에 필요한 세부 정보를 변경한 다음, 명령을 복사하여 계층 수준에서 CLI [edit]
에 붙여넣습니다.
스패닝 트리 프로토콜이 구성된 경우 인터페이스에서 ERPS를 구성할 수 없습니다. (RSTP는 기본적으로 구성됩니다.) 따라서 이 예에서는 ERPS를 구성하기 전에 각 링 포트에서 RSTP가 비활성화됩니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리는 두 가지 방식으로 비활성화됩니다. 따라서 처음 두 문장은 서로 다릅니다. Junos 릴리스 15.1 이상은 15.1이 다른 명령을 사용하기 전에 한 명령을 사용하여 RSTP 및 Junos 릴리스를 해제합니다.
Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/10 disable Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/20 disable Junos OS release prior to 15.1: delete rstp interface ge-0/0/10 Junos OS release prior to 15.1: delete rstp interface ge-0/0/20 set protocols protection-group ethernet-ring erp1 set protocols protection-group ethernet-ring erp1 data-channel 101 set protocols protection-group ethernet-ring erp1 data-channel 102 set protocols protection-group ethernet-ring erp1 control-vlan 100 Set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/0.0 set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/20.0 set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100 set protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100
단계별 절차
헤어테일에서 ERPS를 구성하려면:
ERPS 인터페이스에서 현재 구성된 스패닝 트리 프로토콜을 비활성화합니다. RSTP, VSTP 및 MSTP는 모두 스패닝 트리 프로토콜에서 사용할 수 있습니다. RSTP는 기본 구성에서 활성화되므로 이 예에서는 RSTP 비활성화를 보여 줍니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리 프로토콜은 두 가지 방법으로 비활성화됩니다.
Junos 릴리스 15.1 이상에서 실행 중인 경우 이러한 명령으로 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# set rstp interface ge-0/0/10 disable user@switch# set rstp interface ge-0/0/20 disable
15.1 이전에 Junos 릴리스를 실행하는 경우 이러한 명령으로 모든 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# delete rstp interface ge-0/0/10 user@switch# delete rstp interface ge-0/0/20
erp1이라는 노드 링을 생성합니다.
[edit protocols] user@switch# set protection-group ethernet-ring erp1
Node Ring erp1에 대한 제어 vlan 100 구성:
[edit protocols protection-group ethernet-ring erp1] user@switch# set control-vlan 100
101 및 102로 번호가 지정된 2개의 데이터 채널을 구성하여 링 인스턴스에 속하는 VLAN ID 집합을 정의합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set data-channel vlan 101 user@switch# set data-channel vlan 102
컨트롤 채널 ge-0/0/20.0으로 Node Ring erp1의 East Interface를 구성합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set east-interface control-channel ge-0/0/20.0
컨트롤 채널 ge-0/0/10.0으로 Node Ring erp1의 서쪽 인터페이스 구성:
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel ge-0/0/10.0
트렁크 포트의 모든 링 인스턴스에는 ERP 패킷이 통과하는 하나의 컨트롤 VLAN이 있습니다. 또한 컨트롤 VLAN은 구성된 경우 데이터 VLAN을 제어합니다. 100을 제어 VLAN으로 할당:
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel vlan 100 user@switch# set east-interface control-channel vlan 100
Jas6-esc에서 ERPS 구성
CLI 빠른 구성
Jas6-esc를 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣고, 줄 바꿈을 제거하고, 네트워크 구성에 필요한 세부 정보를 변경한 다음, 계층 수준에서 CLI [edit]
에 명령을 복사하여 붙여넣습니다.
스패닝 트리 프로토콜이 구성된 경우 인터페이스에서 ERPS를 구성할 수 없습니다. (RSTP는 기본적으로 구성됩니다.) 따라서 이 예에서는 ERPS를 구성하기 전에 각 링 포트에서 RSTP가 비활성화됩니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리는 두 가지 방식으로 비활성화됩니다. 따라서 처음 두 문장은 서로 다릅니다. Junos 릴리스 15.1 이상은 15.1이 다른 명령을 사용하기 전에 한 명령을 사용하여 RSTP 및 Junos 릴리스를 해제합니다.
Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/30 disable Junos OS release 15.1 or later: set protocols rstp interface ge-0/0/20 disable Junos OS release prior to 15.1: delete rstp interface ge-0/0/30 Junos OS release prior to 15.1: delete rstp interface ge-0/0/20 set protocols protection-group ethernet-ring erp1 set protocols protection-group ethernet-ring erp1 data-channel 101 set protocols protection-group ethernet-ring erp1 data-channel 102 set protocols protection-group ethernet-ring erp1 control-vlan 100 set protocols protection-group ethernet-ring erp1 east-interface control-channel ge-0/0/30.0 set protocols protection-group ethernet-ring erp1 west-interface control-channel ge-0/0/20.0 set protocols protection-group ethernet-ring erp1 west-interface control-channel vlan 100 set protocols protection-group ethernet-ring erp1 east-interface control-channel vlan 100
단계별 절차
Jas6-esc에서 ERPS를 구성하려면 다음을 수행합니다.
ERPS 인터페이스에서 현재 구성된 스패닝 트리 프로토콜을 비활성화합니다. RSTP, VSTP 및 MSTP는 모두 스패닝 트리 프로토콜에서 사용할 수 있습니다. RSTP는 기본 구성에서 활성화되므로 이 예에서는 RSTP 비활성화를 보여 줍니다. 실행 중인 Junos OS 버전에 따라 스패닝 트리 프로토콜은 두 가지 방법으로 비활성화됩니다.
Junos 릴리스 15.1 이상에서 실행 중인 경우 이러한 명령으로 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# set rstp interface ge-0/0/30 disable user@switch# set rstp interface ge-0/0/20 disable
15.1 이전에 Junos 릴리스를 실행하는 경우 이러한 명령으로 모든 스패닝 트리 프로토콜을 비활성화합니다. RSTP를 비활성화하려면:
[edit protocols] user@switch# delete rstp interface ge-0/0/30 user@switch# delete rstp interface ge-0/0/20
erp1이라는 노드 링을 생성합니다.
[edit protocols] user@switch# set protection-group ethernet-ring erp1
Node Ring erp1에 대한 제어 vlan 100 구성:
[edit protocols protection-group ethernet-ring erp1] user@switch# set control-vlan 100
101 및 102로 번호가 지정된 2개의 데이터 채널을 구성하여 링 인스턴스에 속하는 VLAN ID를 정의합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set data-channel 101 user@switch# set data-channel 102
컨트롤 채널 ge-0/0/30.0으로 Node Ring erp1의 East Interface를 구성합니다.
[edit protocols protection-group ethernet-ring erp1] user@switch# set east-interface control-channel ge-0/0/30.0
컨트롤 채널 ge-0/0/20.0으로 Node Ring erp1의 서쪽 인터페이스 구성:
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel ge-0/0/20.0
트렁크 포트의 모든 링 인스턴스에는 ERP 패킷이 통과하는 하나의 컨트롤 VLAN이 있습니다. 또한 컨트롤 VLAN은 구성된 경우 데이터 VLAN을 제어합니다. vlan 번호 100을 제어 VLAN으로 할당:
[edit protocols protection-group ethernet-ring erp1] user@switch# set west-interface control-channel vlan 100 user@switch# set east-interface control-channel vlan 100