The igmp-snooping static-router-port command configures an interface as a static router port in specified VLANs.
The undo igmp-snooping static-router-port command cancels the router port configuration in specified VLANs.
By default, an interface is not a static router port.
igmp-snooping static-router-port vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>
undo igmp-snooping static-router-port vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }
Parameter |
Description |
Value |
---|---|---|
vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> |
Specifies VLAN IDs. This parameter specifies in which VLANs the current interface functions as a router port.
|
The value is an integer that ranges from 1 to 4094. The value of vlan-id2 must be greater than the value of vlan-id1. The vlan-id1 and vlan-id2 parameters identify a range of VLANs. |
all |
Cancels the static router port configuration in all VLANs on the interface. |
- |
MultiGE interface view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, Eth-Trunk interface view
Usage Scenario
When an interface needs to keep forwarding IGMP Report/Leave messages for a long time, configure the interface as a static router port.
Prerequisites
IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.
Precautions
This command takes effect only when the interface is added to the specified VLANs.
If you run the igmp-snooping static-router-port command multiple times, all the configurations take effect.