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