一、实验目标
掌握交换机基本信息的配置与管理
二、技术原理
交换机的管理方式基本分为两种:带内管理和带外管理。
通过交换机的Console端口管理交换机属于带外管理:这种管理方式不占用交换机的网络端口,第一次配置交换机必须利用Console端口进行配置。
通过远程Telnet、拨号等方式属于带内管理。
三、交换机的命令行操作模式
主要包括:
用户模式 Switch>
特权模式 Switch#
全局配置模式 Switch(config)#
端口模式 Switch(config-if)#
四、实验步骤
1、实验拓扑
![](https://i-blog.csdnimg.cn/blog_migrate/93f156ac86337e535c5771c2dd583b91.png)
2、交换机基本配置命令
a. 进入特权模式
Switch>enable //en=enable
Switch#
b. 进入全局配置模式
Switch#configureterminal //conf t=configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
c. 进入交换机端口视图模式
Switch(config)#interface fastEthernet0/1 //intf0/1=interface fastEthernet 0/1
Switch(config-if)#
d. 配置交换机端口速度
Switch(config-if)#speed ?
10 Force 10 Mbps operation
100 Force100 Mbps operation
auto EnableAUTO speed configuration
Switch(config-if)#speed 100
e. 配置交换机端口双工模式