Ip Host - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

ip host

S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
ip host
To define static hostname-to-address mappings in the Domain Name System (DNS) hostname cache, use
the ip host command. To remove a hostname-to-address mapping, use the no form of this command.
Syntax Description
name
address1
address2 ... address6
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.0(3)U1(1)
Usage Guidelines
Use the ip host command to add a static host name to DNS.
Examples
This example shows how to configure a static hostname:
switch# configure terminal
switch(config)# ip host mycompany.com 192.0.2.1
switch(config)#
Related Commands
Command
show hosts
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-94
ip host name address1 [address2... address6]
no ip host name address1 [address2... address6]
Modification
This command was introduced.
Hostname. The name can be any case-sensitive, alphanumeric string
up to 80 characters.
IPv4 address in the x.x.x.x format.
(Optional) Up to five additional IPv4 addresses in the x.x.x.x format.
Description
Displays information about the IP domain name configuration.
Chapter
System Management Commands
OL-29557-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents