欢迎来到天天文库
浏览记录
ID:55557195
大小:90.00 KB
页数:6页
时间:2020-05-17
《三层网络配置-入门.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、三层交换机网络基础配置模拟本单位网络环境用户需求:通过一台三层交换机及两台二层交换实现内网链接。大楼核心机房(三层交换机)划分一个网段为172.16.3.0/24,板带1(二层交换机)划分两个网段分别为172.16.6.0/24,172.16.8.0/24,板带3(二层交换机)划分一个网段为172.16.8.0/24,需要正常访问文件共享服务器。网络环境:配置过程:一:板带1(二层交换机配置)Switch>enable//进入特权模式//Switch#configureterminal//进入全局模式//Configuringfromterminal,memory,o
2、rnetwork[terminal]?Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vlan6//创建6网段//Switch(config-vlan)#exit//退出当前模式//Switch(config)#vlan8//创建8网段//Switch(config-vlan)#exit//退出当前模式//Switch(config)#interfacefastEthernet0/1//进入端口1//Switch(config-if)#switchportmodeaccess//设置
3、端口模式//Switch(config-if)#switchportaccessvlan6//将端口1加入6网段//Switch(config-if)#exit//退出当前模式//Switch(config)#intfastEthernet0/2//进入端口1//Switch(config-if)#switchportmodeaccess//设置端口模式//Switch(config-if)#switchportaccessvlan8//将端口1加入8网段//Switch(config-if)#exit//退出当前模式//Switch(config)#intfastE
4、thernet0/3//进入端口3//Switch(config-if)#switchportmodetrunk//设置为干道模式//二:板带3(二层交换机配置)Switch>enable//进入特权模式//Switch#configureterminal//进入全局模式//Configuringfromterminal,memory,ornetwork[terminal]?Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vlan8//创建8网段//Switch(config-vla
5、n)#exit//退出当前模式//Switch(config)#interfacerangefastEthernet0/1-2//进入端口1,端口2//Switch(config-if-range)#switchportmodeaccess//设置端口模式//Switch(config-if-range)#switchportaccessvlan8//将端口1,端口2加入8网段//Switch(config-if-range)#exit//退出当前模式//Switch(config)#intfastEthernet0/3//进入端口3//Switch(config-i
6、f)#switchportmodetrunk//设置为干道模式//三:大楼核心机房Switch>enable//进入特权模式//Switch#configureterminal//进入全局模式//Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vlan6//创建6网段//Switch(config-vlan)#exit//退出当前模式//Switch(config)#vlan8//创建8网段//Switch(config-vlan)#exit//退出当前模式//Switch(conf
7、ig)#vlan3//创建3网段//Switch(config-vlan)#exit//退出当前模式//Switch(config)#interfacerangefastEthernet0/1-2//进入端口1,端口2//Switch(config-if-range)#switchporttrunkencapsulationdot1q//设置端口封装协议//Switch(config-if-range)#switchportmodetrunk//设置为干道模式//Switch(config-if-range)#end//退出至特权模式//Switch
此文档下载收益归作者所有