A Company switch was configured as shown below:  switchport 

题目
单选题
A Company switch was configured as shown below:  switchport mode access  switchport port-security   switchport port-security maximum 2 switchport port-security mac-address 0002.0002.0002   switchport port-security violation shutdown   Given the configuration output shown above,  what happens when a host with the MAC address of  0003.0003.0003 is directly connected to the switch port? ()
A

 The host will be allowed to connect.

B

 The port will shut down.

C

 The host can only connect through a hub/switch where 0002.0002.0002 is already connected.  

D

 The host will be refused access.

E

 None of the other alternatives apply

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You have configured a Ezonexam switch as shown below:

Ezonexam3(config-if) switchport port-security

Ezonexam3(config-if) switchport port-security mac-address sticky

Select the action below that results from executing these commands.

A. A dynamically learned MAC address is saved in the VLAN database.

B. A dynamically learned MAC address is saved in the startup-configuration file.

C. Statically configured MAC addresses are saved in the startup-configuration file if frames from that address are received.

D. A dynamically learned MAC address is saved in the running-configuration file.

E. Statically configured MAC addresses are saved in the running-configuration file if frames from that address are received.

F. None of the above


正确答案:D
D 解析:Explanation:
With port security, the switch supports these types of secure MAC addresses:

Static secure MAC addresses-These are manually configured by using the switchport port-security mac-address mac-address interface configuration command, stored in the address table, and added to the switch running configuration.

Dynamic secure MAC addresses-These are dynamically configured, stored only in the address table, and removed when the switch restarts.

Sticky secure MAC addresses-These are dynamically configured, stored in the address table, and added to the running configuration. If these addresses are saved in the configuration file, when the switch restarts, the interface does not need to dynamically reconfigure them.

You can configure an interface to convert the dynamic MAC addresses to sticky secure MAC addresses and to add them to the running configuration by enabling sticky learning. To enable sticky learning, enter the switchport port-security mac-address sticky interface configuration command. When you enter this command, the interface converts all the dynamic secure MAC addresses, including those that were dynamically learned before sticky learning was enabled, to sticky secure MAC addresses. The interface adds all the sticky secure MAC addresses to the running configuration.

The sticky secure MAC addresses do not automatically become part of the configuration file, which is the startup configuration used each time the switch restarts. If you save the sticky secure MAC addresses in the configuration file, when the switch restarts, the interface does not need to relearn these addresses. If you do not save the sticky secure addresses, they are lost.

第2题:

Which interface commands would you enter on a Catalyst 2900 switch, if your goal was to bring all VLAN traffic to another directly connected switch?()

A. Switch(config-if)# vlan all

B. Switch(config-if)# switchport trunk encapsulation dot1q

C. Switch(config-if)# switchport access vlan all

D. Switch(config-if)# switchport mode trunk

E. Switch(config-if)# switchport access vlan 303


参考答案:C, D

第3题:

如下图所示,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,30

B.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation isl Switch-3548 (config-if) #switchport trunk allowed vlan 1-30

C.Switch-3548 (config-if) #switchport mode trunk Switch-3548 (config-if) #switchport trunk encapsulation negotiate Switch-3548 (config-if) #switchport trunk allowed vlan 1-30

D.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


正确答案:D

第4题:

Refer to the diagram. Which three statements describe the router port configuration and the switch port configuration as shown in the topology? ()

A.The Router1 WAN port is configured as a trunking port.

B.The Router1 port connected to Switch1 is configured using subinterfaces.

C.The Router1 port connected to Switch1 is configured as 10 Mbps.

D.The Switch1 port connected to Router1 is configured as a trunking port.

E.The Switch1 port connected to Host B is configured as an access port.

F.The Switch1 port connected to Hub1 is configured as full duplex.


参考答案:B, D, E

第5题:

A company has a small network,consisting of a single switch and a single router.The switch has been configured with two vlans,and route-on-a-stick is being configured on the router for inter-vlan routing.A trunk is configured to connect the switch to the router.What is the minimum number of router subinterfaces that are required for all the vlans to communicate?()

