雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 988|回复: 2

[讨论/求助] VTP实验出问题了啊,求助

[复制链接]
发表于 2013-5-31 23:27:44 | 显示全部楼层 |阅读模式
分两部分配置的。

SW1和PC1.PC2连接,配置vlan
PC1
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#no ip routing
R2(config)#hos PC1
PC1(config)#int f0/0
PC1(config-if)#ip add 192.168.10.1 255.255.255.0
PC1(config-if)#no sh
PC1(config-if)#end

PC2

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#no ip routing
R3(config)#hos PC2
PC2(config)#int f0/0
PC2(config-if)#ip add 192.168.20.1 255.255.255.0
PC2(config-if)#no sh
PC2(config-if)#end

PC3(IP:192.168.10.2)
PC4(IP:192.168.20.2)

SW1

R1#VLAN D
R1(vlan)#VLAN 10 NAME VLANONE
VLAN 10 added:
    Name: VLANONE
R1(vlan)#VLAN 20 NAME VLANTWO
VLAN 20 added:
    Name: VLANTWO
R1(vlan)#VLAN 30 NAME VLANTHREE
VLAN 30 added:
    Name: VLANTHREE
R1(vlan)#EXI
APPLY completed.
Exiting....
R1#CONF T
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#HOS SW1
SW1(config)#INT F0/1
SW1(config-if)#SW MO AC
SW1(config-if)#SW AC VLAN 10
SW1(config-if)#INT F0/2
SW1(config-if)#SW MO AC
SW1(config-if)#SW AC VLAN 20
SW1(config-if)#END
*Mar  1 00:05:05.935: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
SW1(config-if)#END

SW2

R4#VLAN D
R4(vlan)#VLAN 10
VLAN 10 added:
    Name: VLAN0010
R4(vlan)#VLAN 20
VLAN 20 added:
    Name: VLAN0020
R4(vlan)#VLAN 30
VLAN 30 added:
    Name: VLAN0030
R4(vlan)#EXI
APPLY completed.
Exiting....
R4#CONF T
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#HOS SW2
SW2(config)#INT F0/1
SW2(config-if)#SW MO AC
SW2(config-if)#SW AC VLAN 10
SW2(config-if)#INT F0/2   
SW2(config-if)#SW MO AC
SW2(config-if)#SW AC VLAN 20
SW2(config-if)#END

vlan配置好了,接下来连接SW1和SW2,都是F0/0口

配置trunk
SW1(config)#int f0/0
SW1(config-if)#sw tr en d
SW1(config-if)#sw mo tr
SW1(config-if)#end

SW2(config)#int f0/0
SW2(config-if)#sw mo tr
SW2(config-if)#end

问题出来了:trunk 没反应,802.1Q根本封装不上,系统不提示
查看端口信息,发现两个SW上的F0/0口的“protocol”都是“down”,物理是UP 的

是哪的问题呢

重新做了一次,这次是开始就把连接都连好,然后挨个配过来,一点问题没有

是不是模拟器不对呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2013-6-1 09:16:13 | 显示全部楼层
模拟器偶尔会抽筋,属于正常现象。
发表于 2013-7-3 05:58:46 | 显示全部楼层
检查一下你的  接口是不是不是 交换模块的接口???
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-5-21 09:17 , Processed in 0.082198 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表