Polycom SoundStructure C16 Design Manual page 659

Hide thumbs Also See for SoundStructure C16:
Table of Contents

Advertisement

Command
eth_settings
Argument
Channel Type
Value Type
Read/Write Mode
System Limits
Default
Event Source
Description
This parameter gets or sets the Ethernet settings. When this parameter is set,
the Ethernet interface is automatically restarted with the new settings.
The format of the string is a comma-separated list of name/value pairs with
the name and value separated by an equals character, and the value enclosed
in single quotes.
The mode attribute is always required. It must be either dhcp or static.
The addr, dns, gw, and nm attributes are required when mode is static and
ignored (not required) when mode is dhcp. They are always returned in the acknowl-
edgement. For the dhcp case, they specify the values obtained from the DHCP server.
The addr attribute specifies the IP address of the interface. The dns attribute speci-
fies the domain name server(s). A single server or multiple servers (separated by
spaces) may be specified. The gw attribute specifies the gateway. The nm parameter
specifies the netmask.
DHCP Example
set eth_settings 1 "mode='dhcp'"
val eth_settings 1 "mode='dhcp',addr='172.22.2.129',dns='172.22.1.1
172.22.1.2',gw='172.22.2.254',nm='255.255.255.0'"
Static IP Example
set eth_settings 1
"mode='static',addr='172.22.2.200',dns='172.22.1.1',gw='172.22.2.254',nm='255.
255.255.0'"
val eth_settings 1
"mode='static',addr='172.22.2.200',dns='172.22.1.1',gw='172.22.2.254',nm='255.
255.255.0'"
Examples
Response
Argument value
Device-Specific System
String
Read/Write
Max String Length: 256
mode='dhcp'
No
Description
Command Protocol Reference Guide
Ethernet Settings
A - 143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents