mld-snooping static-router-port (interface view)

Function

The mld-snooping static-router-port command configures an interface as a static router interface.

The undo mld-snooping static-router-port command cancels the configuration.

By default, an interface is a dynamic router interface.

Format

mld-snooping static-router-port vsi vsi-name

undo mld-snooping static-router-port vsi vsi-name

Parameters

Parameter Description Value
vsi vsi-name

Specifies a VSI name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed with double quotation marks (" ").

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE 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 an interface for a long period of time, run the mld-snooping static-router-port command to configure the interface as a static router interface.

Static router interfaces can be configured on different positions of a network to enable user hosts to regularly receive data.

Prerequisites

MLD snooping has been enabled globally and in the VSI view.

Configuration Impact

A static router interface never ages. A static router interface configuration can be canceled only by running the undo mld-snooping static-router-port command.

If the mld-snooping static-router-port command is run more than once, all configurations take effect.

Example

# Configure GE 0/1/1.1 as a router interface of VSI vsi0.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] mld-snooping enable
[*HUAWEI] vsi vsi0
[*HUAWEI-vsi-vsi0] pwsignal ldp
[*HUAWEI-vsi-vsi0-ldp] vsi-id 1
[*HUAWEI-vsi-vsi0-ldp] quit
[*HUAWEI-vsi-vsi0] mld-snooping enable
[*HUAWEI-vsi-vsi0] quit
[*HUAWEI] interface GigabitEthernet0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] mld-snooping static-router-port vsi vsi0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >