题库 题库

【简答题】

 试题五(15分)阅读以下说明,回答问题1~5,将答案填入答题纸对应的解答栏内。
【说明】
利用 VLAN 技术可以把物理上连接的网络从逻辑上划分为多个虚拟子网,可以对各个子网实施不同的管理策略。图C3-5-1表示两个交换机相连,把 6 台计算机配置成连个 VLAN 。 
    
图 C3-5-1

【问题1】(2分)双绞线可以制作成直连线和交叉线两种形式,在图5-1中,两个交换机的 UPLINK口相连,使用的双绞线制作成什么形式?连接交换机和计算机的双绞线制作成什么形式?

【问题2】(7分)阅读一下的配置信息,将(1)~(4)处空缺的内容填写在答题纸相应位置。
SW1>enable                                  (进入特权模式)
SW1#vlan database                           (设置 VLAN 配置子模式)
SW1(vlan)#vtp server                        (设置本交换机为 Server 模式)
SW1(vlan)#vtp domain (1)Server1           (设置域名)
SW1(vlan)# (2)enable pruning              (启动修剪功能)
SW1(vlan) exit                              (退出 VLAN 配置模式)
SW1#show (3)VTP                           (查看 VTP 设置信息)
 
VTP version                            : 2
Configuration Revision                 : 0
Maximum VLANs supported locally        :64
Number of existing VLANs :1
VTP Operating Mode                     :Server
VTP Domain Name                        :Server1
VTP Pruning Mode                       :Enable
VTP V2 Mode                            :Disabled
VTP Traps Generation                   :Disabled
MD5 digest                             :0x82 0x6B 0xFB 0x94 0x41 0xEF 0x92 0x30 Configuration last modified by 0.0.0.0 at 7-1-05 00:07:51 

SW2 #vlan database
SW2(vlan) #vtp domain NULL
SW2(vlan) # (4)VTP mode client
Setting device to VTP CLIENT mode
SW2(vlan) # exit
【问题3】(2分)阅读以下的配置信息,解释(5)处的命令,将答案填写在答题纸上相应的位置。
Switch #
Switch #config
Switch(config) #interface f0/1                      (进入接口1配置模式)
Switch(config-if)#switchport mode trunk               (5)
Switch(config-if)#switchport trunk allowed vlan all (设置允许从该接口交换数据的vlan)
Switch(config-if)#exit
Switch(config)#exit
Switch # 

【问题4】(2分)阅读以下的配置信息,解释(6)处的命令,将答案填写在答题纸上相应的位置。
Switch #vlan d
Switch(vlan)#vlan 2                                  (创建一个VLAN2)
VLAN 2 added 
   Name:VLAN0002                                     (系统自动命名)
Switch(vlan)#vlan 3 name vlan3                             (6)
VLAN3 added:
   Name:vlan3
Switch(vlan) #exit 

【问题5】(2分)阅读以下的配置信息,解释(7)处的命令,将答案填写在答题纸上相应的位置。
Switch #config t
Switch (config) #interface f0/5                       (进入端口 5 配置模式)
Switch(config-if) #Switchport access vlan2            (把端口5分配给vlan2)
Switch(config-if) #exit
Switch(config) #interface f0/6
Switch(config-if) #switchport mode access                  (7)
Switch(config-if) #swithport access vlan3
Switch(config-if) #exit
Switch(config) #exit
Switch #

参考答案

【问题1】答案: 两个交换机的UPLINK口相连,使用的双绞线制作成交叉线。连接交换机和计算机的双绞线制作成直连线。
【问题2】答案: (1)Server1(2分)
               (2)vtp pruning(1分)
               (3)vtp status(2分)
               (4)vtp client(2分)
【问题3】答案: (5)设置当前端口为Trunk模式
【问题4】答案: (6)创建一个VLAN3,并命名为vlan3
【问题5】答案: (7)设置端口为静态VLAN访问模式

相关试题