实验三 局域网的组建.docVIP

  • 31
  • 0
  • 约3.55千字
  • 约 6页
  • 2016-04-08 发布于湖北
  • 举报
实验三 局域网的组建 [实验内容] 制作网线的过程;;] S2126G(1台),主机(1台),直连线(1条)RJ-45头若干、双绞线若干米、RJ-45压线钳一把、测试仪一套Pentium 4的CPUMB的内存硬盘至少GB,并有1GB空闲空间步骤—internet选项—连接—局域网设置—代理服务器)(要检查一下) 第三,在浏览器的地址栏中输入本组小机柜上方墙上的网址。 第四,在浏览器中出现的八个设备图表中,左边四个是路由器,右边四个是交换机,请点击交换机图标。 第五,将弹出一个黑色的命令行终端窗口,请多按两下回车键,将会出现交换机操作系统的命令提示符:Red-Giant Red-Giant ? 将显示普通模式下能够运行的命令 Red-Giant enable 14 !进入特权模式 Password: 123456 Red-Giant# 进入特权模式,或者说是 配置模式 Red-Giant# ? 显示当前模式下所有可执行的命令 Red-Giant# configure ? 显示configure命令后面可执行的参数 Red-Giant# con 按tab键可使命令补齐 Red-Giant# conf ter configure terminal 命令的简写 Red-Giant( config-if)# ^Z(CTRL+Z) 退回到特权模式(根层次) (2)在交换机上配置管理IP地址 Red-Giant# configure terminal !进入全局配置模式 Red-Giant(config)# hostname SwithA !配置交换机名称为“SwithA” SwithA (config)# interface vlan 1 !进入交换机管理接口配置模式 SwithA(config-if)# ip address 192.168.0.18 255.255.255.0 !配置交换机管理接口IP地址 SwithA(config-if)# interface fastethernet 0/3 进入端口3的配置模式 SwithA(config-if)# speed ? SwithA(config-if)# no shutdown !开启交换机管理接口 SwithA(config-if)# ^Z (3)保存交换机的配置 SwithA# copy running-config startup-config !保存交换机配置 或SwithA# write memory (4)验证交换机配置已经保存 SwithA# show config SwithA# show ip interface !验证交换机管理IP地址和接口情况 或 SwithA# show interface vlan 1 Red-Giant#show vlan Red-Giant#show vlan id 1 Red-Giant#show interface fastethernet 0/3 Red-Giant#show version Red-Giant#show clock Red-Giant#show running-config Red-Giant# show mac-address-table 【注意事项】 交换机的管理接口默认为一般是关闭的(shutdown),因此在配置管理接口interface vlan1IP地址后,须用命令no shutdown开启该接口。 (5)创建VLAN (创建了两个) Swith # configure terminal !进入全局配置模式 Swith (config)# vlan 10 !创建vlan 10 Swith (config-vlan)# name test10 !将vlan 10命名test10 Swith (config-vlan)# exit !退出vlan10 回到上一层命令下 Swith (config)# vlan 20 !创建vlan 20 Swith (config-vlan)# name test20 !将vlan 10命名test20 Sw

文档评论(0)

1亿VIP精品文档

相关文档