Wednesday, January 11, 2017

The Multicast Configuration of igmp cascade-port(distributing-mode

Function

The igmp cascade-port command is used to add an IGMP subtending port. When the lower layer subtended device needs to offer the IGMP service, you can run this command to set the port connected to the subtending device as the IGMP subtending port. After that, the system processes the IGMP packets sent from the subtended device.
The igmp cascade-port modify command is used to modify the attribute of the IGMP subtending port. After that, the system processes the IGMP packets sent from the subtended device based on the modified attribute.
The undo igmp cascade-port command is used to delete an IGMP subtending port. After the IGMP subtending port is deleted, the system does not process the IGMP packets sent from the subtended device.

Format

igmp cascade-port frameid/slotid/portid [ gemport-index gemport-id ] [ mismatch { transparent | discard } | static { enable | disable } | quickleave { enable | disable } | controlword { enable | disable } ] *
igmp cascade-port modify frameid/slotid/portid [ gemport-index gemport-id ] [ mismatch { transparent | discard } | static { enable | disable } | quickleave { enable | disable } | controlword { enable | disable } ] *
undo igmp cascade-port frameid/slotid/portid [ gemport gemport-id ]

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack and slot IDs. Please see Differences Between Shelves.
mismatch
Sets the mode for processing the IGMP packets that do not match a multicast program on the cascade port. The recommended value is discard.
  • If it is set to discard, the IGMP packets are discarded.
  • If it is set to transparent, the IGMP packets are forwarded. The value is used only when the following two conditions are met:
    • One multicast cascaded port is configured for a multicast VLAN (no other multicast member is configured).
    • No program is matched but the program traffic must be imported from the upper-layer device.
    When this value is used and multiple cascaded ports configured for a multicast VLAN order a program at the same time, if one cascaded port sends a leave packet and goes offline, the other cascaded ports may fail to receive the program traffic.
Enumerated type. Options: transparent and discard.
Default: transparent.
static Indicates the static join attribute. If the attribute is enabled, you can add the program to the subtending port statically.
If the static join attribute is enabled, you can run the igmp static-join(profile-mode) command to add the program to the subtending port statically. When a subtending port is added with the program statically, the report and leave packets will be discarded. The quick leave attribute takes no effect.
Enumerated type. Options: enable and disable.
Default: disable.
gemport gemport-id GEM port number. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use. Numeral type. Range: 128-3999.
controlword Indicates the control word attribute. It is used to check the VLAN ID carried in the IGMP packet of a user. When this attribute is enabled, a user cannot watch the problem in an MVLAN if the VLAN ID carried in the user's IGMP packet is different from the multicast VLAN ID. When this attribute is disabled, the program in a VLAN is not restricted but the IPv6 program can not be watched. Enumerated type. Options: enable and disable.
Default: enable.
quickleave Indicates the quickleave attribute. If the attribute is enabled, when the IGMP port receives the leave packet, the mapping program is disabled at once. Enumerated type. Options: enable and disable.
Default: disable.

Modes

BTV Mode

Level

Administrator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the btv command to enter BTV mode.
  • After the IGMP subtending port is set, the system regards the subtended device as an IGMP user.
  • An IGMP upstream port cannot be set as the subtending port, and a subtending port cannot be set the IGMP upstream port.
  • If the specified physical channel (such as EPON ONT, Ethernet port, or GPON GEM port) is configured with multicast users, such a physical channel cannot be set as a multicast cascade port. A port that is set as a cascade port cannot be configured with multicast users.
  • The multicast cascade port configured on an EPON, Ethernet, or GPON service board must be configured with the service port that is assigned based on user-side VLAN. In addition, the user-side VLAN ID, upstream VLAN ID, and MVLAN ID of this service port must be the same.
  • In the snooping mode, when multicast cascade ports whose fast leave attribute is disabled exist, it is recommended that you enable the query proxy function. You can run the display igmp cascade-port(distributing-mode) command to query the fast leave attribute of multicast cascade ports and run the igmp query-proxy command to set the query proxy function.
  • Before specifying a port as a multicast cascade port, you must specify the role of this port or the board of this port. You can run the network-role command to set the role.
    • In the case of ethernet star cascade network topology, you must set the role of the board or port to cascade.
    • In the case of MSTP/RRPP ring network topology, you must set the role of the board or port to upstream.
  • The following introduces the quick leave attribute of the subtending port.
    • If the attribute is enabled, when the IGMP port receives the leave packet, the program is disabled at once.
    • If the attribute is disabled, when the IGMP port receives the leave packet, the system sends the specific group query packet, and waits for a certain period. If the system does not receive the reply from the user within the specified period, it disconnects the user. Enabling the quick leave attribute reduces the interaction of the IGMP packets, and saves the bandwidth resources.
    • If the lower layer device does not support the IGMP leave packet proxy, when the system disconnects a user, the other users who order the same program are disconnected too. Therefore, it is recommended that when the quick leave attribute is enabled on the IGMP subtending port, the lower layer device should use the IGMP proxy function, or switch to the IGMP snooping mode and enable the IGMP leave packet proxy function.
  • After the multicast cascade port is configured, by default, the system adds this cascade port to all MVLANs; however, when you run the display vlan command to query the port in the MVLAN, the information about the multicast cascade port cannot be queried. You can run the display vlan command to query this multicast cascade port only after running the port vlan command to add this cascade port as the upstream port of the MVLAN.
  • IGMP cascading and PIM on a port must not be configured at the same time.
  • In PIM mode, the system discards IGMP packets that do not match a multicast program on the cascade port.

Example

To set port 0/19/0 as the IGMP subtending port, and enable the static and quickleave attributes, do as follows:
huawei(config-btv)#igmp cascade-port
{ frameid/slotid/portid<S><Length 5-18>|modify<K> }:0/19/0
{ <cr>|controlword<K>|gemport<K>|mismatch<K>|quickleave<K>|static<K> }:
static
{ static<E><disable,enable> }:enable
{ <cr>|controlword<K>|mismatch<K>|quickleave<K> }:quickleave
{ quickleave<E><disable,enable> }:enable
{ <cr>|controlword<K>|mismatch<K> }:

  Command:
          igmp cascade-port 0/19/0 static enable quickleave enable
To disable the quickleave attribute of IGMP subtending port 0/19/0, do as follows:
huawei(config-btv)#igmp cascade-port
{ frameid/slotid/portid<S><Length 5-18>|modify<K> }:modify
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ controlword<K>|gemport<K>|mismatch<K>|quickleave<K>|static<K> }:quick
leave
{ quickleave<E><disable,enable> }:disable

  Command:
          igmp cascade-port modify 0/19/0 quickleave disable
To delete the IGMP subtending port set on port 0/19/0, do as follows:
huawei(config-btv)#undo igmp cascade-port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ <cr>|gemport<K> }:

  Command:
          undo igmp cascade-port 0/19/0

No comments:

Post a Comment