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.
Parameter | Description | Value |
---|---|---|
negotiation-vc-id vc-id |
negotiation-vc-id vc-id and remote-peer ip-address work together to identify a PW. By default, vc-id is the VSI ID. |
The value is an integer ranging from 1 to 4294967295. |
remote-peer ip-address |
Specifies the IP address of a remote peer. |
The value is in dotted decimal notation. |
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.<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
<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