Chapter 43: Domain Name Service Commands
– 1324 –
R
ELATED
C
OMMANDS
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.
S
YNTAX
[
no
]
ip host name
address
name
- Name of an IPv4 host. (Range: 1-100 characters)
address
- Corresponding IPv4 address.
D
EFAULT
S
ETTING
No static entries
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
Use the
no
ip host
command to clear static entries, or the
command to clear dynamic entries.
E
XAMPLE
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.
S
YNTAX
[
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.
D
EFAULT
S
ETTING
None
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...