欢迎来到天天文库
浏览记录
ID:15511934
大小:77.50 KB
页数:8页
时间:2018-08-03
《交换机以太通道中继线路的配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验一一.实验拓扑图二.实验要求1、在两台2950交换机上创立VLAN10、VLAN20、VLAN30和VLAN40。2、把两个交换机上的interfacef0/21分配给VLAN10,interfacef0/22分配给VLAN20,interfacef0/23分配给VLAN30,interfacef0/24分配给VLAN40。3、每台交换机的interfacef0/5配置为两台交换机的中继端口,实现VLAN数据传输。4、配置两台交换机的interfacef0/1,interfacef0/2的端口做以太通道中继线路。三.网络
2、接口2950A接口1<--à2950B接口12950A接口2<--à2950B接口22950A接口5<--à2950B接口5四.实验配置2950交换机的配置:Switch>en//进入特权模式Switch#configt//进入全局配置模式Switch(config)#hostname2950A//设置主机名为2950A2950A(config)#noipdolo//关闭域名解析功能2950A(config)#linecon0//进入控制线02950A(config-line)#loggsyn//光标同步2950A(conf
3、ig-line)#exec-time00//对Console口进行空闲超时时间的配置2950A(config-line)#exit//返回全局配置模式2950A(config)#end//返回特权模式2950A#vlandatabase//进入VLAN数据库2950A(vlan)#vlan10 //创建VLAN10VLAN10added:Name:VLAN00102950A(vlan)#vlan20//创建VLAN20VLAN20added:Name:VLAN00202950A(vlan)#vlan30//创建V
4、LAN30VLAN30added:Name:VLAN00302950A(vlan)#vlan40//创建VLAN40VLAN40added:Name:VLAN00402950A(vlan)#exit//退出APPLYcompleted.Exiting....//将端口划分到vlan里2950A#conft//进入端口配置模式2950A(config)#intfa0/21//进入fa0/21接口2950A(config-if)#switchportmodeaccess//配置接口模式为access2950A(config-if
5、)#switchportaccessvlan10//把fa0/21加入VLAN102950A(config-if)#noshutdown//开启接口2950A(config-if)#exit//退出2950A(config)#intfa0/22//进入fa0/22接口2950A(config-if)#switchportmodeaccess//配置接口模式为access2950A(config-if)#switchportaccessvlan20//把fa0/22加入VLAN202950A(config-if)#noshut
6、down//开启接口2950A(config-if)#exit//退出2950A(config)#intfa0/23//进入fa0/23接口2950A(config-if)#switchportmodeaccess//配置接口模式为access2950A(config-if)#switchportaccessvlan30//把fa0/23加入VLAN302950A(config-if)#noshutdown//开启接口2950A(config-if)#exit//退出2950A(config)#intfa0/24//进入fa
7、0/24接口2950A(config-if)#switchportmodeaccess//配置接口模式为access2950A(config-if)#switchportaccessvlan40//把fa0/24加入VLAN402950A(config-if)#noshutdown//开启接口2950A(config-if)#exit//退出//做干道2950A(config)#intfa0/5//进入fa0/5接口2950A(config-if)#switchportmodetrunk//配置接口模式为trunk2950A
8、(config-if)#switchporttrunkencapsulationdot1q//配置封装协议2950A(config-if)#noshutdown//开启接口2950A(config-if)#exit//退出//做以太通道中继线路2950A(config)#intrangef
此文档下载收益归作者所有