正在加载图片...
《网络应用技术》/实验三:使用路由交换机构建园区网 任务二:配置交换机与主机 【任务介绍】 根据前面实验规划】中的相关信息,配置主机以及二层交换机SW-Ⅰ和S 步骤1:配置主机网络参数 根据实验规划,给Host1~Host6配置|P地址等信息,并启动每台主机。 步骤2:配置交换机SW-1 启动交换机SW1,然后右击S1,点击【CL】,进入CL界面。根据前面实验规划中 关于交换机SW1的规划进行配置。 Enter system view return user view with Ctrl+Z ∥/关闭信息中心 [Huaweijundo info-center enable Info: Information center is disabled ∥/将设备名改为SW-1 [Huawei ]sysname sw-1 ∥/创建VLAN10和VLAN20 ISW-1]vlan batch 10 20 Info: This operation may take a few seconds. Please wait for a moment. done ∥/进入 Ethernet0/0/1接口,将其设置为 Access模式,并划分入VLAN10 [Sw-1Jinterface Ethernet 0/0/1 ISW-l-Etherneto/0/1]port link-type access [SW-1-Etherneto/0/1]port default vlan 10 ISw-1-Etherneto/0/1jquit /将 Ethernet o/0/2和 Ethernet o/0/3接口设置为 Access模式,并分别划入VLAN10和VLAN20 Isw-1Jinterface Ethernet 0/0/2 ISW-1-Etherneto 0/2 port link-type access ISw-1-Etherneto/0/ 2]port default vlan 10 ISW-1-Etherneto/0/2]quit [SW-1] interface Ethernet 0/0/3 ISW-1-Etherneto/0/3]port link-type access [SW-1-Etherneto/0/3]port default vlan 20 ISw-1-Etherneto/0/3Jquit ∥/以下命令将GEO/0/1接口设为 trunk模式,并允许VLAN10和VLAN20的数据帧通过 河南中医药大学信息技术学院|网络与信息系统科研工作室 第6页《网络应用技术》 / 实验三:使用路由交换机构建园区网 河南中医药大学信息技术学院 | 网络与信息系统科研工作室 第6页 任务二:配置交换机与主机 【任务介绍】 根据前面实验规划】中的相关信息,配置主机以及二层交换机 SW-1 和 SW- 2。 步骤 1:配置主机网络参数 根据实验规划,给 Host-1~Host-6 配置 IP 地址等信息,并启动每台主机。 步骤 2:配置交换机 SW-1 启动交换机 SW-1,然后右击 SW-1,点击【CLI】,进入 CLI 界面。根据前面实验规划中 关于交换机 SW-1 的规划进行配置。 <Huawei>system-view Enter system view, return user view with Ctrl+Z. //关闭信息中心 [Huawei]undo info-center enable Info: Information center is disabled //将设备名改为 SW-1 [Huawei]sysname SW-1 //创建 VLAN 10 和 VLAN 20 [SW-1]vlan batch 10 20 Info: This operation may take a few seconds. Please wait for a moment...done. //进入 Ethernet 0/0/1 接口,将其设置为 Access 模式,并划分入 VLAN10 [SW-1]interface Ethernet 0/0/1 [SW-1-Ethernet0/0/1]port link-type access [SW-1-Ethernet0/0/1]port default vlan 10 [SW-1-Ethernet0/0/1]quit //将 Ethernet 0/0/2 和 Ethernet 0/0/3 接口设置为 Access 模式,并分别划入 VLAN10 和 VLAN20 [SW-1]interface Ethernet 0/0/2 [SW-1-Ethernet0/0/2]port link-type access [SW-1-Ethernet0/0/2]port default vlan 10 [SW-1-Ethernet0/0/2]quit [SW-1]interface Ethernet 0/0/3 [SW-1-Ethernet0/0/3]port link-type access [SW-1-Ethernet0/0/3]port default vlan 20 [SW-1-Ethernet0/0/3]quit //以下命令将 GE0/0/1 接口设为 trunk 模式,并允许 VLAN10 和 VLAN20 的数据帧通过
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有