C H A P T E R 7

MLDS

MLD is a protocol used by an IPv6 router to discover the presence of multicast listeners (nodes willing to receive multicast packets) on its directly attached links. IPv6 routers also use MLD to discover specifically which multicast address is of interest to neighboring nodes. MLD can also be used by applications to listen to some multicast groups.

MLDS software is designed in accordance with the FSAP frame to ensure a high level of portability.

The list of CLI commands for the configuration of MLDS is common to both Single Instance and multiple instance except for a difference in the prompt that appears for the switch with multiple instance support.

The prompt for the Global Configuration mode is as follows:

    SEFOS(config)#

##

7.1 MLDS Commands

The list of CLI commands for the configuration of MLDS is as follows:

- ipv6 mld snooping

- ipv6 mld snooping proxy-reporting

- snooping multicast-forwarding-mode

- ipv6 mld snooping mrouter-time-out

- ipv6 mld snooping port-purge-interval

- ipv6 mld snooping report-suppression-interval

- ipv6 mld snooping retry-count

- ipv6 mld snooping group-query-interval

- ipv6 mld snooping report-forward

- ipv6 mld snooping version

- ipv6 mld snooping fast-leave

- ipv6 mld snooping querier

- ipv6 mld snooping query-interval

- ipv6 mld snooping mrouter

- shutdown snooping

- debug ipv6 mld snooping

- show ipv6 mld snooping mrouter

- show ipv6 mld snooping globals

- show ipv6 mld snooping

- show ipv6 mld snooping groups

- show ipv6 mld snooping forwarding-database

- show ipv6 mld snooping statistics

### 7.1.1 `ipv6 mld snooping`

Enables MLD snooping in the switch or a specific VLAN. The `no` form of the command disables MLD snooping in the switch or a specific VLAN.

    ipv6 mld snooping

    no ipv6 mld snooping

Mode | Global Configuration Config-VLAN
Defaults | MLD snooping is globally disabled
Example | SEFOS(config)# ipv6 mld snooping SEFOS(config-vlan)# ipv6 mld snooping
Notes | When MLD snooping is enabled globally, it is enabled in all the existing VLAN interfaces. When MLD snooping is disabled globally, it is disabled in all the existing VLAN interfaces. GMRP must be disabled for MLDS to be enabled.

#### Related Commands

- shutdown snooping- Shuts down the snooping in the switch

- show ipv6 mld snooping groups - Displays the global MLD snooping information

- show ipv6 mld snooping - Displays MLD snooping information for all VLANs or a specific VLAN

- snooping multicast-forwarding-mode - Specifies the snooping multicast forwarding mode

### 7.1.2 `ipv6 mld snooping proxy-reporting`

Enables proxy reporting in the MLD snooping switch. The `no` form of the command disables proxy reporting in the MLD snooping switch.

    ipv6 mld snooping proxy-reporting

    no ipv6 mld snooping proxy-reporting

Mode | Global Configuration
Defaults | Proxy-reporting is enabled
Example | SEFOS(config)# ipv6 mld snooping proxy-reporting
Notes | Proxy reporting can be enabled in the MLD snooping switch only if the proxy is disabled in the switch.

#### Related Commands

- show ipv6 mld snooping globals - Displays the global MLD snooping information.

- no ipv6 mld snooping proxy-reporting - Disables proxy reporting in the MLD snooping switch.

### 7.1.3 `snooping multicast-forwarding-mode`

Specifies the snooping multicast forwarding mode (IP based or MAC based).

    snooping multicast-forwarding-mode {ip | mac}

Syntax Description | ip - IP address based mac - MAC address based
Mode | Global Configuration
Defaults | ip
Example | SEFOS(config)# snooping multicast-forwarding-mode mac

#### Related Commands

- show ipv6 mld snooping globals - Displays the global MLD snooping information

### 7.1.4 `ipv6 mld snooping mrouter-time-out`

Sets the MLD snooping router purge time-out after which the port gets deleted if no MLD router control packets are received. The `no` form of the command sets the MLD snooping router port purge time to the default value.

    ipv6 mld snooping mrouter-time-out 60-600_seconds

    no ipv6 mld snooping mrouter-time-out

Mode | Global Configuration
Defaults | 125
Example | SEFOS(config)# ipv6 mld snooping mrouter-time-out 75

#### Related Commands

- show ipv6 mld snooping mrouter - Displays the router ports for all the VLANs or a specific VLAN

### 7.1.5 `ipv6 mld snooping port-purge-interval`

Sets the MLD snooping port purge time interval after which the port gets deleted if MLD reports are not received. The `no` form of the command sets the MLD snooping port purge time to default value.

    ipv6 mld snooping port-purge-interval 130-1225_seconds

    no ipv6 mld snooping port-purge-interval

Mode | Global Configuration
Defaults | 260
Example | SEFOS(config)# ipv6 mld snooping port-purge-interval 200

#### Related Commands

- show ipv6 mld snooping globals - Displays the MLD snooping information for all VLANs or a specific VLAN

### 7.1.6 `ipv6 mld snooping report-suppression-interval`

Sets the MLD snooping report-suppression time interval for which MLDv1 report messages will not get forwarded onto the router ports for the same group. The `no` form of the command sets the MLD snooping report-suppression time to default value.

    ipv6 mld snooping report-suppression-interval 1-25_seconds

    no ipv6 mld snooping report-suppression-interval

Mode | Global Configuration
Defaults | 5
Example | SEFOS(config)# ipv6 mld snooping report-suppression-interval 20
Notes | This time interval is used when both proxy and proxy-reporting are disabled.

#### Related Commands

- show ipv6 mld snooping globals - Displays the global MLD snooping information

### 7.1.7 `ipv6 mld snooping retry-count`

Sets the maximum number of group specific queries sent on a port on the reception of MLDv1 done message. The `no` form of the command sets the number of group specific queries sent on a port on the reception of done message to default value.

    ipv6 mld snooping retry-count 1-5

    no ipv6 mld snooping retry-count

Mode | Global Configuration
Defaults | 2
Example | SEFOS(config)# ipv6 mld snooping retry-count 3

#### Related Commands

- show ipv6 mld snooping globals - Displays the global MLD snooping information

### 7.1.8 `ipv6 mld snooping group-query-interval`

Sets the time interval after which the switch sends a group specific query on a port. The `no` form of the command sets the group specific query interval time to default value.

    ipv6 mld snooping group-query-interval 2-5_seconds

    no ipv6 mld snooping group-query-interval

Mode | Global Configuration
Defaults | 2
Example | SEFOS(config)# ipv6 mld snooping group-query-interval 3

#### Related Commands

- show ipv6 mld snooping globals - Displays the global MLD snooping information

- show ipv6 mld snooping groups - Displays MLDS group information for all VLANs or a specific VLAN or a specific VLAN and group address

- show ipv6 mld snooping statistics - Displays MLD snooping statistics for all VLANs or a specific VLAN

### 7.1.9 `ipv6 mld snooping report-forward`

Specifies whether the MLD reports are forwarded on all VLAN member ports or router ports. The `no` form of the command sets the MLD report-forwarding status to default value.

    ipv6 mld snooping report-forward {all-ports | router-ports}

    no ipv6 mld snooping report-forward

Syntax Description | all-ports - MLD reports forwarded on all the ports of a VLAN router-ports - MLD reports forwarded on router ports of a VLAN
Mode | Global Configuration
Defaults | router-ports
Example | SEFOS(config)# ipv6 mld snooping report-forward router-ports
Notes | This configuration is not valid in proxy or proxy-reporting mode. In snooping mode, snooping module will forward reports only on router ports by default.

#### Related Commands

- show ipv6 mld snooping globals - Displays the global MLD snooping information

### 7.1.10 `ipv6 mld snooping version`

Sets the operating version of the MLD snooping switch for a specific VLAN.

    ipv6 mld snooping version {v1 | v2}

Syntax Description | v1 - MLD snooping Version 1 v2 - MLD snooping Version 2
Mode | Config-VLAN
Defaults | v2
Example | SEFOS(config-vlan)# ipv6 mld snooping version v1

#### Related Commands

- show ipv6 mld snooping - Displays MLD snooping information for all VLANs or a specific VLAN

### 7.1.11 `ipv6 mld snooping fast-leave`

Enables fast leave processing for a specific VLAN. The `no` form of the command disables fast leave processing for a specific VLAN.

    ipv6 mld snooping fast-leave

    no ipv6 mld snooping fast-leave

Mode | Config-VLAN
Defaults | Disabled.
Example | SEFOS(config-vlan)# ipv6 mld snooping fast-leave

#### Related Commands

- show ipv6 mld snooping - Displays MLD snooping information for all VLANs or a specific VLAN

### 7.1.12 `ipv6 mld snooping querier`

Configures the MLD snooping switch as a querier for a specific VLAN. The `no` form of the command configures the MLD snooping switch as non-querier for a specific VLAN.

    ipv6 mld snooping querier

    no ipv6 mld snooping querier

Mode | Config-VLAN
Defaults | Non-querier
Example | SEFOS(config-vlan)# ipv6 mld snooping querier

#### Related Commands

- show ipv6 mld snooping - Displays MLD snooping information for all VLANs or a specific VLAN

### 7.1.13 `ipv6 mld snooping query-interval`

Sets the time period with which the general queries are sent by the MLD snooping switch when it is configured as a querier on the VLAN. The `no` form of the command sets the MLDS querier interval to default value.

    ipv6 mld snooping query-interval 60-600_seconds

    no ipv6 mld snooping query-interval

Mode | Config-VLAN
Defaults | 125
Example | SEFOS(config-vlan)# ipv6 mld snooping query-interval 65
Notes | In proxy reporting mode, general queries are sent on all downstream interfaces with this interval only if the switch is the Querier. In proxy mode, general queries will be sent on all downstream interfaces with this interval.

#### Related Commands

- show ipv6 mld snooping - Displays MLD snooping information for all VLANs or a specific VLAN

### 7.1.14 `ipv6 mld snooping mrouter`

Configures statically the router ports for a VLAN. The `no` form of the command deletes the statically configured router ports for a VLAN.

    ipv6 mld snooping mrouter <interface-type> <0/a-b, 0/c, ...

    no ipv6 mld snooping mrouter <interface-type> <0/a-b, 0/c, ...

Mode | Config-VLAN
Example | SEFOS(config-vlan)# ipv6 mld snooping mrouter extreme-ethernet 0/1-3

#### Related Commands

- show ipv6 mld snooping mrouter - Displays the router ports for all the VLANs or a specific VLAN.

- ip igmp snooping mrouter-port -time-out - Configures the router port purge time-out interval for a VLAN.

- ip igmp snooping mrouter-port-version - Configures the operating version of the router port for a VLAN.

### 7.1.15 `shutdown snooping`

Shuts down snooping in the switch. The `no` form of the command starts and enables snooping in the switch.

    shutdown snooping

    no shutdown snooping

Mode | Global Configuration
Defaults | No shutdown snooping
Example | SEFOS(config)# shutdown snooping
Notes | When shutdown, all resources acquired by the snooping module are released to the system For the MLDS feature to be functional on the switch, the `system-control` status must be set as `start` and the `state` must be `enabled`.

#### Related Commands

- ipv6 mld snooping - Enables MLD snooping in the switch

### 7.1.16 `debug ipv6 mld snooping`

Specifies the debug levels for MLD snooping module. The `no` form of the command resets the debug options for MLD snooping module.

    debug ipv6 mld snooping {[init] [resources] [tmr] [src] [grp] [qry] [vlan] [pkt] [fwd] [mgmt] | all}

    no debug ipv6 mld snooping {[init] [resources] [tmr] [src] [grp] [qry] [vlan] [pkt] [fwd] [mgmt] | all}

Syntax Description | init - Init and shutdown messages. resources - System resources management messages. tmr - Timer messages. src - Source information messages. grp - Group information messages. qry - Query related messages. pkt - Packet dump messages. fwd - Forwarding database messages. mgmt - Management related messages. redundancy - Redundancy related messages. The keyword `redundancy` is not supported. all - All messages.
Mode | Privileged EXEC
Defaults | Debugging is disabled.
Example | SEFOS# debug ipv6 mld snooping fwd

### 7.1.17 `show ipv6 mld snooping mrouter`

Displays the router ports for all the VLANs or a specific VLAN.

    show ipv6 mld snooping mrouter [Vlan vlan-index] [detail]

Syntax Description | Vlan - VLAN index. detail - Displays detailed information about the router ports.
Example | Single Instance SEFOS# show ipv6 mld snooping mrouter Vlan 1 Vlan Ports ----- --------- 1 Ex0/1(static) Multiple Instance SEFOS# show ipv6 mld snooping mrouter Switch cust1 Vlan Ports ----- ------ 2 Ex0/4(static) Switch cust2 Vlan Ports ----- ------ 1 Ex0/10(static) 2 Ex0/9(dynamic)

