Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh ras set wanports ?
set wanports [device=][[rasinonly=] enabled | disabled ][[ddinout=] enabled | disabled ][[ddoutonly=] enabled | disabled ][[phone=]][[maxports=]]
Sets the RAS WAN ports options.
device - The device name of the port
rasinonly - Inbound remote access connection
ddinout - Demand dial in/outbound routing connection
ddoutonly - Demand dial outbound routing connection
phone - Phone number for the device. This will be a string taking phone
number or VPI/VCI or IP address value
maxports - Maximum number of ports for the device
Example:
netsh>ras set wanports device="WAN Miniport (PPTP)"
rasinonly = enabled ddinout = enabled ddoutonly = disabled
phone ="33525552" maxports=20
netsh>ras set wanports device="Standard 56000 bps Modem"
rasinonly = disabled ddinout = enabled ddoutonly = disabled
phone="9140559676"