예: RED Drop Profile 구성
이 예에서는 RED 드롭 프로파일을 구성하는 방법을 보여줍니다.
요구 사항
시작하기 전에 구성할 프로필 유형을 결정하십시오. 예제: 세그먼트 및 인터폴로시드스타일 프로파일 구성
개요
드롭 프로파일은 대기열이 가득 차기 전에 패킷을 드롭할 수 있는 RED 프로세스의 특징입니다. 드롭 프로파일은 큐 가득 차고 드롭 가능성과 2개의 메인 값으로 구성됩니다.
장비가 보장된 포우링을 지원하는 경우 RED 드롭 프로파일을 구성하여 혼잡을 제어할 수 있습니다. RED 드롭 프로파일은 서로 다른 수준의 버퍼 완전성에 대해 드롭 가능성을 사용하여 디바이스에서 어떤 대기열이 정체된 조건 하에서 보장된 포우링 패킷을 드롭할 가능성이 있는지 확인합니다. 큐 버퍼가 구성된 비율로 가득 차면 디바이스는 패킷을 드롭할 수 있습니다. PLP 비트 세트를 통해 보장된 포워드 트래픽은 PLP 비트 세트가 없는 트래픽보다 폐기될 가능성이 높습니다.
이 예에서는 PLP 및 비 PLP 보장 포우링 트래픽 모두에 대해 드롭 가능성과 대기열 채우기 수준을 구성합니다.
표 1은 나열된 RED 드롭 프로파일을 구성하는 방법을 보여줍니다.
드롭 프로파일 |
드롭 가능성 |
큐 채워기 수준 |
---|---|---|
|
0~100% (항상 드롭) |
95~100% |
|
95~100% 정도(항상 드롭) |
80~95% |
구성
절차
CLI 빠른 구성
RED 드롭 프로파일을 신속하게 구성하려면 다음 명령을 복사하여 텍스트 파일에 붙여넣기하고, 라인 끊기를 제거하고, 네트워크 구성과 일치하는 데 필요한 세부 정보를 변경하고, 계층 수준에서 CLI 명령어에 복사하여 붙여넣는 다음 구성 모드에서 [edit]
commit
입력합니다.
[edit] set class-of-service drop-profiles af-normal interpolate drop-probability 0 set class-of-service drop-profiles af-normal interpolate drop-probability 100 set class-of-service drop-profiles af-normal interpolate fill-level 95 set class-of-service drop-profiles af-normal interpolate fill-level 100 set class-of-service drop-profiles af-with-PLP interpolate drop-probability 95 set class-of-service drop-profiles af-with-PLP interpolate drop-probability 100 set class-of-service drop-profiles af-with-PLP interpolate fill-level 80 set class-of-service drop-profiles af-with-PLP interpolate fill-level 95
단계별 절차
다음 예제에서는 구성 계층의 다양한 수준을 탐색해야 합니다. 이를 위한 지침은 Configuration Mode의 CLI 를 참조하십시오.
RED 드롭 프로파일을 구성하려면:
일반적인 비 PLP 트래픽에 대해 낮은 드롭 가능성을 구성합니다.
[edit] user@host# edit class-of-service user@host# edit drop-profiles af-normal interpolate user@host# set drop-probability 0 user@host# set drop-probability 100
낮은 비 PLP 드롭 가능성에 대해 큐 채워진 수준을 구성합니다.
[edit class-of-service drop-profiles af-normal interpolate] user@host# set fill-level 95 user@host# set fill-level 100
PLP 트래픽에 대해 더 높은 드롭 가능성을 구성합니다.
[edit] user@host# edit class-of-service user@host# edit drop-profiles af-with-PLP interpolate user@host# set drop-probability 95 user@host# set drop-probability 100
높은 PLP 드롭 가능성에 대해 큐 채워진 수준을 구성합니다.
[edit class-of-service drop-profiles af-with-PLP interpolate] user@host# set fill-level 80 user@host# set fill-level 95
결과
구성 모드에서 명령을 입력하여 구성을 show class-of-service
확인 출력이 의도한 구성을 표시하지 않는 경우 이 예제에서 구성 지침을 반복하여 수정합니다.
user@host# show class-of-service
drop-profiles {
af-normal {
interpolate {
fill-level [ 95 100 ];
drop-probability [ 0 100 ];
}
}
af-with-PLP {
interpolate {
fill-level [ 80 95 ];
drop-probability [ 95 100 ];
}
}
}
디바이스 구성이 완료되면 commit
구성 모드에서 입력합니다.