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.
Содержание EX-3524
Страница 2: ......
Страница 28: ...Figures 28 ...
Страница 34: ...Section I Getting Started 34 ...
Страница 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Страница 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Страница 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Страница 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Страница 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Страница 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Страница 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Страница 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Страница 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Страница 366: ...Chapter 15 Address Table Commands 366 ...
Страница 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Страница 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Страница 578: ...Section I Appendices 578 ...
Страница 594: ...Appendix C Customer Support Manuals 594 ...