#### Related Commands

- ipv6 mld snooping mrouter - Configures statically the router ports for a VLAN.

- ip igmp snooping mrouter-port -time-out - Configures the router port purge time-out interval for a VLAN.

- ip igmp snooping mrouter-port-version - Configures the operating version of the router port for a VLAN.

### 7.1.18 `show ipv6 mld snooping globals`

Displays the global MLD snooping information for all VLANs or a specific VLAN.

    show ipv6 mld snooping globals

Mode | Privileged EXEC Mode
Example | SEFOS# show ipv6 mld snooping globals Snooping Configuration ----------------------------- MLD Snooping globally enabled MLD Snooping is operationally enabled Transmit Query on Topology Change globally disabled Multicast forwarding mode is MAC based Proxy globally disabled Proxy reporting globally enabled Filter is disabled Router port purge interval is 125 seconds Port purge interval is 260 seconds Report forward interval is 5 seconds Group specific query interval is 2 seconds Reports are forwarded on router ports Group specific query retry count is 2 Multicast VLAN disabled Leave config level is Vlan based

#### Related Commands

- ipv6 mld snooping - Enables MLD snooping in the switch

- ipv6 mld snooping proxy-reporting - Enables proxy reporting in the MLD snooping switch

- snooping multicast-forwarding-mode - Specifies the snooping multicast forwarding mode

- ipv6 mld snooping port-purge-interval - Sets the MLD snooping port purge time interval after which the port gets deleted if MLD reports are not received

- ipv6 mld snooping report-suppression-interval - Sets the MLD snooping report-suppression time interval

- ipv6 mld snooping retry-count - Sets the maximum number of group specific queries sent on a port on the reception of MLDv1 done message

- ipv6 mld snooping version - Sets the operating version of the MLD snooping switch for a specific VLAN

- ipv6 mld snooping report-forward - Specifies whether the MLD reports are forwarded on all VLAN member ports or router ports

- ipv6 mld snooping proxy-reporting - Enables proxy reporting in the MLD snooping switch

### 7.1.19 `show ipv6 mld snooping`

Displays MLD snooping information for all VLANs or a specific VLAN.

    show ipv6 mld snooping [Vlan vlan-id]

Mode | Privileged EXEC
Example | Single Instance SEFOS# show ipv6 mld snooping Vlan 1 Snooping VLAN Configuration for the VLAN 1 MLD Snooping enabled MLD configured version is V2 Fast leave is disabled Snooping switch is configured as Querier Snooping switch is acting as Non-Querier Query interval is 125 seconds Port Purge Interval is 157 seconds Max Response Code is 10000, Time is 10 seconds Multiple Instance SEFOS# show ipv6 mld snooping Switch default Snooping VLAN Configuration for the VLAN 1 MLD Snooping enabled MLD configured version is V2 Fast leave is disabled Snooping switch is acting as Non-Querier Query interval is 125 seconds Port Purge Interval is 260 seconds Max Response Code is 10000, Time is 10 seconds

#### Related Commands

- ipv6 mld snooping - Enables MLD snooping in the switch

- ipv6 mld snooping version - Sets the operating version of the MLD snooping switch for a specific VLAN

- ipv6 mld snooping fast-leave- Enables fast leave processing for a specific VLAN

- ipv6 mld snooping querier - Configures the MLD snooping switch as a querier for a specific VLAN

- ipv6 mld snooping query-interval - Sets the time period with which the general queries are sent by the MLD snooping switch when it is configured as a querier on the VLAN

- ip igmp snooping max-response-code - Sets the maximum response code send in general queries

### 7.1.20 `show ipv6 mld snooping groups`

Displays the MLDS group information for all VLANs or a specific VLAN or a specific VLAN and group address.

    show ipv6 mld snooping groups [Vlan vlan-id [Group address]] string_32]

Syntax Description | Vlan - VLAN identifier. Group - Group address of the VLAN identifier.
Mode | Privileged EXEC
Example | Single Instance SEFOS# show ipv6 mld snooping groups Snooping Group information ----------------------------- VLAN ID:1 Group Address: ff07::1:1 Filter Mode: EXCLUDE Exclude sources: None ASM Receiver Ports: Ex0/1
| Multiple Instance SEFOS# show ipv6 mld snooping groups Switch cust1 Snooping Group information ----------------------------- VLAN ID:2 Group Address: ff02::1:1 Filter Mode: EXCLUDE Exclude sources: None Receiver Ports: Ex0/5 VLAN ID:2 Group Address: ff02::2:2 Filter Mode: EXCLUDE Exclude sources: None Receiver Ports: Ex0/5 Ex0/11
| Switch cust2 Snooping Group information ----------------------------- VLAN ID:2 Group Address: ff02::1:1 Filter Mode: EXCLUDE Exclude sources: None Receiver Ports: Ex0/10 VLAN ID:2 Group Address: ff02::2:2 Filter Mode: EXCLUDE Exclude sources: None Receiver Ports:

#### Related Commands

- ipv6 mld snooping - Enables MLD snooping in the switch

### 7.1.21 `show ipv6 mld snooping forwarding-database`

Displays multicast forwarding entries for all VLANs or a specific VLAN.

    show ipv6 mld snooping forwarding-database [Vlan vlan-id]

Mode | Privileged EXEC
Example | Single Instance /* IP based */ SEFOS# show ipv6 mld snooping forwarding-database Vlan Source Address Group Address Ports ---- -------------- ------------- ----- 1 fe80::7 ff07::1:1 Ex0/1 /* MAC based */ SEFOS# show ipv6 mld snooping forwarding-database Vlan MAC-Address Ports ---- ----------------- ----- 1 33:33:00:01:00:01 Ex0/1
| Multiple Instance SEFOS# show ipv6 mld snooping forwarding-database Switch cust1 Vlan MAC-Address Ports ---- ----------------- ----- 2 33:33:00:01:00:01 Ex0/5 2 33:33:00:02:00:02 Ex0/5 Switch cust2 Vlan MAC-Address Ports ---- ----------------- ----- 2 33:33:00:01:00:01 Ex0/9, Ex0/10 2 33:33:00:02:00:02 Ex0/9, Ex0/11

#### Related Commands

- ipv6 mld snooping - Enables MLD snooping in the switch

### 7.1.22 `show ipv6 mld snooping statistics`

Diisplays MLD snooping statistics for all VLANs or a specific VLAN.

    show ipv6 mld snooping statistics [Vlan vlan-id]

Mode | Privileged EXEC
Example | Single Instance SEFOS# show ipv6 mld snooping statistics Snooping Statistics for VLAN 1 General queries received : 0 Group specific queries received : 0 Group and source specific queries received : 0 ASM reports received : 1 SSM reports received : 0 IS_INCLUDE messages received : 0 IS_EXCLUDE messages received : 0 TO_INCLUDE messages received : 0 TO_EXCLUDE messages received : 0
| ALLOW messages received : 0 Block messages received : 0 Done messages received : 0 General queries transmitted : 0 Group specific queries transmitted : 0 Group and source specific queries transmitted : 0 ASM reports transmitted : 0 SSM reports transmitted : 0 Done messages transmitted : 0 Unsuccessful joins recieved count Per Vlan : 0 Active/Successful joins recieved count Per Vlan: 0 Active Groups count: 0 Packets dropped : 0
| Multiple Instance SEFOS# show ipv6 mld snooping statistics Switch cust1 Snooping Statistics for VLAN 2 General queries received : 0 Group specific queries received : 0 Group and source specific queries received : 0 ASM reports received : 0 SSM reports received : 3 IS_INCLUDE messages received : 0 IS_EXCLUDE messages received : 0 TO_INCLUDE messages received : 0 TO_EXCLUDE messages received : 0 ALLOW messages received : 0 Block messages received : 0
| Done messages received : 0 General queries transmitted : 2 Group specific queries transmitted : 0 ASM reports transmitted : 0 SSM reports transmitted : 0 Done messages transmitted : 0 Packets dropped : 0 Switch cust2
| Snooping Statistics for VLAN 2 General queries received : 2 Group specific queries received : 0 Group and source specific queries received : 0 ASM reports received : 58 SSM reports received : 0 IS_INCLUDE messages received : 0 IS_EXCLUDE messages received : 0 TO_INCLUDE messages received : 0 TO_EXCLUDE messages received : 0 ALLOW messages received : 0 Block messages received : 0 Done messages received : 0 General queries transmitted : 0
| Group specific queries transmitted : 0 ASM reports transmitted : 0 SSM reports transmitted : 3 Done messages transmitted : 0 Packets dropped : 0

#### Related Commands

- ipv6 mld snooping - Enables MLD snooping in the switch

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.