
ConfiguringtheEthernetSettings
D-Link UnifiedAccessPointAdministrator’sGuide
November2011 Page26
UnifiedAccessPointAdministrator’sGuide
UsingtheCLItoConfigureEthernetSettings
UsethecommandsshowninthefollowingtabletoviewandsetvaluesfortheEthernet(wired)interface.For
moreinformationabouteachsetting,seethedescriptionforthefieldinTable17onpage52.
Inthefollowingexample,theadministratorusestheCLItosetthemanagementVLANID
to123andtodisable
theuntaggedVLANsothatalltrafficistaggedwithaVLANID.
D‐Link‐WLAN‐AP#setmanagementvlan‐id123
D‐Link‐WLAN‐AP#setuntagged‐vlanstatusdown
Table5:CLICommandsforEthernetSetting
Action Command
GettheDNSName
gethostid
SettheDNSName
sethostid<host_name>
Forexample:
sethostidvicky‐ap
GetCurrentSettingsfortheEthernet(Wired)Internal
Inte rface
getmanagement
SetthemanagementVLANID
setmanagementvlan‐id<1‐4094>
ViewuntaggedVLANinformation
getuntagged‐vlan
EnabletheuntaggedVLAN
setuntagged‐vlanstatusup
DisabletheuntaggedVLAN
setuntagged‐vlanstatusdown
SettheuntaggedVLANID
setuntagged‐vlanvlan‐id<1‐4094>
Viewtheconnectiontype
getmanagementdhcp‐status
UseDHCPastheconnectiontype
setmanagementdhcp‐statusup
UseaStaticIPastheconnectiontype
setmanagementdhcp‐statusdown
SettheStaticIPaddress
setmanagementstatic‐ip<ip_address>
Forexample:
setmanagementstatic‐ip10.10.12.221
SetaSubnetMask
setmanagementstatic‐mask<netmask>
Forexample:
setmanagementstatic‐mask255.255.255.0
SettheDefaultGateway
setstatic‐ip‐routegateway<ip_address>
Forexample:
setstatic‐ip‐routegateway10.10.12.1
ViewtheDNSNameservermodeDynamic=up
Manual=down
gethostdns‐via‐dhcp
SetDNSNameserverstoUseStaticIPAddresses(Dynamic
toManualMode)
sethostdns‐via‐dhcpdown
sethoststatic‐dns‐1
<ip_address>
sethoststatic‐dns‐2
<ip_address>
Forexample:
sethoststatic‐dns‐1192.168.23.45
SetDNSNameserverstoUseDHCPIPAddressing(Manual
toDynamicMode)
sethostdns‐via‐dhcpup