
Chapter 5 Configuring Additional Router Features
Configuring the Domain Name and Domain Name Server
| Command or Action | Purpose |
Step 4 |
|
|
end | Saves configuration changes. | |
| or | • When you issue the end command, the system prompts |
| commit | |
|
| you to commit changes: |
| Example: | Uncommitted changes found, commit them before |
| exiting(yes/no/cancel)? | |
| RP/0/RP0/CPU0:router(config)# end | |
| [cancel]: | |
| or | |
|
| |
| RP/0/RP0/CPU0:router(config)# commit | – Entering yes saves configuration changes to the |
|
| |
|
| running configuration file, exits the configuration |
|
| session, and returns the router to EXEC mode. |
|
| – Entering no exits the configuration session and |
|
| returns the router to EXEC mode without |
|
| committing the configuration changes. |
|
| – Entering cancel leaves the router in the current |
|
| configuration session without exiting or |
|
| committing the configuration changes. |
|
| • Use the commit command to save the configuration |
|
| changes to the running configuration file and remain |
|
| within the configuration session. |
Step 5 |
|
|
show hosts | Displays all configured name servers. | |
| Example: |
|
| RP/0/RP0/CPU0:router(config)# show hosts |
|
|
|
|
Examples
In the following example, the domain name and DNS are configured:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# domain name cisco.com
RP/0/RP0/CPU0:router(config)# domain
RP/0/RP0/CPU0:router(config)# commit
RP/0/RP0/CPU0:router(config)# end
RP/0/RP0/CPU0:router# show hosts
Default domain is cisco.com
Name/address lookup uses domain service
Name servers: 10.1.1.1
Related Documents
Related Topic | Document Title |
|
|
Complete descriptions of the domain services | Implementing Host Services and Applications on Cisco IOS XR |
commands | Software module in Cisco IOS XR IP Addresses and Services |
| Configuration Guide |
|
|
|
| Cisco IOS XR Getting Started Guide |
|
| |
|
|
| |||
|
|
|
|
| |
|
|
|
|