H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DNS
H3C S7500 Series Ethernet Switches Chapter 1 DNS Configuration Commands
1-6
1.1.7 dns server
Syntax
dns server ip-address
undo dns server [ ip-address ]
View
System view
Parameters
ip-address: IP address of a DNS server.
Description
Use the dns server command to configure an IP address for a DNS server.
Use the undo dns server to remove a configured DNS server IP address.
No DNS server IP address is configured by default.
You can configure up to 6 DNS servers.
Related commands: display dns server.
Examples
# Configure a DNS server with an IP address of 172.16.1.1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dns server 172.16.1.1
1.1.8 ip host
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameters
Hostname: Hostname, a string of 1 to 30 characters, including alphanumeric
characters, hyphens (-), or dots (.). It must contain at least one letter.
ip-address: IP address of the specified host, in dotted decimal notation.