< Home

Data Model

The configuration model file matching IGMP snooping is huawei-l2mc.yang.

Table 1 Data model for IGMP snooping

Object

Description

Value Remarks

/huawei-l2mc:l2mc/l2McSnpgEnables/l2McSnpgEnable/addrFamily

Indicates the VPN instance address family.

-

NA

/huawei-l2mc:l2mc/vlan/l2McVlanCfgs/l2McVlanCfg/addrFamily

Indicates the VPN instance address family.

-

NA

/huawei-l2mc:l2mc/vlan/l2McVlanCfgs/l2McVlanCfg/vlanId

Indicates the VLAN ID for which IGMP snooping is enabled.

The value is an integer that ranges from 1 to 4094.

NA

/huawei-l2mc:l2mc/vlan/l2McVlanCfgs/l2McVlanCfg/version

Indicates the version of IGMP messages that can be processed.

The value is an integer that ranges from 1 to 3.
  • 1: indicates that IGMP snooping processes only IGMPv1 messages.
  • 2: indicates that IGMP snooping processes IGMPv1 and IGMPv2 messages.
  • 3: indicates that IGMP snooping processes IGMPv1, IGMPv2, and IGMPv3 messages.

NA

/huawei-l2mc:l2mc/vlan/l2McMVlanCfgs/l2McMVlanCfg/vlanId

Indicates the multicast VLAN ID.

The value is an integer that ranges from 1 to 4094.

NA

/huawei-l2mc:l2mc/vlan/l2McMVlanCfgs/l2McMVlanCfg/mcastVlanEnable

Indicates whether to enable the multicast VLAN.

The value is of the Boolean type:

  • true: IGMP is enabled.
  • false: IGMP is disabled.

The default value is false.

NA

/huawei-l2mc:l2mc/vlan/l2McMVlanCfgs/l2McMVlanCfg/userVlans

Indicates the user VLAN ID.

The value is an integer that ranges from 1 to 4094.

NA

/huawei-l2mc:l2mc/vlan/l2McVlanCfgs/l2McVlanCfg/fwdMode

Indicates the multicast data forwarding mode in a VLAN.

The value is of the enumerated type:

  • ip: Multicast data is forwarded based on IP addresses.
  • mac: Multicast data is forwarded based on MAC addresses.

The default value is ip.

NA

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >