Cisco Systems A9K24X10GETR, ASR 9000 manual Configuring Telnet and XML Host Services, Examples

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 79
Image 79
Configuring Telnet and XML Host Services

Chapter 4 Configuring Additional Router Features

 

 

Configuring Telnet and XML Host Services

 

 

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

 

 

 

 

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/RSP0/CPU0:router(config)# end

 

[cancel]:

 

or

 

 

 

 

RP/0/RSP0/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/RSP0/CPU0:router(config)# show hosts

 

 

 

 

 

 

Examples

In the following example, the domain name and DNS are configured:

RP/0/RSP0/CPU0:router# configure

RP/0/RSP0/CPU0:router(config)# domain name cisco.com

RP/0/RSP0/CPU0:router(config)# domain name-server 10.1.1.1

RP/0/RSP0/CPU0:router(config)# commit

RP/0/RSP0/CPU0:router(config)# end

RP/0/RSP0/CPU0:router# show hosts

Default domain is cisco.com

Name/address lookup uses domain service

Name servers: 10.1.1.1

Configuring Telnet and XML Host Services

For security, some host services are disabled by default. You can enable Host services, such as Telnet and Extensible Markup Language (XML), using the commands in this section. Enabling the Telnet server allows users to log in to the router using IPv4 Telnet clients.

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

 

OL-17502-01

4-3

 

 

 

Page 79
Image 79
Cisco Systems A9K24X10GETR, ASR 9000, A9KMOD80TR manual Configuring Telnet and XML Host Services, Examples