Configure Universal Plug and Play (uPnP) Filtering

Before you begin

Create a port-based VLAN.

About this task

Use the following procedure to enable Universal Plug and Play (uPnP) Filtering on an IGMP-enabled interface. uPnP Filtering is disabled by default.

The default uPnP Filtering multicast group address range is 239.255.255.250/32. If you do not configure the multicast group range, uPnP Filtering filters multicast packets destined for the default multicast group range.

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. Enable uPnP Filtering:

    ip igmp upnp-filter [ip {A.B.C.D/X}]

Example

Enable uPnP Filtering on a VLAN using the default multicast group address range:

Switch:1(config-if)#ip igmp upnp-filter

Enable uPnP Filtering on a VLAN with configured multicast group address range:

Switch:1(config-if)#ip igmp upnp-filter ip 233.252.0.0/24

Variable definitions

The following table defines parameters for the ip igmp upnp-filter command.

Variable

Value

gigabitethernet {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.

ip {A.B.C.D/X}

Configures the multicast destination IP address range to filter for an IGMP interface. The default multicast group address is 239.255.255.250/32.

vlan <1-4059>

Specifies the VLAN.