您现在的位置: test4exam >> 计算机考试 >> CISCO认证 >> 正文
CCNA例题精析——VLAN
Refer to the exhibit. How many broadcast domains exist in the exhibited topology?
A: one
B: two
C: three
D: four
Correct Answers: C
本题考查CISCO考生对广播域划分及VLAN基本功能的理解。在下图中,存在多少个广播域。粗心的考生很容易选择A,因为交换机默认是不能隔离广播的,所有的交换机所连接的客户机都处于同一个广播域中;该题中,网络管理员在两台交换机上都划分了相同的VLAN——三个VLAN跨越两台交换机。每一个 VLAN就是一个广播域,所以该题答案是C.
Refer to the exhibit. The network administrator has created a new VLAN on Switch1 and added host C and host D. The administrator has properly configured switch interfaces FastEthernet0/13 through FastEthernet0/24 to be members of the new VLAN. However, after the network administrator completed the configuration, host A could communicate with host B, but host A could not communicate with host C or host D. Which commands are required to resolve this problem?
CCNA例题精析——VLAN
A: Router(config)# interface fastethernet 0/1.3
Router(config-if)# encapsulation dot1q 3
Router(config-if)# ip address 192.168.3.1 255.255.255.0
B: Router(config)# router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# network 192.168.2.0
Router(config-router)# network 192.168.3.0
C: Switch1# vlan database
Switch1(vlan)# vtp v2-mode
Switch1(vlan)# vtp domain cisco
Switch1(vlan)# vtp server
D: Switch1(config)# interface fastethernet 0/1
Switch1(config-if)# switchport mode trunk
Switch1(config-if)# switchport trunk encapsulation isl
Correct Answers: A
如图,网络管理员在S1上新增了一个VLAN3,并把S1的F0/13和F0/14作为VLAN3的成员添加进去。但是当一切配置完成后,管理员发现 VLAN2的成员可以互访,但是VLAN2和VLAN3的成员却不能互相访问。为了解决这个问题,必须添加哪些命令到路由器上来?
分析一下:同一VLAN内部成员互访是不需要任何额外配置的,而不同VLAN间的访问则需要路由来支持。图中已经看到路由器Router1上的路由表显示,该路由器连接两个网段:192.168.1.0和网段192.168.2.0,但是缺少子网192.168.3.0的路由。问题就出在这里了。只要在路由器上添加一个新的子接口,将其配置到192.168.3.0的网段中就可以解决这个不同VLAN间互访的问题了。答案是A.
在划分VLAN时注意的问题:
1、不同厂商设备划分的VLAN可能不兼容;
2、在定义好VLAN后,记得把相应的接口成员添加到VLAN中,否则VLAN无效
在做同一VLAN跨越多个交换机的时候注意的问题:
1、trunk要打开
2、VLAN号必须对应
3、做trunk的接口必须是百兆全双工。
在做不同VLAN间使用单臂路由通信的时候注意的问题:
1、路由器的trunk口必须百兆全双工;
2、路由器的trunk口不配IP,并且要no shutdown
3、路由器对应于各VLAN的子接口,VLAN号要对应
Copyright ©2013-2015 江浙沪招生考试网 All Rights Reserved.
地址: 苏州市姑苏区阊胥路483号(工投创业园) 电话:0512-85551931 邮编: 214000
邮箱: [email protected] 版权所有:苏州迈峰教育科技有限公司 苏ICP备15050684号-2