User Manual

[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the default domain name that was specified by the ip domain-name command.
[Example]
Show the default domain name.
SWP1>show ip domain-name
example.com
5.1.4 Set search domain list
[Syntax]
ip domain-list name
no ip domain-list name
[Parameter]
name : Domain name (maximum 255 characters)
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Adds a domain name to the list of domain names used for DNS queries.
Up to six domains can be registered in the search domain list.
If this command is executed with the "no" syntax, the specified domain name is deleted from the search domain list.
[Note]
If the ip address dhcp command was used to obtain the search domain list from the DHCP server, the setting of this command
takes priority.
However if fewer than six items were registered by this command in the search domain list, up to six items from the search
domain list obtained by the DHCP server are added to the end of this list.
[Example]
Add the domain names "example1.com" and "example2.com" to the search domain list.
SWP1(config)#ip domain-list example1.com
SWP1(config)#ip domain-list example2.com
5.1.5 Show search domain list
[Syntax]
show ip domain-list
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows a list of the search domains that were specified by the ip domain-list command.
[Example]
Show the search domain list.
SWP1>show ip domain-list
example1.com
example2.com
5.1.6 Set DNS server list
[Syntax]
ip name-server server
no ip name-server server
56 | Command Reference |
IPv4/IPv6 common setting