beautypg.com

Polycom C16 User Manual

Page 210

background image

Design Guide for the Polycom SoundStructure C16, C12, C8, and SR12

8 - 4

To configure the device to have a static IP address, use the eth_settings com-

mand as follows:

set eth_settings 1
“type='static',addr='192.168.1.101',gw='192.168.10.254',nm='255.255.25
5.0',dns='66.82.134.56'”

where the 1 represents the device ID of the SoundStructure. If multiple Sound-

Structure devices are linked together, the device id of the first unit will be 1

and subsequent connected devices will have sequential device id’s ranging

from 2 to the number of devices assuming the OBAM interface is connected

from OBAM in to OBAM out as described in Chapters 2 and 3.
The eth_settings command accepts a complete string with the arguments sum-

marized below. Arguments to the different fields must be surrounded with

single quotes.

If the type is set to ‘dhcp’ then the remaining arguments are accepted but not

used until the type is set to static. All arguments have to be sent if the address

is being set to a static IP address.
To enable SoundStructure devices to accept a dynamic IP address use the

command:

set eth_settings 1 “type='dhcp'”

where 1 represents the default device ID of a stand-alone SoundStructure

device. Please note that there are single quotes around the argument ‘dhcp’

and the entire argument string is enclosed in double quotes.
To query the IP settings of the device, use the get action as in the following

example:

get eth_settings 1

val eth_settings 1 “mode='dhcp',addr='172.22.2.110',dns='172.22.1.1
172.22.1.2', gw='172.22.2.254',nm='255.255.255.0'"

Field

Definition

Values

type

How the system
receives an IP
address

static or dhcp

addr

IP address

The desired IP address

gw

Gateway

The IP address of the gateway

nm

Netmask

The netmask defining the subnet

dns

Name Server

The IP address of the name server used
to resolve host names. Multiple DNS
servers may be specified by separating
the arguments with spaces

This manual is related to the following products: