물리적 인터페이스에 대한 셰이핑 속도 구성
물리적 인터페이스에서 쉐이핑 속도를 구성하려면 계층 수준에서 문을 [edit class-of-service interfaces interface-name] 포함 shaping-rate 하거나 계층 수준에서 문을 [edit class-of-service interfaces interface-name] 포함합니다output-traffic-control-profile.
최대 대역폭 속도를 bps로 지정할 수 있습니다. 완전한 십진수 또는 십진수 뒤에 약어 k (1,000), m (1,000,000) 또는 g (1,000,000,000)를 붙이는 형식으로 지정할 수 있습니다. 물리적 인터페이스의 경우 범위는 1000에서 6,400,000,000,000bps입니다.
의 shaping-rate 최대값은 인터페이스의 최대 전송 속도에 의해 제한됩니다.
다음은 물리적 인터페이스(xe-4/0/0)에 5Gbps의 셰이핑 속도를 적용하기 위한 두 가지 샘플 구성입니다.
[edit class-of-service interfaces interface-name] 계층에서 쉐이핑 속도를 적용합니다.
[edit class-of-service]
interfaces {
xe-4/0/0 {
shaping-rate 5g;
}
}
트래픽 제어 프로필을 사용하여 셰이핑 속도를 적용합니다.
[edit class-of-service]
traffic-control-profiles {
shaping-output {
shaping-rate 5g;
}
}
interfaces {
xe-4/0/0 {
output-traffic-control-profile shaping-output;
}
}
구성 결과를 보려면 다음 show 명령을 실행합니다.
show class-of-service interface interface-name
show interfaces interface-name extensive