
Chapter 4: Utility Commands
239
ip host
Use this command to define static host name-to-address mapping in the host
cache. The parameter
name
is host name and
ip address
is the IP address of
the host. The hostname can include 1–255 alphanumeric characters, periods,
hyphens, underscores, and non-consecutive spaces. Hostnames that include one
or more space must be enclosed in quotation marks, for example “lab-pc 45”.
no ip host
Use this command to remove the name-to-address mapping.
ipv6 host
Use this command to define static host name-to-IPv6 address mapping in the host
cache. The parameter
name
is host name and
v6 address
is the IPv6 address of
the host. The hostname can include 1–255 alphanumeric characters, periods,
hyphens, and spaces. Hostnames that include one or more space must be enclosed
in quotation marks, for example “lab-pc 45”.
Format
no ip name-server [
server-address1...server-
address8
]
Mode
Global Config
Default
none
Format
ip host
name ipaddress
Mode
Global Config
Format
no ip host
name
Mode
Global Config
Default
none
Format
ipv6 host
name v6 address
Mode
Global Config
Содержание CN1610
Страница 3: ......
Страница 27: ...24 CLI Line Editing Conventions List available commands keywords or parameters Key Sequence Description ...
Страница 31: ...28 Accessing the CLI ...
Страница 309: ...306 Remote Monitoring Commands ...
Страница 473: ...470 Port Mirroring Commands 100 ...
Страница 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Страница 607: ...604 IPv6 Management Commands ...