The igmp-snooping static-router-port command configures a static router port.
The undo igmp-snooping static-router-port command cancels the configuration.
By default, a dynamic router port is used.
Parameter | Description | Value |
---|---|---|
dot1q |
Enables dot1q encapsulation to allow a Layer 2 sub-interface to receive packets each with one or more tags. |
- |
vid vid |
Specifies a range of VLAN IDs for single-tagged packets to be received by a Layer 2 sub-interface. |
The value is an integer ranging from 1 to 4094. |
qinq |
Enables QinQ encapsulation to allow a Layer 2 sub-interface to receive packets with two or more tags. |
- |
pe-vid pe-vid |
Specifies an outer VLAN ID for double-tagged packets to be received by a Layer 2 sub-interface. |
The value is an integer ranging from 1 to 4094. |
ce-vid ce-vid |
Specifies a range of inner VLAN IDs for double-tagged packets to be received by a Layer 2 sub-interface. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
If user hosts need to receive multicast data packets from a port for a long period of time, the igmp-snooping static-router-port command can be used to configure the port as a static router port.
Static router ports can be configured on different positions on a network to enable user hosts to regularly receive data for specific multicast groups or source-specific multicast groups.Prerequisites
IGMP snooping has been configured globally.
Configuration Impact
A static router port does not age. To delete a static router port, you must run the undo igmp-snooping static-router-port command.
If the igmp-snooping static-router-port command is run more than once, all configurations take effect.