igmp-snooping static-router-port (VSI 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 remote-peer ip-address [ negotiation-vc-id vc-id ]

igmp-snooping static-router-port remote-peer ip-address bgp-ad

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

undo igmp-snooping static-router-port remote-peer ip-address bgp-ad

Parameters

Parameter Description Value
negotiation-vc-id vc-id

Specifies the unique identifier of a VC.

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.

bgp-ad

Specifies the VSI PW to use BGP-AD as a signalling negotiation protocol.

-

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 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. The commands listed in the following table can be run in any order. Run one or more commands as required to configure static router ports. For details, see Table 1.

Prerequisites

IGMP snooping has been configured globally and in a VLAN/VSI/BD.

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

# When LDP is used as a signaling negotiation protocol, configure a PW interface as a router port in a VSI named 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] igmp-snooping static-router-port remote-peer 3.3.3.3
# When BGP-AD is used as a signaling negotiation protocol, configure a PW interface as a router port in a VSI named VSIvsi0.
<HUAWEI> system-view
[~HUAWEI] vsi vsi0
[*HUAWEI-vsi-vsi0] bgp-ad
[*HUAWEI-vsi-vsi0-bgpad] vpls-id 1:1
[*HUAWEI-vsi-vsi0-bgpad] quit
[*HUAWEI-vsi-vsi0] inclusive-provider-tunnel
[*HUAWEI-vsi-vsi0-inclusive] leaf
[*HUAWEI-vsi-vsi0-inclusive-leaf] quit
[*HUAWEI-vsi-vsi0-inclusive] quit
[*HUAWEI-vsi-vsi0] igmp-snooping static-router-port remote-peer 3.3.3.3 bgp-ad
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >