User`s guide

6211-I1 ADSL2+ Router Command Line Interface User’s Guide
49
Examples
Configure a PPPoE interface.
wan config 0.0.35 --protocol pppoe --username username --password password --
encap llc
Configure a PPPoA interface.
wan config 0.0.36 --protocol pppoa --username username --password password --
encap vcmux
Configure a MER configuration using DHCP client.
wan config 0.0.37 --protocol mer --encap llc
Configure a MER configuration using a static WAN address.
wan config 0.0.37 --protocol mer --encap llc --ipaddr 10.6.33.163 255.255.255.0
Configure an IPoA configuration without fireware and NAT.
wan config 0.0.40 --protocol ipoa --encap llc --firewall disable --nat disable --
ipaddr 10.6.33.227 255.255.255.0
Configure a bridge configuration.
wan config 0.2.35
Remove a WAN interface.
wan delete 0.2.35
Display all WAN interfaces.
wan show
======================================================================
VCC Catego. Service Intf. Proto. State Status IP
Name Name Address
======================================================================
0.0.35 UBR pppoe_0_35 ppp33 PPPoE Enable Up 10.6.33.143
0.0.36 UBR pppoa_0_36 ppp42 PPPoA Enable Up 10.6.33.152
0.0.37 UBR mer_0_37 nas27 MER Enable Up 10.6.33.193
0.0.40 UBR ipoa_0_40 atm52 IPoA Enable Up 10.6.33.227
======================================================================
Display usage for all protocols.
wan -help
Usage: wan config <port.vpi.vci>
[--protocol <bridge|pppoe|pppoa|mer|ipoa>] [--encap <llc|vcmux>]
[--state <enable|disable>] [--service <servicename>]
[--firewall <enable|disable>] [--nat <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>