The mld-snooping static-router-port vlan command configures a static router port.
The undo mld-snooping static-router-port vlan command cancels the configuration of a static router port.
By default, an interface is a dynamic router interface.
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 VLAN/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.<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*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 static-router-port remote-peer 3.3.3.3
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi0 [*HUAWEI-vsi-vsi0] pwsignal ldp [*HUAWEI-vsi-vsi0-ldp] vsi-id 1 [*HUAWEI-vsi-vsi0-ldp] quit [*HUAWEI-vsi-vsi0] quit [*HUAWEI] interface GigabitEthernet0/1/1.1 [*HUAWEI-GigabitEthernet0/1/1.1] mld-snooping static-router-port vsi vsi0
<HUAWEI> system-view [~HUAWEI] mld-snooping enable [*HUAWEI] interface GigabitEthernet0/1/1 [*HUAWEI-GigabitEthernet0/1/1] portswitch [*HUAWEI-GigabitEthernet0/1/1] mld-snooping static-router-port vlan 2