.. _clicmd_src_vnet_policer: =============================================================== Policer cli reference =============================================================== configure policer ------------------------------------------------------------------------- .. code-block:: console 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 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L889>`_ Implementation: ``policer_add_command_fn`` policer add ------------------------------------------------------------------------- .. code-block:: console 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 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L902>`_ Implementation: ``policer_add_command_fn`` policer bind ------------------------------------------------------------------------- .. code-block:: console policer bind [unbind] [name <name> | index <index>] <worker> Declaration: ``policer_bind_command`` `src/vnet/policer/policer.c line 920 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L920>`_ Implementation: ``policer_bind_command_fn`` policer del ------------------------------------------------------------------------- .. code-block:: console policer del [name <name> | index <index>] Declaration: ``policer_del_command`` `src/vnet/policer/policer.c line 914 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L914>`_ Implementation: ``policer_del_command_fn`` policer input ------------------------------------------------------------------------- .. code-block:: console policer input [unapply] [name <name> | index <index>] <interface> Declaration: ``policer_input_command`` `src/vnet/policer/policer.c line 926 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L926>`_ Implementation: ``policer_input_command_fn`` policer output ------------------------------------------------------------------------- .. code-block:: console policer output [unapply] [name <name> | index <index>] <interface> Declaration: ``policer_output_command`` `src/vnet/policer/policer.c line 934 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L934>`_ Implementation: ``policer_input_command_fn`` policer reset ------------------------------------------------------------------------- .. code-block:: console policer reset [name <name> | index <index>] Declaration: ``policer_reset_command`` `src/vnet/policer/policer.c line 942 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L942>`_ Implementation: ``policer_reset_command_fn`` show policer ------------------------------------------------------------------------- .. code-block:: console show policer [name <name> | index <index>] Declaration: ``show_policer_command`` `src/vnet/policer/policer.c line 1017 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L1017>`_ 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 1034 <https://github.com/FDio/vpp/blob/master//src/vnet/policer/policer.c#L1034>`_ Implementation: ``show_policer_pools_command_fn``