【单选题】在Catalyst 2950 交换机上作如下配置Switch(config)#ip default-gateway 192.168.2.1,其作用是()A.配置交换机的默认网关,为了可以实现对交换机进行跨网段的管理B.配置交换机的默认网关,为了使连接在交换机上的主机能够访问其他网段C.配置交换机的管理IP 地址,为了实现对交换机的远程管理D.配置交换机的管理IP 地址,为了实现连接在交换机上的主机之间的互相访问

【单选题】在Catalyst 2950 交换机上作如下配置Switch(config)#ip default-gateway 192.168.2.1,其作用是()

A.配置交换机的默认网关,为了可以实现对交换机进行跨网段的管理

B.配置交换机的默认网关,为了使连接在交换机上的主机能够访问其他网段

C.配置交换机的管理IP 地址,为了实现对交换机的远程管理

D.配置交换机的管理IP 地址,为了实现连接在交换机上的主机之间的互相访问


参考答案和解析
配置交换机的默认网关,为了可以实现对交换机进行跨网段的管理

相关考题:

如下图所示,3com和Cisco公司的交换机相互连接,在两台交换机之间需传输ULANID为1、10、20和30的4个VLAN信息,Catalyst 3548交换机VLAN Trunk的正确配置是A.Switch-3548 (config-if) #switchport trunk encapsulation dot 1 q Switch-3548 (config-if) #switchport trunk allowed vlan 1,10,20,30B.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation isl Switch-3548 (config-if) #switchport trunk allowed vlan 1-30C.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation negotiate Switch-3548 (config-if) #switchport trunk allowed vlan 1-30D.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation dot 1q Switch-3548 (config-if) #switchport trunk allowed vlan 1,10,20,30

以下为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

局域网的网关地址为192.168.0.1,现在想在Cisco Catalyst2950交换机上配置网关地址,你应采取的步骤是()。 A.C2950#conftC2950(config-iF.#ipaddress192.168.0.1B.C2950enableC2950#ipdefault-gateway192.168.0.1C.C2950#conftC2950(config-iF.#ipdefault-gateway192.168.0.1255.255.255.0D.C2950#conftC2950(config)#ipdefault-gateway192.168.0.1

在Cis co3550三层交换机上配置命令Switch(config-if)no switchport的作用是()。 A.将该端口关闭B.将该端口配置为二层交换端口C.将该端口配置为三层路由端口D.将该端口配置为Trunk端口

阅读以下说明,回答问题1和问题2,将解答填入对应的解答栏内。某单位新购近一台Cisco两层交换机2950,其配置过程:第一步,准备安装与调试所需的设备,主要包括Cisco 2950交换机、RJ45直通线,RJ45转9针串口转 换器、计算机。第二步,硬件连接,RJ45直通线一头插入Cisc02950的console口,另一头接RJ45转9针串口转换器,再将转换器接到计算机的串口。第三步,交换机加电,在计算机上调用WINDOWS XP下的超级终端程序,配置设备连接参数,如图5-1,以便进入Cisco设备的虚拟操作台。第四步,输入Cisco 2950的IOS配置命令。配置过程如下:Switch>Switch>enableSwitchconfig terminalSwitch(config)enable secret cisco2006 (1)Switch(config)hostname Switch1Switch1(config)ip default-gateway 192.168.1.1 (2)Switch1(config)interface vlan 1Switch1(config-if)ip address 192.168.1.23 255.255.255.0Switch1(config-if)management (3)Switch1(config-if)endSwitch1(config)vlan databaseSwitch1(config-vlan)vtp mode server (4)Switch1(config-vlan)vtp domain ABC (5)Switch1(config-vlan)vtp pruning (6)Switch1(config-vlan)endSwitch1show vtp status (7)Switch1config terminalSwitch1(config)interface gb0/1Switch1(config-if)switchport mode trunk (8)Switch1(config-if)switchport trunk encap dotlq (9)Switch1(conflg-if)endSwitch1copy run start (10)第五步,将调试完毕的设备连入网络,通过PC机验证配置是否正确。第三步中,在图5-1中配置超级终端程序时连接参数应如何设置:(1)每秒位数(B): (11)(2)数据位(D): (12)(3)奇偶校验(P): (13)(4)停止位(S): (14)(5)数据流控制(F): (15)

● 以下的命令中,可以为交换机配置默认网关地址的是 (57) 。(57)A. 2950(config)# default-gateway 192.168.1.254B. 2950(config-if)# default-gateway 192.168.1.254C. 2950(config)#ip default-gateway 192.168.1.254D. 2950(config-if)#ip default-gateway 192.168.1.254

● 能进入VLAN配置状态的交换机命令是 (61) 。(61)A. 2950(config)# vtp pruningB. 2950# vlan databaseC. 2950(config)# vtp serverD. 2950(config)# vtp mode

Cisco Catalyst 2950系列交换机启动后需要输入的密码存放在( )文件中。 A、config.textB、config.oldC、config.newD、config.passwd

