P_MULTICASTEXT

code: 312

# set
<module-index>/<port-index> P_MULTICASTEXT <ipv4_multicast_addresses> <operation> <second_count> <igmp_version>

# get
<module-index>/<port-index> P_MULTICASTEXT ?

Description

A multicast mode for a port. Ports can use the IGMPv2/IGMPv3 protocol to join or leave multicast groups, either on an on-off basis or repeatedly. ** Requires software release 83.2 or higher

Actions

set, get

Parameters

  1. ipv4_multicast_addresses: address list, a multicast group address to join or leave

  2. operation: byte, the operation

  • OFF = 0

  • ON = 1

  • JOIN = 2

  • LEAVE = 3

  • INCLUDE = 4

  • EXCLUDE = 5

  • LEAVE_TO_ALL = 6

  • GENERAL_QUERY = 7

  • GROUP_QUERY = 8

  1. second_count: short integer, the interval between repeated joins in seconds.

  2. igmp_version: byte, IGMP version

  • IGMPV2 = 0

  • IGMPV3 = 1

Example

# set
input:  0/1 P_MULTICASTEXT 192.168.1.100 OFF 1 IGMPV2
output: <OK>

# get
input:  0/1 P_MULTICASTEXT ?
output: 0/1 P_MULTICASTEXT 192.168.1.100 OFF 1 IGMPV2