欢迎来到天天文库
浏览记录
ID:46395931
大小:131.50 KB
页数:6页
时间:2019-11-23
《交换机VLAN划分》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、vlan的划分一:实验目的学会使用CLI命令行划分VLAN方法二:实验设备1.神舟数码1.DCS-3926S二层交换机一台2.PC机一台3.Console线一根4.直通线若干DCS-3926S二层交换机交换机简单实验拓扑Console口PCVLAN10VLAN20端口Consile线三:实验要求在交换机上划分两个基于端口的VLAN:VLAN100,VLAN200.vlan端口成员100/0/1-12200/0/13-24四:实验具体步骤第一步:建立连接,打开超级终端,根据提示操作。第一步第二步第三步当看到本画面,说明以正常进入交换
2、机第二步:修改交换机的名字switch>enable;从用户模式进入特权模式switch#config;从特权模式进入全局模式switch(Config)#hostnameDCS-3926S;修改交换机的名字DCS-3926S(Config)#;修改成功第三步:创建VLAN10,VLAN20.Vlan1为默认VLAN。DCS-3926S#configDCS-3926S(Config)#vlan10;创建VLAN100DCS-3926S(Config-Vlan10)#exit:退出VLAN100DCS-3926S(Config)#v
3、lan20第四步:给VLAN10,VLAN20添加端口DCS-3926S(Config)#vlan10:进入VLAN10DCS-3926S(Config-Vlan10)#switchportinterfaceethernet0/0/1-12:由于本交换机为模块式交换机,所以将端口1-12添加进vlan10中SettheportEthernet0/0/1accessvlan10successfullySettheportEthernet0/0/2accessvlan10successfullySettheportEthernet0/
4、0/3accessvlan10successfullySettheportEthernet0/0/4accessvlan10successfullySettheportEthernet0/0/5accessvlan10successfullySettheportEthernet0/0/6accessvlan10successfullySettheportEthernet0/0/7accessvlan10successfullySettheportEthernet0/0/8accessvlan10successfullySetthe
5、portEthernet0/0/9accessvlan10successfullySettheportEthernet0/0/10accessvlan10successfullySettheportEthernet0/0/11accessvlan10successfullySettheportEthernet0/0/12accessvlan10successfullyDCS-3926S(Config-Vlan10)#exitDCS-3926S(Config)#vlan20DCS-3926S(Config-Vlan20)#switc
6、hportinterfaceethernet0/0/13-24SettheportEthernet0/0/13accessvlan20successfullySettheportEthernet0/0/14accessvlan20successfullySettheportEthernet0/0/15accessvlan20successfullySettheportEthernet0/0/16accessvlan20successfullySettheportEthernet0/0/17accessvlan20successfu
7、llySettheportEthernet0/0/18accessvlan20successfullySettheportEthernet0/0/19accessvlan20successfullySettheportEthernet0/0/20accessvlan20successfullySettheportEthernet0/0/21accessvlan20successfullySettheportEthernet0/0/22accessvlan20successfullySettheportEthernet0/0/23a
8、ccessvlan20successfullySettheportEthernet0/0/24accessvlan20successfullyDCS-3926S(Config-Vlan20)#验证配置:DCS-3926S#showvlanVLANN
此文档下载收益归作者所有