哪种情况下需要使用switchport port-security mac-address sticky命令?()

题目
单选题
哪种情况下需要使用switchport port-security mac-address sticky命令?()
A

当需要保护未使用的交换机端口时

B

当只允许一台主机设备连接到端口时

C

当想使端口识别MAC地址表中静态分配的MAC地址时

D

当多台设备共用同一端口时

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

第1题:

在Cisco Catalyst 2950交换机上配置Trunk接口模式时,如果要禁止接口产生DTP帧,应该通过以下( )命令实现。

A、switchport mode access

B、switchport mode dynamic desirable

C、switchport mode auto

D、switchport nonegotiate


正确答案:D


第2题:

现需要将两台Cisco Catalyst 2950交换机之间的链路配置为中继链路(Trunk),若一端的端口已使用“Switchport mode trunk”命令设置过,则另一端的端口使用( )命令能保证链路成为中继链路。

A、Switchport mode access

B、Switchport mode trunk

C、Switchport mode dynamic auto

D、Switchport mode dynamic desirable


正确答案:BCD

第3题:

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.

第4题:

如果要把交换机Trunk的许可VLAN列表改为默认的许可所有VLAN的状态,应该使用命令()

  • A、no switchporttrunkallowedvlan
  • B、default switchpor t trunkallowed vlan
  • C、switchport trunk allowed vlan reset
  • D、reset switchport trunk allowed vlan

正确答案:A

第5题:

Anetworkadministratormustconfigure200switchportstoaccepttrafficfromonlythecurrentlyattachedhostdevices.WhatwouldbethemostefficientwaytoconfigureMAC-levelsecurityonalltheseports?()

A.Visually verify the MAC addresses and then telnet to the switches to enter the switchport-port security mac-address command.

B.Have end users e-mail their MAC addresses. Telnet to the switch to enter the switchport-port security mac-address command.

C.Use the switchport port-security MAC address sticky command on all the switch ports that have end devices connected to them.

D.Use show mac-address-table to determine the addresses that are associated with each port and then enter the commands on each switch for MAC address port-security.


参考答案:C

第6题:

在一台cisco catalyst 2950交换机上,要将端口F0/1设置为永久中继模式,需要使用( )配置命令。

A、Switch(config-if)#switchport mode access

B、Switch(config-if)#switchport dynamic auto

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

D、Switch(config-if)#switchport mode dynamic


正确答案:C


第7题:

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

第8题:

以下哪个命令用于创建一个trunk?

A、switchport mode trunk

B、switchport trunk enable

C、switchport trunk

D、trunk enable

A.

B.

C.

D.


正确答案:A

第9题:

锐捷交换机VLAN修剪命令格式是下列哪条命令?()

  • A、switchport trunk allowed vlan remove vid
  • B、switchport trunk remove vid
  • C、switchport trunk prune vid
  • D、switchport trunk allowed vid

正确答案:A

第10题:

配置CISCO7600以太端口为Trunk模式的命令是()

  • A、config runk
  • B、mode trunk
  • C、switchport mode trunk
  • D、switchport mode access

正确答案:C

更多相关问题