1、新建拓扑
1、添加两台主机,分别重命名为Host-1、Host-2。添加两台交换机,型号S3700,分别重命名为SW-1、SW-2。
2、主机Host-1的接入位置为SW-1的Ethernet 0/0/1
主机Host-2的接入位置为SW-2的Ethernet 0/0/1
SW-1的接入位置为SW-2的Ethernet0/0/1
插图
2、查看交换机SW-1接口模式、接口速率信息
1、接下来进入系统模式,关闭信息中心,修改交换机名称
system-view
undo info-center enable
sysname SW-1
2、接下来查看交换机接口模式、接口速率
display interface Ethernet brief
插图
3、配置交换机SW-1的GagibitEthernet0/0/1接口
1、接下来配置交换机SW-1的GagibitEthernet0/0/1接口:
①首先进入该接口视图;
②配置接口描述
③将当前接口配置为非自协商模式和全双工模式
④将当前窗口的速率配置为100Mbps
⑤查看当前窗口的配置信息
⑥退出接口视图
interface GagibitEthernet 0/0/1
description To_SW-2
undo negotiation auto
duplex full
speed 100
display this
quit
插图
4、配置Ethernet 0/0/1接口
1、配置SW-1的Ethernet 0/0/1接口:
①首先进入接口视图
②配置接口描述
③将当前接口配置为非自动协商模式和非全双工模式
④将当前窗口的速率配置为100Mbps
⑤查看当前窗口的配置信息
⑥退出接口视图
interface Ethernet 0/0/1
description To_Host-1
undo negotiation auto
duplex full
speed 100
flow-control
display this
quit