This commit is contained in:
Noriu 2024-08-01 19:20:23 +08:00
parent 770394571e
commit f44be907e9
2 changed files with 80 additions and 11 deletions

View File

@ -1,11 +1,11 @@
# TCP/IP
### 1. 网络协议
### 一、 网络协议
- 计算机之间进行通信时必须共同遵循的一种通讯规定
- 最广泛使用的网络通信协议集
### 2. 主机通信的三个要素
### 二、 主机通信的三个要素
1. IP地址用来标识一个节点的网络地址
@ -15,7 +15,7 @@
3. IP路由网关的地址网络的出口
### 3. IP地址
### 三、 IP地址
1. 作用:用来表示一个节点的网络地址

View File

@ -1,14 +1,83 @@
# 路由
### 1. 组建局域网的主要设备
### 一、 组建局域网的主要设备
1. 交换机
##### 1、 交换机
- 作用:
- 于将多台计算机/交换机连接到一起,组建网络。
- 连接电脑组建局域网(组建局域网的主要设备)
- 类型限制、隔离、ALC
##### 2、 eNSP
1. 交换机、路由器、防火墙、WIFI、电脑
> 设置显示与隐藏标签:菜单 - 工具 - 选项 - 显示设备标签/显示设备型号
>
> 设置显示与隐藏标签:菜单 - 工具 - 选项 - 总显示接口标签
>
> 通过文本工具添加标签,右击文本文字可调整大小、字体、背景颜色
##### 3、 拓扑文件保存
##### 4、 配置视图
1. 连接物理设备
- 使用console线一端连接交换机console口另一端连接计算机USB或com、Putty、SecureCRT、Xshell等终端程序进入设备的配置界面。
2. 视图
- 用户视图:<Hwuwei>
- 系统视图:[Hwuwei]
- 命令system-view简写sy
- 作用:配置设备的系统参数
- quite退回到上一个视图逐级退回
- returnctrl+z直接退回到用户视图
3. 接口视图
- 命令interface GigabitEtherent 0/0/1简写int g0/0/1
4. 协议视图
5. 操作技巧
- 可以查看help
- 查命令的全拼sys?
- 查后面能跟什么命令interface ?
- Tab自动补全但需前置键入的检索结果唯一
- 命令简写sy、int g0/0/1
##### 5、 交换机的基本配置命令
1. <Huawei>display version查看版本信息
2. <Huawei>display current-configuration查看华为网络设备的当前配置
- 回车翻行,空格翻页
3. display this查看当前视图的配置
> [Huawei]display this
>
> [Huawei-GigabitEthernet0/0/1]display this
4. sysname更改设备名称需要在用户视图save保存
> [Huawei]sysname SW1 ##修改设备名为SW1
>
> [SW1]display this ##查看当前视图有效配置
5. <Huawei>reboot重启
6. [Huawei-GigabitEthernet0/0/3]shutdown关闭端口禁用端口
[Huawei-GigabitEthernet0/0/3]undo shutdown启用端口
7. 设置交换机密码
> [Huawei]user-interface console 0
>
> [Huawei-ui-console0]authentication-mode password
>
> [Huawei-ui-console0]set authentication password cipher 123456
>
>
- 作用:
- 于将多台计算机/交换机连接到一起,组建网络。
- 连接电脑组建局域网(组建局域网的主要设备)
- 类型限制、隔离、ALC
2. eNSP