VTP实验出问题了啊,求助
分两部分配置的。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
*Mar1 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 的
是哪的问题呢
重新做了一次,这次是开始就把连接都连好,然后挨个配过来,一点问题没有
是不是模拟器不对呢?
模拟器偶尔会抽筋,属于正常现象。 检查一下你的接口是不是不是 交换模块的接口???
页:
[1]