3Com 3CRUS2475 Plumbing Product User Manual


 
314 CHAPTER 20: IP ADDRESS COMMANDS
ip domain-name The ip domain-name Global Configuration mode command defines a
default domain name used by the software to complete unqualified host
names (names without a dotted-decimal domain name). To remove the
default domain name, use the no form of this command.
Syntax
ip domain-name name
no ip domain-name
Parameters
name — Specifies the default domain name used to complete
unqualified host names. Do not include the initial period that
separates an unqualified name from the domain name. (Range: 1-158
characters)
Default Configuration
A default domain name is not defined.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example defines default domain name www.3Com.com.
Interface IP address HW address Status
--------- ---------- --------------
---
-------
g1 10.7.1.102 00:10:B5:04:DB
:4B
Dynamic
g2 10.7.1.135 00:50:22:00:2A
:A4
Static
Console(config)#
ip domain-name
www.3Com.com