cisco?·óé????μ??ù±?????ê??é

所属分类: 软件教程 / 网络通讯 阅读数: 755
收藏 0 赞 0 分享
????êμ?é??3?£o????D?Díí???

ó2?t?·?3£o6ì¨PC?ú£?3ì¨?????ú£?3ì¨?·óé£?3?ù??2???£?7?ù?±í¨???£

èí?t?·?3£owindows xp 2ù×÷?μí3 3????????£



êμ?é2??è£o

1.°′????í?á??ó?????ú£??·óé?÷£?PC?úμ?êy?Y???£

Pc1?----¨¤Sw1 7o????ú Pc2?----¨¤Sw2 7o????ú

Pc3?----¨¤Sw1 17o????ú Pc4?----¨¤Sw2 17o????ú

Pc5?----¨¤Sw3 5o????ú pc6?----¨¤Sw3 12o????ú

Sw1 24o????ú?----¨¤Sw2 24o????ú
Sw1 23o????ú?----¨¤Router1 e0/0???ú

Router1 e1/1???ú?----¨¤Router2 e0/0???ú

Router2 e1/2???ú?----¨¤Router3 e1/1???ú

Router3 e0/0???ú?----¨¤Switch3 24o????ú

2.switch1μ?????è???£o

switch>enable
switch#config terminal

switch(config)#hostname sw1

sw1(config)#no ip domain-lookup

sw1(config)#line console 0

sw1(config-line)#exec-timeout 0 0

sw1(config-line)#logging synchronous

sw1(config-line)#enable password 123

sw1(config)#exit
sw1(config)#vlan database

sw1(vlan)#VTP domain abc.com

sw1(vlan)#vtp password cisco

sw1(vlan)#exit

sw1#config terminal

sw1(config)#interface f0/23

sw1(config-line)#switch mode trunk

sw1(config-line)#no shutdown

sw1(config-line)#interface f0/24
sw1(config-line)#switch mode trunk


sw1(config-line)#no shutdown
sw1(config-line)#exit

sw1(config)#vlan 2,3

sw1(config)#interface range f0/1-10

sw1(config-if-range)#switchport access vlan 2

sw1(config-if-range)#interface range f0/11-22

sw1(config-if-range)#switch port access vlan 3

3.switch2????è???£o

switch>enable
switch#config terminal

switch(config)#hostname sw2

sw2(config)#no ip domain-lookup

sw2(config)#line vty 0 4

sw2(config-line)#login

sw2(config-line)#password cisco

sw2(config-line)#exit
sw2(config)#line console 0

sw2(config-line)#exec-timeout 0 0

sw2(config-line)#logging synchronous

sw2(config-line)#exit

sw2#vlan database

sw2(vlan)#vtp mode client(Dé?a?ú?D?avtp client)

sw2(vlan)#vtp domain benet.com

sw2(vlan)#vtp password 123
sw2(vlan)#exit

sw2#config terminal

sw2(config)#interface range f0/1 - 10

sw2(config-if-range)#switchport access vlan 2

#p#

sw2(config-if-range)#interface range f0/11 - 22

sw2(config-if)#switchport access vlan 3

sw2(config-if)#interface f0/24

de4(config-if)#no showdown
sw2(config-if)#switchport mode trunk

sw2(config-if)#exit

4.switch3????è???£o

switch>enable

switch#config terminal

switch(config)#hostname sw3
sw3(configig)#no ip domain-lookup

sw3(config)#line vty 0 4

sw3(config-line)#login

sw3(config-line)#password 123

sw3(config-line)#exit

sw3(config)#line console 0

sw3(config-line)#exec-timeout 0 0

sw3(config-line)#logging synchronous
sw3(config-line)#exit

sw3(config)#vlan 2,3

sw3(config)#interface range f0/1 - 5

sw3(config-if)#switchport access vlan 2

sw3(config-if)#interface range f0/6 - 15
sw3(config-if)#switchport access vlan 3

sw3(config-if)#interface range f0/16 - 26

sw3(config-if)#switchport access vlan 4

sw3(config-if)#interface f0/24

sw3(config-if)#no shutdown

sw3(config-if)#switchport mode trunk

sw3(config-if)#exit
5£orouter1????è???£o

router>enable

router#config terminal

router(config)#hostname r1

r1(config)#no ip domain-lookup

r1(config)#line vty 0 4
r1(config-line)#login

r1(config-line)#password cisco

r1(config-line)#enable password 123

r1(config)#line console 0

r1(config-line)#exec-timeout 0 0

r1(config-line)#logging synchronous
r1(config-line)#exit

r1(config)#int E0/0

r1(config-if)#ip address 192.168.1.254 255.255.255.128

r1(config-if)#no shutdown

r1(config)#interface E1/1
r1(config-if)#ip address 192.168.2.193 255.255.255.128

r1(config-if)#no shutdown

r1(config-if)#interface E0/0.2

r1(config-subif)#encapsulation dot1q 2

r1(config-subif)#ip address 192.168.1.62 255.255.255.128

r1(config-subif)#interface E0/0.3
r1(config-subif)#encapsulation dot1q 3

r1(config-subif)#ip address 192.168.1.126 255.255.255.128

r1(config-subif)#exit

r1(config)#ip route 192.168.2.192 255.255.255.252 192.168.2.192

