예: 여러 애플리케이션(FCoE 및 iSCSI)을 위한 이더넷 인터페이스에서 무손실 IEEE 802.1p 우선 순위 구성
기본 구성은 두 개의 서로 다른 IEEE 802.1p 우선 순위(코드 포인트)에 매핑된 두 개의 무손실 포워딩 클래스를 제공하지만, 최대 6개의 무손실 포워딩 클래스를 명시적으로 구성하고 다른 우선 순위에 매핑할 수 있습니다. 최대 6가지 유형의 무손실 트래픽을 지원할 수 있으며, 컨버지드 네트워크의 서로 다른 부분에서 서로 다른 우선순위에 따라 동일한 유형의 트래픽을 지원할 수 있습니다.
이 예에서는 FCoE 트래픽에 대해 2개의 무손실 포워딩 클래스와 iSCSI 트래픽에 대해 1개의 무손실 포워딩 클래스를 구성하고 포워딩 클래스를 3개의 다른 우선 순위에 매핑하는 방법을 보여줍니다. (컨버지드 이더넷 네트워크에는 각각 다른 우선 순위를 사용하여 FCoE 트래픽을 식별하는 두 개의 FCoE 네트워크와 iSCSI 네트워크가 포함됩니다.)
요구 사항
이 예에서 사용되는 하드웨어 및 소프트웨어 구성 요소는 다음과 같습니다.
FCoE 전송 스위치로 사용되는 스위치 1개
QFX 시리즈용 Junos OS 릴리스 12.3 이상
개요
일부 컨버지드 이더넷 네트워크는 둘 이상의 IEEE 802.1p 우선 순위에서 FCoE를 지원하며 다른 무손실 트래픽 클래스도 지원해야 합니다. 여러 무손실 포워딩 클래스를 전달하는 인터페이스는 해당 포워딩 클래스에 매핑된 우선 순위에 대해 무손실 동작을 지원해야 합니다. 이 예에서 사용된 두 개의 FCoE 포워딩 클래스와 iSCSI 포워딩 클래스를 지원하려면 다음을 구성해야 합니다.
FCoE 트래픽에 대해 1개 이상의 무손실 포워딩 클래스(이 예에서는 기본
fcoe
포워딩 클래스를 2개의 무손실 FCoE 포워딩 클래스 중 하나로 사용하므로 하나의 FCoE 포워딩 클래스만 명시적으로 구성해야 함)iSCSI 트래픽을 위한 무손실 포워딩 클래스
무손실 포워딩 클래스를 각 인터페이스의 적절한 IEEE 802.1p 코드 포인트(우선순위)에 매핑하기 위한 동작 집계(BA) 분류자
각 인터페이스에 대한 CNP(혼잡 알림 프로필)를 사용하여 인터페이스 수신 시 FCoE 및 iSCSI 코드 포인트에서 PFC를 활성화하고, 인터페이스가 연결된 피어로부터 수신한 PFC 메시지에 대응할 수 있도록 인터페이스 송신에서 PFC 흐름 제어를 구성할 수 있습니다
참고:인터페이스에서 PFC를 구성하거나 변경하면 PFC 변경이 완료될 때까지 전체 포트가 차단됩니다. PFC 변경이 완료되면 포트의 차단이 해제되고 트래픽이 재개됩니다. 포트를 차단하면 수신 및 송신 트래픽이 중지되고 포트가 차단 해제될 때까지 포트의 모든 대기열에서 패킷 손실이 발생합니다.
DCBX 애플리케이션 및 구성된 무손실 우선순위에 따라 FCoE 및 iSCSI 트래픽에 대한 DCBX 애플리케이션 TLV 교환을 지원하는 애플리케이션 맵. 기본적으로 DCBX는 FCoE에 대한 모든 이더넷 인터페이스에서 사용되지만 우선 순위 3(IEEE 802.1p 코드 포인트 011)에서만 활성화됩니다. 기본 구성을 사용하지 않을 때 DCBX 애플리케이션 TLV 교환을 지원하려면 모든 애플리케이션을 구성하고 인터페이스 및 우선순위에 매핑해야 합니다.
BA 분류자, CNP 및 DCBX 애플리케이션 맵에 지정된 우선 순위가 일치해야 하며, 그렇지 않으면 구성이 작동하지 않습니다. 각 구성에서 동일한 무손실 FCoE 포워딩 클래스를 지정하고 동일한 IEEE 802.1p 코드 포인트(우선 순위)를 사용하여 FCoE 트래픽이 플로우로 올바르게 분류되고 해당 플로우가 무손실 처리를 받도록 해야 합니다.
토폴로지
이 예는 2개의 무손실 FCoE 트래픽 클래스와 1개의 무손실 iSCSI 트래픽 클래스를 구성하고, 이를 3개의 다른 우선순위에 매핑하며, 인터페이스에서 이러한 우선순위에 대해 무손실 동작을 보장하도록 플로우 제어를 구성하는 방법을 보여줍니다. 이 예에서는 xe-0/0/31, xe-0/0/32, xe-0/0/33 및 xe-0/0/34의 4가지 이더넷 인터페이스를 사용합니다.
인터페이스 xe-0/0/31은 우선순위 3(IEEE 802.1p 코드 포인트 011)의 FCoE 트래픽과 우선순위 4(코드 포인트 100)의 iSCSI 트래픽을 처리합니다.
인터페이스 xe-0/0/32는 우선순위 5(코드 포인트 101)의 FCoE 트래픽과 우선순위 4의 iSCSI 트래픽을 처리합니다.
인터페이스 xe-0/0/33은 우선순위 3 및 우선순위 5에서 FCoE 트래픽을 처리합니다.
인터페이스 xe-0/0/34는 우선 순위 4에서 iSCSI 트래픽을 처리합니다.
그림 1 은 이 예의 토폴로지를 보여주며, 표 1 은 이 예의 구성 요소를 보여줍니다.

