Policer cli reference

configure policer

configure policer [name <name> | index <index>] [type 1r2c | 1r3c | 2r3c-2698 | 2r3c-4115] [color-aware] [cir <cir>] [cb <cb>] [eir <eir>] [eb <eb>] [rate kbps | pps] [round closest | up | down] [conform-action drop | transmit | mark-and-transmit <dscp>] [exceed-action drop | transmit | mark-and-transmit <dscp>] [violate-action drop | transmit | mark-and-transmit <dscp>]

Declaration: configure_policer_command src/vnet/policer/policer.c line 889

Implementation: policer_add_command_fn

policer add

policer add name <name> [type 1r2c | 1r3c | 2r3c-2698 | 2r3c-4115] [color-aware] [cir <cir>] [cb <cb>] [eir <eir>] [eb <eb>] [rate kbps | pps] [round closest | up | down] [conform-action drop | transmit | mark-and-transmit <dscp>] [exceed-action drop | transmit | mark-and-transmit <dscp>] [violate-action drop | transmit | mark-and-transmit <dscp>]

Declaration: policer_add_command src/vnet/policer/policer.c line 902

Implementation: policer_add_command_fn

policer bind

policer bind [unbind] [name <name> | index <index>] <worker>

Declaration: policer_bind_command src/vnet/policer/policer.c line 920

Implementation: policer_bind_command_fn

policer del

policer del [name <name> | index <index>]

Declaration: policer_del_command src/vnet/policer/policer.c line 914

Implementation: policer_del_command_fn

policer input

policer input [unapply] [name <name> | index <index>] <interface>

Declaration: policer_input_command src/vnet/policer/policer.c line 926

Implementation: policer_input_command_fn

policer output

policer output [unapply] [name <name> | index <index>] <interface>

Declaration: policer_output_command src/vnet/policer/policer.c line 934

Implementation: policer_input_command_fn

policer reset

policer reset [name <name> | index <index>]

Declaration: policer_reset_command src/vnet/policer/policer.c line 942

Implementation: policer_reset_command_fn

show policer

show policer [name <name> | index <index>]

Declaration: show_policer_command src/vnet/policer/policer.c line 1017

Implementation: show_policer_command_fn

show policer pools

show policer pools

Declaration: show_policer_pools_command src/vnet/policer/policer.c line 1034

Implementation: show_policer_pools_command_fn