---
# System prepended metadata

title: 9/20 Records of the lecture
tags: [cisco, Networking]

---

# 9/20 Records of the lecture

###### tags: `Networking` `cisco`

> [TOC]

# Remote login 



## Telnet

```
line vty 0 4  			#vty (vitual teletype terminal)
password meowhecker 		#set local passwork is meowhecker 
login 				#use the password to do remote login 
transport input telnet  	#use telnet servic  
```
R1
![](https://i.imgur.com/5jhAYUZ.png)

R2


```
telnet 192.168.1.1
```
![](https://i.imgur.com/PQmea2D.png)
We already login success


## SSH(Secure Shell

OpenSSH is a standard protocol for security terminal connections.


Configure the host username and password.
```
r1(config)#username meowhecker privilege 15 password meowhecker 
r1(config)#username meow privilege 15 secret meow


r1(config)#enable secret meow
r1(config)#enable password meowhecker
```


Show runing-configure 
```
r1#show running-config
```
![](https://i.imgur.com/JNbPXPR.png)

Configure cryptographic way 


```
r1(config)#ip domain-name meowhecker.com
r1(config)#crypto key generate rsa
```


start SSH connection 

```
r1(config)#ip ssh version 2
r1(config)#line vty 0 4
r1(config-line)#login local
r1(config-line)#tran
r1(config-line)#transport inp
r1(config-line)#transport input ssh
```

R2->R1

![](https://i.imgur.com/1hLrJl7.png)


## show vty information

```
do show run | s line vty 
```


# Router Interface 

## Logical Interface 

Logical interface isn't like the cable having the physical body, it's abstract and virtual.

[Homework Loopback Interface](/IAsvOSjeQ_S5bhfkmgCTSg)

### Configure loopback 

![](https://i.imgur.com/Fu5FAmL.png)

![](https://i.imgur.com/Z5h9cQz.png)


# Static Routing 


![](https://i.imgur.com/a83uoVE.png)


## Use DHCP to automatically set Ip address  

![](https://i.imgur.com/eY2NwKg.png)

![](https://i.imgur.com/ejoeHKn.png)

![](https://i.imgur.com/FBUmoVT.png)


## Configure Static Routing 

![](https://i.imgur.com/Jwz181w.png)

![](https://i.imgur.com/c6KcE6A.png)


![](https://i.imgur.com/Mj5loxo.png)

Ping host 
![](https://i.imgur.com/LZIb3w7.png)
