Cisco Systems OL-14361-01 manual Related Topic Document Title, 105, End, Commit, Show hosts

Page 3

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 name-server 10.1.1.1

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

 

 

 

 

 

 

OL-14361-01

 

 

5-105

 

 

 

 

 

Image 3
Contents Contents Configuring Additional Router Features104 Command or Action PurposeConfigure ExampleCommit Related Topic Document Title105 EndConfiguring Telnet, HTTP, and XML Host Services Prerequisites106 Http server 107Telnet ipv4 server max-servers limit Telnet ipv6 server max-servers limitManaging Configuration History and Rollback RP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers108 Displaying the Configuration Changes Recorded in a CommitID Displaying the CommitIDs109 110 Previewing Rollback Configuration ChangesRolling Back the Configuration to a Specific Rollback Point RP/0/RP1/CPU0router# show configuration rollback changes toRP/0/RP1/CPU0router# rollback configuration to RP/0/RP0/CPU0router# rollback configuration last111 112 RP/0/RP1/CPU0router# show configuration commit changes ?113 Deleting CommitIDsLevel Description Configuring Logging and Logging CorrelationLogging Destination Command Global Configuration Mode Logging Locations and Severity LevelsLogging trap severity Alarm Logging CorrelationConfiguring Basic Message Logging 115116 Logging console severityShow logging 117 Disabling Console Logging118 Command DescriptionConfiguring User Accounts Creating Users and Assigning Groups119 Username user-name Password 0 7 passwordSecret 0 5 password 120Configuring Software Entitlement Configuration Limiting121 Static Route Configuration Limits IS-IS Configuration Limits122 OSPFv2 and v3 Configuration Limits Description Limit Router Configuration Mode Exec Mode123 124 Maximum Interfaces for Each Ospf Instance Example125 BGP Configuration Limits126 Maximum paths127 Routing Policy Language Line and Policy Limits128 129 Multicast Configuration LimitsDefault Absolute Maximum Show Current Settings Limit Configuration Command Command Exec ModeMpls Configuration Limits Other Configuration Limits130