ip domain-list
Use this command to define a list of default domain names used to complete unqualified host names. Each domain in the list is to be tried in turn.
The ip domain-list
command is similar to the ip domain-name command, except that with the ip domain-list
command you can define a list of domains, each to be tried in turn.
If there is no domain list, the default domain name specified with the ip domain-name
command is used. If there is a domain list, the default domain name is not used.
Use the no
form of this command to remove a domain.
Command Syntax
ip domain-list (vrf (NAME|management)|) DOMAIN-NAME
no ip domain-list (vrf (NAME|management)|) DOMAIN-NAME
Parameters
DOMAIN-NAME
Domain string (e.g. company.com)(Max Size 64)
vrf management
Defines the management VRF Virtual Routing and Forwarding instance.
vrf NAME
Specify the user-defined VRF instance name.
Default
None
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3. Added parameter NAME in OcNOS version 6.5.3.
Example
#configure terminal
(config)#ip domain-list mySite.com