MLD snooping commands

Use these M4500 CLI commands to enable MLD snooping for IPv6 multicast, configure fast-leave and timers, and display MLD snooping and SSM information.

show ipv6 mld snooping

Use this command to display mld snooping information.

Format show ipv6 mld snooping [interface {<slot/port> | vlan <vlan-id> | port-channel <portchannel-id>}]
Mode Privilege Exec
Parameter Description
vlan-id The VLAN ID. (Range: 1-4093)
slot/port portchannel-id Interface number Port-channel interface number. The range of port-channel ID is 1 to 64.

Display Message

If no parameters are specified, following information is displayed.

Term Definition
Admin Mode Indicates whether or not MLD Snooping is enabled on the switch.
Operational Mode Indicates whether or not MLD Snooping is active on the switch.
Multicast Control Frame Count Displays the number of MLD Control frames that are processed by the CPU.
Interfaces Enabled for MLD Snooping Interfaces on which MLD Snooping is enabled.
VLANs enabled for MLD snooping VLANs on which MLD Snooping is enabled.
VLANs Block enabled for snooping VLANs on which MLD Snooping is disabled.

If parameter <slot/port> or <portchannel-id> is specified, following information is displayed.

Term Definition
MLD Snooping Admin Mode Indicates whether MLD Snooping is active on the interface.
Fast Leave Mode Indicates whether MLD Snooping Fast Leave is active on the interface.
Group Membership Interval Shows the p in seconds that a switch will wait for a report from a particular group on a particular interface, which is participating on the interface, before deleting the interface from the entry. This value may be configured.
Max Response Time Displays the amount of time the switch waits after it sends a query on in interface, participating in the VLAN, because it did not receive a report for a particular group on that interface. This value may be configured.
Multicast Router Expiry Time Displays the amount of time to wait before removing an interface that is participating on the interface from the list of interfaces with multicast routers attached. The interface is removed if a query is not received. This value may be configured.

If parameter <vlan-id> is specified, following information appears.

Term Definition
VLAN ID VLAN ID.
MLD Snooping Admin Mode Indicates whether MLD Snooping is active on the VLAN.
Fast Leave Mode Indicates whether MLD Snooping Fast Leave is active on the VLAN.
Group Membership Interval Shows the amount of time in seconds that a switch will wait for a report from a particular group on a particular interface, which is participating in the VLAN, before deleting the interface from the entry. This value may be configured.
Max Response Time Shows the amount of time in seconds that a switch will wait after receiving an MLD Leave Packet.
Multicast Router Expiry Time Displays the amount of time to wait before removing an interface that is participating in the VLAN from the list of interfaces with multicast routers attached. The interface is removed if a query is not received. This value may be configured.
Vlan Block Mode Indicate whether Vlan Block Mode is active on the VLAN.

show ipv6 mld snooping mrouter interface

Use this command to display information about statically configured multicast router-attached interfaces.

Format show ipv6 mld snooping mrouter interface {<slot/port> | port-channel <portchannel-id>}
Mode Privilege Exec
Parameter Description
slot/port portchannel-id Interface number Port-channel interface number. The range of port-channel ID is 1 to 64.

Display Message

Term Definition
Interface Shows the interface on which multicast router information is being displayed.
Multicast Router Attached Indicates whether multicast router is statically enabled on the interface.

show ipv6 mld snooping mrouter vlan

Use this command to display information about statically configured multicast router-attached interfaces.

Format show ipv6 mld snooping mrouter vlan {<slot/port> | port-channel <portchannel-id>}
Mode Privilege Exec
Parameter Description
slot/port portchannel-id Interface number Port-channel interface number. The range of port-channel ID is 1 to 64.

Display Message

Term Definition
Interface Shows the interface on which multicast router information is being displayed.
VLAN ID Displays the list of VLANs of which the interface is a member.

show ipv6 mld snooping static

Use this command to display MLD snooping static information.

Format show ipv6 mld snooping static
Mode Privilege Exec

Display Message

Term Definition
VLAN The VLAN ID used with the MAC address to fully identify packets you want L2Mcast Group
MAC Address The MAC address of the L2Mcast Group in the format 33:33:xx:xx:xx:xx.
Port List the ports you want included into L2Mcast Group
State The active interface number belongs to this Multicast Group.

show mac-address-table mldsnooping

Use this command to display the MLD Snooping entries in the Multicast Forwarding Database (MFDB) table.

Format show mac-address-table mldsnooping
Mode Privilege Exec

Display Message

Term Definition
VLAN ID VLAN ID number
MAC Address A multicast MAC address for which the switch has forwarding or filtering information. The format is twodigit hexadecimal numbers that are separated by colons, for example 33:33:45:67:89:AB.
Type Description The type of entry, which is either static (added by the user) or dynamic (added to the table as a result of a learning process or protocol.) The text description of this multicast table entry.
Interfaces The list of interfaces that are designated for forwarding (Fwd:) and filtering (Flt:).

show ipv6 mld snooping ssm entries

Use this command to display MLD source specific multicast forwarding database.

Format show ipv6 mld snooping ssm entries
Mode Privilege Exec

Display Message

Term Definition
VLAN ID VLAN ID
Group Multicast Group IP address
Source IP Source IP address
Source Filter Mode Source filter mode (Include or Exclude) for the specified group on the specified interface and VLAN
Interfaces The list of interfaces which are included or excluded for specified group, VLAN and source address.

show ipv6 mld snooping ssm groups

Use this command to display MLD SSM group membership information.

Format show ipv6 mld snooping ssm groups
Mode Privilege Exec

Display Message

Term Definition
VLAN ID VLAN ID
Group Multicast Group IP address
Interface Interface which is included or excluded for specified group, VLAN and source address.
Reporter IP Address of the source of last membership report received for the specified group address on the specified interface and VLAN
Source Filter Mode Source filter mode (Include or Exclude) for the specified group on the specified interface and VLAN
Source Address List Source List Entry for the specified group address, interface and VLAN

show ipv6 mld snooping ssm stats

Use this command to display statistics of MLD snooping SSMFDB.

Format show ipv6 mld snooping ssm stats
Mode Privilege Exec

Display Message

Term Definition
Total Entries Maximum number of entries that the SSM MFDB table can hold for MLD snooping.
Most SSM FDB Entries Ever Used Most number of entries ever used in the MLD snooping SSM MFDB table.
Current Entries Current number of entries in the MLD snooping SSM MFDB table.

ipv6 mld snooping

Use this command to enable MLD Snooping globally.

Default Disable
Format ipv6 mld snooping
Mode Global Config

no ipv6 mld snooping

Use this command to disable MLD Snooping globally.

Format no ipv6 mld snooping
Mode Global Config

clear mld snooping

Use this command to delete all dynamic entries in Multicast Forwarding Database which is managed by the MLD Snooping.

Default None
Format clear mld snooping
Mode Privilege Exec

ipv6 mld snooping interfacemode

Use this command to enable MLD Snooping on a particular interface.

Default Disable
Format ipv6 mld snooping interfacemode
Mode Interface Config

no ipv6 mld snooping interfacemode

Use this command to disable MLD Snooping on a particular interface.

Format no ipv6 mld snooping interfacemode
Mode Interface Config

ipv6 mld snooping interfacemode all

Use this command to enable MLD Snooping on all interfaces.

Default Disable
Format ipv6 mld snooping interfacemode all
Mode Global Config

no ipv6 mld snooping interfacemode all

Use this command to disable MLD Snooping on all interfaces.

Format no ipv6 mld snooping interfacemode all
Mode Global Config

ipv6 mld snooping fast-leave

Use this command to enable MLD Snooping fast-leave admin mode on a particular interface or all interfaces.

Default Disable
Format ipv6 mld snooping fast-leave
Mode

Global Config

Interface Config

no ipv6 mld snooping fast-leave

Use this command to disable MLD Snooping fast-leave admin mode on a particular interface or all interfaces.

Format no ipv6 mld snooping fast-leave
Mode

Global Config

Interface Config

ipv6 mld snooping groupmembershipinterval

Use this command to configure the MLD Group Membership Interval time on a particular interface or all interfaces.

Default 260
Format ipv6 mld snooping groupmembershipinterval <2-3600>
Mode Global Config

Interface Config

no ipv6 mld snooping groupmembershipinterval

Use this command to restore the MLD Group Membership Interval time to default value.

Format no ipv6 mld snooping groupmembershipinterval
Mode

Global Config

Interface Config

ipv6 mld snooping mcrtrexpiretime

Use this command to configure the Multicast Router Present Expiration time for the system or on a particular interface.

Default 300 seconds
Format ipv6 mld snooping mcrtrexpiretime <0-3600>
Mode

Global Config

Interface Config

no ipv6 mld snooping mcrtrexpiretime

Use this command to restore the Multicast Router Present Expiration time to default value.

Format no ipv6 mld snooping mcrtrexpiretime
Mode

Global Config

Interface Config

ipv6 mld snooping mrouter

Use this command to configure the interface as a multicast router-attached interface or configure the VLAN ID for the VLAN that has the multicast router attached mode enabled.

Default None
Format ipv6 mld snooping mrouter {interface |<vlan-id>}
Mode Interface Config

no ipv6 mld snooping mrouter

Use this command to disable multicast router attached mode for the interface or a VLAN.

Format no ipv6 mld snooping mrouter {interface|<vlan-id>}
Mode Interface Config
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

ipv6 mld snooping static

Use this command to add an interface to ipv6 multicast group.

Default None
Format ipv6 mld snooping static <macaddr> vlan <vlan-id> [interface {<slot/port> | port-channel <portchannel-id>}]
Mode Global Config

no ipv6 mld snooping static

Use this command to remove an interface from ipv6 multicast group.

Format no ipv6 mld snooping static <macaddr> vlan <vlan-id> interface {<slot/port> | port-channel <portchannel-id>}
Mode Global Config
Parameter Description
vlan-id The VLAN ID. (Range: 1-4093)
macaddr Multicast Group MAC address
slot/port Interface number
portchannel-id Port-channel interface number. The range of port-channel ID is 1 to 64.

set mld

Use this command to enable MLD Snooping on a particular VLAN.

Default Disable
Format set mld <vlan-id>
Mode VLAN database

no set mld

Use this command to disable MLD Snooping on a particular VLAN.

Format no set mld <vlan-id>
Mode VLAN database
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

set mld fast-leave

Use this command to enable MLD Snooping fast-leave admin mode on a particular VLAN.

Default Disable
Format set mld fast-leave <vlan-id>
Mode VLAN database

no set mld fast-leave

Use this command to disable MLD Snooping fast-leave admin mode on a particular VLAN.

Format no set mld fast-leave <vlan-id>
Mode VLAN database
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

set mld groupmembership-interval

Use this command to configure the MLD Group Membership Interval time on a particular VLAN.

Default 260
Format set mld groupmembership-interval <vlan-id> <2-3600>
Mode VLAN database

no set mld groupmembership-interval

Use this command to restore the MLD Group Membership Interval time on a particular VLAN to default value.

Format no set mld groupmembership-interval <vlan-id>
Mode VLAN database
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

set mld maxresponse

Use this command to configure the MLD Maximum Response time on a particular VLAN.

Default 10
Format set mld maxresponse <vlan-id> <1-65>
Mode VLAN database

no set mld maxresponse

Use this command to restore the MLD Maximum Response time on a particular VLAN to default value.

Format no set mld maxresponse <vlan-id>
Mode VLAN database
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)

set mld mcrtrexpiretime

Use this command to configure the Multicast Router Present Expiration time on a particular VLAN.

Default 300 seconds
Format set mld mcrtrexpiretime <vlan-id> <0-3600>
Mode VLAN database

no set mld mcrtrexpiretime

Use this command to restore the Multicast Router Present Expiration time on a particular VLAN to default value.

Format no set mld mcrtrexpiretime <vlan-id>
Mode VLAN database
Parameter Description
<vlan-id> The VLAN ID. (Range: 1-4093)