ImageVerifierCode 换一换
格式:DOCX , 页数:30 ,大小:26.29KB ,
资源ID:2475045      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/2475045.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(Cisco配置实验.docx)为本站会员(b****1)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

Cisco配置实验.docx

1、Cisco配置实验实验一、配置STP与VTP环境:三台交换机,形成一个全互连结构,sw3为2950,sw1和sw2为2900xl;要求:设置sw3为VTP server,设置sw1和sw2为VTP client,域名为cisco,密码为:cisco,在server创建vlan 10(name:aa)和vlan20(name:bb);设置sw3为vlan1的根桥,sw1为vlan10的根桥,sw2为vlan20的根桥;初始化配置:Sw#showvlan查看vlan信息Sw#Delete vlan.dat用此命令将vlan删除Sw#show startup-config查看一下NVRAM是否保存了

2、配置Sw#erase startup-config清空配置文件Sw#reload重新启动交换机swenablesw#config terminalsw(config)#hostname sw1sw1(config)#no ip domain-lookup 关闭域名查找sw1(config)#line console 0sw1(config-line)#logging synchronous 命令输入达到同步sw1(config-line)#exec-timeout 0 0 设置永不超时sw1(config-line)#exit步骤一、配置VTPsw3的配置:sw3(config)#vtp mo

3、de server 在sw3上启用vtp serverDevice mode already VTP SERVER.sw3(config)#vtp domain cisco 设置域名Changing VTP domain name from NULL to ciscosw3(config)#vtp password cisco 设置密码Setting device VLAN database password to ciscosw1的配置:sw1#vlan database 进入vlan数据库sw1(vlan)#vtp client 启用VTP client模式Setting device t

4、o VTP CLIENT mode.sw1(vlan)#vtp domain cisco 作用到cisco域中Changing VTP domain name from NULL to ciscosw1(vlan)#vtp password cisco 设置密码与server端相同Setting device VLAN database password to cisco.sw1(vlan)#exit 使配置生效In CLIENT state, no apply attempted.Exiting.sw2的配置:sw2#vlan databasesw2(vlan)#vtp clientSett

5、ing device to VTP CLIENT mode.sw2(vlan)#vtp domain ciscoChanging VTP domain name from NULL to ciscosw2(vlan)#vtp password ciscoSetting device VLAN database password to cisco.sw2(vlan)#exitsw2#步骤二、启用干道端口sw3的配置:sw3(config)#interface fa0/23sw3(config-if)#switchport mode trunk 启用trunk端口sw3(config-if)#in

6、terface fa0/24sw3(config-if)#switchport mode trunk sw1的配置:sw1(config)#interface fa0/23sw1(config-if)#switchport trunk encapsulation dot1q 封装干道协议sw1(config-if)#switchport mode trunk 启用trunk模式sw1(config-if)#sw1(config)#interface fa0/24sw1(config-if)#switchport trunk encapsulation dot1qsw1(config-if)#s

7、witchport mode trunksw2的配置:sw2(config)#interface fa0/23sw2(config-if)#switchport trunk encapsulation dot1qsw2(config-if)#switchport mode trunksw2(config)#interface fa0/24sw2(config-if)#switchport trunk encapsulation dot1qsw2(config-if)#switchport mode trunk步骤三、测试vtp状态及创建vlansw3的状态:sw3#show vtp statu

8、s 显示vtp状态VTP Version : 2Configuration Revision : 0 配置修订号Maximum VLANs supported locally : 254Number of existing VLANs : 5 VTP Operating Mode : server vtp模式VTP Domain Name : cisco vtp域名VTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x3F 0x17 0xC8 0xB8 0x5

9、A 0xE3 0x01 0x66 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00创建vlan:sw3(config)#vlan 10 创建VLAN10sw3(config-vlan)#name aa命名为aasw3(config-vlan)#exit 应用配置sw3(config)#vlan 20 创建VLAN20sw3(config-vlan)#name bb 命名为bbsw3(config-vlan)#exitsw3(config)#sw3的状态:sw3#show vtp status 在sw3显示vtp的状态VTP Ve

10、rsion : 2Configuration Revision : 2 server的修订号Maximum VLANs supported locally : 254Number of existing VLANs : 7 vlan也已经增加VTP Operating Mode : serverVTP Domain Name : ciscoVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x98 0x31 0xCF 0xA0 0xA7 0x17 0x73 0

11、x66Configuration last modified by 0.0.0.0 at 3-1-93 00:52:05sw2的状态:sw2#show vtp statusVTP Version : 2Configuration Revision : 2 已经同步了serverMaximum VLANs supported locally : 254Number of existing VLANs : 7VTP Operating Mode : ClientVTP Domain Name : ciscoVTP Pruning Mode : DisabledVTP V2 Mode : Disab

12、ledVTP Traps Generation : DisabledMD5 digest : 0x98 0x31 0xCF 0xA0 0xA7 0x17 0x73 0x66Configuration last modified by 0.0.0.0 at 3-1-93 00:52:05sw1的vlan信息:sw1#show vlan显示vlan信息VLAN Name Status Ports- - - -1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4,Fa0/5, Fa0/6, Fa0/7, Fa0/8,Fa0/9, Fa0/10, Fa0/11, Fa

13、0/12,Fa0/13, Fa0/14, Fa0/15, Fa0/16,Fa0/17, Fa0/18, Fa0/19, Fa0/20,Fa0/21, Fa0/22, Fa0/23, Fa0/2410 aa active 已经同步了vlan的信息20 bb active步骤四、配置PVSTsw3(config)#spanning-tree vlan 1 root primary 设置为vlan1的根桥Sw1(config)#spanning-tree vlan 10 priority 4096 设置为vlan10的根桥Sw2(config)#spanning-tree vlan 20 prior

14、ity 4096 设置为vlan20的根桥步骤五、显示STP的信息sw1的生成树信息:sw1#show spanning-tree brief 显示每VLAN生成树信息VLAN1Spanning tree enabled protocol IEEEROOT ID Priority 24577Address 0007.eb06.1740 非vlan1的根桥Hello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 32768Address 0030.803d.f640 Hello Time 2 sec Max Ag

15、e 20 sec Forward Delay 15 secVLAN10Spanning tree enabled protocol IEEEROOT ID Priority 4096Address 0030.803d.f641 为vlan10的根桥This bridge is the rootHello Time 2 sec Max Age 20 sec Forward Delay 15 secBridge ID Priority 4096Address 0030.803d.f641 Hello Time 2 sec Max Age 20 sec Forward Delay 15 secVLAN20Spanning tree enabled protocol IEEEROOT ID Priority 4096Address 00b0.645f.34c2 非vlan20的根桥Hello Time 2 sec M

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1