< Home

display mld-snooping router-port

Function

The display mld-snooping router-port command displays information about router ports, including static and dynamic router ports.

Format

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

Parameters

Parameter

Description

Value

vlan vlan-id

Displays the router interfaces in a specified VLAN. If this parameter is not specified, the system 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 is a switch port connected to an upstream Layer 3 multicast device. Router ports can be statically configured or dynamically created after receiving an MLD Query message or a PIM Hello message. A router port receives multicast data packets from the upstream multicast device and forwards the packets to group member ports.

The display mld-snooping router-port command displays information about router ports, including the type, name, age, and aging time of each router port.

Precautions

This command can display router port information only when MLD snooping is enabled globally and in a VLAN using the mld-snooping enable command and the VLAN is in Up state.

Example

# Display information about router ports.

<HUAWEI> display mld-snooping router-port
 Total Number of Router Port on VLAN 2 is 1
   Port Name             UpTime          Expires         Flags
   GE0/0/1               00:00:06        --              STATIC
Table 1 Description of the display mld-snooping router-port command output

Item

Description

Total Number of Router Port on VLAN 2 is 1

Number of router ports in VLAN 2.

Port Name

Type and number of a router port.

UpTime

Age of a router port, that is, 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.
  • For a static router interface, "--" is displayed, indicating that the interface will never age out.

Flags

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