交换机配置命令sysname Switch1的作用是( )

题目
交换机配置命令sysname Switch1的作用是( )

A.进入系统视图
B.修改设备名称
C.创建管理 VLAN
D.配置认证方式
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在图6-16所示的拓扑结构中,核心层交换机采用的是3层交换机。交换机Switch1被命名为 CoreSwitch1。为了提高主干道的吞吐量及实现冗余设计,在两台核心层交换机之间采用了多干兆链路捆绑技术。请写出Switch1中实现这一技术要求的相关配置语句。


正确答案:CoreSwitch1(config)#interface port-channel 1 CoreSwitch1(config-if)# switchport mode trunk CoreSwitch1(config-if)# switchport trunk encapsulation dot1q CoreSwitch1(config-if)# switchport trunk allowed vlan 1-100 CoreSwitch1(config-if)# duplex full CoreSwitch1(config-if)# speed 1000 C0reSwitch1(config-if)# interface range gigabitEthernet 2/1-2 ComSwitch1(config-if)# channe1-group 1 mode desirable non-silent CoreSwitch1(config-if)# no shutdown
CoreSwitch1(config)#interface port-channel 1 CoreSwitch1(config-if)# switchport mode trunk CoreSwitch1(config-if)# switchport trunk encapsulation dot1q CoreSwitch1(config-if)# switchport trunk allowed vlan 1-100 CoreSwitch1(config-if)# duplex full CoreSwitch1(config-if)# speed 1000 C0reSwitch1(config-if)# interface range gigabitEthernet 2/1-2 ComSwitch1(config-if)# channe1-group 1 mode desirable non-silent CoreSwitch1(config-if)# no shutdown 解析:为了提高主干道的吞吐量及实现冗余设计,在本案例设计中,将核心层交换机Switch1的千兆端口 GigabitEthemet2/1、GigabitEthemet2/2捆绑在一起,实现2000Mbps的千兆以太网信道,然后再连接到另一台核心层交换机Switch2。设置核心层交换机CoreSwitch1的千兆以太网信道的步骤如下:
CoreSwitch1 (config) # interface port-channel 1//创建以太通道。通道组号的范围是1~6的正整数
CoreSwitch1 (config-if) # switchport mode trunk
CoreSwitch1 (config-if) # duplex full
CoreSwitch1(config-if)# speed 1000
CoreSwitch1(config-if)# interface range gigabitEthernet 2/1-2
CoreSwitch1 (config-if) # channel-group 1 mode desirable non-silent
//将当前接口加入到相应的以太通道中,并指明以太通道模式
CoreSwitch1 (config-if) # no shutdown
在端口配置模式下,使用命令channel-group1-6>modeon|desirable|auto|active|passive>将当前接口加入到相应的以太通道中,并指明以太通道模式。参数on为手动配置模式,参数desirable、auto分别为 PAGP的desirable、auto模式,参数active、passive分别为LGAP的active、passive模式。

第2题:

阅读以下说明,回答问题1~4,将解答填入对应的解答栏内。

利用VLAN技术可以把物理上连接的网络从逻辑上划分为多个不同的虚拟子网,可以对各个子网实施不同的管理策略。图4-1是在网络中划分VLAN的连接示意图。

下面的命令是在交换机Switch1上创建一个名字为classroom的虚拟局域网(VLAN ID为2)的配置命令,请给出空白处的配置内容:

Switch1 (1)

Switch1(config) (2) (创建Vlan2)

Switch1(config-vlan)name classroom (将Vlan2命名为classroom)

Switch1(config-vlan) (3) (完成并退出)

Switch1


正确答案:(1)configterminal (2)VLAN 2 (3)end或Ctrl+Z
(1)configterminal (2)VLAN 2 (3)end或Ctrl+Z 解析:创建VLAN可以在两个子模式下进行。一是在VTP配置子模式,其提示符是“Switch(vlan)#”,进入命令是“vlan database”;另一种方法是在全局配置模式下执行“VLANVLAN_ID>”创建一个VLAN,进入VLAN配置子模式,提示符变为“Switch(config-vlan)#”,这个子模式下,可以修改为VLAN的参数。由题目可知,此处是使用后一种方法。因此空(1)的任务是进入全局配置模式,命令是“config terminal”,空(2)的作用是创建VLAN 2,即“VLAN 2”;空(3)命令是从VLAN配置子模式返回特权模式,命令是“end”或“Ctrl+Z”。注意:不能是“exit”命令,它只能返回全局配置模式。

第3题:

● 交换机命令Switch >enable的作用是 (59) 。

(59)A. 配置访问口令 B. 进入配置模式 D. 显示当前模式 C. 进入特权模式


