Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

ip domain-name

Printer-Friendly Format

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
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater

Device ID Local Intrfce Holdtme Capability Platform Port ID
R3 Fas 1/0 160 R S I 3640 Fas 0/0
R1.cisco.com Fas 0/0 161 R S I 3640 Fas 0/0
R2(config)#



Back to commands department




Printer-Friendly Format
Home | Search | Contact Us | Tell a Friend | Text Size

2006-2012 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software