C
OMMAND
L
INE
I
NTERFACE
4-260
ip domain-name
This command defines the default domain name appended to incomplete
host names (i.e., host names passed from a client that are not formatted
with dotted notation). Use the
no
form to remove the current domain
name.
Syntax
ip domain-name
name
no ip domain-name
• name - Name of the host. (Range: 1-64 characters)
Default Setting
None
Command Mode
Global Configuration
Example
Related Commands
ip domain-list (4 -260)
ip name-server (4 -262)
ip domain-lookup (4 -263)
ip domain-list
This command defines a list of domain names that can be appended to
incomplete host names (i.e., host names passed from a client that are not
formatted with dotted notation). Use the
no
form to remove a name from
this list.
Console(config)#ip domain-name sample.com
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
Default Domain Name:
.sample.com
Domain Name List:
Name Server List:
Console#
Summary of Contents for 8728L2 - annexe 1
Page 2: ......
Page 15: ...CONTENTS xi ...
Page 19: ...TABLES xv ...
Page 32: ...INTRODUCTION 1 10 ...
Page 46: ...INITIAL CONFIGURATION 2 14 ...
Page 177: ...PORT CONFIGURATION 3 131 Figure 3 59 Displaying Etherlike and RMON Statistics ...
Page 258: ...CONFIGURING THE SWITCH 3 212 ...
Page 524: ...COMMAND LINE INTERFACE 4 266 ...
Page 532: ...TROUBLESHOOTING B 4 ...
Page 545: ......