Ip host, Ip name-server, Ip host ip name-server – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 626: Ip name-server (576)

Advertising
background image

576

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002581-01

Domain Name Service Commands

27

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.

Syntax

[no] ip host name address

name - Name of an IPv4 host. (Range: 1-100 characters)

address - Corresponding IPv4 address.

Default Setting

No static entries

Command Mode

Global Configuration

Command Usage

Use the no ip host command to clear static entries, or the

clear host

command to clear dynamic

entries.

Example

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.

Syntax

[no] ip name-server server-address1 [server-address2server-address6]

server-address1 - IPv4 or IPv6 address of domain-name server.

server-address2server-address6 - IPv4 or IPv6 address of additional domain-name
servers.

Default Setting

None

Command Mode

Global Configuration

Advertising