
Configuring
the
Ethernet
Settings
D-Link
Unified
Access
Point
Administrator’s
Guide
November
2011
Page
26
Unified
Access
Point
Administrator’s
Guide
Using
the
CLI
to
Configure
Ethernet
Settings
Use
the
commands
shown
in
the
following
table
to
view
and
set
values
for
the
Ethernet
(wired)
interface.
For
more
information
about
each
setting,
see
the
description
for
the
field
in
Table
17
on
page
52
.
In
the
following
example,
the
administrator
uses
the
CLI
to
set
the
management
VLAN
ID
to
123
and
to
disable
the
untagged
VLAN
so
that
all
traffic
is
tagged
with
a
VLAN
ID.
D
‐
Link
‐
WLAN
‐
AP#
set
management
vlan
‐
id
123
D
‐
Link
‐
WLAN
‐
AP#
set
untagged
‐
vlan
status
down
Table
5:
CLI
Commands
for
Ethernet
Setting
Action
Command
Get
the
DNS
Name
get
host
id
Set
the
DNS
Name
set
host
id
<
host_name>
For
example:
set
host
id
vicky
‐
ap
Get
Current
Settings
for
the
Ethernet
(Wired)
Internal
Interface
get
management
Set
the
management
VLAN
ID
set
management
vlan
‐
id
<1
‐
4094>
View
untagged
VLAN
information
get
untagged
‐
vlan
Enable
the
untagged
VLAN
set
untagged
‐
vlan
status
up
Disable
the
untagged
VLAN
set
untagged
‐
vlan
status
down
Set
the
untagged
VLAN
ID
set
untagged
‐
vlan
vlan
‐
id
<1
‐
4094>
View
the
connection
type
get
management
dhcp
‐
status
Use
DHCP
as
the
connection
type
set
management
dhcp
‐
status
up
Use
a
Static
IP
as
the
connection
type
set
management
dhcp
‐
status
down
Set
the
Static
IP
address
set
management
static
‐
ip
<ip_address>
For
example:
set
management
static
‐
ip
10.10.12.221
Set
a
Subnet
Mask
set
management
static
‐
mask
<netmask>
For
example:
set
management
static
‐
mask
255.255.255.0
Set
the
Default
Gateway
set
static
‐
ip
‐
route
gateway
<ip_address>
For
example:
set
static
‐
ip
‐
route
gateway
10.10.12.1
View
the
DNS
Nameserver
mode
Dynamic=
up
Manual=down
get
host
dns
‐
via
‐
dhcp
Set
DNS
Nameservers
to
Use
Static
IP
Addresses
(Dynamic
to
Manual
Mode)
set
host
dns
‐
via
‐
dhcp
down
set
host
static
‐
dns
‐
1
<ip_address>
set
host
static
‐
dns
‐
2
<ip_address>
For
example:
set
host
static
‐
dns
‐
1
192.168.23.45
Set
DNS
Nameservers
to
Use
DHCP
IP
Addressing
(Manual
to
Dynamic
Mode)
set
host
dns
‐
via
‐
dhcp
up