4. Host Commands

get host and set host commands
This chapter describes commands that can be used to view and set host settings.

4.1 get host

Summary of get host commands:

Command Description
ac-host-name Display the ac-host-name
detail * Get all properties *
dns-1 Display the Domain name server (1)
dns-2 Display the Domain name server (2)
dns-via-dhcp Display whether DNS parameters are obtained through DHCP
dnsv6-1 Display the IPv6 domain name server (1)
dnsv6-2 Display the IPv6 domain name server (2)
dnsv6-via-dhcpv6 Display whether DNSv6 parameters are obtained through DHCPv6
id Display the Hostname
static-dns-1 Display the Domain name server (1) to use when not obtained through DHCP
static-dns-2 Display the Domain name server (2) to use when not obtained through DHCP
static-dnsv6-1 Display the Domain name server (1) to use when not obtained through DHCPv6
static-dnsv6-2 Display the Domain name server (2) to use when not obtained through DHCPv6

4.1.1 get host ac-host-name

Function: Display ACHostname.
Command: get host ac-host-name
Example:

ARC2000MAP# get host ac-host-name
AC1

4.1.2 get host detail

Function: Display host detail information.
Command: get host detail
Example:

ARC2000MAP# get host detail
Property          Value
----------------------------
id                ARC2000MAP
ac-host-name      AC1
dns-1             1.1.1.1
dns-2
dnsv6-1
dnsv6-2
static-dns-1      3.3.3.3
static-dns-2
static-dnsv6-1
static-dnsv6-2
dns-via-dhcp      down
dnsv6-via-dhcpv6  up

4.1.3 get host dns-1

Function: Display domain name server (1).
Command: get host dns-1
Example:

ARC2000MAP# get host dns-1
1.1.1.1

4.1.4 get host dns-2

Function: Display domain name server (2).
Command: get host dns-2
Example:

ARC2000MAP# get host dns-1
2.2.2.2

4.1.5 get host dns-via-dhcp

Function: Identifies whether DNS parameters are obtained through DHCP.
Command: get host dns-via-dhcp
Example:

ARC2000MAP# get host dns-via-dhcp
up

4.1.6 get host dnsv6-1

Function: Display IPv6 domain name server (1).
Command: get host dnsv6-1
Example:

ARC2000MAP# get host dnsv6-1
2010::1

4.1.7 get host dnsv6-2

Function: Display IPv6 domain name server (2).
Command: get host dnsv6-2
Example:

ARC2000MAP# get host dnsv6-1
2010::10

4.1.8 get host dnsv6-via-dhcpv6

Function: Identifies whether DNSv6 parameters are obtained through DHCPv6.
Command: get host dnsv6-via-dhcpv6
Example:

ARC2000MAP# get host dnsv6-via-dhcpv6
up

4.1.9 get host id

Function: Display hostname.
Command: get host id
Example:

ARC2000MAP# get host id
ARC2000MAP

4.1.10 get host static-dns-1

Function: Display domain name server (1) to use when not obtained through DHCP.
Command: get host static-dns-1
Example:

ARC2000MAP# get host static-dns-1
3.3.3.3

4.1.11 get host static-dns-2

Function: Display domain name server (2) to use when not obtained through DHCP.
Command: get host static-dns-2
Example:

ARC2000MAP# get host static-dns-2
4.4.4.4

4.1.12 get host static-dnsv6-1

Function: Display domain name server (1) to use when not obtained through DHCPv6.
Command: get host static-dnsv6-1
Example:

ARC2000MAP# get host static-dnsv6-1
2010::5

4.1.13 get host static-dnsv6-2

Function: Display domain name server (2) to use when not obtained through DHCPv6.
Command: get host static-dnsv6-2
Example:

ARC2000MAP# get host static-dnsv6-2
2010::15

 


4.2 set host

Summary of set host commands:

Command Description
ac-host-name Set ACHostname
dns-via-dhcp Set whether DNS parameters are obtained through DHCP
dnsv6-via-dhcpv6 Set whether DNSv6 parameters are obtained through DHCPv6
id Set Hostname
static-dns-1 Set Domain name server (1) to use when not obtained through DHCP
static-dns-2 Set Domain name server (2) to use when not obtained through DHCP
static-dnsv6-1 Set Domain name server (1) to use when not obtained through DHCPv6
static-dnsv6-2 Set Domain name server (2) to use when not obtained through DHCPv6

4.2.1 set host ac-host-name

Function: Set the ACHostname.
Command: set host ac-host-name
Example:

ARC2000MAP# set host ac-host-name aaa

4.2.2 set host dns-via-dhcp

Function: Set value to determine whether DNS parameters are obtained through DHCP (value: ?up? or ?down?).
Command: set host dns-via-dhcp
Example:

ARC2000MAP# set host dns-via-dhcp down

4.2.3 set host dnsv6-via-dhcpv6

Function: Set value to determine whether DNSv6 parameters are obtained through DHCPv6 (value: ?up? or ?down?).
Command: set host dnsv6-via-dhcpv6
Example:

ARC2000MAP# set host dnsv6-via-dhcpv6 up

4.2.4 set host id

Function: Set the hostname (value: DNS domain name).
Command: set host id
Example:

ARC2000MAP# set host id 123
123#

4.2.5 set host static-dns-1

Function: Set the domain name server (1) to use when not obtained through DHCP (value: IP address).
Command: set host static-dns-1
Example:

ARC2000MAP# set host static-dns-1 10.1.144.2

4.2.6 set host static-dns-2

Function: Set the domain name server (2) to use when not obtained through DHCP (value: IP address).
Command: set host static-dns-2
Example:

ARC2000MAP# set host static-dns-2 10.1.145.2

4.2.7 set host static-dnsv6-1

Function: Set the domain name server (1) to use when not obtained through DHCPv6 (value: IPv6 address).
Command: set host static-dnsv6-1
Example:

ARC2000MAP# set host static-dnsv6-1 2011::10

4.2.8 set host static-dnsv6-2

Function: Set the domain name server (2) to use when not obtained through DHCPv6 (value: IPv6 address).
Command: set host static-dnsv6-2
Example:

ARC2000MAP# set host static-dnsv6-2 2012::10

 


Return to AP Wireless CLI Table of Contents.