6211-I1 ADSL2+ Router Command Line Interface User’s Guide
44
wan
Name
wan Lets you configure the WAN interfaces for the DSL router.
Synopsis
wan config <port.vpi.vci> [<connection Id>]
[--protocol <bridge|pppoe|pppoa|mer|ipoa>] [--encap <llc|vcmux>]
[--vlanid <vlan id>]
[--state <enable|disable>] [--service <servicename>]
[--firewall <enable|disable>] [--nat <enable|disable>]
[--igmp <enable|disable>] [--qos <enable|disable>]
[--username <username> --password <password>]
[--pppidletimeout <timeout>] [--pppipextension <disable|enable>]
[--ipaddr <wanipaddress> <wansubnetmask]
[--dhcpclient <enable|disable>]
wan delete <port.vpi.vci>
wan show [<port.vpi.vci>]
wan --help <bridge|pppoe|pppoa|mer|ipoa>
Description
The wan command configures the networking protocols for each WAN interface. Currently, each WAN
interface occupies one ATM Permanent Virtual Circuit (PVC). It does not support multiple PPPoE sessions
on one ATM PVC. Before using this command, the ATM PVC, which the WAN interface is based, must be
first configured by using the atm command. This command:
configures the protocol, encapsulation mode over ATM PVC, state, and service name for each WAN
interface.
configures the username, password, idle timeout, and PPP IP extension for a PPPoE or a PPPoA
interface.
configures the IP address and subnet mask for a MER or IPoA interface.
enables NAT or firewall for a MER or IPoA interface.
enables or disables the DHCP client for a MER interface.
deletes the existing WAN interface (it will not delete the ATM PVC).
shows the ATM PVC and WAN interface summary data and status.
displays usage for the WAN interface.
All information is displayed to stdout. A program or shell script that calls this utility can redirect stdout to a file
and then parse the file in order to interpret the displayed output. Note that special characters are supported
in all options of the character string type.
Commands
config
Configures the WAN interface for the DSL router.
The command only saves the configuration data to flash and does not take effect until the system is
rebooted.
delete
Removes the existing WAN interface.
The command only saves the configuration data to flash and does not take effect until the system is
rebooted.