P_MULTICAST
code: 311
# set
<module-index>/<port-index> P_MULTICAST <ipv4_multicast_addresses> <operation> <second_count>
# get
<module-index>/<port-index> P_MULTICAST ?
Description
A multicast mode for a port. Ports can use the IGMPv2 protocol to join or leave multicast groups, either on an on-off basis or repeatedly.
Actions
set, get
Parameters
ipv4_multicast_addresses
: address list, a multicast group address to join or leaveoperation
: byte, the operation
OFF = 0
ON = 1
JOIN = 2
LEAVE = 3
second_count
: short integer, the interval between repeated joins in seconds.
Example
# set
input: 0/1 P_MULTICAST 192.168.1.100 OFF 1
output: <OK>
# get
input: 0/1 P_MULTICAST ?
output: 0/1 P_MULTICAST 192.168.1.100 OFF 1