구성 요소 |
설정 |
---|---|
하드웨어 |
스위치 1개 |
포워딩 클래스 |
이 예에서는 명시적으로 구성된 무손실 FCoE 포워딩 클래스 1개, 기본 무손실 FCoE 포워딩 클래스 및 명시적으로 구성된 iSCSI 포워딩 클래스 1개를 사용합니다.
|
BA 분류자 |
각 인터페이스는 서로 다른 FCoE 트래픽 하위 집합을 처리하기 때문에 각 인터페이스에는 서로 다른 분류자가 필요합니다.
|
PFC 구성(CNP) |
각 인터페이스는 FCoE 및 iSCSI 트래픽의 다른 하위 집합을 처리하고 다른 우선 순위에서 해당 트래픽을 일시 중지해야 하기 때문에 각 인터페이스에는 다른 CNP가 필요합니다.
참고:
명시적 출력 대기열 흐름 제어 구성이 있는 CNP를 인터페이스에 적용하면 명시적 CNP가 기본 출력 CNP를 덮어씁니다. 기본 구성(대기열 3 및 4)에서 PFC 일시 중지에 대해 활성화된 출력 대기열은 명시적으로 구성된 출력 CNP에 포함되지 않는 한 일시 중지가 불가능합니다. |
DCBX 애플리케이션 매핑 |
이 예제에서는 FCoE 및 iSCSI에 대한 응용 프로그램을 구성하고, 동일한 응용 프로그램 맵에 포함하고, 4개의 인터페이스 모두에 응용 프로그램 맵을 적용해야 합니다. 애플리케이션 맵 이름—
참고:
인터페이스에서 LLDP 및 DCBX를 활성화해야 합니다. 기본적으로 LLDP 및 DCBX는 모든 이더넷 인터페이스에서 활성화됩니다. |
이 예에는 스케줄링(대역폭 할당) 구성이나 FIP 스누핑 구성은 포함되지 않습니다. 이 예는 무손실 FCoE 우선 순위 구성에만 초점을 맞춥니다.
QFX10000 스위치는 FIP 스누핑을 지원하지 않습니다. 따라서 QFX10000 스위치는 FCoE 액세스 전송 스위치로 사용할 수 없습니다. QFX10000 스위치는 FIP 스누핑을 수행하는 FCoE 액세스 전송 스위치와 FCF 사이의 FCoE 경로에서 중간 또는 어그리게이션 전송 스위치로 사용할 수 있습니다.
구성
CLI 빠른 구성
2개의 무손실 FCoE 포워딩 클래스와 1개의 무손실 iSCSI 포워딩 클래스를 신속하게 구성하고 서로 다른 우선순위에 매핑하려면, 다음 명령을 복사하여 텍스트 파일에 붙여넣고, 줄 바꿈을 제거하고, 네트워크 구성과 일치하도록 변수와 세부 정보를 변경한 다음, 명령을 복사하여 계층 수준에서 CLI [edit]
에 붙여넣습니다.
set class-of-service forwarding-classes class iscsi queue-num 4 no-loss set class-of-service forwarding-classes class fcoe1 queue-num 5 no-loss set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class fcoe loss-priority low code-points 011 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class iscsi loss-priority low code-points 100 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 000 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 001 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 010 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 101 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 110 set class-of-service classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 111 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class iscsi loss-priority low code-points 100 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class fcoe1 loss-priority low code-points 101 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 000 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 001 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 010 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 011 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 110 set class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 111 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class fcoe loss-priority low code-points 011 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class fcoe1 loss-priority low code-points 101 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 000 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 001 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 010 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 100 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 110 set class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 111 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class iscsi loss-priority low code-points 100 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 000 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 001 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 010 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 011 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 101 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 110 set class-of-service classifiers ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 111 set class-of-service interfaces xe-0/0/31 unit 0 classifiers ieee-802.1 fcoe_p3_iscsi set class-of-service interfaces xe-0/0/32 unit 0 classifiers ieee-802.1 fcoe_p5_iscsi set class-of-service interfaces xe-0/0/33 unit 0 classifiers ieee-802.1 fcoe_p3_p5set class-of-service interfaces xe-0/0/34 unit 0 classifiers ieee-802.1 iscsi_classifier set class-of-service congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point 011 pfc mru 2240 set class-of-service congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point 100 pfc set class-of-service congestion-notification-profile fcoe_p3_cnp input cable-length 100 set class-of-service congestion-notification-profile fcoe_p5_cnp input ieee-802.1 code-point 100 pfc set class-of-service congestion-notification-profile fcoe_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240 set class-of-service congestion-notification-profile fcoe_p5_cnp input cable-length 150 set class-of-service congestion-notification-profile fcoe_p5_cnp output ieee-802.1 code-point 100 pfc flow-control-queue 4 set class-of-service congestion-notification-profile fcoe_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue 5 set class-of-service congestion-notification-profile fcoe_p3_p5_cnp input ieee-802.1 code-point 011 pfc mru 2240 set class-of-service congestion-notification-profile fcoe_p3_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240 set class-of-service congestion-notification-profile fcoe_p3_p5_cnp input cable-length 100 set class-of-service congestion-notification-profile fcoe_p3_p5_cnp output ieee-802.1 code-point 011 pfc flow-control-queue 3 set class-of-service congestion-notification-profile fcoe_p3_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue 5 set class-of-service congestion-notification-profile iscsi_cnp input ieee-802.1 code-point 100 pfc set class-of-service congestion-notification-profile iscsi_cnp input cable-length 100 set class-of-service interfaces xe-0/0/31 congestion-notification-profile fcoe_p3_cnp set class-of-service interfaces xe-0/0/32 congestion-notification-profile fcoe_p5_cnp set class-of-service interfaces xe-0/0/33 congestion-notification-profile fcoe_p3_p5_cnp set class-of-service interfaces xe-0/0/34 congestion-notification-profile iscsi_cnp set applications application iscsi_app protocol tcp destination-port 3260 set applications application fcoe_app ether-type 0x8906 set policy-options application-maps dcbx_iscsi_fcoe_app_map application iscsi_app code-points 100 set policy-options application-maps dcbx_iscsi_fcoe_app_map application fcoe_app code-points [011 101] set protocols dcbx interface xe-0/0/31 application-map dcbx_iscsi_fcoe_app_map set protocols dcbx interface xe-0/0/32 application-map dcbx_iscsi_fcoe_app_map set protocols dcbx interface xe-0/0/33 application-map dcbx_iscsi_fcoe_app_map set protocols dcbx interface xe-0/0/34 application-map dcbx_iscsi_fcoe_app_map
절차
단계별 절차
FCoE 트래픽에 대해 2개의 무손실 포워딩 클래스와 iSCSI 트래픽에 대해 1개의 무손실 포워딩 클래스를 구성하려면, 트래픽을 3개의 포워딩 클래스로 분류하고, FCoE 우선순위 및 출력 대기열에서 PFC를 활성화하도록 혼잡 알림 프로파일을 구성하고, 두 FCoE 우선순위 모두에서 트래픽에 대해 DCBX 애플리케이션 프로토콜 TLV 교환을 구성합니다.
iSCSI 트래픽 및
fcoe1
FCoE 트래픽에 대해 무손실 포워딩 클래스를 구성하고(이 예에서는 기본fcoe
포워딩 클래스를iscsi
다른 무손실 FCoE 포워딩 클래스로 사용) 출력 대기열에 매핑합니다.[edit class-of-service] user@switch# set forwarding-classes class iscsi queue-num 4 no-loss user@switch# set forwarding-classes class fcoe1 queue-num 5 no-loss
인터페이스에
xe-0/0/31
대한 수신 분류자(fcoe_p3_iscsi
)를 구성합니다. 분류자는 FCoE 우선순위(코드 포인트)를 무손실 FCoE 포워딩 클래스fcoe
에, iSCSI 우선순위(코드 포인트100
011
)를 무손실 iSCSI 포워딩 클래스에 매핑하고, 다른 우선순위의 트래픽을 패킷 손실 우선순위best-effort
가 인 포워딩 클래스에iscsi
매핑합니다.high
[edit class-of-service classifiers] user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class fcoe loss-priority low code-points 011 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class iscsi loss-priority low code-points 100 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 000 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 001 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 010 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 101 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 110 user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class best-effort loss-priority high code-points 111
인터페이스에
xe-0/0/32
대한 수신 분류자(fcoe_p5_iscsi
)를 구성합니다. 분류자는 FCoE 우선순위(코드 포인트)를 무손실 FCoE 포워딩 클래스fcoe1
에, iSCSI 우선순위(코드 포인트100
101
)를 무손실 iSCSI 포워딩 클래스에 매핑하고, 다른 우선순위의 트래픽을 패킷 손실 우선순위best-effort
가 인 포워딩 클래스에iscsi
매핑합니다.high
[edit class-of-service classifiers] user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class iscsi loss-priority low code-points 100 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class fcoe1 loss-priority low code-points 101 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 000 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 001 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 010 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 011 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 110 user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class best-effort loss-priority high code-points 111
인터페이스에
xe-0/0/33
대한 수신 분류자(fcoe_p3_p5
)를 구성합니다. 분류자는 두 FCoE 우선 순위(코드 포인트011
및 )를 각각 무손실 FCoE 포워딩 클래스fcoe
및fcoe1
101
에 매핑하고, 다른 우선 순위의 트래픽을 패킷 손실 우선best-effort
순위가 인 포워딩 클래스에 매핑합니다.high
[edit class-of-service classifiers] user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class fcoe loss-priority low code-points 011 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class fcoe1 loss-priority low code-points 101 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 000 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 001 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 010 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 100 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 110 user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class best-effort loss-priority high code-points 111
인터페이스에
xe-0/0/34
대한 수신 분류자(iscsi_classifier
)를 구성합니다. 분류자는 iSCSI 우선순위(코드 포인트101
)를 무손실 iSCSI 포워딩 클래스에 매핑하고, 다른 우선순위의 트래픽을 패킷 손실 우선순위가 인 포워딩 클래스에iscsi
매핑합니다best-effort
.high
[edit class-of-service classifiers] user@switch# set ieee-802.1 iscsi_classifier forwarding-class iscsi loss-priority low code-points 100 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 000 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 001 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 010 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 011 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 101 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 110 user@switch# set ieee-802.1 iscsi_classifier forwarding-class best-effort loss-priority high code-points 111
각 분류자를 적절한 인터페이스에 적용합니다.
[edit class-of-service] user@switch# set interfaces xe-0/0/31 unit 0 classifiers ieee-802.1 fcoe_p3_iscsi user@switch# set interfaces xe-0/0/32 unit 0 classifiers ieee-802.1 fcoe_p5_iscsi user@switch# set interfaces xe-0/0/33 unit 0 classifiers ieee-802.1 fcoe_p3_p5 user@switch# set interfaces xe-0/0/34 unit 0 classifiers ieee-802.1 iscsi_classifier
인터페이스 xe-0/0/31에 대한 CNP 입력 스탠자를 구성하여 인터페이스가 처리하는 FCoE 및 iSCSI 우선순위(코드 포인트 011 및 100)에서 PFC를 활성화하고, FCoE 트래픽에 대한 MRU 값(2240바이트)을 설정하고, 케이블 길이 값(100미터)을 설정합니다. 대기열 3과 4는 각각 우선순위 3과 4에서 기본적으로 일시 중지되므로 출력 스탠자가 필요하지 않으며, 다른 대기열에 대한 출력 대기열 흐름 제어를 명시적으로 구성하지 않습니다.
[edit class-of-service] user@switch# set congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point 011 pfc mru 2240 user@switch# set congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point 100 pfc user@switch# set congestion-notification-profile fcoe_p3_cnp input cable-length 100
인터페이스 xe-0/0/32에 대한 CNP를 구성합니다. 입력 스탠자는 FCoE 우선순위(코드 포인트 101)에서 PFC를 활성화하고, FCoE 트래픽(2240바이트)에 대한 MRU 값을 설정하고, iSCSI 우선순위(코드 포인트 100)에서 PFC를 활성화하고, 케이블 길이 값(150미터)을 설정합니다. 출력 스탠자는 FCoE 우선순위의 출력 대기열 5와 iSCSI 우선순위의 출력 대기열 4에서 플로우 제어를 구성합니다.
[edit class-of-service] user@switch# set congestion-notification-profile fcoe_p5_cnp input ieee-802.1 code-point 100 pfc user@switch# set congestion-notification-profile fcoe_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240 user@switch# set congestion-notification-profile fcoe_p5_cnp input cable-length 150 user@switch# set congestion-notification-profile fcoe_p5_cnp output ieee-802.1 code-point 100 pfc flow-control-queue 4 user@switch# set congestion-notification-profile fcoe_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue 5
인터페이스 xe-0/0/33을 위한 CNP를 구성합니다. 입력 스탠자는 FCoE 우선순위(IEEE 802.1p 코드 포인트 011 및 101)에서 PFC를 활성화하고, MRU 값(2240바이트)을 설정하며, 케이블 길이 값(100미터)을 설정합니다. 출력 스탠자는 FCoE 우선순위의 출력 큐 3 및 5에서 플로우 제어를 구성합니다.
[edit class-of-service] user@switch# set congestion-notification-profile fcoe_p3_p5_cnp input ieee-802.1 code-point 011 pfc mru 2240 user@switch# set congestion-notification-profile fcoe_p3_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240 user@switch# set congestion-notification-profile fcoe_p3_p5_cnp input cable-length 100 user@switch# set congestion-notification-profile fcoe_p3_p5_cnp output ieee-802.1 code-point 011 pfc flow-control-queue 3 user@switch# set congestion-notification-profile fcoe_p3_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue 5
인터페이스 xe-0/0/34에 대한 CNP 입력 스탠자를 구성하여 iSCSI 우선순위(코드 포인트 100)에서 PFC를 활성화하고 케이블 길이 값(100미터)을 설정하십시오. 대기열 4는 우선순위 4에서 기본적으로 일시 중지되므로 출력 스탠자가 필요하지 않으며, 다른 대기열에 대한 출력 대기열 흐름 제어를 명시적으로 구성하지 않습니다.
[edit class-of-service] user@switch# set congestion-notification-profile iscsi_cnp input ieee-802.1 code-point 100 pfc user@switch# set congestion-notification-profile iscsi_cnp input cable-length 100
각 CNP를 적절한 인터페이스에 적용합니다.
[edit class-of-service] user@switch# set interfaces xe-0/0/31 congestion-notification-profile fcoe_p3_cnp user@switch# set interfaces xe-0/0/32 congestion-notification-profile fcoe_p5_cnp user@switch# set interfaces xe-0/0/33 congestion-notification-profile fcoe_p3_p5_cnp user@switch# set interfaces xe-0/0/34 congestion-notification-profile iscsi_cnp
DCBX가 FCoE 및 iSCSI 트래픽에 사용되는 IEEE 802.1p 우선 순위에서 애플리케이션 프로토콜 TLV를 교환할 수 있도록 FCoE 및 iSCSI용 DCBX 애플리케이션을 구성에 매핑합니다.
[edit] user@switch# set applications application fcoe_app ether-type 0x8906 user@switch# set applications application iscsi_app protocol tcp destination-port 3260
FCoE 및 iSCSI 응용 프로그램을 올바른 우선 순위에 매핑하도록 DCBX 응용 프로그램 맵을 구성합니다.
[edit] user@switch# set policy-options application-maps dcbx_iscsi_fcoe_app_map application fcoe_app code-points [011 101] user@switch# set policy-options application-maps dcbx_iscsi_fcoe_app_map application iscsi_app code-points 100
DCBX가 올바른 코드 포인트에서 FCoE 애플리케이션 TLV를 교환할 수 있도록 인터페이스에 애플리케이션 맵을 적용합니다.
[edit] user@switch# set protocols dcbx interface xe-0/0/31 application-map dcbx_iscsi_fcoe_app_map user@switch# set protocols dcbx interface xe-0/0/32 application-map dcbx_iscsi_fcoe_app_map user@switch# set protocols dcbx interface xe-0/0/33 application-map dcbx_iscsi_fcoe_app_map user@switch# set protocols dcbx interface xe-0/0/34 application-map dcbx_iscsi_fcoe_app_map
확인
무손실 포워딩 클래스 및 IEEE 802.1p 우선 순위의 구성과 적절한 작동을 검증하려면 다음 작업을 수행하십시오.
- 포워딩 클래스 구성 검증
- Behavior Aggregate 분류자 구성 확인
- PFC CNP(Flow Control Configuration) 확인
- 인터페이스 구성 확인
- DCBX 애플리케이션 구성 확인
- DCBX 애플리케이션 맵 구성 확인
- DCBX 애플리케이션 프로토콜 교환 인터페이스 구성 확인
포워딩 클래스 구성 검증
목적
무손실 포워딩 클래스 및 이fcoe1
(가) 생성되었는지, 기본 무손실 포워딩 클래스 iscsi
fcoe
가 여전히 무손실 전송에 대해 활성화되어 있는지 확인합니다.
작업
작동 명령을 show class-of-service forwarding class
사용하여 포워딩 클래스 구성을 표시합니다.
user@switch> show class-of-service forwarding-class Forwarding class ID Queue Policing priority No-Loss best-effort 0 0 normal Disabled fcoe 1 3 normal Enabled iscsi 2 4 normal Enabled network-control 3 7 normal Disabled fcoe1 4 5 normal Enabled mcast 8 8 normal Disabled
의미
명령은 show class-of-service forwarding-class
모든 포워딩 클래스를 표시합니다. 명령 출력은 및 포워딩 클래스가 각각 출력 대기열 4
및 fcoe1
5
에 구성되어 no-loss 패킷 드롭 속성이 활성화되었음을 보여줍니다iscsi
.
기본 포워딩 클래스를 명시적으로 구성하지 않았기 때문에 기본 fcoe
상태(무손실 구성)로 유지됩니다.
Behavior Aggregate 분류자 구성 확인
목적
4개의 분류자가 포워딩 클래스를 올바른 IEEE 802.1p 코드 포인트(우선순위) 및 패킷 손실 우선순위에 매핑하는지 확인합니다.
작업
운영 모드 명령을 show class-of-service classifier
사용하여 무손실 FCoE 전송을 지원하도록 구성된 분류자를 나열합니다.
user@switch> show class-of-service classifier Classifier: fcoe_p3_iscsi, Code point type: ieee-802.1, Index: 13915 Code point Forwarding class Loss priority 011 fcoe low 100 iscsi low Classifier: fcoe_p5_iscsi, Code point type: ieee-802.1, Index: 62035 Code point Forwarding class Loss priority 100 iscsi low 101 fcoe1 low Classifier: fcoe_p3_p5, Code point type: ieee-802.1, Index: 17774 Code point Forwarding class Loss priority 011 fcoe low 101 fcoe1 low Classifier: iscsi_classifier, Code point type: ieee-802.1, Index: 31635 Code point Forwarding class Loss priority 100 iscsi low
의미
명령은 show class-of-service classifier
각 분류자의 포워딩 클래스에 매핑된 IEEE 802.1p 코드 포인트와 손실 우선순위를 표시합니다. 명령 출력에는 , , , 및 의 네 가지 분류자가 fcoe_p3_iscsi
있음을 알 수 있습니다iscsi_classifier
. fcoe_p5_iscsi
fcoe_p3_p5
분류자는 fcoe_p3_iscsi
코드 포인트(우선순위 3)를 기본 무손실 포워딩 클래스 및 패킷 손실 우선순위 로 매핑하고, 코드 포인트 100
011
(우선순위 4)를 명시적으로 구성된 무손실 포워딩 클래스 iscsi
fcoe
로 매핑하고, 다른 모든 우선순위는 패킷 손실 우선순위 low
best-effort
를 high
가진 포워딩 클래스에 매핑합니다.
분류자는 fcoe_p5_iscsi
코드 포인트를 100
명시적으로 구성된 포워딩 클래스와 의 패킷 손실 우선순위로, 코드 포인트 101
(우선순위 5)를 명시적으로 구성된 무손실 포워딩 클래스와 의 패킷 손실 우선순위로 매핑하고, 다른 모든 우선순위는 패킷 손실 우선순위low
high
low
를 의 포워딩 클래스 iscsi
fcoe1
로 best-effort
매핑합니다.
분류자는 fcoe_p3_p5
코드 포인트를 기본 무손실 포워딩 클래스 및 패킷 손실 우선순위 에 매핑하고, 코드 포인트를 011
101
명시적으로 구성된 무손실 포워딩 클래스 fcoe
fcoe1
및 패킷 손실 우선순위low
에 low
매핑합니다. 분류자는 다른 모든 우선순위를 패킷 손실 우선순위high
가 best-effort
인 포워딩 클래스에 매핑합니다.
분류자는 코드 포인트를 100
명시적으로 구성된 포워딩 클래스 iscsi
와 의 패킷 손실 우선순위로 매핑하고, 다른 모든 우선순위는 패킷 손실 우선순위low
high
를 의 포워딩 클래스에 매핑합니다best-effort
.iscsi_classifier
PFC CNP(Flow Control Configuration) 확인
목적
PFC가 올바른 입력 우선 순위에서 사용하도록 설정되어 있고 각 CNP의 올바른 출력 대기열 및 우선 순위에서 흐름 제어가 구성되어 있는지 확인합니다.
작업
운영 모드 명령을 show class-of-service congestion-notification
사용하여 혼잡 알림 프로필을 나열합니다.
user@switch> show class-of-service congestion-notification Name: fcoe_p3_cnp, Index: 12037 Type: Input Cable Length: 100 m Priority PFC MRU 000 Disabled 001 Disabled 010 Disabled 011 Enabled 2240 100 Enabled 9216 101 Disabled 110 Disabled 111 Disabled Type: Output Priority Flow-Control-Queues 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7 Name: fcoe_p3_p5_cnp, Index: 46484 Type: Input Cable Length: 100 m Priority PFC MRU 000 Disabled 001 Disabled 010 Disabled 011 Enabled 2240 100 Disabled 101 Enabled 2240 110 Disabled 111 Disabled Type: Output Priority Flow-Control-Queues 011 3 101 5 Name: fcoe_p5_cnp, Index: 12133 Type: Input Cable Length: 150 m Priority PFC MRU 000 Disabled 001 Disabled 010 Disabled 011 Disabled 100 Enabled 9216 101 Enabled 2240 110 Disabled 111 Disabled Type: Output 100 4 101 5 Name: iscsi_cnp, Index: 19342 Type: Input Cable Length: 100 m Priority PFC MRU 000 Disabled 001 Disabled 010 Disabled 011 Disabled 100 Enabled 9216 101 Disabled 110 Disabled 111 Disabled Type: Output Priority Flow-Control-Queues 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7
의미
명령은 show class-of-service congestion-notification
4개의 CNP의 입력 및 출력 스탠자를 표시합니다.
CNPfcoe_p3_cnp
의 경우, 입력 스탠자는 PFC가 바이트의 MRU와 미터 100
길이의 2240
IEEE 802.1p 코드 포인트 011
(우선순위 3)에서 사용 가능함을 보여줍니다. 또한 입력 스탠자는 PFC가 바이트의 기본 MRU 값으로 9216
코드 포인트 100
(우선순위 4)에서 사용 가능함을 보여줍니다. CNP 출력 스탠자는 명시적 출력 CNP가 구성되지 않았기 때문에 출력 대기열에 대한 우선순위의 기본 매핑을 표시합니다.
기본적으로 큐 3 과 4만 연결된 피어의 메시지를 일시 중지하기 위해 응답할 수 있습니다. 큐 3이 일시정지 메시지에 응답하려면 입력 스탠자의 PFC에 대해 우선순위 3(코드 포인트 011)을 사용 가능하게 해야 합니다. 큐 4가 일시정지 메시지에 응답하려면 우선순위 4(코드 포인트 100)가 입력 스탠자의 PFC에 사용 가능해야 합니다. 이 예에서는 입력 스탠자가 우선순위 3과 4에서만 PFC를 활성화하기 때문에 CNP fcoe_p3_cnp
를 사용하는 인터페이스에서 연결된 피어의 메시지를 일시 중지하기 위해 대기열 3과 4만 응답합니다.
CNP fcoe_p3_p5_cnp
의 경우, 입력 스탠자는 PFC가 코드 포인트 011
101
에서 사용 가능하고 (우선순위 5), MRU가 두 우선순위 모두에서 바이트이며 2240
, 케이블 길이가 미터임을 100
보여줍니다. CNP 출력 스탠자는 출력 플로우 제어가 각각 큐 3
와 5
코드 포인트 011
및 101
에 대해 구성됨을 보여줍니다.
CNPfcoe_p5_cnp
의 경우, 입력 스탠자는 PFC가 코드 포인트 100
및 101
에서 사용 가능함을 보여줍니다. 코드 포인트(FCoE 트래픽)에 대한 MRU는 바이트이고 2240
코드 포인트 101
100
에 대한 MRU는 9216
입니다. 인터페이스 케이블 길이는 미터입니다150
. CNP 출력 스탠자는 출력 플로우 제어가 코드 포인트의 큐 및 코드 포인트 100
101
의 큐 4
5
에 구성됨을 보여줍니다.
CNP iscsi_cnp
의 경우, 입력 스탠자는 PFC가 코드 포인트 100
에서 사용 가능하고, MRU 값이 바이트이며 9216
, 인터페이스 케이블 길이가 미터임을 100
보여줍니다. CNP 출력 스탠자는 명시적 출력 CNP가 구성되지 않았기 때문에 출력 대기열에 대한 우선순위의 기본 매핑을 표시합니다.
인터페이스 구성 확인
목적
올바른 분류자 및 혼잡 알림 프로파일이 올바른 인터페이스에 구성되었는지 확인합니다.
작업
작동 모드 명령 show configuration class-of-service interfaces xe-0/0/31
, , show configuration class-of-service interfaces xe-0/0/32
show configuration class-of-service interfaces xe-0/0/33
, 및 show configuration class-of-service interfaces xe-0/0/34
를 사용하여 수신 인터페이스를 나열합니다.
user@switch> show configuration class-of-service interfaces xe-0/0/31 congestion-notification-profile fcoe_p3_cnp; unit 0 { classifiers { ieee-802.1 fcoe_p3_iscsi; } }
user@switch> show configuration class-of-service interfaces xe-0/0/32 congestion-notification-profile fcoe_p5_cnp; unit 0 { classifiers { ieee-802.1 fcoe_p5_iscsi; } }
user@switch> show configuration class-of-service interfaces xe-0/0/33 congestion-notification-profile fcoe_p3_p5_cnp; unit 0 { classifiers { ieee-802.1 fcoe_p3_p5; } }
user@switch> show configuration class-of-service interfaces xe-0/0/34 congestion-notification-profile iscsi_cnp; unit 0 { classifiers { ieee-802.1 iscsi_classifier; } }
의미
명령은 show configuration class-of-service interfaces xe-0/0/31
혼잡 알림 프로파일 fcoe_p3_cnp
이 인터페이스에 구성되고 인터페이스와 연관된 IEEE 802.1p 분류자가 임을 fcoe_p3_iscsi
보여줍니다.
명령은 show configuration class-of-service interfaces xe-0/0/32
혼잡 알림 프로파일 fcoe_p5_cnp
이 인터페이스에 구성되고 인터페이스와 연관된 IEEE 802.1p 분류자가 임을 fcoe_p5_iscsi
보여줍니다.
명령은 show configuration class-of-service interfaces xe-0/0/33
혼잡 알림 프로파일 fcoe_p3_p5_cnp
이 인터페이스에 구성되고 인터페이스와 연관된 IEEE 802.1p 분류자가 임을 fcoe_p3_p5
보여줍니다.
명령은 show configuration class-of-service interfaces xe-0/0/34
혼잡 알림 프로파일 iscsi_cnp
이 인터페이스에 구성되고 인터페이스와 연관된 IEEE 802.1p 분류자가 임을 iscsi_classifier
보여줍니다.
DCBX 애플리케이션 구성 확인
목적
FCoE 및 iSCSI용 DCBX 애플리케이션이 구성되어 있는지 확인합니다.
작업
구성 모드 명령을 show applications
사용하여 DCBX 응용 프로그램을 나열합니다.
user@switch# show applications application iscsi_app { protocol tcp; destination-port 3260; } application fcoe_app { ether-type 0x8906;
의미
show applications
구성 모드 명령은 구성된 모든 애플리케이션을 표시합니다. 출력은 애플리케이션이 프로토콜 값 및 대상 포트 값 3260
tcp
으로 구성되었으며, 애플리케이션이 iscsi_app
fcoe_app
의 EtherType(FCoE 트래픽에 대한 올바른 EtherType 0x8906
)으로 구성되었음을 보여줍니다.
DCBX 애플리케이션 맵 구성 확인
목적
애플리케이션 맵이 구성되었는지 확인합니다.
작업
구성 모드 명령을 show policy-options application-maps
사용하여 응용 프로그램 맵을 나열합니다.
user@switch# show policy-options application-maps dcbx-iscsi-fcoe-app-map { application iscsi_app code-points 100; application fcoe_app code-points [011 101]; }
의미
구성 모드 명령은 show policy-options application-maps
구성된 모든 애플리케이션 맵과 각 애플리케이션 맵에 속하는 애플리케이션을 나열합니다. 출력은 라는 dcbx-iscsi-fcoe_app_map
하나의 애플리케이션 맵이 있음을 보여줍니다. 코드 포인트에 매핑된 애플리케이션과 코드 포인트 100
011
및 에 매핑된 애플리케이션 iscsi_app
fcoe_app
으로 101
구성됩니다.
DCBX 애플리케이션 프로토콜 교환 인터페이스 구성 확인
목적
애플리케이션 맵이 올바른 인터페이스에 적용되었는지 확인합니다.
작업
구성 모드 명령을 show protocols dcbx
사용하여 각 인터페이스의 애플리케이션 맵을 나열합니다.
user@switch# show protocols dcbx interface xe-0/0/31.0 { application-map dcbx-iscsi-fcoe-app-map; } interface xe-0/0/32.0 { application-map dcbx-iscsi-fcoe-app-map; } interface xe-0/0/33.0 { application-map dcbx-iscsi-fcoe-app-map; } interface xe-0/0/34.0 { application-map dcbx-iscsi-fcoe-app-map; }
의미
show protocols dcbx
구성 모드 명령은 인터페이스와의 애플리케이션 맵 연결을 나열합니다. 출력은 4개의 인터페이스 모두 애플리케이션 맵을 dcbx-iscsi-fcoe-app-map
사용한다는 것을 보여줍니다.