Configure Broadcast, Unknown Unicast, and Multicast Bandwidth Limiting

Configure broadcast/unknown unicast and multicast bandwidth limiting to limit the amount of ingress traffic on a port. The switch drops traffic that violates the bandwidth limit.

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>

    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 broadcast and unknown unicast bandwidth limiting:

    rate-limit [port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}] broadcast <1-65535>

  3. Configure multicast bandwidth limiting:

    rate-limit [port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}] multicast <1-65535>

  4. Verify the configuration:

    show interfaces gigabitethernet rate-limit [<1-4059> | {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

Variable Definitions

The following table defines parameters for the rate-limit command.

Variable

Value

<1-65535>

Specifies the bandwidth limit for broadcast/unknown unicast and multicast traffic, in packets per second (pps).

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.