A. one

B. three

C. two

D. zero


参考答案:C

第6题:

You are bringing up a new Ezonexam switch, and wish to connect it via a trunk to another switch from a different vendor, which uses the IEEE standard for the trunking method. When setting the encapsulation type on the trunk, what should you configure on the Cisco switch?

A.Switch(config)# switchport trunk encapsulation isl

B.Switch(config)# switchport trunk encapsulation ietf

C.Switch(config-if)# switchport trunk encapsulation isl

D.Switch(config-if)# switchport trunk encapsulation ietf

E.Switch(config-if)# switchport trunk encapsulation dot1q


正确答案:E
解析:Explanation:
The only real choices for setting up switching trunks are ISL and 802.1Q. ISL is Cisco proprietary, while 802.1Q uses the IEEE defined standard for trunking between switches.

To configure the 802.1Q standard, the keyword "dot1q" is used in Cisco switches.

Incorrect Answers:
A, B, D. These are not valid options in a Cisco switch.

C. ISL is a Cisco proprietary method for setting up trunks, and will only work between Cisco switches.

第7题:

Which commands, when used together, would create an 802.1Q link?()

A. Switch(vlan)# mode trunk

B. Switch(config)# switchport access mode trunk

C. Switch(config-if)# switchport mode trunk

D. Switch(config-if)# switchport trunk encapsulation dot1q

E. Switch(config)# switchport access mode 1

F. Switch(vlan)# trunk encapsulation dot1q


参考答案:C, D

第8题:

阅读以下说明和交换机的配置信息,回答问题1~3,将解答填入对应栏内。

某公司下设3个部门,为了便于管理,每个部门组成一个VLAN,公司网络结构如图1所示。

[交换机Switch1的部分配置信息]

Switch1(config)tinterface fO/9

Switch1(config-if)switchport mode access

Switch1(config-if)switchport access vlan 11

Switch1(config)interface fO/10

Switch1(config-if)switchport mode access

Switch1(config-if)switchport access vlan 12

Switch1(config)interface fO/17

Switch1(config-if)switchport mode access

Switch1(config-if)switchport access vlan 13

[交换机Switch2的部分配置信息]

Switch2(config)interface fO/6

Switch2(config-if)switchport mode access

Switch2(config-if)switchport access vlan 11

Switch2(config)interface fO/8

Switch2(config-if)switchport modeaccess

Switch2(config-if)switchport access vlan 12

Switch2(config)interface fO/11

Switch2(config-if)switchport mode access

Switch2(config-if)SWitchport access vlan 13

[交换机Switch3的部分配置信息]

Switch3(config)interface fO/3

Switch3(config-if)switchport mode access

Switch3(config-if)switchport access vlan 11

Switch3(config-if)exit

Switch3(config)interface fO/7

Switch3(config-if)switchport mode access

Switch3(config-if)switchport access vlan 12

Switch3(config)interface fO/13

Switch3(config-if)switchport mode access

Switch3(config-if)switchport aocess vlan 13

划分VLAN有哪几种划分方式?


正确答案:划分方式有:①交换机端口划分;②MAC地址划分;③第三层协议划分;④IP组播划分;⑤策略划分。
划分方式有:①交换机端口划分;②MAC地址划分;③第三层协议划分;④IP组播划分;⑤策略划分。

第9题:

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 1

B.switch(config-if)#switchport mode trunk switch(config-if)#switchport port-security mac-address 1

C.switch(config-if)#switchport mode access switch(config-if)#switchport port-security maximum 1

D.switch(config-if)#switchport mode access switch(config-if)#switchport port-security mac-address 1


参考答案:C

第10题:

Which commands, when used together, would create an 802.1Q link?()

  • A、Switch(vlan)# mode trunk
  • B、Switch(config)# switchport access mode trunk
  • C、Switch(config-if)# switchport mode trunk
  • D、Switch(config-if)# switchport trunk encapsulation dot1q
  • E、Switch(config)# switchport access mode 1
  • F、Switch(vlan)# trunk encapsulation dot1q

正确答案:C,D

更多相关问题