交换机命令Switch>enable的作用是()。
第1题:
交换机命令可使用缩写形式,在Switch#模式下,键人con,则表示——。
A.contrl
B.connect
C.configure
D.confirm
第2题:
将Cisco 6500第4模块第1端口的通信方式设置为半双工,第2~24端口的通信方式设置为全双工,以下交换机的端口配置,正确的是
A)Switch-6500> (enable) set interface duplex 4/1 half
Switch-6500> (enable) set interface duplex 4/2-24 full
B)Switch-6500> (enable) set port 4/1 duplex half
Switch-6500> (enable) set port 4/2-24 duplex full
C)Switch-6500> (enable) set port duplex 4/1 half
Switch-6500> (enable) set port duplex 4/2-4/24 full
D)Switch-6500> (enable) set port duplex 4/l half
Switch-6500> (enable) set port duplex 4/2-24 full
第3题:
● 交换机命令switch(config)# vtp pruning的作用是 (59) 。
(59)
A. 指定交换机的工作模式
B. 启用VTP 静态修剪
C. 指定VTP 域名
D. 启用VTP 动态修剪
第4题:
阅读以下说明,回答问题1~3,将答案填入对应的解答栏内。
随着越来越多的机构为任务关键型通信寻求经济利益,高可靠性变得日益关键。网络通信注意力集中在提供一种7×24小时都可用的网络架构上。可是,最大的挑战之一不是来自于网络架构,而是来自于用户级的工作站和网络设备。
热备份路由选择协议(HSRP)为IP碉络提供了容错和增强的路由选择功能。如图5-1就是一个典型的HSRP网络的实现。
两台多层交换机的配置如下,解析配置文件中部分语句的意义。
***Switch1的交换引擎的配置***
Switch1>(enable)set vtp mode server (1)
Switch1>(enable)set vtp domain Core Net //设置VTP域名
Switch1>(enable)set vlan 10 name CaiWuBu //创建VLAN 10
Switch1>(enable)set vlan 20 name XingZheng //创建VLAN 20
Switch1>(enable)set trunk 1/1 on dotlq 1-1005 (2)
Switch1 (2) (enable)set spantree root 1-40 dia 4 (3)
Switch1 (3) (enable)set spantree portfast 1/1-2 enable (4)
Switch1 (4) (enable)set spantree uplinkfast enable (5)
……(略)
***Switch1的路由引擎的配置***
Switch1(config)enable secret test //设定登录口令
Switch1(config)line vty 0 4 //进入VTY模式
Switch1(config-line)login
Switch1(config-line)password test //设用户级口令
……(略)
Switch1(config-if)interface vlan 10 //进入虚接HVLAN 10
Switch1(config-if)ip address 192.168.180.60 255.255.255.192
//设定IP地址
Switch1(config-if)no shutdown //开启端口
Switch1(config-if)standby 10 ip 192.168.180.62 (6)
Switch1(config-if)standby 10 priority 110 (7)
Switch1(config-if)standby 10 preempt (8)
Switch1(config-if)interfacevlan 20 //进入虚接口VLAN 20
Switch1(config-if)ip address 192.168.180.124 255.255.255.192
//设定IP地址
Switch1(config-if)no shutdown //开启端口
Switch1(config-if)standby 20 ip 192.168.180.126
Switch1(config-if)standby 20 priority 110
Switch1(config-if)standby 20 preempt
……(略)
***Switch2的交换引擎的配置***
Switch2>(enable)set vtp mode server
Switch2>(enable)set vtp domain Core_Net //设置VTP域名
Switch2>(enable)set vlan 10 name CaiWuBu //创建VLAN 10
Switch2>(enable)set vlan 20 name XingZheng //创建VLAN 20
Switch2>(enable)set trunk 1/1 on dotlq 1-1005
Switch2>(enable)set spantree secondary root 1-40 dia 4
……(略)
***Switch2的路由引擎的配置**+
Switch2(config)enable secret test //设定登录口令
……(略)
Switch2(config-if)interface vlan 10 //进入虚接口VLAN 10
Switch2(config-if)ip address 192.168.180.61 255.255.255.192
//设定IP地址
Switch2(config-if)no shutdown //开启端口
Switch2(config-if)standby 10 ip 192.168.180.62
Switch2(config-if)standby 10 priority 100
Switch2(config-if)standby 10 preempt
Switch2(config-if)interface vlan 20 //进入虚接口VLAN 20
Switch2(config-if)ip address 192.168.180.125 255.255.255.192
Switch2(config-if)no shutdown
Switch2(config-if)standby 20 ip 192.168.180.126
Switch2(config-if)standby 20 priority 100
Switch2(config-if)standby 20 preempt
……(略)
第5题:
将Catalyst 6500交换机第3个模块的端口1~端口8设置为全双工通信方式,正确的配置语句是______。
A.Switch-PHY-6500(config-if)#duplex full
B.Switch-PHY-6500(config-if)#duplex 3 1-8 full
C.Switch-PHY-6500>(enable) set port duplex 3/1-8 full
D.Switch-PHY-6500>(enable) set port duplex 3 1-8 full
第6题:
交换机是一种具有简化、低价、高性能和高端口密集特点的交换产品。根据其工作的OSI层次可以分为第二层交换机和多层交换机。通常所说的交换机是指第二层交换机,它其实可以看做是多端口网桥,根据MAC地址相对简单地决策信息转发。阅读以下的配置命令,解释【6】~【10】处的命令。
switch# (特权模式提示符)
switch# 【6】 (进入全局配置模式)
Switch (config)# 【7】 (设置enable口令为test;)
Switch (config)# 【8】 (设置enable加密口令为test2)
Switch (config)# 【9】 (设置主机名为Test)
Switch (config)# 【10】 (退出特权模式)
第7题:
交换机命令switch(config)# vtp prLming的作用是______。
A.指定交换机的工作模式
B.启用VTP静态修剪
C.指定VTP域名
D.启用VTP动态修剪
第8题:
● 交换机命令Switch >enable的作用是 (59) 。
(59)A. 配置访问口令 B. 进入配置模式 D. 显示当前模式 C. 进入特权模式
第9题:
A.Switch#show running-config
B.Switch#show startup-config
C.Switch>show running-config
D.Switch>show startup-config
第10题:
交换机是一种具有简化、低价、高性能和高端口密集等特点的交换产品。根据其工作的OSI的层次可以分为第二层交换机和多层交换机。通常所说的交换机是指第二层交换机,它其实可以看作是多端口网桥,根据MAC地址相对简单地决策信息转发。
交换技术的出现有效地减轻了局域网之间信息流通的瓶颈问题,它通过经济地将网络分成小的冲突网域,为每个工作站提供了更高的带宽,其协议的透明性使得交换机配置简单的情况下可以直接安装在多协议的网络中。
(1) 在第一次访问交换机时,应该采取什么方式连接交换机?如果希望通过远程拨号连接到路由器进行配置,那么该怎样操作?
(2) 交换机通常有多种内存,其中用来保存IOS的是什么?
(3) 在登录交换机之后,默认进行的是什么模式?要进入特权模式要使用什么命令?
(4) 阅读以下的配置命令解释①~③处的命令。
Switch ( ① )。
Switchconfig terminal (进入全局配置模式)。
Switch (config) enable password test (设置enable口令为test)。
Switch (config) enable secret test2 ( ② )。
Switch (config) hostname Cttest ( ③ )。
Switch (config) end (退出特权模式)。
经过这一配置之后,再进入特权模式是否要输入口令?如果是,口令是什么?