.. _clicmd_src_plugins_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/plugins/policer/policer_cli.c line 624 `_ Implementation: ``policer_add_command_fn`` ip punt policer ------------------------------------------------------------------------- .. code-block:: console ip punt policer [add|del] .. code-block:: console set ip punt policer Declaration: ``ip4_punt_policer_command`` `src/plugins/policer/ip4_punt.c line 149 `_ Implementation: ``ip4_punt_police_cmd`` ip6 punt policer ------------------------------------------------------------------------- .. code-block:: console ip6 punt policer [add|del] .. code-block:: console set ip punt policer Declaration: ``ip6_punt_policer_command`` `src/plugins/policer/ip6_punt.c line 137 `_ Implementation: ``ip6_punt_police_cmd`` 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/plugins/policer/policer_cli.c line 637 `_ Implementation: ``policer_add_command_fn`` policer bind ------------------------------------------------------------------------- .. code-block:: console policer bind [unbind] [name | index ] Declaration: ``policer_bind_command`` `src/plugins/policer/policer_cli.c line 655 `_ Implementation: ``policer_bind_command_fn`` policer del ------------------------------------------------------------------------- .. code-block:: console policer del [name | index ] Declaration: ``policer_del_command`` `src/plugins/policer/policer_cli.c line 649 `_ Implementation: ``policer_del_command_fn`` policer input ------------------------------------------------------------------------- .. code-block:: console policer input [unapply] [name | index ] Declaration: ``policer_input_command`` `src/plugins/policer/policer_cli.c line 661 `_ Implementation: ``policer_input_command_fn`` policer output ------------------------------------------------------------------------- .. code-block:: console policer output [unapply] [name | index ] Declaration: ``policer_output_command`` `src/plugins/policer/policer_cli.c line 668 `_ Implementation: ``policer_input_command_fn`` show policer ------------------------------------------------------------------------- .. code-block:: console show policer [name | index ] Declaration: ``show_policer_command`` `src/plugins/policer/policer_cli.c line 744 `_ Implementation: ``show_policer_command_fn`` show policer pools ------------------------------------------------------------------------- .. code-block:: console show policer pools Declaration: ``show_policer_pools_command`` `src/plugins/policer/policer_cli.c line 759 `_ Implementation: ``show_policer_pools_command_fn``