P4G_SERVER_RANGE

# set
<module-index>/<port-index> P4G_SERVER_RANGE [<group_index>] <ipv4_address> <address_count> <start_port> <port_count>

# get
<module-index>/<port-index> P4G_SERVER_RANGE [<group_index>] ?

Description

Specifies a number of server sockets (ip address, port number)

Actions

set, get

Parameters

ipv4_address: address, the start IP address of the address range

address_count: integer, the number of IP addresses

start_port: integer, the starting port number of the port range

port_count: integer, the number of ports

Example

# set
input:  0/1 P4G_SERVER_RANGE [0] 192.168.1.100 1 1 1
output: <OK>

# get
input:  0/1 P4G_SERVER_RANGE [0] ?
output: 0/1 P4G_SERVER_RANGE [0] 192.168.1.100 1 1 1