< Home

display igmp-snooping router-port

Function

The display igmp-snooping router-port command displays information about the router ports in a specified VLAN, including static and dynamic router ports.

Format

display igmp-snooping router-port vlan [ vlan-id ]

Parameters

Parameter

Description

Value

vlan [ vlan-id ]

Displays information about the router ports in a specified VLAN. If vlan-id is not specified, the command displays router ports in all VLANs.

The value is an integer that ranges from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

A router port connects the switch to an upstream Layer 3 multicast device. The router port can be statically configured or dynamically generated after the interface receives an IGMP Query message or a PIM Hello message.

You can run the display igmp-snooping router-port command to view the type, name, lifetime, and aging time of a router port.

Precautions

This command can display information about router ports in a VLAN only when IGMP snooping has been enabled in the VLAN using the igmp-snooping enable (VLAN view) command, and at least one interface in the VLAN is in Up state.

Example

# Display information about router ports in VLAN 2.

<HUAWEI> display igmp-snooping router-port vlan 2
Port Name                 UpTime      Expires     Flags
--------------------------------------------------------------
VLAN 2, 2 router-port(s)
GE0/0/1                   03:28:16    00:01:20    DYNAMIC
GE0/0/2                   2d:10h      --          STATIC
Table 1 Description of the display igmp-snooping router-port command output

Item

Description

Port Name

Type and number of a router port.

UpTime

Time that elapsed since the interface became a router port.

Expires

Aging time of the router port.
  • The aging time is displayed for a dynamic router port. This parameter is configured using the igmp-snooping router-aging-time command.
  • For a static router port, "--" is displayed, indicating that the static router does not age.

Flags

Type of the router port, which can be:
  • STATIC: static router port configured using the igmp-snooping static-router-port command.
  • DYNAMIC: dynamic router port
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >