欢迎来到天天文库
浏览记录
ID:5319799
大小:402.50 KB
页数:10页
时间:2017-12-08
《第三章网络设备的技术实施方案》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、第三章网络设备的技术实施方案11.1trunk配置拓扑图配置Router>enRouter#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#hor2r2(config-line)#intrangef0/14-15(进入pljmj.com/f0/14—15接口)r2(config-if-range)#swmotr2(config-if-range)#channel-g1modeonRouter>enRouter#conftE
2、nterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#hor3r3(config-line)#intrangef0/14-15r3(config-if-range)#swmotr3(config-if-range)#channel-g1modeonCreatingaport-channelinterfacePort-channel1r3(config-if-range)#end配置检查11.2VTP配置VTP配置R#vlandatabase
3、sR(vlan)#vtpdomaincisco//确定VTP域名为ciscoR(vlan)#vtpmodeserver//确定VTP模式为server端,本项目配置双vtpserver互为备份(交换机默认都是vtpserver)R(vlan)#vtppasswordcisco//确定VTP域密码:ciscor2#vlandatabaser2(vlan)#vtpdomaind6zChangingVTPdomainnamefromNULLtod6zr2(vlan)#vtpserverznxlsj.com/Devicemo
4、dealreadyVTPSERVER.r2(vlan)#vtppass123SettingdeviceVLANdatabasepasswordto123.r2(vlan)#vlan10VLAN10added:Name:VLAN0010r2(vlan)#vlan20VLAN20added:Name:VLAN0020r2(vlan)#vlan30VLAN30added:Name:VLAN0030r2(vlan)#exitAPPLYcompleted.Exiting....r2#r3#vlandatabaser3(vlan
5、)#vtpsr3(vlan)#vtpserverDevicemodealreadyVTPSERVER.r3(vlan)#vtpdor3(vlan)#vtpdomaind6zDomainnamealreadysettod6z.r3(vlan)#vtppass123SettingdeviceVLANdatabasepasswordto123.r3(vlan)#vlan10VLAN10added:Name:VLAN0010r3(vlan)#vlan20elhtlsj.com/VLAN20added:Name:VLAN002
6、0r3(vlan)#vlan30VLAN30added:Name:VLAN0030r3(vlan)#exitAPPLYcompleted.Exiting....r4#vlandatabaser4(vlan)#vtpcr4(vlan)#vtpclientSettingdevicetoVTPCLIENTmode.r4(vlan)#vtpdor4(vlan)#vtpdomaind6zDomainnamealreadysettod6z.r4(vlan)#vtppassr4(vlan)#vtppassword123Settin
7、gdeviceVLANdatabasepasswordto123.r4(vlan)#exitInCLIENTstate,noapplyattempted.Exiting....测试11.3VLAN配置方法二(旧式)R#vlandatabase//进入vlan数据库模式R(vlan)#vlan10/定义vlanidVLAN10R(vlan)#vlan20R(vlan)#exitjzjgswj.com///在vlandatabase下定义vlan,在exit退出会自动保存配置APPLYcompleted.Exiting.
8、...方法二:(新式)R#conft\进入全局配置模式R(config)#vlan10将端口放入VLAN中:R(config)#interfacef0/1R(config-if)#switchportmodeaccessR(config-if)#switchportaccessvlan10SW2960-03(config-if)#exit测试
此文档下载收益归作者所有