Symbol Technologies WS 2000 Switch User Manual


 
Command Line Interface Reference 10-87
WS2000>admin(network.wan)> set
Description:
Sets the WAN parameters. In the Web interface, this functionality if provided by the Network->WAN screen.
Syntax:
Example:
admin(network.wan)>set dhcp enable
admin(network.wan)>set dgw 192.168.122.25
admin(network.wan)>set pppoe mode enable
admin(network.wan)>set pppoe type chap
admin(network.wan)>set pppoe user JohnDoe
admin(network.wan)>set pppoe passwd @#$goodpassword%$#
admin(network.wan)>set pppoe keepalive enable
Related Commands:
set dhcp enable / disable Enables or disables the switch as a DHCP client.
dgw
<a.b.c.d>
Sets the default gateway IP address to <a.b.c.d>.
dns
<idx> <a.b.c.d>
Sets the IP address of one or two DNS servers, where <idx> indicates
either the primary (1) or secondary (2) server, and <a.b.c.d> is the IP
address of the server.
ipadr
<idx> <a.b.c.d>
Sets up to 8 (using <idx> from 1 to 8) IP addresses <a.b.c.d> for the WAN
interface of the switch.
mask
<a.b.c.d>
Sets the subnet mask.
mode
<idx>
enable / disable Enables or disables the WAN interface associated with the given <idx>
as set using the set ipadr command.
pppoe mode enable / disable Enables or disables PPPoE.
idle
<val>
Sets PPPoE idle time to <val> (an integer in the range 165535), which
indicates the number of seconds.
ka enable / disable Enables or disables PPPoE keepalive.
passwd
<passwd>
Sets the PPPoE password to <passwd> (1–39 characters).
type
<type>
Sets PPPoE authentication to <type>, where <type> can be one of the fol-
lowing values: none, pap/chap, pap, or chap.
user
<userID>
Sets PPPoE user name to <userID> (1–47 characters).
show ip Shows the IP settings for the WAN.
pppoe Shows the PPPoE settings for the WAN.