计算机网络实验报告
实验二
实验名称:
基本交换机配置
学 号:
学生姓名:
班 级:
指导教师:
实验地点:
评 分:
一、实验目的
创建基本的交换机配置,包括名称和 IP 地址
配置口令以确保对 CLI 的访问受到保护
配置交换机端口速度和接口的双工属性
配置基本的交换机端口安全
管理 MAC 地址表
分配静态 MAC 地址
在交换机上添加和移动主机
二、实验拓扑图及编址表
接 IP 地 子 网 默 认
备 址 掩码 网关
P 网 172.17. 255.255 172.17.9
P 网 172.17. 255.255 172.17.9
C1 卡 99.21 .255.0 9.11
S VL 172.17. 255.255 172.17.
C2 卡 99.32 .255.0 9.11
1 AN99 99.11 .255.0 99.1
三、实验内容
任务 1 :创建基本交换机配置
步骤 1 :为交换机指定名称。
配置了主机名。
S1#configure terminal
S1(config)#hostname S1
S1(config)#exit
步骤 2 : 置访问口令。
进入控制台的配置行模式。将登录口令 置为 cisco。另请使用
令 cisco 配置 vty 线路 0 到 15 。
S1#configure terminal
Enter the configuration commands, one for each
line. When you are finished,
return to global configuration mode by entering
the exit command or pressing
Ctrl-Z.
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#line vty 0 15
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#exit
步骤 3 : 置命令模式口令。
将使能加密口令