r1(config)#ip route 192.168.2.0 255.255.255.192 192.168.2.194
r1(config)#ip route 192.168.2.64 255.255.255.192 192.168.2.194

6£?Router2????è???£o

router>enable

router#config termind

router(config)#hostname r2

r2(config)#no ip domain-lookup
r2(config)#line vty 0 4

r2(config-line)#login

r2(config-line)#password cisco

r2(config-line)#enable password 123
r2(config-line)#exit

r2(config)#line console 0

r2(config-line)#exec-timeout 0 0
r2(config-line)#logging synchronous

r2(config-line)#exit

r2(config)#int E0/0

r2(config-if)#ip address 192.268.2.194 255.255.255.252

r2(config-if)#no shutdown
r2(config-if)#interface E1/2

r2(config-if)#ip address 192.268.2.197 255.255.255.252

r2(config-if)#no shutdown

r2(config)#ip route 192.168.1.0 255.255.255.128 192.168.2.193

r2(config)#ip route 192.168.2.0 255.255.255.192 192.168.2.198
r2(config)#exit

7.router3????è???£o

router>enable

router#config terminal

router(config)#hostname r3

r3(config)#no ip domain-lookup

r3(config)#line vty 0 4
r3(config-line)#login

r3(config-line)#password cisco

r3(config-line)#enable password 123

r3(config-line)#exit

r3(config)#line console 0r3(config-line)#exec-timeout 0 0
r3(config-line)#logging synchronous

r3(config-line)#exit

r3(config)#interface E0/0

r3(config-if)#ip address 193.368.2.198 255.255.255.252

r3(config-if)#no shutdown
r3(config-if)#interface E1/3

r3(config-if)#ip address 193.368.2.254 255.255.255.192

r3(config-if)#no shutdown

r3(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.197

r3(config)#exit

8.??PC?úéè??IP μ??·,2¢?é?¤?¥í¨?£
PC1: 192.168.1.1 PC2: 192.168.1.2 PC3: 192.168.1.129

PC4: 192.168.1.130 PC5: 192.168.2.1 PC6:192.168.2.65

?ú??ì¨PC?úé?′ò?a?°??DD?±???°?ò£?ó?ping ?üá??à?¥2a?éí???ê?·??????yè·.

更多精彩内容其他人还在看

微信大战支付宝升级:微信店铺禁用支付宝

微信店铺禁用支付宝!支付宝官方微博就此事回应称,从2月2日下午开始,商户通过微信平台开设的店铺无法使用支付宝收付款。而支付宝为商户(包括商户在微信开设的店铺)提供的支付服务在昨日没有发生任何变化
收藏 0 赞 0 分享

防蹭网大师怎么用 防蹭网大师有效防止偷网蹭网

防蹭网大师怎么用?其实很简单,下面我们就一起来了解一下防蹭网大师教程。
收藏 0 赞 0 分享

微信for windows常见问题汇总 windows微信怎么登陆

今天小编为大家带来微信for windows常见问题汇总,一起来看看吧
收藏 0 赞 0 分享

新浪微博让红包飞2015活动 免费抢大量现金红包 可提现到支付宝

新浪微博让红包飞2015活动,免费抢大量现金红包,可以提现到支付宝。下面小编为大家介绍活动详情以及活动地址,感兴趣的朋友快快来参与吧
收藏 0 赞 0 分享

新浪微博屏蔽账号怎么设置?

新浪微博在正常情况下在你的首页上都会显示你关注的人的最新微博,这些微博各个种类都有,如果你不喜欢某种类型的微博或某个人的微博的话,你可以将这种类型的微博给屏蔽掉。那么新浪微博屏蔽账号怎么设置?下面就为大家介绍一下,一起来看看吧
收藏 0 赞 0 分享

邮箱大师夺宝红包在哪里?怎么领取?

邮箱大师夺宝红包在哪里?怎么领取?我们可以用网易夺宝币去参加网易的一元夺宝活动,但是如果夺宝币的话,需要进行充值,当然还可以通过邮箱大师进行免费领取夺宝红包,那么,在这里,小编跟大家分享一下邮箱大师怎么领取夺宝红包的方法
收藏 0 赞 0 分享

破解信号屏蔽器 破解校园信号屏蔽器的四大方法详解

移动通信技术发展太快,可能这些方法已经失效,但可参考一下这些方法的解决思路。四大方法破解学校信号屏蔽!考试不用愁。下面就详情来看看吧
收藏 0 赞 0 分享

百度账号登不上怎么办?百度账号登不上解决方法

很多朋友都有注册百度账号,但是百度账号突然登不上去了怎么办呢?今天小编就为大家带来百度账号登不上的解决方法,下文小编就为大家带来百度账号登不上的解决方法
收藏 0 赞 0 分享

foxmail邮件存储位置在哪里 foxmail7.2邮件存储位置查找与更改教程

foxmail是一款非常好用的邮件管理软件,经常要收发邮件的朋友们肯定知道这款软件,那么,foxmail邮件存储位置在哪里呢?针对此问题,本文就为大家图文介绍foxmail7.2邮件存储位置查找与更改的方法
收藏 0 赞 0 分享

wifi密码查看器电脑版好用吗?wifi密码查看器电脑版使用图文教程

相信还有很多朋友对于wifi密码查看器电脑版都还不太了解,下文小编就为大家带来wifi密码查看器电脑版的使用教程,一起去了解下吧
收藏 0 赞 0 分享
查看更多