Cisco Nexus 3548 Command Reference Manual page 77

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

System Management Commands
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)A1(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
OL-27851-02
ip host name address1 [address2... address6]
no ip host name address1 [address2... address6]
Modification
This command was introduced.
Cisco Nexus 3548 Switch NX-OS System Management Command Reference
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.
ip host
67

Advertisement

Table of Contents
loading

Table of Contents