综合实验

2009-08-04 19:27
-------------------------------------------------------------------------------------------
                                       综合实验。。。。。
--------------------------------------------------------------------------------------------

7206的配置。。。。。。。。。。。。
en
conf t
no ip domain loo
ho BJ-7206
line 0
exec-t 0 0
logg sync
exit
int s1/0
ip add 192.168.22.1 255.255.255.0
no sh
int s1/1
ip add 192.168.11.1 255.255.255.0
no sh
int e0/2
ip add 192.168.1.1 255.255.255.0
no sh
int e0/1
ip add 192.168.2.1 255.255.255.0
no sh
int e0/0
ip add 172.16.100.100 255.255.0.0
no sh
exit
router rip
ver 2
no au
net 0.0.0.0
ip route 0.0.0.0 0.0.0.0 e0/0
------------------------------------------------------------------------------------
sh-2691 的配置。。。。。。。。。。
en
conf t
no ip domain loo
ho Sh-2691
line 0
exec-t 0 0
logg sync
exit
int s0/0
ip add 192.168.11.2 255.255.255.0
no sh
int lo1
ip add 1.1.1.1 255.255.255.0
no sh
router rip
ver 2
no au
net 0.0.0.0

-------------------------------------------------------------------------------------
sz-2691 的配置。。。。。。。。。。。。
en
conf t
no ip domain loo
ho Sz-2691
line 0
exec-t 0 0
logg sync
exit
int s0/0
ip add 192.168.22.2 255.255.255.0
no sh
int lo1
ip add 2.2.2.2 255.255.255.0
no sh
router rip
ver 2
no au
net 0.0.0.0

------------------------------------------------------------------------------------------
4006-sw1 的配置。。。。。。。。。。。。。。

en
conf t
host 4006-sw1
no ip domain loo
line 0
exec-t 0 0
logg sync
exi
int rang f0/2 - 9
sw m t
end
vlan da
vtp domain lenovo
vtp tr
vtp s
vtp pr
vlan 10 name cwb
vlan 20 name glb
vlan 100 name srv
exit
conf t
sp v 1 r p
sp v 10 r p
sp v 20 r s
sp v 100 r s
sp up
sp b
int rang f0/6 - 9
ch 1 m o
exit
int f0/1
no sw
ip add 192.168.1.2 255.255.255.0
no sh
int vlan 1
ip add 192.168.0.254 255.255.255.0
no sh
int vlan 10
ip add 192.168.10.254 255.255.255.0
no sh
int vla 20
ip add 192.168.20.254 255.255.255.0
no sh
int vlan 100
ip add 192.168.100.254 255.255.255.0
no sh
exit
router ip
ver 2
no au
net 0.0.0.0

------------------------------------------------------------------------------------------
4006-sw2 的配置。。。。。。。。。。。。。。。。。
en
conf t
host 4006-sw2
no ip domain loo
line 0
exec-t 0 0
logg sync
exi
int rang f0/2 - 9
sw m t
end
vlan da
vtp domain lenovo
vtp tr
vtp c
vtp pr
exit
conf t
sp v 1 r s
sp v 10 r s
sp v 20 r p
sp v 100 r p
sp up
sp b
int rang f0/6 - 9
ch 1 m o
exit
int f0/1
no sw
ip add 192.168.2.2 255.255.255.0
no sh
int vlan 1
ip add 192.168.0.253 255.255.255.0
no sh
int vlan 10
ip add 192.168.10.253 255.255.255.0
no sh
int vla 20
ip add 192.168.20.253 255.255.255.0
no sh
int vlan 100
ip add 192.168.100.253 255.255.255.0
no sh
router rip
ver 2
no au
net 0.0.0.0

---------------------------------------------------------------------------------
2950配置。。。。。。。。。。
en
conf t
no ip domain loo
ho 2950-sw2
line 0
exec-t 0 0
logg sync
exit
int rang f0/1 -2
sw m t
end
vlan da
vtp domain lenovo
vtp tr
vtp c
等一会 打
int f0/10
sp port
sp po b
sw a v 10
在sw-srv打
int f0/10
sp port
sp po b
sw a v 100
------------------------------------------------------------------------------------
实验思路
一.路由配置
1.ip
2.rip
3.默认路由
二.分布层交换配置
1.trunk
2.路由接口 no sw
3.vtp
4.vlan
5.stp
6.vlan ip 地址
7.rip
三.接入层交换配置
1.trunk
2.vtp
3.加端口
--------------------------------------------------------------------------------------- ok 仅供参考 如出现问题请自己解决 如问题严重请联系我 -------------------------------------------------------------------------------------=                                               董礼制作 翻版必究。。。。。
相关文章