.. _clicmd_src_vnet_policer: =============================================================== Policer cli reference =============================================================== configure policer ------------------------------------------------------------------------- .. code-block:: console configure policer [name | index ] [type 1r2c | 1r3c | 2r3c-2698 | 2r3c-4115] [color-aware] [cir ] [cb ] [eir ] [eb ] [rate kbps | pps] [round closest | up | down] [conform-action drop | transmit | mark-and-transmit ] [exceed-action drop | transmit | mark-and-transmit ] [violate-action drop | transmit | mark-and-transmit ] Declaration: ``configure_policer_command`` `src/vnet/policer/policer.c line 883 `_ Implementation: ``policer_add_command_fn`` policer add ------------------------------------------------------------------------- .. code-block:: console policer add name [type 1r2c | 1r3c | 2r3c-2698 | 2r3c-4115] [color-aware] [cir ] [cb ] [eir ] [eb ] [rate kbps | pps] [round closest | up | down] [conform-action drop | transmit | mark-and-transmit ] [exceed-action drop | transmit | mark-and-transmit ] [violate-action drop | transmit | mark-and-transmit ] Declaration: ``policer_add_command`` `src/vnet/policer/policer.c line 896 `_ Implementation: ``policer_add_command_fn`` policer bind ------------------------------------------------------------------------- .. code-block:: console policer bind [unbind] [name | index ] Declaration: ``policer_bind_command`` `src/vnet/policer/policer.c line 914 `_ Implementation: ``policer_bind_command_fn`` policer del ------------------------------------------------------------------------- .. code-block:: console policer del [name | index ] Declaration: ``policer_del_command`` `src/vnet/policer/policer.c line 908 `_ Implementation: ``policer_del_command_fn`` policer input ------------------------------------------------------------------------- .. code-block:: console policer input [unapply] [name | index ] Declaration: ``policer_input_command`` `src/vnet/policer/policer.c line 920 `_ Implementation: ``policer_input_command_fn`` policer output ------------------------------------------------------------------------- .. code-block:: console policer output [unapply] [name | index ] Declaration: ``policer_output_command`` `src/vnet/policer/policer.c line 928 `_ Implementation: ``policer_input_command_fn`` policer reset ------------------------------------------------------------------------- .. code-block:: console policer reset [name | index ] Declaration: ``policer_reset_command`` `src/vnet/policer/policer.c line 936 `_ Implementation: ``policer_reset_command_fn`` show policer ------------------------------------------------------------------------- .. code-block:: console show policer [name | index ] Declaration: ``show_policer_command`` `src/vnet/policer/policer.c line 1012 `_ Implementation: ``show_policer_command_fn`` show policer pools ------------------------------------------------------------------------- .. code-block:: console show policer pools Declaration: ``show_policer_pools_command`` `src/vnet/policer/policer.c line 1031 `_ Implementation: ``show_policer_pools_command_fn``