L2 MLD Snooping Commands
This chapter describes commands for Multicast Listener Discovery (MLD) snooping.
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 MLD Snooping. When this command is given in the Configure mode, MLD Snooping is enabled at the switch level. When this command is given at the VLAN interface level, MLD Snooping is enabled for that VLAN.
Use the no parameter with this command to globally disable MLD Snooping, or for the specified interface.
Command Syntax
mld snooping
mld (vrf NAME|) snooping
no mld snooping
no mld (vrf NAME|) snooping
Parameter
vrf
Specify the VRF name.
Default
MLD Snooping is enabled.
Command Mode
Configure mode and Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#mld snooping
(config)#interface vlan1.1
(config-if)#mld snooping
mld snooping fast-leave
Use this command to enable MLD Snooping fast-leave processing. Fast-leave processing is analogous to immediate-leave processing; the 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
MLD Snooping fast-leave processing is disabled.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to enable fast-leave processing on a VLAN.
#configure terminal
(config)#interface vlan1.1
(config-if)#mld snooping fast-leave
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.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to specify the next-hop interface to the multicast router.
#configure terminal
(config)#interface vlan1.1
(config-if)#mld snooping mrouter interface fe8
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
Default
By default MLD snooping querier is disabled
Parameters
None
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#interface vlan1.1
(config-if)#mld snooping querier
mld snooping report-suppression
Use this command to enable report suppression for MLD version 1.
Note: MLD Snooping command can only be configured on VLAN interfaces.
Use the no parameter to disable report suppression.
Command Syntax
mld snooping report-suppression
no mld snooping report-suppression
Default
By default, mld snooping report suppression is enabled
Parameters
None
Default
Report suppression does not apply to MLDv2, so it is turned off by default for MLDv1 reports.
Command Mode
Interface mode for VLAN interface
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to enable report suppression for MLDv1 reports.
#configure terminal
(config)#interface vlan1.1
(config-if)#mld version 1
(config-if)#mld snooping report-suppression
show debugging mld
Use this command to display debugging information for MLD.
Command Syntax
show debugging mld
show debugging mld (vrf NAME|)
Parameters
vrf
Indicates the vrf keyword.
NAME
Displays the VRF name.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following is a sample output of the show debugging mld command:
#show debugging nsm
show debugging mld
MLD Debugging status:
MLD Decoder debugging is off
MLD Encoder debugging is off
MLD Events debugging is off
MLD FSM debugging is off
MLD Tree-Info-Base (TIB) debugging is off
#
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
show mld (vrf NAME|) snooping mrouter IFNAME
Parameters
vrf
Indicates the vrf keyword.
NAME
Displays the VRF name..
IFNAME
The name of the VLAN interface
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following displays the multicast router interfaces in VLAN 1.1
#show mld snooping mrouter vlan1.1
VLAN Interface
1 ge9
1 ge11
show mld snooping statistics
Use this command to display MLD Snooping statistics data.
Command Syntax
show mld snooping statistics interface IFNAME
show mld (vrf NAME|) snooping statistics interface IFNAME
Parameters
vrf
Indicates the vrf keyword.
NAME
Displays the VRF name.
IFNAME
The name of the VLAN interface
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
The following displays MLDv2 statistical information for the ge10 interface.
#show mld snooping statistics ge10
Interface: ge10
Group: ff1e::10
Uptime: 00:00:13
Group mode: Include
Last reporter: fe80::202:b3ff:fef0:79d8
Group source list: (R - Remote, M - SSM Mapping)
Source Address Uptime v2 Exp Fwd Flags
7ffe::4 00:00:13 00:04:06 Yes R
#
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