set ip alias

Configures an alias, which maps a name to an IP address. You can use aliases as shortcuts in CLI commands.

Syntax: set ip alias name ip-addr

name

String of up to 32 alphanumeric characters, with no spaces.

ip-addrIP address in dotted decimal notation.

Defaults: None.

Access: Enabled.

Examples: The following command configures the alias HR1 for IP address 192.168.1.2:

DWS-1008#set ip alias HR1 192.168.1.2

success: change accepted.

See Also:

clear ip alias

show ip alias

set ip dns

Enables or disables DNS on a DWS-1008 switch.

Syntax: set ip dns {enable disable}

enable Enables DNS.

disable Disables DNS.

Defaults: DNS is disabled by default.

Access: Enabled.

Examples: The following command enables DNS on a DWS-1008 switch:

DWS-1008#set ip dns enable

Start DNS Client

See Also:

clear ip dns domain

clear ip dns server

set ip dns domain

set ip dns server

show ip dns

D-Link DWS-1008 CLI Manual

92

Page 95
Image 95
D-Link dws-1008 manual Set ip alias, Set ip dns