D-Link DWL-8500AP Product Manual - Page 33

Using the CLI to Con Ethernet Settings, Table 8., Action, Command

Page 33 highlights

3 Installing the Access Point Using the CLI to Configure Ethernet Settings Use the commands in Table 8 to view and set values for the Ethernet (wired) interface. For more information about each setting, see the description for the field in Table 7. Table 8. CLI Commands for Ethernet Settings Action Get the DNS Name Set the DNS Name Get Current Settings for the Ethernet (Wired) Internal Interface Set the management VLAN ID View untagged VLAN information Enable the untagged VLAN Disable the untagged VLAN Set the untagged VLAN ID View the connection type Use DHCP as the connection type Use a Static IP as the connection type Set the Static IP address Set a Subnet Mask Set the Default Gateway View the DNS Nameserver mode Dynamic= up Manual=down Command get host id set host id For example: set host id vicky-ap get management set management vlan-id get untagged-vlan set untagged-vlan status up set untagged-vlan status down set untagged-vlan vlan-id get management dhcp-status set management dhcp-client status up set management dhcp-client status down set management static-ip Example: set management static-ip 10.10.12.221 set management static-mask Example: set management static-mask 255.0.0.0 set static-ip-route gateway Example: set static-ip-route gateway 10.254.0.1 Note that there is no need to set static-ip-route mask or staticip-route destination when setting the default gateway. In general, the static-ip-route mask should be set as the netmask for the destination net: "255.255.255.255" for a host or left as "0.0.0.0" for the default route. get host dns-via-dhcp Configuring the Ethernet Interface 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

Configuring the Ethernet Interface
33
3
Installing the Access Point
Using the CLI to Configure Ethernet Settings
Use the commands in
Table 8
to view and set values for the Ethernet (wired) interface. For
more information about each setting, see the description for the field in
Table 7
.
Table 8.
CLI Commands for Ethernet Settings
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-client status up
Use a Static IP as the connection
type
set management dhcp-client status down
Set the Static IP address
set management static-ip
<ip_address>
Example:
set management static-ip 10.10.12.221
Set a Subnet Mask
set management static-mask
<netmask>
Example:
set management static-mask 255.0.0.0
Set the Default
Gateway
set static-ip-route gateway
<ip_address>
Example:
set static-ip-route gateway 10.254.0.1
Note that there is no need to set static-ip-route mask or static-
ip-route destination when setting the default gateway.
In general, the static-ip-route mask should be set as the
netmask for the destination net: “255.255.255.255” for a host
or left as “0.0.0.0” for the default route.
View the DNS Nameserver mode
Dynamic= up
Manual=down
get host dns-via-dhcp