Command Line Reference
QoS Configuration
Traffic Behavior
10 min
traffic behavior view traffic behavior view table 1 traffic behavior view table 1 traffic behavior view true 379,282#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type show traffic behavior \[ show traffic behavior \[ traffic behavior name ] \[command] show traffic behavior \[ traffic behavior name ] \[purpose] display the configured car(committed access rate) policy \[parameters] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] privileged user view \[use cases] sonic# show traffic behavior name type mode cir cbs \ test bytes sr tcm 100000 64000 traffic behavior config traffic behavior config table 2 traffic behavior config table 2 traffic behavior config true 366,295#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type traffic behavior traffic behavior traffic behavior name (global configuration view) \[command] traffic behavior traffic behavior name \[purpose] create a traffic behavior and enter traffic behavior view \[parameters] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] global configuration view \[notes] run command no traffic behavior traffic behavior name to delete the traffic behavior \[use cases] sonic# configure terminal sonic(config)# traffic behavior test sonic(config traffic behavior test)# car {sr tcm|tr tcm} \[meter type bytes] cir car {sr tcm|tr tcm} \[meter type bytes] cir cir \[cbs cbs ] \[pir pir ] \[pbs pbs ] \[command] car { sr tcm | tr tcm } \[ meter type bytes ] cir cir \[ cbs cbs ] \[ pir pir ] \[ pbs pbs ] \[purpose] add a byte mode car policy \[parameters] true 134,527#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] traffic behavior configuration view \[notes] if not specified the mode, the default is byte mode run command no car to delete the car policy \[use cases] sonic# configure terminal sonic(config)# traffic behavior test sonic(config traffic behavior test)# car sr tcm meter type packets cir 1000000 car {sr tcm|tr tcm} meter type packets cir car {sr tcm|tr tcm} meter type packets cir cir \[cbs cbs ] \[pir pir ] \[pbs pbs ] \[command] car { sr tcm | tr tcm } meter type packets cir cir \[ cbs cbs ] \[ pir pir ] \[ pbs pbs ] \[purpose] add a packet mode car policy \[parameters] true 130,531#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] traffic behavior configuration view \[notes] run command no car to delete the car policy \[use cases] sonic# configure terminal sonic(config)# traffic behavior test sonic(config traffic behavior test)# car sr tcm meter type packets cir 1000000 traffic behavior traffic behavior traffic behavior name (physical interface configuration view) \[command] traffic behavior traffic behavior name \[purpose] apply the car policy to an interface \[parameters] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] physical interface configuration view \[notes] run command no traffic behavior to unbind the car policy to an interface \[use cases] sonic# configure terminal sonic(config)# interface ethernet 0/124 sonic(config if 0/124)# traffic behavior test sonic(config if 0/124)# show this ! interface ethernet 0/124 traffic behavior test
