Ip Host - Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

IP Addressing Commands

ip host

ip host
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
The maximum size of each domain level is 63 characters. The maximum name size
is 255 bytes.
Example
switchxxxxxx(config)# ip domain name website.com
To define the static host-name-to-address mapping in the DNS hostname cache,
use the ip host Global Configuration mode command
To remove the static-host name-to-address, use the no form of this command.
Syntax
hostname address1
ip host
hostname address1
no ip host
Parameters
hostname
—Name of the host. (Length: 1 to 158 characters. Maximum label
length of each domain level is 63 characters.)
address1
—Associated host IP address (IPv4 or IPv6, if IPv6 stack is
supported).
address2
address8
...
addresses, delimited by a single space (IPv4 or IPv6, if IPv6 stack is
supported).
Default Configuration
No host is defined.
Command Mode
Global Configuration mode
User Guidelines
Hostnames are restricted to ASCII letters A through Z (case-insensitive), the digit 0
through 9, the underscore and the hyphen symbols. A period (.) is used to separate
labels.
address2
address8
[
...
address2
address8
[
...
—(Optional) Up to seven additional associated IP
]
]
14
229

Advertisement

Table of Contents
loading

Table of Contents