Cisco IPv6 Training

 

Enabling Telnet on an IPv6 Router and Establishing Telnet Sessions from the Router

 

By Charles Ross CCNP #CSCO10444244

 

 

Well, just in case you are new to the word “telnet”; telnet is an Application Layer protocol that can be used to make direct connections (using telnet sessions) to a Cisco router or from a Cisco router. It doesn’t matter whether you’re using the IPv4 protocol or the IPv6 protocol, “telnet” performs in the same manner.

 

A network administrator can use “telnet” to make the following different types of direct connections (telnet sessions):

 

 

In this article, I’m going to show you how to enable “telnet” on a Cisco IPv6 router, so you’ll be able to directly connect to it via telnet sessions and I’m also going to show you how you can initiate a “telnet” session from a Cisco IPv6 Router.

 

Here are the steps needed to enable “telnet” on a Cisco IPv6 router:

 

1. Router>enable

2. Router#configure terminal

3. Router(config)#ipv6 host name [port] ipv6-address1 [ipv6-address2...ipv6-address4]

4. Router(config)#line [aux | console | tty | vty] line-number [ending-line-number]

5. Router(config-line)#password password

6. Router(config-line)#login [local | tacacs]

7. Router(config-line)#ipv6 access-class ipv6-access-list-name {in | out}

8. Router(config-line)#end

9. Router#copy run start

 

Here are the steps needed to initiate a “telnet” session from a Cisco IPv6 router:

 

1. Router>enable

2. Router#telnet host [port] [keyword]

 


First Steps Explained

 

Step #1 

1. Router>enable

 

Puts router into Privileged EXEC mode.

 

Step #2  

2. Router#configure terminal

 

Puts router into Global configuration mode.

 

Step #3 

3. Router(config)#ipv6 host cisco-test 2001:0DB8:20:1::12

 

Defines a static host name-to-address mapping in the host name cache.

 

Step #4

 

4. Router(config)#line vty 0 4

 

Creates a vty interface and places router into Line configuration mode.

 

Step #5

 

5. Router(config-line)#password ittechtips

 

Creates a (ittechtips) password that enables Telnet.

 

Step #6 

6. Router(config-line)#login tacacs

 

Informs the router to use the tacacs server for password checking at login.

 

Step #7

 

7. Router(config-line)#ipv6 access-class vty-acl in

 

Adds an IPv6 access list named vty-acl to the line interface, which restricts remote access to telnet sessions that match the access list.

 

Step #8

 

8. Router(config-line)#end

 

Causes router to exit Line configuration mode and re-enters into Privileged EXEC mode.

 

Step #9

 

9. Router#copy run start

 

Saves the contents of the running-config to local Non -Volatile Random Access Memory (NVRAM).

 

Second Steps Explained 

 

Step #1 

1. Router>enable

 

Puts router into Privileged EXEC mode.

 

Step #2

 

2. Router#telnet cisco-test

 

Using the “Telnet” command to establish a Telnet session from the router to a remote host; using either the host’s name or the host’s IPv6 address. A Telnet session can be established to a router name or to an IPv6 address.

 

 

To your success,

 

Charles Ross

 

CCNP #CSCO10444244

 

www.ciscoipv6ittechtips.com