cisco2960 交换机 简单配置 2950 是只支持二层的交换机 支持VLAN 第1 步:单击“开始”按钮,在“程序”菜单的“附件”选项中单击“超级终端” 第2 步:在“名称”文本框中键入“Cisco” 第3 步:在“连接时使用”下拉列表框中选择与交换机相连的计算机的串口。台式机为“com 1”,笔记本为“com 3 或者 com 5”。 第4 步:在“波特率”下拉列表框中选择“9600”-确定. 如果通信正常的话就会出现类似于如下所示的主配置界面,并会在这个窗口中就会显示交换机的初始配置情况。 enter enter enter no! 1)配置交换机姓名 switch>ena switch#configure enter switch#configure terminal (进入配置状态) Switch(config)#hostname 配置的交换机姓名 如:30FLoor-2960-1 30FLoor-2960-1(config)#end 30FLoor-2960-1# 2)配置交换机的ip 30FLoor-2960-1#configure terminal (进入配置状态) 30FLoor-2960-1(config)#interface vlan 1 30FLoor-2960-1(config)#ip address ip 地址 子网掩码 例如:30FLoor-2960-1(config)#ip address 10.11.90.10 255.255.255.0 30FLoor-2960-1(config)#no shutdown 30FLoor-2960-1(config)#end 30FLoor-2960-1# 30FLoor-2960-1# 3)配置交换机的 默认网关 30FLoor-2960-1(config)#ip default-gateway 网关 ip 例如:30FLoor-2960-1(config)#ip default-gateway 10.11.90.254 4)设置路由 30FLoor-2960-1(config)#ip route 0.0.0.0 X.X.X.X 5)设置console 口密码 30FLoor-2960-1(config)#line console 0 30FLoor-2960-1(config-line)#password 输入密码 30FLoor-2960-1(config-line)#login 30FLoor-2960-1(config-line)#end 6)设置telnet 的密码 30FLoor-2960-1(config)#line vty 0 10 30FLoor-2960-1(config-line)#password 输入密码(yuxuan) 30FLoor-2960-1(config-line)#login 30FLoor-2960-1(config-line)#end 7)设置交换机的enable 密码 30FLoor-2960-1(config)#enable password 输入密码(xuan) 30FLoor-2960-1(config)#enable secret 输入密码(yuxuan) 30FLoor-2960-1(config)#end 8)将当前配置信息保存到闪存中 30FLoor-2960-1(config)#write 9)查看交换机信息 30FLoor-2960-1# show version 查看交换机版本信息 show ip interfaces 查看交换机的ip 地址 show interface vlan 1 验证...