The display mld-snooping router-port command displays information about router ports, including static and dynamic router ports.
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. |
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.
# 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
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.
|
Flags |
Type of the router port, which can be:
|