How to set domain-name on Cisco Devices ?
IF YOU WANT to change the ip domain-name on Cisco,you need to login the config mode first and then
oslo-router(config)#ip domain ?
lookup Enable IP Domain Name System hostname translation
name Define the default domain name
oslo-router(config)#ip domain-n
oslo-router(config)#ip doma
oslo-router(config)#ip domain-name my.local