网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

要在一个接上配置IP地址和子网掩码,正确的命令是哪个?()

  • A、Switch(config)#ip address 192.168.1.1
  • B、Switch(config-if)#ip address 192.168.1.1
  • C、Switch(config-if)#ip address 192.168.1.1 255.255.255.0
  • D、Switch(config-if)#ip address 192.168.1.1 netmask 255.255.255.0

参考答案

更多 “要在一个接上配置IP地址和子网掩码,正确的命令是哪个?()A、Switch(config)#ip address 192.168.1.1B、Switch(config-if)#ip address 192.168.1.1C、Switch(config-if)#ip address 192.168.1.1 255.255.255.0D、Switch(config-if)#ip address 192.168.1.1 netmask 255.255.255.0” 相关考题
考题 要在一个接上配置IP地址和子网掩码,正确的命令是哪个?() A.Switch(config)#ip address 192.168.1.1B.Switch(config-if)#ip address 192.168.1.1C.Switch(config-if)#ip address 192.168.1.1 255.255.255.0D.Switch(config-if)#ip address 192.168.1.1 netmask 255.255.255.0

考题 Which command on router EzonexamA will assign the last usable IP address from the 192.168.32.128/28 subnetwork to a router interface?A. EzonexamA(config-if) ip address 192.168.32.142 255.255.255.240B. EzonexamA(config-if) ip address 192.168.32.143 255.255.255.240C. EzonexamA(config-if) ip address 192.168.32.158 255.255.255.240D. EzonexamA(config-if) ip address 192.168.32.145 255.255.255.240E. EzonexamA(config-if) ip address 192.168.32.144 255.255.255.240F. EzonexamA(config-if) ip address 192.168.32.158 255.255.255.240G. None of the above

考题 以下为Cisco以太网交换机Catalyst 2924(WS-C2924XL-A,拥有24个10/100 M自适应端口)的VLAN划分命令,请解释【7】~【11】处的标有下划线部分配置命令的含义。switchen ∥进入特权执行态switch#config term ∥进入通用配置状态switch(config)# 【7】 ∥配置vlan l(ID为l的Vlan)switch(config-if)#ip address 202.112.111.23 255.255.255.0switch(config-if)#managementswitch(config-if)#exit ∥退出对vlan的配置状态switch(config)#interface fa0/1 ∥配置第一模块的第二个端口switch(config-if)# 【8】 ∥设置VLAN模式为accessswitch(config-if)# 【9】 ∥将该端口加入VLANswitch(config.if)#exit ∥退出对端口的配置状态…switch(config)#interface fa0/2 ∥配置第一模块的第三个端口,switch(config-if)# 【10】 ∥设置该端口VLAN模式为multiswitch (config-if)# 【11】 ∥加入2、3号VLANswitch(config-if)#exit//退出对端口的配置状态

考题 Cisco 3548交换机采用telnet远程管理方式进行配置,其设备管理地址是222.38.12.23/24,缺省路由是222.38.12.1。下列对交换机预先进行的配置,正确的是A)Switch-3548(config)#interface vlan1Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0Switch-3548(config-if)#ip default-gateway 222.38.12.1Switch-3548(config-if)#exitSwitch-3548(config)#line vty 0 4Switch-3548(config-line)#password 7 cccSwitch-3548(config-line)#exitB)Switch-3548(config)#interface vlan1Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0Switch-3548(config-if)#exitSwitch-3548(config)#ip default-gateway 222.38.12.1Switch-3548(config)#line vty 0 4Switch-3548(config-line)#password 7 cccSwitch-3548(config-line)#exitC)Switch-3548(config)#interface vlan1Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0Switch-3548(config-if)#exitSwitch-3548(config)#ip default-route 222.38.12.1Switch-3548(config)#line vty 0 4Switch-3548(config-line)#password 7 cccSwitch-3548(config-line)#exitD)Switch-3548(config)#interface vlan1Switch-3548(config-if)#ip address 222.38.12.23 255.255.255.0Switch-3548(config-if)#exitSwitch-3548(config)#ip default-gateway 222.38.12.1Switch-3548(config)#line aux 0 4Switch-3548(config-line)#password 7 cccSwitch-3548(config-line)#exit

