mld-snooping static-router-port (VSI)

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 remote-peer ip-address [ negotiation-vc-id vc-id ]

undo mld-snooping static-router-port remote-peer ip-address [ negotiation-vc-id vc-id ]

Parameters

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.

Views

VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC 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 as a static router interface of VLAN 2.
<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
# When LDP is used as the signaling negotiation protocol, configure a PW as a router interface of VSI vsi0.
<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
# 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] 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >