# Monitoring MLD

You can establish a reference point for MLD statistics by setting the statistics counters to zero.

To display MLD parameters, use the show commands described in this section.

| Note: The E120 and E320 routers output for monitor and show commands is identical to output from other E Series routers, except that the E120 and E320 routers output also includes information about the adapter identifier in the interface specifier (slot/adapter/port).

baseline ipv6 mld

- Use to set the counters for MLD statistics to zero.
- Example
  (host1)#baseline ipv6 mld
- There is no no version.
- See baseline ipv6 mld.

show ipv6 mld

- Use to display MLD information for a VR.
- Field descriptions
  - Administrative state—Status of MLD in the software: enabled or disabled
  - Operational state—Status of MLD on the VR: enabled or disabled
  - total interfaces—Number of interfaces on which you started MLD
  - enabled—Number of interfaces on which MLD is enabled
  - disabled—Number of interfaces on which MLD is disabled
  - learnt groups—Number of multicast groups that the VR has discovered
  - MLD Statistics Rcvd—Statistics for MLD messages received
    - total—Number of MLD messages received
    - checksum errors—Number of MLD messages received with checksum errors
    - unknown types—Number of messages received that are not multicast listener queries, multicast listener reports, or multicast listener done messages
    - discards—Number of multicast listener discards
    - queries—Number of multicast listener queries
    - reports—Number of multicast listener reports
    - leaves—Number of done messages
  - MLD Statistics Sent—Number of multicast listener queries sent
- Example

      host1:boston#show ipv6 mld
      Routing Process MLD, Administrative state enabled, Operational state enabled
          2 total interfaces, 2 enabled, 0 disabled
      	 2 enabled interfaces performing graceful restart
          2 learnt groups
      MLD Statistics:
          Rcvd: 1 total, 0 checksum errors, 0 unknown types, 0 discards
                0 queries, 1 reports, 0 leaves
          Sent: 2 total

- See show ipv6 mld.

show ipv6 mld groups

- Use to display statically joined and directly connected groups learned through MLD.
- Field descriptions
  - Grp Address—Address of the multicast group
  - Interface—Interface that discovered the multicast group
  - oif-map—Name of the OIF map and the mapped OIF interface, if a group or source has been mapped to an OIF
  - State—MLD version of the group
  - Reporter—Link-local address of the host reporting the multicast group
  - ExpTim—Remaining time, in seconds, at which the router stops polling for more members of this group
  - oldHTo—Remaining time at which the router stops polling for more MLDv1 members of a group. If this value is 0, the interface has received no MLDv1 reports for the group.
  - Included Sources—Sources included in the multicast group
  - Excluded Sources—Sources excluded from the multicast group
  - Counts—Number of source-group mappings by version and state
- Example 1—Without OIF mapping

      host1:boston# show ipv6 mld groups
          Grp Address           Interface         State      Reporter     ExpTim oldHTo
      ------------------- ---------------------- -------- --------------- ------ ------
      ff0e::1             ATM2/0.15              Version2 fe80::90:1a02:1 54     0
                                                          640:91d
      ff0e::4:1           ATM2/0.15              Version2 fe80::90:1a02:1 54     0
                                                          640:91d
        Included Sources:
          51::1                                                           54
          51::2                                                           54
      Counts: 2 version-2, 0 version-1, 0 check state, 0 disabled
             (2 total)
              0 excluded
              Source-groups: 2 included, 0 excluded

- Example 2—With OIF mapping

      host1:boston# show ipv6 mld groups
          Grp Address           Interface         State      Reporter     ExpTim oldHTo
      ------------------- ---------------------- -------- --------------- ------ ------
      ff3e::1             ATM5/0.12              Version2 fe80::f7:0:91a: 377    0
                                                          0
                          oif-map OIFMAP ATM5/0.
                          121
      ff3e::1             ATM5/0.13              Version2 fe80::f7:0:a1a: 369    0
                                                          0
                          oif-map OIFMAP ATM5/0.
                          121
      ff3e::2             ATM5/0.12              Version2 fe80::f7:0:91a: 370    0
                                                          0
        Included Sources:
          10::2           oif-map OIFMAP self                             370
          10::10          oif-map OIFMAP ATM5/0.                          370
                          120
          10::11          oif-map OIFMAP ATM5/0.                          370
                          121
      ff3e::2             ATM5/0.13              Version2 fe80::f7:0:a1a: 373    0
                                                          0
        Included Sources:
          10::2           oif-map OIFMAP self                             373
          10::10          oif-map OIFMAP ATM5/0.                          373
                          120
          10::11          oif-map OIFMAP ATM5/0.                          373
                          121

      Counts: 4 version-2, 0 version-1, 0 check state, 0 disabled
             (4 total)
              0 excluded
              Source-groups: 6 included, 0 excluded

- See show ipv6 mld groups.

show ipv6 mld interface

- Use to display MLD information for interfaces on which you enabled MLD.
- Specify the brief keyword to see a summary of the information.
- Specify the count keyword to see the number of MLD interfaces.
- Field descriptions
  - Interface—Type of interface and interface specifier. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
  - address—IPv6 link-local address of the interface
  - Administrative state—Status of the interface in the software: enabled or disabled
  - Operational state—Physical status of the interface: enabled or disabled
  - Version—MLD version
  - State—Function of the interface: querier or nonquerier
  - Query Interval—Time interval at which this interface sends query messages
  - Other querier present interval—Time that the interface waits before declaring itself as the querier
  - Maximum response time—Time interval during which this interface expects a host to respond
  - Graceful restart—Status of graceful restart: active or complete
  - Last member query interval—Time that this interface waits before sending a new query to a host that sends a group leave message
  - Robustness—Number of times this interface sends MLD messages
  - Information about IPv6 access lists configured with the ipv6 mld access-group command
    - Inbound access group—Access list specified
    - No inbound access group—No access list specified
  - Information about IPv6 access lists configured with the ipv6 mld access-source-group command
    - Inbound access source-group—Access list specified
    - No inbound access source-group—No access list specified
  - Information about OIF maps configured with the ipv6 mld apply-oif-map command
    - Inbound apply-oif-map—Map name specified
    - No inbound apply-oif-map—No map name specified
  - Immediate Leave—Setting of the ipv6 mld immediate-leave command: enabled or disabled
  - Explicit Host Tracking—Setting of the ipv6 mld explicit-tracking command: enabled or disabled
  - Max-Group limit—Number of MLD groups that the interface can accept, as configured with the ipv6 mld group limit command
  - Group Count—Number of MLD groups that the interface has accepted
  - IOA packet replication—Hardware multicast packet replication interface to which egress multicast packets on this interface are redirected
  - Interface statistics Rcvd—Information about MLD messages received on this interface
    - reports—Number of group multicast listener reports received
    - leaves—Number of group multicast listener done messages received
    - wrong version queries—Number of multicast listener queries received from devices running a different version of MLD
  - Interface statistics Sent—Number of MLD messages this interface has sent
  - Interface statistics Groups learnt—Number of groups this interface has discovered
  - Counts—Total number of MLD interfaces
- Example

      host1:boston#show ipv6 mld interface

      Interface ATM2/0.103 address 13.0.0.1/255.255.255.0
      Administrative state enabled, Operational state enabled
      Interface parameters:
          Version 2
          State Querier
          Query Interval 125 secs, 125 secs before the next query
          Other querier present interval 250 secs
          Maximum response time 255 (in 10ths of a second)
          Last member query interval 10 (in 10ths of a second)
          Robustness 3
          No inbound access group
          No inbound access source-group
          No inbound apply-oif-map
          Immediate Leave: disabled
      Explicit Host Tracking: enabled
      Max-Group limit: No Limit
      Admission-Bandwidth limit: No limit
      IOA Packet Replication: None
          Group Count: 1
      Interface statistics:
          Rcvd: 2 reports, 0 leaves, 0 wrong version queries
          Sent: 2 queries
          Groups learnt: 1

      Counts: 0 down, 0 init state, 1 querier, 0 non-querier, 1 Total

- Example 2

      host1#show ipv6 mld interface gigabitEthernet 3/0.0
      Interface GigabitEthernet3/0.0 address 10.1.1.1/255.255.255.0
      Administrative state enabled, Operational state enabled
      Interface parameters:
          Version 1
          State Querier
          Query Interval 125 secs, 123 secs before the next query
          Other querier present interval 250 secs
          Maximum response time 100 (in 10ths of a second)
          Last member query interval 10 (in 10ths of a second)
          Robustness 3
          No inbound access group
          No inbound access source-group
          No inbound apply-oif-map
          Immediate Leave: disabled
      Explicit Host Tracking: enabled
      Max-Group limit: No Limit
          Group Count: 0
          IOA packet replication gigabitEthernet 3/8.1
      Interface statistics:
          Rcvd: 0 reports, 0 leaves, 0 wrong version queries
          Sent: 14 queries
          Groups learnt: 0

      Counts: 0 down, 0 init state, 1 querier, 0 non-querier, 1 Total

- See show ipv6 mld interface.

show ipv6 mld interface brief

- Use to display a summary of MLD information for interfaces on which you enabled MLD.
- Field descriptions
  - Interface—Type of interface and interface specifier. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
  - Intf Address—IPv6 link-local address of the interface
  - Ver—MLD version
  - State—Function of the interface: querier or nonquerier
  - Querier—IPv6 address of the querier on the network to which this interface connects
  - QTime—Remaining time interval at which this interface sends query messages
  - QPTime—Remaining time that the interface waits before declaring itself as the querier
- Example

      host1:boston# show ipv6 mld interface brief
         Interface     Intf Address   Ver    State        Querier    QTime  QPTime
      --------------- --------------- --- ---------- ------------- ------ ------
      ATM2/0.103      130.0.0.1/24    2   Querier     130.0.0.1       3(7)    0

      ATM5/0.102      131.0.0.1/24    2   Querier     130.0.0.1     101(7)    0

      Counts: 0 down, 0 init state, 2 querier, 0 non-querier, 2 Total

- See show ipv6 mld interface.

show ipv6 mld mapped-oif

- Use to display the current mappings to all mapped outgoing interfaces or to the specified mapped outgoing interface.
- Field descriptions
  - OIF—Outgoing interface used in an OIF map
  - Oper—Operation status of the outgoing interface
  - Group Address—Multicast group IP address associated with the OIF
  - Source Address—Source IP address associated with the OIF
  - Join I/F—MLD protocol interface associated with the OIF
  - Map Name—Name of the map associated to the OIF
  - Counts—Number of source-group mappings to OIFs
- Example

      host1# show ipv6 mld mapped-oif

            OIF       Oper  Group Address  Source Address     Join I/F      Map Name
      --------------- ---- --------------- --------------- --------------- ----------
      ATM5/0.120      Up   ff3e::2         10::10          ATM5/0.12       OIFMAP
                                                           ATM5/0.13       OIFMAP
      ATM5/0.121      Up   ff3e::1         *               ATM5/0.12       OIFMAP
                                                           ATM5/0.13       OIFMAP
                           ff3e::2         10::11          ATM5/0.12       OIFMAP
                                                           ATM5/0.13       OIFMAP

      Counts: 3 source-group mappings

- See show ipv6 mld mapped-oif.

show ipv6 mld oif-map

- Use to display all outgoing interface (OIF) maps or the OIF map for the specified map name.
- Field descriptions
  - Map Name—Name of the map associated to the show output
  - Group Prefix—Multicast group IPv6 prefix
  - Source Prefix—Source IPv6 prefix
  - OIF—Outgoing interface associated with the group and source prefix
- Example

      host1#show ipv6 mld oif-map
           Map Name         Group Prefix      Source Prefix           OIF
      ------------------ ------------------ ------------------ ------------------
      OIFMAP             ff3e::/112         ::/0               ATM5/0.121
                         ff3e::/112         10::2/128          self
                         ff3e::/112         10::10/128         ATM5/0.120
                         ff3e::3/128        ::/0               ATM5/0.130
                         ff3e::4/128        ::/0               ATM5/0.130

- See show ipv6 mld oif-map.

show ipv6 mld membership

- Use to display MLD membership information for multicast groups and (S, G) channels.
- Specify the brief keyword to see a summary of the information.
- Specify the tracked keyword to see interface information only for interfaces where explicit host tracking is enabled.
- Field descriptions
  - Group—Multicast group or (S, G) channel
  - Source—(S, G) entries that are forwarding traffic
  - Reporter—Hosts that requested including sources or that have not requested excluding sources. If listed under a group, host that sent exclude reports for the group. If listed under a source, host that requested traffic from this source for the group. For any (S, G), if listed under a source, indicates hosts interested in the traffic for this (S, G).
  - ExpTim—Expiration time
  - Flags
    - M—Uses Oifmap
    - S—SSM mapped
    - T—Tracked
    - 1, 2—MLD version that the group is in
  - Interface—Type of interface and interface specifier. For details about interface types and specifiers, see Interface Types and Specifiers in JunosE Command Reference Guide.
- Example

      host1:boston# show ipv6 mld membership
      Flags: M – Uses Oifmap  S– SSM mapped  T – tracked
             1,2 – The version of MLD the group is in
      Reporter:
      <ip-address> - last reporter if the group is not explicitly tracked
      <n>/<m> - <n> reporters include mode, <m> reporters in exclude
      Group      Source      Reporter                  ExpTim    Flags     Interface
      ---------  --------    ----------------------    ------    ------    ---------------
      ff0e::40      *        fe80::90:1a02:1640:91d    02:41     2S        FastEthernet2/1

      ff0e::50               1/2                       02:56    3MT       FastEthernet2/2
                             fe80::90:1a02:1640:911    02:30
                             fe80::90:1a02:1640:912    02:48
                 20::11
                             fe80::90:1a02:1640:913    02:56
                 20::12
                             fe80::90:1a02:1640:911    02:30
                 20::13
                             fe80::90:1a02:1640:911    02:30
                             fe80::90:1a02:1640:912    02:48
                             fe80::90:1a02:1640:913    02:56
      ff0e::60               fe80::90:1a02:1640:901    01:56     3        FastEthernet2/3
                 10::10                                02:45
                 10::11                                02:35
                 10::12                                02:15
                 10::14                                stop
      ff0e::70               fe80::90:1a02:1640:91     stop      3        FastEthernet2/4
                 40::10                                01:10
                 40::11                                01.24
      ff0e::80               2/0                       stop      3T       FastEthernet2/5
                 50::10
                             fe80::90:1a02:1650:910    02:48
                 50::11
                             fe80::90:1a02:1650:920    02:56
                             fe80::90:1a02:1650:910    02:48
                 50::12      fe80::90:1a02:1650:920    02:56
      ff0e::90               0/3                       02:56     2T       FastEthernet2/6
                    *
                             fe80::90:1a02:1660:910    02:48
                             fe80::90:1a02:1660:920    02:56
                             fe80::90:1a02:1660:930    02:48

- See show ipv6 mld membership.

show ipv6 mld oif-mapping

- Use to display the mapped OIF to be assigned to a given map-name, group address, and source address.
- Field descriptions
  - OIF-MAP Name—Name of the map requested
  - Group Address—Multicast group IP address requested
  - Source Address—Source IP address requested
  - Mapped OIF—Join interface associated with the OIF map
- Example

      host1#show ipv6 mld oif-mapping OIFMAP ff3e::1 10::10
          OIF Mapping
          OIF-MAP Name   : OIFMAP
          Group Address  : ff3e::1
          Source Address : 10::10
          Mapped OIF     : ATM5/0.120

- See show ipv6 mld oif-mapping.

show ipv6 mld ssm-mapping

- Use to display the SSM mapping state and the source list mapping associated with a multicast group address.
- Field descriptions
  - SSM Mapping—Status of SSM mapping on the interface (enabled or disabled)
  - Group Address—Multicast group address requested
  - Source List—List of sources mapped to the multicast group address
- Example

      host1:boston#show ipv6 mld ssm-mapping ff3e::1
          SSM Mapping   : Enabled
          Group Address : ff3e::1
          Source List   : 2001::1
                        : 2001::2

- See show ipv6 mld ssm-mapping.

show multicast group limit

- Use to display the number of MLD groups that ports have accepted and, if configured, the maximum number of groups that ports can accept.
- A value of –1 indicates that no port group limit is configured.
- Only ports that have accepted MLD groups and ports for which you have configured a limit for the number of MLD groups appear in this display.
- Field descriptions
  - Port—Identifier of the port in slot/port format
    - slot—Number of the chassis slot in the range 0–6 (ERX7xx models) or 0–13 (ERX14xx models)
    - port—Port number on the I/O module
  - limit—Maximum number of MLD groups that the port can accept. A value of –1 indicates that no limit has been specified.
  - count—Actual number of MLD groups the port has accepted
- Example

      host1:boston#show multicast group limit
      Port      limit count
      --------- ----- -----
      2/0           5     0
      2/1          -1     1

- See show multicast group limit.