The igmp-snooping static-router-port vsi remote-peer command configures a static router port.
The undo igmp-snooping static-router-port vsi remote-peer command cancels the configuration.
By default, a dynamic router port is used.
Parameter | Description | Value |
---|---|---|
vsi-name |
Specifies a VSI. |
The vsi-name value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
ip-address |
Specifies the IP address of a remote peer. |
The value is in dotted decimal notation. |
negotiation-vc-id vc-id |
Specifies the unique identifier of a VC. negotiation-vc-id and remote-peer work together to identify a PW. By default, vc-id is the VSI ID. |
The value is an integer ranging from 1 to 4294967295. |
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 vsi remote-peer 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 Description of the igmp-snooping static-router-port vsi remote-peer command in different scenarios.Prerequisites
IGMP snooping has been configured globally and in a VSI.
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 vsi remote-peer command.
If the igmp-snooping static-router-port vsi remote-peer 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 [*HUAWEI-vsi-vsi0] igmp-snooping static-router-port remote-peer 3.3.3.3 bgp-ad
<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