Layer 2 MLD Snooping Commands
This chapter describes the Layer 2 Multicast Listener Discovery (MLD) Snooping commands:
clear mld snooping
Use this command to clear MLD snooping groups and interface.
Command Syntax
clear mld snooping group *
clear mld snooping group X.X.X.X (IFNAME|)
clear mld snooping interface IFNAME
Parameters
*
Displays all groups
IFNAME
The name of the VLAN interface
X:X::X:X
Multicast group Address
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0 and updated in OcNOS version 6.2.0.
Examples
#clear mld snooping group *
mld snooping
Use this command to enable/disable MLD snooping on VLAN interfaces. When this command is given at the VLAN interface level, mld snooping can be enabled/disabled for that VLAN.
Use the no parameter with this command to globally disable MLD Snooping, or for the specified interface.
Command Syntax
mld snooping (enable|disable)
no mld snooping
Parameters
None
Default
By default, MLD Snooping is enabled in global config mode.
Command Mode
Configure mode and Interface mode for VLAN interface.
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#configure terminal
(config)#int vlan1.100
(config-if)#mld snooping enable
(config-if)#mld snooping disable
(config)#mld snooping
%% Already enabled by default
(config)#no mld snooping
mld snooping fast-leave
Use this command to enable MLD snooping fast-leave processing. MLD group-membership is removed, as soon as an MLD leave group message is received without sending out a group-specific query.
Use the no parameter with this command to disable fast-leave processing.
Command Syntax
mld snooping fast-leave
no mld snooping fast-leave
Parameters
None
Default
By default, MLD Snooping fast-leave processing is disabled.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#configure terminal
(config)#interface vlan1.100
(config-if)#mld snooping fast-leave
(config-if)#exit
mld snooping mrouter
Use this command to statically configure the specified VLAN constituent interface as a multicast router interface for MLD snooping in that VLAN.
Use the no parameter with this command to remove the static configuration of the interface as a multicast router interface.
Command Syntax
mld snooping mrouter interface IFNAME
no mld snooping mrouter interface IFNAME
Parameters
IFNAME
Specify the name of the interface.
Default
N/A
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#configure terminal
(config)#interface vlan1.100
(config-if)#mld snooping mrouter interface eth1
(config-if)#exit
mld snooping querier
Use this command to enable MLD querier operation on a subnet (VLAN) when no multicast routing protocol is configured in the subnet (VLAN). When enabled, the MLD snooping querier sends out periodic MLD queries for all interfaces on that VLAN.
The MLD snooping querier uses the 0.0.0.0 source IP address, because it masquerades as a proxy MLD querier for faster network convergence. It does not start or automatically cease the MLD querier operation if it detects a query message from a multicast router. It restarts as MLD snooping querier if no queries are seen within another querier interval.
Note: This command can only be configured on VLAN interfaces.
Use the no parameter with this command to disable MLD querier configuration.
Command Syntax
mld snooping querier
no mld snooping querier
Parameters
None
Default
By default, MLD snooping querier is disabled.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 3.0.
Example
#configure terminal
(config)#interface vlan1.100
(config-if)#mld snooping querier
(config-if)#exit
mld snooping report-suppression
Use this command to enable report suppression for MLD version 1.
Use the no parameter to disable report suppression.
Note: MLD Snooping command can only be configured on VLAN interfaces. MLD snooping report suppression is supported on x86 and not supported on Qumran devices.
Command Syntax
mld snooping report-suppression
no mld snooping report-suppression
Parameters
None
Default
By default, MLD snooping report suppression is enabled on x86.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#configure terminal
(config)#interface vlan1.100
(config-if)#mld snooping report-suppression
(config-if)#exit
show debugging mld snooping
Use this command to display debugging information for MLD.
Command Syntax
show debugging mld snooping
Parameters
None
Default
N/A
Command Mode
Privileged Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#show debugging mld snooping
MLD Snooping Debugging status:
MLD Snooping Decoder debugging is on
MLD Snooping Encoder debugging is on
MLD Snooping Events debugging is on
MLD Snooping FSM debugging is on
MLD Snooping Tree-Info-Base (TIB) debugging is on
show mld snooping mrouter
Use this command to display the multicast router interfaces, both configured and learned, in a VLAN.
Command Syntax
show mld snooping mrouter (IFNAME|)
Parameters
IFNAME
The name of the VLAN interface
Default
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
#show mld snooping mrouter vlan1.100
VLAN Interface IP-address Expires
100 eth3(dynamic) fe80::a00:27ff:fe6f:5bc1 00:02:16
#show mld snooping mrouter
VLAN Interface IP-address Expires
400 eth4(static) -- --
100 eth1(dynamic) fe80::a00:27ff:fe27:9856 00:02:19
200 eth2(dynamic) fe80::a00:27ff:fe32:7951 00:02:45
300 eth3(dynamic) fe80::a00:27ff:feff:f063 00:01:51
show mld snooping statistics
Use this command to display MLD snooping statistics data.
Command Syntax
show mld snooping statistics
show mld snooping statistics (interface IFNAME|)
show mld snooping statistics (count)
Parameters
IFNAME
The name of the VLAN interface
Count
Consolidated group statistics
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#show mld snooping statistics
MLD Snooping statistics for vlan1.300
Group Count : 2
MLDv1 reports received : 0
MLDv2 reports received : 2
MLDv1 leaves received : 0
MLDv1 query warnings : 0
MLDv2 query warnings : 0
#show mld snooping statistics count
MLD Snooping consolidated statistics
Total number of groups : 2
Total MLDv1 reports received : 0
Total MLDv2 reports received : 4
Total MLDv1 leaves received : 2
Total MLDv1 query warnings : 0
Total MLDv2 query warnings : 0
#show mld snooping statistics interface vlan1.100
MLD Snooping statistics for vlan1.100
Group Count : 0
MLDv1 reports received : 0
MLDv2 reports received : 2
MLDv1 leaves received : 1
MLDv1 query warnings : 0
MLDv2 query warnings : 0
show mld snooping groups
Use this command to display MLD snooping groups.
Command Syntax
show mld snooping groups
show mld snooping groups (IFNAME|)
show mld snooping groups (IFNAME|) detail
show mld snooping groups X.X.X.X
show mld snooping groups X.X.X.X detail.
Parameters
IFNAME
The name of the VLAN interface
X:X::X:X
Address of multicast group
detail
MLDv2 source information
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#sh mld snooping groups detail
MLD Connected Group Membership Details for eth3
Interface: eth3
Group: ff1e::10
Uptime: 00:00:10
Group mode: Include ()
Last reporter: fe80::a00:27ff:febb:5235
Group source list: (R - Remote, M - SSM Mapping, S - Static )
Source Address Uptime v2 Exp Fwd Flags
3000::10 00:00:10 00:04:09 Yes R
show mld snooping interface
Use this command to know querier, fast-leave, report-suppression is enabled/disabled on that particular interface.
Command Syntax
show mld snooping interface (IFNAME|)
Parameters
IFNAME
Name of the interface.
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 3.0.
Example
#sh mld snooping interface vlan1.100
MLD Snooping information for vlan1.100 (Index 9)
MLD Snooping is globally enabled
MLD Snooping is enabled on this interface
MLD Active, Non-Querier,
Internet address is fe80::a00:27ff:fe8d:e47a
MLD querying router is :
MLD query interval is 125 seconds
MLD querier timeout is 255 seconds
MLD max query response time is 10 seconds
Last member query response interval is 1000 milliseconds
Group Membership interval is 260 seconds
MLD Snooping fast-leave is not enabled
MLD Snooping querier is not enabled
MLD Snooping report suppression is disabled
Number of Groups: 0
Number of v1-reports: 0
Number of v1-leaves: 0
Number of v2-reports: 0
Active Ports:
eth2