这种情况路由器和交换机怎么配置?

来源:百度知道 编辑:UC知道 时间:2024/05/16 19:52:26
很简单的拓扑:有一台cisco2600路由器接两台华为3000交换机,两台交换机分别接PC,两台PC要能ping通,请问如何具体配置,我菜鸟一个,希望能说的详细点,谢谢!
我知道啊,但是具体怎么配置呢?可以把配置过程写下来吗?我想知道具体每一步的命令!

交换机1:
switch>enable
switch#vlan database
vlan#vlan 1
vlan#exit
switch#configure terminal
switch(config)#interface f0/1(交换机与电脑1相接的接口)
switch(config-if)#switchport access vlan 1
switch(config-if)#no shutdown

交换机2:
switch>enable
switch#vlan database
vlan#vlan 2
vlan#exit
switch#configure terminal
switch(config)#interface f0/1(交换机与电脑2相接的接口)
switch(config-if)#switchport access vlan 1
switch(config-if)#no shutdown
switch(config)#interface f0/12(另一接口)
switch(config-if)#switchport mode trunk
switch(config-if)#no shutdown

PC1:
配ip
子网

PC2:
配ip
子网

你看交换机说明书!有交换机叠加的说明!交换机上其中有个口就是着作用!!

要一台作为服务器,下接两个交换机,交换机下接PC

陆游里设置一下ip 把dhcp打开 线不能超过80米 要不然信号衰减很厉害 带屏蔽的网线100米出点 距离太长建议做光纤 电脑交换机默认就可以