igmp-snooping static-router-port (Sub-interface view)

Function

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.

Format

igmp-snooping static-router-port

igmp-snooping static-router-port dot1q vid vid

igmp-snooping static-router-port qinq pe-vid pe-vid ce-vid ce-vid

undo igmp-snooping static-router-port [ dot1q vid vid ] [ qinq pe-vid pe-vid ce-vid ce-vid ]

Parameters

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.

Views

400GE Layer 2 sub-interface view, 50GE Layer 2 sub-interface view, Eth-Trunk Layer 2 sub-interface view, GE Layer 2 sub-interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

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.

Example

# Configure a static router port.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] interface GigabitEthernet0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] igmp-snooping static-router-port
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >