The mld-snooping static-router-port command configures a static router port in a VLAN.
The undo mld-snooping static-router-port command deletes a static router port in a VLAN.
By default, no static router port is configured in a VLAN.
mld-snooping static-router-port vlan vlan-id
undo mld-snooping static-router-port { all | vlan vlan-id }
Parameter |
Description |
Value |
---|---|---|
vlan vlan-id |
Specifies a VLAN ID. This parameter specifies in which VLAN the current interface functions as a router port. |
The value is an integer that ranges from 1 to 4094. |
all |
Disables the interface from functioning as a router port in all VLANs. |
- |
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 receiving or forwarding multicast data packets for a long time, configure the interface as a static router port.
Prerequisites
MLD snooping has been enabled globally using the mld-snooping enable command.
Precautions
This command takes effect only when the interface is added to the specified VLAN.