在一台cisco catalyst 2950交换机上,( )命令可以进入接口配置模式。 A、Switch#enableB、Switch#config terminalC、Switch(config)#interface fastethernet 0/1D、Switch#line console 0

在一台Cisco Catalyst 2950交换机上作如下配置:Switch # config terminalSwitch (config) # interface fastethernet 0/1Switch (config-if) # switchport mode accessSwitch (config-if) # switchport access vlan2若要将fastethernet 0/1端口还原到默认配置状态,可以使用( )命令。A、Switch (config) # default fastethernet 0/1B、Switch (config) # default interface fastethernet 0/1C、Switch (config) # no fastethernet 0/1D、Switch (config) # erase interface fastethernet 0/1

网管员对一台Cisco Catalyst 2950交换机进行了配置,要保存当前配置需要使用( )命令。 A、switc# configB、switc# config nvramC、switc# copy running-config startup-configD、switc# copy startup-config running-config

在对Cisco Catalyst 2950系列交换机进行配置后,如果想要清除交换机中所有的配置,恢复到出场状态,可以使用( )命令。 A、clearB、erase startup-configC、erase running-configD、copy startup-config running-config

在一台cisco catalyst 2950交换机上,要将端口F0/1设置为永久中继模式,需要使用( )配置命令。 A、Switch(config-if)#switchport mode accessB、Switch(config-if)#switchport dynamic autoC、Switch(config-if)#switchport mode trunkD、Switch(config-if)#switchport mode dynamic

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

在交换机配置中,( )模式中才可以配置该交换机的设备管理地址。A.SwitchB.SwitchC.Switch(config)D.Switch(config-if)

You need to set the default gateway of one of your TestKing switches. Which command will set the default gateway to 192.168.12.1 on a Cisco switch?() A. Switch(config)# ip default-network 192.168.12.1B. Switch(config)#ip route-default 192.168.12.1C. Switch(config)# ip default-gateway 192.168.12.1D. Swicth(config)# ip route 192.168.12.1 0.0.0.0

在交换机配置中,()模式中才可以配置该交换机的设备管理地址。A.Switch>B.Switch#C.Switch(config)#D.Switch(config-if)#

As a TestKing trainee you are required to set the default gateway on a Cisco switch to the IP address of 192.168.1.115. Which IOS command should you use?()A、TestKSwitch(config)# ip route-default 192.168.1.115B、TestKSwitch(config)# ip default-gateway 192.168.1.115C、TestKSwitch(config)# ip route 192.168.1.115 0.0.0.0D、TestKSwitch(config)# ip default-network 192.168.1.115

You need to set the default gateway of one of your TestKing switches. Which command will set the default gateway to 192.168.12.1 on a Cisco switch?()A、Switch(config)# ip default-network 192.168.12.1B、Switch(config)#ip route-default 192.168.12.1C、Switch(config)# ip default-gateway 192.168.12.1D、Swicth(config)# ip route 192.168.12.1 0.0.0.0

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

能进入VLAN配置状态的交换机命令是()。A、2950(config)#vtppruningB、2950#vlandatabaseC、2950(config)#vtpserverD、2950(config)#vtpmode

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 (Choose two.)()。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

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、TestKing1(config-if)# switchport port-security maximum 1B、TestKing1(config)# mac-address-table secureC、TestKing1(config)# access-list 10 permit ip hostD、TestKing1(config-if)# switchport port-security violation shutdownE、TestKing1(config-if)# ip access-group 10

单选题You need to set the default gateway of one of your TestKing switches. Which command will set the default gateway to 192.168.12.1 on a Cisco switch?()ASwitch(config)# ip default-network 192.168.12.1BSwitch(config)#ip route-default 192.168.12.1CSwitch(config)# ip default-gateway 192.168.12.1DSwicth(config)# ip route 192.168.12.1 0.0.0.0

单选题局域网的网关地址为192.168.0.1,现在想在Cisco Catalyst2950交换机上配置网关地址,你应采取的步骤是()。AC2950#conftC2950(config-iF.#ipaddress192.168.0.1BC2950enableC2950#ipdefault-gateway192.168.0.1CC2950#conftC2950(config-iF.#ipdefault-gateway192.168.0.1255.255.255.0DC2950#conftC2950(config)#ipdefault-gateway192.168.0.1

单选题As a TestKing trainee you are required to set the default gateway on a Cisco switch to the IP address of 192.168.1.115. Which IOS command should you use?()ATestKSwitch(config)# ip route-default 192.168.1.115BTestKSwitch(config)# ip default-gateway 192.168.1.115CTestKSwitch(config)# ip route 192.168.1.115 0.0.0.0DTestKSwitch(config)# ip default-network 192.168.1.115

单选题能进入VLAN配置状态的交换机命令是()。A2950(config)#vtppruningB2950#vlandatabaseC2950(config)#vtpserverD2950(config)#vtpmode