Specifications

78 Chapter 6 Setting Network Preferences
To view the system uptime:
$ snmpget -c
community_string
localhost system.sysUptime.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (72239) 0:12:02.39
To view a list of snmp man pages:
$ man -k snmp
Managing Proxy Settings
The proxy server is a component of Mac OS X Server that functions as a relay between
a client and the server. This proxy server protects the network from unauthorized users
and provides a more secure environment. To view or change the proxy settings, use the
networksetup tool.
Viewing or Changing FTP Proxy Settings
To view FTP proxy information for a configuration:
$ sudo networksetup -getftpproxy "
configuration
"
To set FTP proxy information for a configuration:
$ sudo networksetup -setftpproxy "
configuration
"
domain
portnumber
To view the FTP passive setting for a configuration:
$ sudo networksetup -getpassiveftp "
configuration
"
To enable or disable FTP passive mode for a configuration:
$ sudo networksetup -setpassiveftp "
configuration
" (on|off)
To enable or disable the FTP proxy for a configuration:
$ sudo networksetup -setftpproxystate "
configuration
" (on|off)
Viewing or Changing Web Proxy Settings
To view web proxy information for a configuration:
$ sudo networksetup -getwebproxy "
configuration
"
To set web proxy information for a configuration:
$ sudo networksetup -setwebproxy "
configuration
"
domain
portnumber
To enable or disable the web proxy for a configuration:
$ sudo networksetup -setwebproxystate "
configuration
" (on|off)
Viewing or Changing Secure Web Proxy Settings
To view secure web proxy information for a configuration:
$ sudo networksetup -getsecurewebproxy "
configuration
"
To set secure web proxy information for a configuration:
$ sudo networksetup -setsecurewebproxy "
configuration
"
domain
portnumber