实验一 网络设备初识.doc
文本预览下载声明
实验一 初识路由器/交换机
一、实验目的:
能够轻松完成对华为路由器/交换机交换机的辨认
能够掌握华为路由器/交换机的端口功能
学会搭建路由器/交换机配置环境
熟悉VRP系统的使用方法
二、实验环境
三、实验内容及要求
1.分组要求:
每个人一组,每人一台pc机和一台路由器/交换机。
2.配置电缆连接
第一步:将配置电缆的DB-9(或DB-25)孔式插头接到要对路由器/交换机进行配置的微机或终端的串口上。
第二步:将配置电缆的RJ-45一端连到路由器/交换机的配置口(Console)上。
3.启动超级终端
开始(程序(附件(通讯(超级终端(配置相关的参数如下:
4.实验配置要求
认识路由器/交换机的外观,包括指示灯、端口等。
配置相应参数
开机进入用户视图
进入到系统视图 system-view
进入到接口视图 interface 接口名称
命名路由器/交换机 sysname 路由器/交换机名
显示路由器/交换机的VRP信息和版本号display version
显示路由器/交换机的配置文件和运行文件display current-configuation
显示路由器/交换机的端口信息display interfaces 接口名称
配置路由器/交换机IP地址 {ip address} {mask}
四、实验报告要求
1.写出实验目的
2.写出实验内容
3.对于每台路由器/交换机,写出配置所使用的命令
4.配置过程中所出现的问题及问题的解决方法
5.写出实验体会
五、实验配置
1.路由器的配置:
Quidwaysystem-view
System View: return to User View with Ctrl+Z.
[Quidway]sysname Router
[Router]display version
[Router]display current-configuration
[Router]display interface Ethernet 0/0
[Router]interface Ethernet 0/0
[Router-Ethernet0/0]ip address 54
[Router-Ethernet0/0]quit
配置路由器控制台密码:
[Router]user-interface console 0
[Router -ui-console0]authentication-mode password
[Router -ui-console0]set authentication password simple 123//配置明文密码
[Router -ui-vty0-4]set authentication password cipher 123 //配置密文密码
配置路由器虚拟终端密码:
[Router]user-interface vty 0 4
[Router-ui-vty0-4]authentication-mode password
[Router-ui-vty0-4]set authentication password simple 123 //配置明文密码
[Router-ui-vty0-4]set authentication password cipher 123 //配置秘文密码
[Router-ui-vty0-4]user privilege level 3 //配置用户权限
2.交换机的配置:
Quidwaysy
Enter system view, return to user view with Ctrl+Z.
[Quidway]sysname Switch
[Switch]display version
[Switch]display current-configuration
[Switch]display interface Ethernet 0/1
[Switch]interface Ethernet 0/1
配置交换机虚拟终端密码
[Switch]user-interface vty 0 4
[Switch-ui-vty0-4]authentication-mode password
[Switch-ui-vty0-4]set authentication password simple 123 //配置明文密码
[Switch-ui-vty0-4]set authentication password cipher 123 //配置秘文密码
[Switch-ui-vty0-4]user privilege level 3 //配置用户权限
六、测试步骤:
1.路由器:
显示路由器的VRP信
显示全部