ip mroute (for a port)

Limit the number of multicast streams to protect a CPU from multicast data packet bursts generated by malicious applications.

Syntax

Command Parameters

max-allowed-streams <1-32768>
Configures the maximum number of streams on the specified port. The port is shut down if the number of streams exceeds this limit. The value is a number between 1-32768. The default value is 1984 streams.
To set this option to the default value, use the default operator with the command.
max-allowed-streams-timer-check <1-3600>
Configures the sampling interval, which is used to check if the number of ingress multicast streams to the CPU is under a configured limit or if the port needs to shut down. The range is between 1-3600. The default value is 10 seconds.
To set this option to the default value, use the default operator with the command.
port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

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)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

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

stream-limit
Enables stream limit on a particular interface.

Default

None

Command Mode

GigabitEthernet Interface Configuration