A.打开接口
B.设置端口模式
C.开启端口安全模式
D.设置端口工作模式
第1题
【说明】
某企业的网络拓扑结构如图3-1所示,随着企业内部网络的不断扩大,为了企业内网的安全,现要求利用VTP协议快速实现企业内网的VLAN配置以解决广播风暴的问题, 同时要求使用地址绑定技术解决
网络中的地址冲突以及地址欺骗等现象。
图3-1
【问题1】(4分)
在没有配置VLAN之前,由交换机互连的网络默认同属于(1)。为了解决链路通过多条VLAN的问题,交换机的端口被定义为三种模式,分别为(2)、(3)以及(4)。(1)~(4)备选答案如下:
A.VLANO B.VLAN1 C.VLAN2 D.access
E.trunk F.dynamic G.server H.client
【问题2】(10分)
网络环境中经常会出现地址冲突、地址欺骗等现象,为了解决这种问题,请使用地址绑定技术在交换机Switch2上实现对主机PC1(MAC地址为0001.ABCD.32EA)基于端口的MAC地址绑定,请补充完成下列配置命令。
Switch2> (5) //进入特权模式
Switch2 (6) //进入全局配置模式
Switch2(config) (7) F0/2 //进入端口 F0/2 配置模式
Switch2(config-if)switchport (8) //配置开启端口安全模式
Switch2(config-if)switchport port-security (9) 0001.ABCD.32EA
//将PC1MA地址0001.ABCD.32EA绑定到该端口
......
【问题3】(3分)
使用VTP快速配置企业网络VLAN,请完成相关配置命令。
1.在三台交换机(Switch-1、Switch-2和Switch-3)上分别配置VTP协议,将Switch-1设为服务器模式,Switch-2和Switch-3设为客户机模式。
Switch-1:
Switch-1(VLAN) (10) //定义 Switch-1为VTP服务器模式
Switch-1(VLAN) vtp domain cisco
Switch-1(VLAN) vtp password cisco
Switch-2:
Switch-2(VLAN) vtp domain cisco //&39;定义 Switch-2的VTP 域
Switch-2(VLAN) vtp client
Switch-2(VLAN) (11) //定义 Switch-2的VTP 域验证密码
......
2.配置trunk接口及验证VTP Switch-1:
Switch-1(config) int f0/1
Switch-1(config-if) switchport trunk encapsulationdotlq //指定封装类型
Switch-l(config-if) switchport mode (12) //配置该接口为 trunk 模式
......
Switch-3:
Switch-3(config) interface fastEthernet 0/1 //进入Switch-3的接口配置子模式
Switch-3(config-if) switchport trunk encapsulationdotlq //指定封装类型
Switch-3 showVLAN //在 Switch-3 上查看VLAN信息,验证VTP
......
【问题4】(3分)
网络系统建设过程中,网络交换设备的质量、性能、功能等因素直接与网络系统的整体性能相关。衡量网络交换设备性能最主要的指标有(13) 、 (14)和(15)。(13)~(15)备选答案如下:
A.端口转发速率 B.传输时延 C.包转发率 D.额定功率
E.端口类型 F.背板容量
第2题
A、Switch(config-if)# switchport port-security maximum 40
B、Switch(config-if)# switchport port-security mac-address
C、Switch(config-if)# switchport port-security mac-address sticky
D、Switch(config-if)# switchport port-security mac-address 000B.FCFF.E880
第3题
(61)
A. S1(config-if)# vlan-menbership static
B. S1(config-if)# vlan database
C. S1(config-if)# switchport mode access
D. S1(config-if)# switchport access vlan 1
第4题
请阅读下列关于交换机S4的VLAN配置信息,并补充空白处的配置命令或参数,按题目要求完成交换机S4的相关配置。
Switch-S4-3548 vlan data
Switch-S4-3548 (vlan) vlan2 name jszx2
Switch-S4-3548 (vlan) vlan3 name jszx3
Switch-S4-3548 (vlan) vlan4 name jszx4
Switch-S4-3548 (vlan) vlan5 name jszx5
Switch-S4-3548 (vlan) exit
Switch-S4-3548 configure terminal Switch-S4-3548 (config) interface (6) (进入端口配置模式)
Switch-S4-3548 (config-if) switchport (7) (配置VLAN trunk模式)
Switch-S4-3548 (config-if) switchport trunk encapsulation (8) (封装协议)
Switch-S4-3548 (config-if) switchport truck allowed (9) (设置可中继的VLAN)
Switch-S4-3548 (config-if) switchport truck allowed (10) (去除不允许中继的VLAN)
Switch-S4-3548 (config-if) exit
Switch-S4-3548 (config) exit Switch-S4-3548
(6)
第5题
【说明】
某公司局域网拓扑图如图3-1所示,其中S1为三层交换机,S2和S3为二层交换机。
【问题1】(4分)
由于业务需要,需将PC1和PC3划分在vlan10,PC2和PC4划分在vlan20中。IP地址配置如下表所示,请将下表空白部分补充完整:
【问题2】(10分)
管理员计划使用VTP为网络划分VLAN,为S1做了如下配置,请将其补充完整或解释命令:
Switch>
Switch> (5) ;进入特权模式
Switchconfig terminal
Switch(config) (6) S1 ;命名
S1(config)vtp mode (7) ;设置为VTP服务器模式
S1(config)vtp password class ;设置为 (8)
S1(config)vtp domain s1 ;设置为 (9)
S1(config)vlan 10
S1(config)vlan 20
S1(config)interface range fastethernet 0/23-24 ;进入多个接口配置模式
S1(config-if-range)switchport mode trunk ;设置接口为中继模式
……
【问题3】(5分)
管理员为S2 做了如下配置,请将其补充完整或解释命令:
……
S2(config)vtp mode (10) :设置为VTP客户端模式
S2(config)vtp password (11) ;设置VTP口令
S2(config)interface fastethernet 0/24
S2(config-if)switchport mode (12) ;设置接口为中继模式
S2(config)interface fastethernet 0/1
S2(config-if)switchport access vlan 10 ; (13)
S2(config)interface fastethernet O/11
S2(config-if)switchport access vlan 20 ; (14)
【闯题4】(1分)
由于业务扩展,需在S2上创建vlan 30,管理员在S2上使用了如下命令:
S2(config)vlan 30
VTP VLAN configuration not alloweD.
S2(config)
使用show vlan命令查看后,发现vlan 30未创建成功,可能的原因是 (15) 。
(15)各选答案:
A.vlan配置命令使用错误
B.vlan配置模式错误
C.S2是clinet模式,不允许创建、删除和修改vlan
D.S2不支持vlan
第6题
A. Switch(config-if)#storm-control broadcast level
B. Switch(config-if)#storm-control multicast level
C. Switch(config-if)#dot1x port-control auto
D. Switch(config-if)#switchport mode access
第7题
SW1 configt
SW1(config) interface f0/1 (进入接口1配置模式)
SW1(config-if)switchport mode trunk ((5))
SW1(config-if)switchpont runk allowed vlan all(设置允许从该接口交换数据的vlan)
SW1(config-if) end
SW1 vlan d
SW1(vlan) vlan 2 (创建一个vlan 2)
VLAN 2 added
Name:VLAN0002 (系统自动命名)
SW1(vlan) vlan 3 name vlan3 ((6))
VLAN 3 added:
Name:vlan3
SW1(vlan)exit
第8题
SW1>enable (进入特权模式)
SW1(config)interface f0/23 (进入接口23配置模式)
SW1(config-if)switchport mode trunk (9)
SW1(config-if)switchport trunk encaps isl (10)
SW1(config-if)spanning-tree vlan 1 port-priority 10 (11)
SW1(config-if)spanning-tree vlan 2 port-priority 10
SW1(config-if)spanning-tree vlan 3 port-priority 10
SW1(config-if)interface f0/24 (进入接口24配置模式)
SW1(config-if)…….. (对端口24进行配置)
SW1(config-if)end
SW1copy run start
第9题
【说明】
某公司有市场部和财务部两个部门,每个部门各有20台PC机,全部接到一个48口交换机上,由一台安装Linux的服务器提供DHCP服务。网络拓扑结构如图3-1所示。
【问题1】(2分)
某一天,公司网络忽然时断时续,网管员在网络上抓包后发现大量来自主机PC10的ARP数据包(源MAC地址是00:13:02:7f:c6:c2,目标MAC地址是ff:ff:ff:ff:ff:ff),由此可以推断网络故障原因是(1)。
【问题2】(4分)
为了解决该问题,需要将主机PC10从网络上断开,除了物理上将该主机断开外,还可以将连接该主机的交换机端口f0/10关闭,补充完成下面命令。
Switch> (2)
Switchconfig terminal
Switch(config) interface f0/10
Switch(config-if) (3)
Switch(config-if)exit
Switch(config)
【问题3】 (6分)
为了解决网络广播包过多的问题,需要将网络按部门划分VLAN,VLAN规划如表3-1所示。
交换机Switch配置命令如下,请补充完成下列配置命令。
Switch (4)terminal
Switch(config)interface f0/1
Switch(config-if) switchport mode access
Switch(config-if) switchport access vlan 2
Switch(config-if)exit
Switch(config)interface f0/21
Switch(config-if) switchport mode (5)
Switch(config-if)switchport access (6)
【问题4】(3分)
如果财务部使用静态IP地址,市场部利用DHCP服务器提供动态IP地址,则需要在交换机Switch增加以下配置。
Switch(config)interface (7)
Switch(config-if) switchport mode (8)
Switch(config-if) switchport access (9)
第10题
Swich(config) (1) 将交换机命名为Sw1
Sw1(config)interface vlan 1
Sw1(config) (2) 设置交换机的IP地址为192.168.1.1/24
Sw1(config-if)no shutdown
Sw1(config) (3) 设置交换机的默认网关地址
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!