Policer cli reference

configure policer

configure policer 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: configure_policer_command src/vnet/policer/policer.c line 695

Implementation: policer_add_command_fn

policer add

policer 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 706

Implementation: policer_add_command_fn

policer bind

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

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

Implementation: policer_bind_command_fn

policer del

policer del name <name>

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

Implementation: policer_del_command_fn

policer input

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

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

Implementation: policer_input_command_fn

policer output

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

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

Implementation: policer_input_command_fn

show policer

show policer [name <name>]

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

Implementation: show_policer_command_fn

show policer pools

show policer pools

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

Implementation: show_policer_pools_command_fn