考题 给一个端口配置IP192.168.1.1/30地址,命令应为()。 A.ip address 192.168.1.1 255.255.255.253B.ip address 192.168.1.1 255.255.255.250C.ip address 192.168.1.1 255.255.255.240D.ip address 192.168.1.1 255.255.255.0

考题 Switch1的f0/24口接在Switch 0的f0/2口上,请根据本题的示意图完成或解释以下 Switch0的配置命令。Switch0(config) interface(8)(进入虚子接口)Switch0(config-if) ip address 203.12.12.1 255.255.255.0(加IP地址)Switch0(config-if) no shutdown(9)Switch0(config-if) standby 1 ip 203.12.12.253(建HSRP组并设虚IP地址)Switch0(config-if) standby 1 priority 110(10)Switch0(config-if) standby 1 preempt(11)

考题 阅读以下说明,回答问题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 10Switch1>(enable)set vlan 20 name XingZheng //创建VLAN 20Switch1>(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)loginSwitch1(config-line)password test //设用户级口令……(略)Switch1(config-if)interface vlan 10 //进入虚接HVLAN 10Switch1(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 20Switch1(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.126Switch1(config-if)standby 20 priority 110Switch1(config-if)standby 20 preempt……(略)***Switch2的交换引擎的配置***Switch2>(enable)set vtp mode serverSwitch2>(enable)set vtp domain Core_Net //设置VTP域名Switch2>(enable)set vlan 10 name CaiWuBu //创建VLAN 10Switch2>(enable)set vlan 20 name XingZheng //创建VLAN 20Switch2>(enable)set trunk 1/1 on dotlq 1-1005Switch2>(enable)set spantree secondary root 1-40 dia 4……(略)***Switch2的路由引擎的配置**+Switch2(config)enable secret test //设定登录口令……(略)Switch2(config-if)interface vlan 10 //进入虚接口VLAN 10Switch2(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.62Switch2(config-if)standby 10 priority 100Switch2(config-if)standby 10 preemptSwitch2(config-if)interface vlan 20 //进入虚接口VLAN 20Switch2(config-if)ip address 192.168.180.125 255.255.255.192Switch2(config-if)no shutdownSwitch2(config-if)standby 20 ip 192.168.180.126Switch2(config-if)standby 20 priority 100Switch2(config-if)standby 20 preempt……(略)

考题 下表是该系统中路由器的IP地址分配表。请根据上图完成以下R3路由器的配置:R3(config)interface e0/1(进入接口e0/1配置模式)R3(coafig-if) ip address 202.115.13.254(4)(设置IP地址和掩码)R3(config) interface s0/0(进入串口配置模式)R3(config-if) ip address(5)255.255.255.0(设置IP地址和掩码)R3(config) interface s0/1R3(config-if)ip address(6)255.255.255.0R3(config) interface s0/2R3(eonfig-if)ip address(7)255.255.255.0R3(config) interface s0/3R3(eonfig-if)ip address(8)255.255.255.0R3(config) interface s0/4R3(config-if)ip address(9)255.255.255.0R3(config) interface s0/5R3(config-if) ip address(10)255.255.255.0

考题 某局域网通过两台路由器划分为3个子网,拓扑结构和地址分配如图1-7所示。以下是图1-7所示的拓扑结构中,路由器R2的部分配置命令列表,请为(35)、(36)空缺处选择合适的命令/参数,实现R2的正确配置。R2(config)#int e0R2(config-if)#(35)R2(config-if)# no shutdownR2(config-if)#exitR2(config)# ip routingR2(config)#(36)A.ip address 192.168.2.1 255.255.255.0B.ip address 192.168.2.2 255.255.255.0C.ip address 192.168.3.1 255.255.255.0D.ip address 192.168.1.2 255.255.255.0

考题 【问题2】(3分)根据图4-1的配置,补充完成下面路由器的配置命令:Router(config)# interface (3)Router(config-if)#ip address 10.10.1.1 255.255.255.0Router(config-if)#no shutdownRouter(config-if)#exitRouter(config)# interface (4)Router(config-if)# ip address 192.168.1.1 255.255.255.0Router(config)# interface (5)Router(config-if)# ip address 10.10.2.1 255.255.255.0

考题 某网络的拓扑结构如图4-1所示,其中路由器Router1和交换机Switch1的部分配置如下:以下是路由器Router和Switch1的部分配置信息,请解释部分命令的意义。Router(config)interface fastEthernet1/0.1Router(config-subif)encapsulation isl 11 (1)Router(config-subif)ip address 10.1.1.1 255.255.255.0 (2)Router(config-subif)exitRouter(config)interface fastEthernet1/0.2Router(config-subif)encapsulation isl 12Router(config-subif)ip address 10.1.2.1 255.255.255.0Router(config-subif)exitRouter(config)interface fastEthernet1/0.3Router(config-subi f)encapsulation isl 13Router(config-subif)ip address 10.1.3.1 255.255.255.0Router(config-subif)exitRouter(config)ip routing (3)[交换机Switch1的部分配置信息]Switch1(config)vlan database (4)Switch1(vlan)vlan 11 (5)Switch1(vlan)vlan 12Switch1(vlan)vlan 13Switch1(vlan)exitSwitch1(config)interface fastEthernet0/0Switch1(config-if)switchport mode trunk (6)Switch1(config-if)switchport trunk allowed all (7)Switch1(config-if)exitSwitch1(config)interface fastEthernet0/1Switch1(config-if)switchport mode trunkSwitch1(config-if)switchport trunk a110wed a11Switch1(config-if)exitSwitch1(config)interface fastEthernet0/2Switch1(config-if)switchport mode trunkSwitch1(config-if)switchport trunk allowed allSwitch1(config-if)exit

考题 阅读以下说明,回答问题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

考题 某局域网通过两个路由器划分为3个子网,拓扑结构和地址分配如图5-3所示。以下是路由器R1的部分配置命令列表,请为(54)、(55)空缺处选择合适的命令/参数,实现R1的正确配置。Router(config)#hosmame R1R1(config)#int e0R1(config-if)#(54)R1(config-if)# no shutdownR1(config-if)#exitR1(config)#ip routingR1(config)#(55)A.ip address 192.168.2.1 255.255.255.0B.ip address 192.168.2.2 255.255.255.0C.ip address 192.168.3.1 255.255.255.0D.ip address 192.168.1.2 255.255.255.0

考题 Which command will assign the last usable IP address from the 192.168.32.128/28 subnetwork to a router interface?() A. TestKingA(config-if)# ip address 192.168.32.142 255.255.255.240B. TestKingA(config-if)# ip address 192.168.32.143 255.255.255.240C. TestKingA(config-if)# ip address 192.168.32.158 255.255.255.240D. TestKingA(config-if)# ip address 192.168.32.145 255.255.255.240E. TestKingA(config-if)# ip address 192.168.32.144 255.255.255.240

考题 You work as a technician at TestKing. You are configuring a Cisco router. You want to configure the IP address on an interface.Which command should you use?() A. router(config-if)#ip address 142.8.2.1 subnet mask 255.255.252.0B. router(config-if)#142.8.2.1 0.0.3.255C. router(config-if)#ip address 142.8.2.1 255.255.252.0D. router(config-if)#142.8.2.1 subnet mask 255.255.252.0E. router(config-if)#ip address 142.8.2.1 0.0.3.255F. router(config-if)#ip address 142.8.2.1 subnet mask /22

考题 The network security policy requires that only one host be permitted to attach dynamically to each switch interface. If that policy is violated, the interface should shut down. Which two commands must the network administrator configure on the 2950 Catalyst switch to meet this policy?()A. Switch1(config-if)# switchport port-security maximum 1B. Switch1(config)# mac-address-table secureC. Switch1(config)# access-list 10 permit ip hostD. Switch1(config-if)# switchport p ort-security violation shutdownE. Switch1(config-if)# ip access-group 10