正确答案:C
解析:交换机基本操作
1.进入特权模式:
switch>enable
switch#
2.返回用户模式:
switch#exit
PRess RETURN to get started!
switch>
配置模式:
全局配置模式[主机名(config)#]:配置交换机的整体参数子模式:
1.线路配置模式[主机名(config-line)#]:配置交换机的线路参数
2.接口配置模式[主机名(config-if)#]:配置交换机的接口参数
进入全局配置模式下:
switch#configure terminal
switch(config)#exit
switch#
进入线路配置模式:
switch(config)#line console 0
switch(config—line)#exit
switch(config)#
进入接口配置模式:
switch(config)#interface fastEthernet O/1
switch(config—if)#exit
switch(config)#
从子模式下直接返回特权模式:
switch(config—if)#end
switch#

 

第4题:

网络管理员在Cisco交换机Switch1上进行了如下配置:Switch1config terminalSwitch1(config)interface range f0/4 -10Switch1(config-if-range)switchport access vlan 2请问他执行以上操作的结果是( )。

A、在Switch1上添加VLAN2

B、将Switch1上的f0/4-10接口添加到VLAN2中

C、配置Switch1的f0/4-10接口为trunk模式

D、查看Switch1的f0/4-10接口模式


正确答案:B


第5题:

将Switcbl的端口6划入v2的配置命令如下,请给出空白处的配置内容:

Switch1(config)interface fastEthemet0/6(进入端口6配置模式)

Switch1(config-if)switchport(6)

Switch1(config-if)switchport(7)


正确答案:(6)Switch1(config-if)#switchport mode access (7)Switch1(config-if)#switchport access vlan2或Switch1(config-if)#switchport access vlan v2也正确。
(6)Switch1(config-if)#switchport mode access (7)Switch1(config-if)#switchport access vlan2或Switch1(config-if)#switchport access vlan v2也正确。 解析:(6)Switch1(config-if)#switchport mode access
(7)Switch1(config-if)#switchport access vlan2或Switch1(config-if)#switchport access vlan v2也正确。

第6题:

将Switch1的端口1216划入v2的配置命令如下,请给出空白处的配置内容:

Switch1(config)interface fastEthernet0/6 (进入端口6配置模式)

Switch1(config-if)switchport (7)

Switch1(config-if)switchport (8)


正确答案:(7)mode access (8)access vlan 2(或access vlan v2)
(7)mode access (8)access vlan 2(或access vlan v2)

第7题:

使Switch1的千兆端口允许所有VLAN通过的配置命令如下,请给出空白处的配置内容:

Switchl(config)interface gigabit0/1(进入千兆端口配置模式)

Switch1(config-if)switchport(4)

Switch1(config-if)switchport(5)


正确答案:(4)_Switch1(config-if)#switchport mode trunk (5) Switch1(config-if)#switchport trunk allowed vlan all(或tiunk encapsulation isl)
(4)_Switch1(config-if)#switchport mode trunk (5) Switch1(config-if)#switchport trunk allowed vlan all(或tiunk encapsulation isl) 解析:(4)设置trunk模式:Switch1(config-if)#switchport mode trunk
(5)设置该千兆端口允许所有VLAN通过:Switch1(config-if)#switchport trunk allo-wed vlan all(或trunk encapsulation isl)

第8题:

使Switch1的千兆端口允许所有VLAN通过的配置命令如下,请给出空白处的配置内容:

Switch1(config)interface gigabit0/1 (进入端u配置模式)

Switch1(config-if)switchport (6)

Switch1(config-if)switchport (7) (设置封装协议为dotlq)


正确答案:(6)mode trunk (7)trunk encaps dotlq
(6)mode trunk (7)trunk encaps dotlq 解析:的作用是将当前端口设置为trunk(干道)模式,其命令是“switchport mode trunk”:空(7)的作用是设置trunk中数据帧的封装形式为dotlq,其命令“switchport trunk encaps dotlq”。

第9题:

阅读以下说明,回答问题1至问题3,将解答填入解答栏内。

【说明】

某公司租用了一段C类地址203.12.11.0/24~203.12.14.0/24,如下图所示。其网间地址是172.11.5.14/24。要求网内所有PC都能上网。

接入层交换机Switch1的端口24为trunk口,其余各口属于vlan11,请解释下列命令并完成交换机的配置。

Switch1config terminal

Switch1(config)interface f0/24(进入端口24配置模式)

Switch1(config-if) switchport mode trunk(1)

Switch1(config-if)switchport trunk encapsulation dotlq(2)

Switch1(config-if) switchport trunk allowed all(允许所有VLAN从该端口交换数据)

Switch1(config-if)exit

Switch1(config)exit

Swkch1 vlan database

Switch1(vlan) vlan11 name lab01(3)

Switch1(vlan)exit

Switch1 config terminal

Switch1(config)interface f0/9(进入f0/9的配置模式)

Switch1(config-if)(4)(设置端口为接入链路模式)

Switch1(config-if)(5)(把f0/9分配给VLAN11)

Switch1(config-if)exit

Switch1(config)exit


正确答案:(1)设置端口为中继(或Trunk)模式 (2)设置Trunk采用802.1q格式(或dotlq) (3)创建vlanll并命名为lab01 (4)switchport mode access (5)switchport access vlan11
(1)设置端口为中继(或Trunk)模式 (2)设置Trunk采用802.1q格式(或dotlq) (3)创建vlanll,并命名为lab01 (4)switchport mode access (5)switchport access vlan11 解析:由题目要求可知,Switch1的端口24为trunk口,其余各口属于vlan11,故Switch1的配置及解释如下。
Switch1# config terminal
Switch1(config) #interface f0/24 (进入端口24配置模式)
Switch1(config-if)# switchport mode trunk 设置端口为中继模式
Switch1(cOnfig-if)# switchport trunk encapsulation dotlq设置Trunk采用 802.1q格式
Switch1(config-if)# switchport trunk allowed all(允许所有VLAN从该端口交换数据)
Switch1(config- if)#exit
Switch1(config)#exit
Switchl# vlan database
Switch1(vlan) # vlan11 name lab01 创建vlan11,并命名为lab01
Switch1(vlan)#exit
Switch1#config terminal
Switch1(config)# interface f0/9 (进入f0/9的配置模式)
Switch1(config- if)# switchport mode access(设置端口为接入链路模式)
Switch1(config- if)# switchport access vlan11(把f0/9分配给VLAN11)
Switch1(config-if)#exit
Switch1(config)#exit

第10题:

在Cisco交换机中Fastethernet0/1下的配置命令“description to BENET101-2950-01”的作用是( )。

A、设置交换机名

B、设置计算机的名字

C、对接口的描述

D、欢迎字符串


正确答案:C


更多相关问题