Configuring the ingress port-rate limiter

Use the ingress port-rate limiter to limit the traffic rate accepted by the specified ingress port. The port drops or re-marks violating traffic.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure the ingress port-rate limit:

    qos if-rate—limiting [port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}] rate <1000-40000000>

  3. Disable the ingress port-rate limit:

    no qos if-rate-limiting [port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

Variable definitions

Use the data in the following table to use the qos if-rate-limiting command.

Variable

Value

1000-40000000

Specifies the ingress rate limit in Kbps. The range is 1000–40000000.

port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.