- OSI参考模型
不能以设备讨论层次,而是以协议讨论层次 
| 层级 | 
单位 | 
| 物理层 | 
比特/01 | 
| 数据链路层 | 
Frame/帧 | 
| 网络层 | 
Packet/包 | 
| 传输层 | 
Segment/段 | 
| 会话层 | 
PDU/协议数据单元 | 
| 表示层 | 
PDU/协议数据单元 | 
| 应用层 | 
PDU/协议数据单元 | 
- TCP/IP模型
 
| 层级 | 
对应OSI层级 | 
| 网络接口层/链路层 | 
物理层、数据链路层 | 
| 互联网层 | 
网络层 | 
| 传输层 | 
传输层 | 
| 应用层 | 
会话层、表示层、应用层 | 
- telnet远程管理设备
 
# ---------------------思科
# 配置接口的IP地址
# R1
en
conf t
int e0/0
no shutdown  # 思科设备接口默认关闭
ip address 202.100.1.1 255.255.255.252
# R2
en
conf t
int e0/0
no shutdown  # 思科设备接口默认关闭
ip address 202.100.1.2 255.255.255.252
ping 202.100.1.1
# 开启telnet
# 远程登陆了第一个密码为telnet密码,第二个为特权模式密码
# R2
enable
enable password enhcia  # 设置特权模式密码
conf t
line vty 0 4
login  #允许登录
password  hcia
transport input all #允许所有远程管理协议来登录
int e0/0
ip address 202.100.1.2 255.255.255.252
#--------------------------------------------------------------------------------------------------------
# ---------------------华为
# 接口默认开启
# 配置IP
# R1
system-view
int g0/0/0
ip address 202.100.1.1 255.255.255.252
# R2
system-view
int g0/0/0
ip address 202.100.1.2 30
ping 202.100.1.1
# 配置远程登录
#R2
user-interface vty 0 4
authentication-mode password hcia  # 路由器设备在此之后输入密码
user privilege level 3  # 配置用户级别,默认是0
# R1测试
telnet 202.100.12