예: 여러 애플리케이션(FCoE 및 iSCSI)에 대한 이더넷 인터페이스에서 무손실 IEEE 802.1p 우선 순위 구성
기본 구성에서는 두 개의 서로 다른 IEEE 802.1p 우선순위(코드 포인트)에 매핑된 2개의 무손실 포워딩 클래스를 제공하지만, 최대 6개의 무손실 포워딩 클래스를 명시적으로 구성하고 이를 다른 우선순위에 매핑할 수 있습니다. 최대 6개의 서로 다른 유형의 무손실 트래픽을 지원할 수 있으며, 컨버지드 네트워크의 여러 부분에서 서로 다른 우선순위로 동일한 유형의 트래픽을 지원할 수 있습니다.
이 예는 FCoE 트래픽에 대해 두 개의 무손실 포워딩 클래스와 iSCSI 트래픽에 대해 하나의 무손실 포워딩 클래스를 구성하고 포워딩 클래스를 세 가지 다른 우선순위에 매핑하는 방법을 보여줍니다. (컨버지드 이더넷 네트워크에는 FCoE 트래픽을 식별하기 위해 각각 다른 우선순위를 사용하는 두 개의 FCoE 네트워크와 iSCSI 네트워크가 포함됩니다.)
요구 사항
이 예에서 사용되는 하드웨어 및 소프트웨어 구성 요소는 다음과 같습니다.
-
FCoE 전송 스위치로 사용되는 QFX 시리즈 스위치 1개
-
지원되는 모든 Junos 릴리스
개요
일부 컨버지드 이더넷 네트워크는 둘 이상의 IEEE 802.1p 우선순위에서 FCoE를 지원하며 다른 무손실 트래픽 클래스도 지원해야 합니다. 여러 무손실 포워딩 클래스를 전달하는 인터페이스는 해당 포워딩 클래스에 매핑된 우선순위에 대해 무손실 동작을 지원해야 합니다. 이 예에서 사용된 두 개의 FCoE 포워딩 클래스와 iSCSI 포워딩 클래스를 지원하려면 다음을 구성해야 합니다.
-
FCoE 트래픽에 대해 하나 이상의 무손실 포워딩 클래스(이 예에서는 기본
fcoe포워딩 클래스를 두 개의 무손실 FCoE 포워딩 클래스 중 하나로 사용하므로 명시적으로 하나의 FCoE 포워딩 클래스만 구성해야 함) -
iSCSI 트래픽에 대한 무손실 포워딩 클래스입니다
-
동작 집계(BA) 분류자를 사용하여 무손실 포워딩 클래스를 각 인터페이스의 적절한 IEEE 802.1p 코드 포인트(우선순위)에 매핑합니다
-
인터페이스 수신의 FCoE 및 iSCSI 코드 포인트에서 PFC를 활성화하고 인터페이스가 연결된 피어로부터 수신된 PFC 메시지에 응답할 수 있도록 인터페이스 송신에서 PFC 플로우 제어를 구성하기 위한 각 인터페이스에 대한 CNP(혼잡 알림 프로필)
참고:인터페이스에서 PFC를 구성하거나 변경하면 PFC 변경이 완료될 때까지 전체 포트가 차단됩니다. PFC 변경이 완료되면 포트의 차단이 해제되고 트래픽이 재개됩니다. 포트를 차단하면 수신 및 송신 트래픽이 중지되고 포트가 차단 해제될 때까지 포트의 모든 대기열에서 패킷 손실이 발생합니다.
-
구성된 무손실 우선순위에서 FCoE 및 iSCSI 트래픽에 대한 DCBX 애플리케이션 TLV 교환을 지원하는 DCBX 애플리케이션 및 애플리케이션 맵. 기본적으로 DCBX는 FCoE의 모든 이더넷 인터페이스에서 활성화되지만 우선순위 3(IEEE 802.1p 코드 포인트 011)에서만 활성화됩니다. 기본 구성을 사용하지 않을 때 DCBX 애플리케이션 TLV 교환을 지원하려면 모든 애플리케이션을 구성하고 인터페이스 및 우선순위에 매핑해야 합니다.
BA 분류자, CNP 및 DCBX 애플리케이션 맵에 지정된 우선 순위가 일치해야 하며 그렇지 않으면 구성이 작동하지 않습니다. 각 구성에서 동일한 무손실 FCoE 포워딩 클래스를 지정하고 동일한 IEEE 802.1p 코드 포인트(우선 순위)를 사용하여 FCoE 트래픽이 플로우로 적절하게 분류되고 해당 플로우가 무손실 처리를 받을 수 있도록 해야 합니다.
토폴로지
이 예는 두 개의 무손실 FCoE 트래픽 클래스와 하나의 무손실 iSCSI 트래픽 클래스를 구성하고, 이를 세 가지 다른 우선순위에 매핑하고, 인터페이스에서 이러한 우선순위에 대한 무손실 동작을 보장하도록 플로우 제어를 구성하는 방법을 보여줍니다. 이 예는 4개의 이더넷 인터페이스, xe-0/0/31, xe-0/0/32, xe-0/0/33 및 xe-0/0/34를 사용합니다.
-
인터페이스 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 포워딩 클래스 하나, 기본 무손실 FCoE 포워딩 클래스 및 명시적으로 구성된 iSCSI 포워딩 클래스 하나를 사용합니다.
|
| BA 분류자 |
각 인터페이스는 FCoE 트래픽의 서로 다른 하위 집합을 처리하기 때문에 각 인터페이스에는 서로 다른 분류자가 필요합니다.
|
| PFC 구성(CNP) |
각 인터페이스는 FCoE 및 iSCSI 트래픽의 서로 다른 하위 집합을 처리하고 서로 다른 우선순위에서 해당 트래픽을 일시 중지해야 하므로 각 인터페이스에는 서로 다른 CNP가 필요합니다.
참고:
명시적 출력 대기열 플로우 제어 구성이 있는 CNP를 인터페이스에 적용하면 명시적 CNP가 기본 출력 CNP를 덮어씁니다. 기본 구성(대기열 3 및 4)에서 PFC 일시 중지가 활성화된 출력 대기열은 명시적으로 구성된 출력 CNP에 포함되지 않는 한 일시 중지가 활성화되지 않습니다. |
| DCBX 애플리케이션 매핑 |
이 예에서는 FCoE 및 iSCSI를 위한 애플리케이션을 구성하고(동일한 애플리케이션 맵에 포함) 애플리케이션 맵을 네 개의 인터페이스 모두에 적용해야 합니다. 애플리케이션 맵 이름—
참고:
LLDP 및 DCBX는 인터페이스에서 활성화되어야 합니다. 기본적으로 LLDP 및 DCBX는 모든 이더넷 인터페이스에서 활성화됩니다. |
이 예에는 스케줄링(대역폭 할당) 구성 또는 FIP 스누핑 구성이 포함되지 않습니다. 이 예는 무손실 FCoE 우선 순위 구성에만 중점을 둡니다.
QFX10000 스위치는 FIP 스누핑을 지원하지 않습니다. 이러한 이유로 QFX10000 스위치는 FCoE 액세스 전송 스위치로 사용할 수 없습니다. QFX10000 스위치는 FIP 스누핑을 수행하는 FCoE 액세스 전송 스위치와 FCF 사이의 FCoE 경로에서 중간 또는 어그리게이션 전송 스위치로 사용할 수 있습니다.
구성
CLI 빠른 구성
2개의 무손실 FCoE 포워딩 클래스와 1개의 무손실 iSCSI 포워딩 클래스를 신속하게 구성하고 이를 다른 우선순위에 매핑하려면 다음 명령을 복사하여 텍스트 파일에 붙여 넣은 다음 줄 바꿈을 제거하고, 네트워크 구성과 일치하도록 변수와 세부 정보를 변경한 다음, 계층 수준에서 [edit] 명령을 복사하여 CLI에 붙여넣습니다.
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_p5 set 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 트래픽 및
fcoe1FCoE 트래픽(이 예에서는 기본fcoe포워딩 클래스를 다른 무손실 FCoE 포워딩 클래스로 사용)에 대해 무손실 포워딩 클래스iscsi를 구성하고 이를 출력 대기열에 매핑합니다.[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 우선순위(코드 포인트011)를 무손실 FCoE 포워딩 클래스fcoe로, iSCSI 우선순위(코드 포인트100)를 무손실 iSCSI 포워딩 클래스iscsi로 매핑하고, 패킷 손실 우선순위가 다음과 같은high포워딩 클래스에 다른 우선순위의 트래픽을best-effort매핑합니다.[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 우선순위(코드 포인트101)를 무손실 FCoE 포워딩 클래스fcoe1로, iSCSI 우선순위(코드 포인트100)를 무손실 iSCSI 포워딩 클래스iscsi로 매핑하고, 패킷 손실 우선순위가 다음과 같은high포워딩 클래스에 다른 우선순위의 트래픽을best-effort매핑합니다.[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및101)를 각각 무손실 FCoE 포워딩 클래스fcoe및fcoe1에 매핑하고, 패킷 손실 우선순위가 다음과 같은high포워딩 클래스에 다른 우선순위의 트래픽을best-effort매핑합니다:[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
-
인터페이스가 처리하는 FCoE 및 iSCSI 우선순위(코드 포인트 011 및 100)에서 PFC를 활성화하고, FCoE 트래픽(2240바이트)에 대한 MRU 값을 설정하고, 케이블 길이 값(100미터)을 설정하도록 인터페이스 xe-0/0/31에 대한 CNP 입력 스탠자를 구성합니다. 대기열 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에서 기본적으로 일시 중지되고 다른 대기열에 대한 출력 대기열 flow 제어를 명시적으로 구성하지 않기 때문에 출력 스탠자가 필요하지 않습니다.
[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
-
FCoE 및 iSCSI에 대한 DCBX 애플리케이션을 구성하여 인터페이스에 매핑하여 DCBX가 FCoE 및 iSCSI 트래픽에 사용되는 IEEE 802.1p 우선순위에서 애플리케이션 프로토콜 TLV를 교환할 수 있도록 합니다.
[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 우선 순위의 구성과 적절한 작동을 확인하려면 다음 작업을 수행합니다.
- 포워딩 클래스 구성 확인
- 동작 집계 분류자 구성 확인
- PFC 플로우 제어 구성(CNP) 확인
- 인터페이스 구성 확인
- DCBX 애플리케이션 구성 확인
- DCBX 애플리케이션 맵 구성 확인
- DCBX 애플리케이션 프로토콜 교환 인터페이스 구성 확인
포워딩 클래스 구성 확인
목적
무손실 포워딩 클래스 iscsi 가 생성 fcoe1 되었는지, 기본 무손실 포워딩 클래스 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 모든 포워딩 클래스를 표시합니다. 명령 출력은 및 fcoe1 포워딩 클래스가 각각 출력 대기열 54 과 손실 없는 패킷 드롭 속성이 활성화된 상태로 구성되어 있음을 보여줍니다iscsi.
기본 fcoe 포워딩 클래스를 명시적으로 구성하지 않았기 때문에 기본 상태(무손실 구성)로 유지됩니다.
동작 집계 분류자 구성 확인
목적
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, fcoe_p5_iscsi, fcoe_p3_p5및 iscsi_classifier가 있음을 보여줍니다.
분류자는 fcoe_p3_iscsi 코드 포인트 011 (우선 순위 3)를 기본 무손실 포워딩 클래스 fcoe 에 매핑하고 패킷 손실 우선 순위는 low, 코드 포인트 100 (우선 순위 4)는 명시적으로 구성된 무손실 포워딩 클래스iscsi에 매핑하고, 다른 모든 우선 순위는 best-effort 패킷 손실 우선순위가 .high
분류자는 fcoe_p5_iscsi 코드 포인트 100 를 명시적으로 구성된 포워딩 클래스 iscsi 와 패킷 손실 우선 순위 low, 코드 포인트 101 (우선 순위 5)를 명시적으로 구성된 무손실 포워딩 클래스 fcoe1 및 패킷 손실 우선 순위 에 매핑하고, 패킷 손실 우선 순위highlow가 인 포워딩 클래스에 다른 모든 우선 순위를 best-effort 매핑합니다.
분류자는 fcoe_p3_p5 코드 포인트 011 를 기본 무손실 포워딩 클래스 fcoe 와 패킷 손실 우선low순위 에 매핑하고, 코드 포인트 101 를 명시적으로 구성된 무손실 포워딩 클래스 fcoe1 와 패킷 손실 우선low순위 에 매핑합니다. 분류자는 패킷 손실 우선순위가 인 high포워딩 클래스에 다른 모든 우선 순위를 best-effort 매핑합니다.
분류자는 iscsi_classifier 코드 포인트 100 를 명시적으로 구성된 포워딩 클래스 iscsi 와 패킷 손실 우선 순위 인 , 패킷 손실 우선 high순위low가 인 포워딩 클래스에 best-effort 다른 모든 우선 순위를 매핑합니다.
PFC 플로우 제어 구성(CNP) 확인
목적
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가 바이트의 2240 MRU와 미터의 케이블 길이 100 를 가진 IEEE 802.1p 코드 포인트 011 (우선순위 3)에서 활성화되었음을 보여줍니다. 또한 입력 스탠자는 PFC가 기본 MRU 값 9216 바이트로 코드 포인트 100 (우선 순위 4)에서 활성화되어 있음을 보여줍니다. CNP 출력 스탠자는 명시적 출력 CNP가 구성되지 않았기 때문에 출력 대기열에 대한 우선 순위의 기본 매핑을 보여줍니다.
기본적으로 큐 3과 4만 연결된 피어의 일시 중지 메시지에 응답할 수 있습니다. 큐 3이 일시정지 메시지에 응답하려면 입력 스탠자에서 PFC에 대해 우선순위 3(코드 포인트 011)을 사용해야 합니다. 큐 4가 일시정지 메시지에 응답하려면 입력 스탠자에서 PFC에 대해 우선순위 4(코드 포인트 100)를 사용하도록 설정해야 합니다. 이 예에서는 입력 스탠자가 우선순위 3과 4에서만 PFC를 활성화하기 때문에 대기열 3과 4만 CNP fcoe_p3_cnp 를 사용하는 인터페이스에서 연결된 피어의 일시 중지 메시지에 응답합니다.
CNP fcoe_p3_p5_cnp의 경우, 입력 스탠자는 PFC가 코드 포인트 011 에서 활성화되어 있고 101 (우선순위 5), MRU 2240 는 두 우선순위 모두에서 바이트, 케이블 길이가 미터임을 100 보여줍니다. CNP 출력 스탠자는 출력 플로우 제어가 대기열 3 5 과 코드 포인트 011 및 101에 대해 각각 구성된다는 것을 보여줍니다.
CNPfcoe_p5_cnp의 경우, 입력 스탠자는 PFC가 코드 포인트 100 및 101에서 활성화되었음을 보여줍니다. 코드 포인트 101 (FCoE 트래픽)의 MRU는 2240 바이트이고 코드 포인트 100 의 MRU는 9216입니다. 인터페이스 케이블 길이는 미터입니다150. CNP 출력 스탠자는 출력 플로우 제어가 코드 포인트 100 의 대기열 4 및 코드 포인트101의 대기열 5 에 구성됨을 보여줍니다.
CNP iscsi_cnp의 경우, 입력 스탠자는 PFC가 코드 포인트 100에서 활성화되어 있고, MRU 값이 바이트이며 9216 , 인터페이스 케이블 길이가 미터임을 100 보여줍니다. CNP 출력 스탠자는 명시적 출력 CNP가 구성되지 않았기 때문에 출력 대기열에 대한 우선 순위의 기본 매핑을 보여줍니다.
인터페이스 구성 확인
목적
올바른 인터페이스에 올바른 분류자 및 혼잡 알림 프로필이 구성되었는지 확인합니다.
작업
운영 모드 명령 , 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를 사용하여 수신 인터페이스를 나열합니다.show configuration class-of-service interfaces xe-0/0/31
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 이 인터페이스에 구성되어 있고, 인터페이스 fcoe_p3_iscsi와 연관된 IEEE 802.1p 분류자가 임을 보여줍니다.
이 명령은 show configuration class-of-service interfaces xe-0/0/32 혼잡 알림 프로파일 fcoe_p5_cnp 이 인터페이스에 구성되어 있고, 인터페이스 fcoe_p5_iscsi와 연관된 IEEE 802.1p 분류자가 임을 보여줍니다.
이 명령은 show configuration class-of-service interfaces xe-0/0/33 혼잡 알림 프로파일 fcoe_p3_p5_cnp 이 인터페이스에 구성되어 있고, 인터페이스 fcoe_p3_p5와 연관된 IEEE 802.1p 분류자가 임을 보여줍니다.
이 명령은 show configuration class-of-service interfaces xe-0/0/34 혼잡 알림 프로파일 iscsi_cnp 이 인터페이스에 구성되어 있고, 인터페이스 iscsi_classifier와 연관된 IEEE 802.1p 분류자가 임을 보여줍니다.
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 구성된 모든 애플리케이션을 표시합니다. 출력은 애플리케이션 iscsi_app 이 의 프로토콜 값 tcp 과 의 대상 포트 값 3260으로 구성되어 있고, 애플리케이션 fcoe_app 이 (FCoE 트래픽에 대한 올바른 EtherType)의 0x8906 EtherType으로 구성되어 있음을 보여줍니다.
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애플리케이션 맵이 있음을 보여줍니다. 코드 포인트에 맵핑된 애플리케이션 iscsi_app 과 코드 포인트 011 101에 맵핑된 애플리케이션 fcoe_app 으로 구성됩니다.100
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 인터페이스와의 애플리케이션 맵 연관성을 나열합니다. 출력은 네 개의 인터페이스 모두 애플리케이션 맵 dcbx-iscsi-fcoe-app-map을 사용한다는 것을 보여줍니다.