交换机当前状态处于局部配置模式的是()。
第1题:
A、switch>
B、switch#
C、switch(config-if)#
D、switch(config)#
第2题:
交换机是一种具有简化、低价、高性能和高端口密集特点的交换产品。根据其工作的OSI层次可以分为第二层交换机和多层交换机。通常所说的交换机是指第二层交换机,它其实可以看做是多端口网桥,根据MAC地址相对简单地决策信息转发。阅读以下的配置命令,解释【6】~【10】处的命令。
switch# (特权模式提示符)
switch# 【6】 (进入全局配置模式)
Switch (config)# 【7】 (设置enable口令为test;)
Switch (config)# 【8】 (设置enable加密口令为test2)
Switch (config)# 【9】 (设置主机名为Test)
Switch (config)# 【10】 (退出特权模式)
第3题:
交换机当前状态处于局部配置模式的是(68)。
A.switch>
B.switch#
C.switch(config-if)#
D.switch(config)#
第4题:
阅读以下说明和交换机的配置信息,回答问题1~3,将解答填入对应栏内。
某公司下设3个部门,为了便于管理,每个部门组成一个VLAN,公司网络结构如图1所示。

[交换机Switch1的部分配置信息]
Switch1(config)tinterface fO/9
Switch1(config-if)switchport mode access
Switch1(config-if)switchport access vlan 11
Switch1(config)interface fO/10
Switch1(config-if)switchport mode access
Switch1(config-if)switchport access vlan 12
Switch1(config)interface fO/17
Switch1(config-if)switchport mode access
Switch1(config-if)switchport access vlan 13
[交换机Switch2的部分配置信息]
Switch2(config)interface fO/6
Switch2(config-if)switchport mode access
Switch2(config-if)switchport access vlan 11
Switch2(config)interface fO/8
Switch2(config-if)switchport modeaccess
Switch2(config-if)switchport access vlan 12
Switch2(config)interface fO/11
Switch2(config-if)switchport mode access
Switch2(config-if)SWitchport access vlan 13
[交换机Switch3的部分配置信息]
Switch3(config)interface fO/3
Switch3(config-if)switchport mode access
Switch3(config-if)switchport access vlan 11
Switch3(config-if)exit
Switch3(config)interface fO/7
Switch3(config-if)switchport mode access
Switch3(config-if)switchport access vlan 12
Switch3(config)interface fO/13
Switch3(config-if)switchport mode access
Switch3(config-if)switchport aocess vlan 13
划分VLAN有哪几种划分方式?
第5题:
A、Switch#enable
B、Switch#config terminal
C、Switch(config)#interface fastethernet 0/1
D、Switch#line console 0
第6题:
A、Switch(config-if)#switchport mode access
B、Switch(config-if)#switchport dynamic auto
C、Switch(config-if)#switchport mode trunk
D、Switch(config-if)#switchport mode dynamic
第7题:
交换机当前状态处于局部配置模式的是()
A.switch#
B.switch>
C.switch(config)#
D.switch(config-if)#
第8题:
在交换机配置中,( )模式中才可以配置该交换机的设备管理地址。
A.Switch>B.SwitchC.Switch(config)D.Switch(config-if)
第9题:
阅读以下说明和交换机的配置信息,回答问题1至问题3,将解答填入对应栏内。
某公司下设三个部门,为了便于管理,每个部门组成一个VLAN,公司网络结构如图5-1所示。

阅读交换机Switch1的部分配置信启,将(1)~(4)处空缺的内容填写在答题纸相应位置。
Switch1>en
switch1vlan database (设置VLAN配置子模式)
Switch1(vlan) (1) (设置本交换机为Server模式)
Switch1(vlan)vtp domain ABC (设置域名为ABC)
Switch1(vlan) (2) (启动修剪功能)
Switch1(vlan)…… (创建VLAN11~VLAN13,略)
Switch1(vlan)exit (退出VLAN配置模式)
Switch1config t
Switch1(config)interface f0/9
Switch1(config-if)switchport mode access
Switch1(config-if)switchport (3) (将端口9配给vlan11)
Switch1(config)interface f0/24
Switch1(config-if)switchport mode trunk
Switch1(config-if)switchport (4) (设置封装协议为isl)
Switch1(config-if)exit
Switch1copy run start
第10题:
哪种提示符指明用户正处在CiscoIOS软件的VLAN数据库配置模式下().
第11题:
指明用户正处于CiscoIOS软件的VLAN数据库配置模式中的提示符是()。
第12题:
switch>
switch#
switch(config-iF.#
switch(config)#
第13题:
以下为Cisco以太网交换机Catalyst 2924(WS-C2924XL-A,拥有24个10/100 M自适应端口)的VLAN划分命令,请解释【7】~【11】处的标有下划线部分配置命令的含义。
switch>en ∥进入特权执行态
switch#config term ∥进入通用配置状态
switch(config)# 【7】 ∥配置vlan l(ID为l的Vlan)
switch(config-if)#ip address 202.112.111.23 255.255.255.0
switch(config-if)#management
switch(config-if)#exit ∥退出对vlan的配置状态
switch(config)#interface fa0/1 ∥配置第一模块的第二个端口
switch(config-if)# 【8】 ∥设置VLAN模式为access
switch(config-if)# 【9】 ∥将该端口加入VLAN
switch(config.if)#exit ∥退出对端口的配置状态
…
switch(config)#interface fa0/2 ∥配置第一模块的第三个端口,
switch(config-if)# 【10】 ∥设置该端口VLAN模式为multi
switch (config-if)# 【11】 ∥加入2、3号VLAN
switch(config-if)#exit//退出对端口的配置状态
第14题:
● 交换机当前状态处于局部配置模式的是 (68) 。
(68)
A. switch>
B. switch#
C. switch(config-if)#
D. switch(config)#
第15题:
该21层教学综合大楼的部分网络拓扑结构如图1-22所示,其中L3_switch1、L3_switch2为该教学综合大楼的两台核心交换机;Switch1~Switch3为3台1Gb/s以太网交换机。阅读以下L3_switch2的部分配置信息,将(1)~(6)空缺处的内容(命令或解释)填写完整。

L3_switch2>enablc (进入特权模式)
L3_switch2 (1) (设置VLAN配置子模式)
L3_switch2 (vlan) (2) (设置本交换机为Server模式)
L3_switch2 (vlan) vtp domain vtp_server1 (设置域名)
L3_switch2 (vlan) (3) (启动修剪功能)
L3_switch2 (vlan) exit (退出VLAN配置模式)
L3_swltch2 config Terminal; (进入配置子模式)
L3_switch2 (config) interface f0/25 (进入端口25配置模式)
L3_switch2 (config-if) (4) (设置当前端口为trunk模式)
L3_switch2 (config-if)switchport trunk allowed vlan all ( (5) )
L3_switch2 (config-if) (6) (设置VLAN2生成树路径值)
……
第16题:
下面是交换机完成端口配置的过程,请根据题目要求,完成下列配置。
Switch(config)interface f0/7(进入端口7的配置模式)
Switch(config-if)(8)(设置端口为静态VLAN访问模式)
Switch(config-if)(9)(把端口7分配给VLAN10)
Switch(config-if)exit
Switch(config)exit
第17题:
在一台Cisco Catalyst 2950交换机上作如下配置:
Switch # config terminal
Switch (config) # interface fastethernet 0/1
Switch (config-if) # switchport mode access
Switch (config-if) # switchport access vlan2
若要将fastethernet 0/1端口还原到默认配置状态,可以使用( )命令。
A、Switch (config) # default fastethernet 0/1
B、Switch (config) # default interface fastethernet 0/1
C、Switch (config) # no fastethernet 0/1
D、Switch (config) # erase interface fastethernet 0/1
第18题:
阅读以下的配置信息,将(1)、(2)空缺处的内容填写完整,以实现图3-12所示的拓扑结构图中交换机主干道的相关配置。
Switch>enable (进入特权模式)
Switchconfig terminal
Switch (config) (1)
Switch (config-if) switchport (2)
Switch (config-if) end
第19题:
阅读以下说明,回答问题1至问题4,将解答填入答题纸对应的解答栏内。 【说明】 某企业的网络拓扑结构如图4-1所示。
图 4-1 由于该企业路由设备数量较少,为提高路由效率,要求为该企业构建基于静态路由的多层安全交换网络。根据要求创建4个VLAN分别属于网管中心、生产部、销售部以及研发中心,各部门的VLAN号及IP地址规划如图4-1所示。该企业网采用三层交换机Switch-core为核心交换机,Switch-core与网管中心交换机Switch1和研发中心交换机Switch4采用三层连接,Switch-core与生产部交换机Switch2及销售部交换机Switch3采用二层互联。 各交换机之间的连接以及接口IP地址如表4-1所示。
【问题1】(4分) 随着企业网络的不断发展,研发中心的上网计算机数急剧增加,在高峰时段研发中心和核心交换机之间的网络流量非常大,在不对网络进行大的升级改造的前提下,网管人员采用了以太信道(或端口聚合)技术来增加带宽,同时也起到了(1)和(2)的作用,保证了研发中心网络的稳定性和安全性。 在两台交换机之间是否形成以太信道,可以用协议自动协商。目前有两种协商协议:一种是(3),是Cisco私有的协议;另一种是(4) ,是基于IEEE 802.3ad标准的协议。 (3)、(4)备选答案: A.端口聚合协议(PAgP) B.多生成树协议(MSTP) C.链路聚合控制协议(LACP) 【问题2】(7分) 核心交换机Switch-core与网管中心交换机Switchl通过静态路由进行连接。根据需求,完成或解释Switch-core与Switchl的部分配置命令。 (1)配置核心交换机Switch-core Switch-coreconfig terminal Switch-core(config)interface gigabitEthemet 0/2 Switch-core(config-if)descnption wgsw-g0/1 // (5) Switch-core(config-if)no switchport // (6) Switch-core(config-if)ip address (7) Switch-core(config-if)no shutdown Switch-core(config)ip route 192.168.10.0 255.255.255.0 192.168.101.2 Switch-core(config)exit … (2)配置网管中心交换机Switchl Switchlconfig terminal Switchl(config)no ip domain lookup // (8) Switchl(config)interface gigabitEthemet 0/1 Switchl(config-if)description core-g0/2 Switchl(config-if)no switchport Switchl(config-if)ip address (9) Switchl(config-if)exit Switchl(config)vlan 10 Switchl(config-vlan)name wgl0 Switchl(config-vlan)exit Switchl(config)interface vlan 10 //创建 VLAN10 Switchl(config-if)ip address (10) Switchl(config-if)exit Switchl(config)interface range f0/2-20 Switchl(config-if-range)switchport mode access //设置端口模为 access模式 Switchl(config-if-range)switchport access (11) //设置端口所属的VLAN Switchl(config-if-range)no shutdown Switchl(config-if-range)exit Switchl(config)ip route 192.168.20.0 255.255.255.0 192.168.101.1 Switchl(config)ip route 192.168.30.0 255.255.255.0 192.168.101.1 … 【问题3](7分) 为确保研发中心网络的稳定性,在现有条件下尽量保证带宽,要求实现核心交换机Switch-core与砑发中心交换机Switch4的三层端口聚合,然后通过静态路由进行连接。根据需求,完成或解释以下配置命令。 (1)继续配置核心交换机Switch-core Switch-coreconfig terminal Switch-core(config)interface port-channel 10 // (12) Switch-core(config-if)no switchport Switch-core(config-if)ip address (13) Switch-core(config-if)no shutdown Switch-core(config-if)exit Switch-core(config)interface range fastEthemet0/1-4 //选择配置的物理接口 Switch-core(config-if-range)no switchport Switch-core(config-if-range)no ip address //确保该物理接口没有指定的IP地址 Switch-core(config-if-range)switchport //改变该端口为2层接口 Switch-core(config-if-range)channel-group 10 mode on //(14) Switch-core(config-if-range)no shutdown Switch-core(config-if-range)exit Switch-core(config)ip route 192.168.40.0 255.255.255.0 192.168.102.2 … (2)配置研发中心交换机Switch4 Switch4config terminal Switch4(config)interface port-channel 10 Switch4(config-if)no switchport Switch4(config-if)ip address (15) Sw:itch4(config-if)no shutdown Switch4(config-if)exit Switch4(config)interface range fastEthemet0/1-4 //选择配置的物理接口 Switch4(config-if-range)no switchport Switch4(config-if-range)no ip address … Switch4(config-if-range)no shutdown Switch4(config-if-range)exit Switch4(config) (16) //配置默认路由 Switch4(config)vlan 40 Switch4(config-vlan)name yfl0 Switch4(config-vlan)exit Switch4(config) (17) //开启该交换机的三层路由功能 Switch4(config)interface vlan 40 Switch4(config-if)ip address 192.168.40.1 255.255.255.0 Switch4(config-if)exit Switch4(config)interface range fastEthemet0/5-20 Switch4(config-if-range)switchport mode access … Switch4(config-if-range) (18) //退回到特权模式 Switch4 … 【问题4](2分) 为了保障局域网用户的网络安全,防范欺骗攻击,以生产部交换机Switch2为例,配置DHCP侦听。根据需求完成或解释Switch2的部分配置命令。 Switch2config terminal Switch2(config)ip dhcp snooping //(19) Switch2(config)ip dhcp snooping vlan 20 Switch2(config)interface gigabitEthemetl/l Switch2(config-if)ip dhcp snooping trust //(20) Switch2(config-if)exit …
第20题:
交换机当前状态处于局部配置模式的是 (68) 。
A. switch>
B. switch
C. switch(config-if)
D. switch(config)
第21题:
第22题:
交换机当前状态处于局部配置模式的是()。
第23题:
下面哪种提示符表示交换机现在处于特权模式?()