Command
IP Domain-name
Use
This command allows you to set a domain name for the router.
Syntax
Router(config)#ip domain-name <name>
Example
In the below example, we set R1 to have a domain name of “cisco.com”.
R1(config)#ip domain-name cisco.com |
Now if we check show cdp neighbors on R2 we see that R1 has a domain name appended to it..
R2(config)#do show cdp neighbor Device ID Local Intrfce Holdtme Capability Platform Port ID |