display igmp-snooping host-tracking

Use display igmp-snooping host-tracking to display host tracking information.

Syntax

In standalone mode:

display igmp-snooping host-tracking vlan vlan-id group group-address [ source source-address ] [ slot slot-number ]

In IRF mode:

display igmp-snooping host-tracking vlan vlan-id group group-address [ source source-address ] [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vlan vlan-id: Specifies a VLAN by its VLAN ID in the range of 1 to 4094.

group group-address: Specifies a multicast group by its IP address in the range of 224.0.1.0 to 239.255.255.255.

source source-address: Specifies a multicast source by its IP address. If you do not specify a multicast source, this command displays host tracking information for all multicast sources.

slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command displays host tracking information for the MPU. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify a card, this command displays host tracking information for the global active MPU. (In IRF mode.)

Examples

# Display tracking information for hosts that have joined multicast group 224.1.1.1 in VLAN 2.

<Sysname> display igmp-snooping host-tracking vlan 2 group 224.1.1.1
VLAN 2
  (0.0.0.0, 224.1.1.1)
    Port: HGE1/0/1
      Host                                    Uptime          Expires
      1.1.1.1                                 00:02:20        00:00:40
      2.2.2.2                                 00:02:21        00:00:39

Table 3: Command output

Field

Description

VLAN

VLAN ID.

(0.0.0.0, 224.1.1.1)

(S, G) entry, where 0.0.0.0 in the S position means any multicast sources.

Port

Member port.

Host

IP address of the host.

Uptime

Length of time elapsed since the host joined the multicast group.

Expires

Remaining timeout time for the host. The host timeout time is the same as the aging timer for the port. The timer is reset when the port receives an IGMP report from the host.

This field displays timeout if the host times out.

Related commands

host-tracking (IGMP-snooping view)

igmp-snooping enable

igmp-snooping host-tracking