Chapter 23
| Domain Name Service Commands
– 526 –
Related Commands
ip domain-list (523)
ip name-server (526)
ip domain-lookup (524)
ip host
This command creates a static entry in the DNS table that maps a host name to an
IPv4 address. Use the
no
form to remove an entry.
Syntax
[
no
]
ip host
name
address
name
- Name of an IPv4 host. (Range: 1-100 characters)
address
- Corresponding IPv4 address.
Default Setting
No static entries
Command Mode
Global Configuration
Command Usage
Use the
no ip host
command to clear static entries, or the
clear host
command to
clear dynamic entries.
Example
This example maps an IPv4 address to a host name.
Console(config)#ip host rd5 192.168.1.55
Console(config)#end
Console#show hosts
No. Flag Type IP Address TTL Domain
---- ---- ------- -------------------- ----- ------------------------------
0 2 Address 192.168.1.55 rd5
Console#
ip name-server
This command specifies the address of one or more domain name servers to use for
name-to-address resolution. Use the
no
form to remove a name server from this
list.
Syntax
[
no
]
ip name-server
server-address1
[
server-address2
…
server-address6
]
server-address1
- IPv4 or IPv6 address of domain-name server.
server-address2
…
server-address6
- IPv4 or IPv6 address of additional
domain-name servers.
Summary of Contents for EX-3524
Page 2: ......
Page 28: ...Figures 28 ...
Page 34: ...Section I Getting Started 34 ...
Page 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Page 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Page 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Page 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Page 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Page 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Page 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Page 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Page 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Page 366: ...Chapter 15 Address Table Commands 366 ...
Page 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Page 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Page 578: ...Section I Appendices 578 ...