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