考题 Which set of commands is recommended to prevent the use of a hub in the access layer?() A.switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security maximum 1B.switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security mac-address 1C.switch(config-if)#switchport mode access switch(config-if)#switchport port-security maximum 1D.switch(config-if)#switchport mode access switch(config-if)#switchport port-security mac-address 1

考题 Which command would correctly configure a serial port on a router with the last usable host address in the 192.216.32.32/29 subnet?() A.Router(config-if)# ip address 192.216.32.38 255.255.255.240B.Router(config-if)# ip address 192.216.32.39 255.255.255.224C.Router(config-if)# ip address 192.216.32.63 255.255.255.248D.Router(config-if)# ip address 192.216.32.39 255.255.255.248E.Router(config-if)# ip address 192.216.32.38 255.255.255.248

考题 如果要设置交换机的IP地址,则命令提示符应该是( )。A.Switch> B.Switch# C.Switch(config)# D.Switch(config-if)#

考题 给一个端口配置IP192.168.1.1/30地址,命令应为()。A、ip address 192.168.1.1 255.255.255.253B、ip address 192.168.1.1 255.255.255.250C、ip address 192.168.1.1 255.255.255.240D、ip address 192.168.1.1 255.255.255.0

考题 Which set of commands is recommended to prevent the use of a hub in the access layer?()A、switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security maximum 1B、switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security mac-address 1C、switch(config-if)#switchport mode access switch(config-if)#switchport port-security maximum 1D、switch(config-if)#switchport mode access switch(config-if)#switchport port-security mac-address 1

考题 The network security policy requires that only one host be permitted to attach dynamically to each switch interfacE.If that policy is violated, the interface should shut down. Which two commands must the network administrator configure on the 2950 Catalyst switch to meet this policy? ()A、Switch1(config-if)# switchport port-security maximum 1B、Switch1(config)# mac-address-table secureC、Switch1(config)# access-list 10 permit ip hostD、Switch1(config-if)# switchport port-security violation shutdownE、Switch1(config-if)# ip access-group 10

考题 单选题要在一个接上配置IP地址和子网掩码,正确的命令是哪个?()A Switch(config)#ip address 192.168.1.1B Switch(config-if)#ip address 192.168.1.1C Switch(config-if)#ip address 192.168.1.1 255.255.255.0D Switch(config-if)#ip address 192.168.1.1 netmask 255.255.255.0

考题 单选题Which set of commands is recommended to prevent the use of a hub in the access layer?()A switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security maximum 1B switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security mac-address 1C switch(config-if)#switchport mode access switch(config-if)#switchport port-security maximum 1D switch(config-if)#switchport mode access switch(config-if)#switchport port-security mac-address 1

考题 单选题Which command will assign the last usable IP address from the 192.168.32.128/28 subnetwork to a router interface?()A TestKingA(config-if)# ip address 192.168.32.142 255.255.255.240B TestKingA(config-if)# ip address 192.168.32.143 255.255.255.240C TestKingA(config-if)# ip address 192.168.32.158 255.255.255.240D TestKingA(config-if)# ip address 192.168.32.145 255.255.255.240E TestKingA(config-if)# ip address 192.168.32.144 255.255.255.240

考题 单选题给一个端口配置IP192.168.1.1/30地址,命令应为()。A ip address 192.168.1.1 255.255.255.253B ip address 192.168.1.1 255.255.255.250C ip address 192.168.1.1 255.255.255.240D ip address 192.168.1.1 255.255.255.0

考题 单选题You work as a technician at TestKing. You are configuring a Cisco router. You want to configure the IP address on an interface.Which command should you use?()A router(config-if)#ip address 142.8.2.1 subnet mask 255.255.252.0B router(config-if)#142.8.2.1 0.0.3.255C router(config-if)#ip address 142.8.2.1 255.255.252.0D router(config-if)#142.8.2.1 subnet mask 255.255.252.0E router(config-if)#ip address 142.8.2.1 0.0.3.255F router(config-if)#ip address 142.8.2.1 subnet mask /22