User guide

wan
Chapter 2 Command Descriptions 259
wan
Device support This command is supported in PortServer TS Family devices only.
Purpose Initiates and controls wide-area network (WAN) connections, or displays
the status of current WAN connections.
Only incorrectly configured WAN interfaces produce a message in
response to this command. If WAN interfaces are configured correctly, no
message is returned.
Required
permissions
Anyone can display the status of WAN connections. Root privileges are
required to initiate or control WAN connections.
Syntax Initiate and control WAN connections
wan [close=user name]
[initmodem=range]
[start=user name]
[testmodem=range]
[verify={all|user name}]
Display status of WAN connections
wan [range=range]
Options close=user name
Closes an outbound connection. The connection is identified by a user
name.
initmodem=range
Executes the modem initialization script associated with the port or ports
specified, where range specifies either a port or range of ports.
start=user name
Places the connection in the start-up condition. The connection is
identified by a user.
testmodem=range
Executes the modem test script associated with the port or ports
specified. See "set modem" on page 162 for information on test scripts.
verify={all|user name}
The verification performed by the command.
all
Verifies that all connections are associated with real users, that is,
users that are defined in the configuration.
wanname
Verifies that the user has been defined in the configuration.