# Troubleshooting Interfaces

**URL:** https://forum.networklessons.com/t/troubleshooting-interfaces/1183
**Category:** Lessons Discussion
**Created:** [December 27, 2016, 11:35pm UTC](https://forum.networklessons.com/t/troubleshooting-interfaces/1183 "2016-12-27T23:35:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)
#### Post date: [June 26, 2016, 2:27pm UTC](https://forum.networklessons.com/t/troubleshooting-interfaces/1183/3 "2016-06-26T14:27:11Z")

</div>

Hi,

Here’s an example for the console and SSH:

[Configuring Cisco router for the first time](https://networklessons.com/network-fundamentals/cisco-ios-router-basic-configuration)

Here’s an example to enable telnet server on your router or switch:

```auto
R1(config)#line vty 0 4
R1(config-line)#transport input telnet
R1(config-line)#password cisco123
R1(config-line)#transport input 
R1(config-line)#login

```

The configuration above will only ask for the password (cisco123). It’s also possible to use usernames/passwords instead:

```auto
R1(config)#username admin password cisco123

R1(config)#line vty 0 4
R1(config-line)#login local

```

And you can protect it with an access-list:

```auto
R1(config)#access-list 1 permit 192.168.1.0 0.0.0.255
R1(config)#line vty 0 4
R1(config-line)#access-class 1 in

```

Hope this helps.

Rene

---

_[View the full topic](https://forum.networklessons.com/t/troubleshooting-interfaces/1183)._
