Tuesday, April 21, 2020

Setting Limit Bandwith Ciena 5160

Warning: It's just Personal Note !!!
Example Script to limit Bandwith Port 11 with 287Mbps, there are 5 steps :
CIENA-5160>traffic-services queuing egress-port set port 11 shaper-rate 287104 burst-size 10000
CIENA-5160>traffic-services queuing egress-port-queue-group set port 11 eir 287104
CIENA-5160>traffic-profiling set port 11 mode advanced
CIENA-5160>traffic-profiling standard-profile create port 11 profile 1 name tp-port-11 cir 287104 eir 0 cbs 10000 ebs 0
CIENA-5160>traffic-profiling enable port 11

Make sure configuration is right:
CIENA-5160>configuration show
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! EGRESS PORT CONFIG:
!
traffic-services queuing egress-port set port 11 shaper-rate 287104 burst-size 10000
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! EGRESS PORT QUEUE GROUP CONFIG:
!
traffic-services queuing egress-port-queue-group set port 11 eir 287104
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...
...
...
! TRAFFIC PROFILING CONFIG:
!
traffic-profiling set meter-provisioning eir
!
traffic-profiling set port 11 mode advanced
!
traffic-profiling standard-profile create port 11 profile 1 name tp-port-11 cir 287104 eir 0 cbs 10000 ebs 0
!
traffic-profiling enable port 11
!
traffic-profiling enable


Check the port that we have given limitation on Port 11: