nerdexam
Cisco

200-101 · Question #83

Select the action that results from executing these commands. `` Switch(config-if)# switchport port-security Switch(config-if)# switchport port-security mac-address sticky ``

The correct answer is B. A dynamically learned MAC address is saved in the running-configuration file. The 'switchport port-security mac-address sticky' command enables sticky learning, which causes the switch to dynamically learn source MAC addresses from incoming frames and convert them into sticky secure MAC addresses. These sticky entries are stored in the running…

Operate a Medium-Sized Switched Network

Question

Select the action that results from executing these commands.
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address sticky

Options

  • AA dynamically learned MAC address is saved in the startup-configuration file.
  • BA dynamically learned MAC address is saved in the running-configuration file.
  • CA dynamically learned MAC address is saved in the VLAN database.
  • DStatically configured MAC addresses are saved in the startup-configuration file if frames from that address are received.
  • EStatically configured MAC addresses are saved in the running-configuration file if frames from that address are received.

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    91% (20)
  • C
    5% (1)

Explanation

The 'switchport port-security mac-address sticky' command enables sticky learning, which causes the switch to dynamically learn source MAC addresses from incoming frames and convert them into sticky secure MAC addresses. These sticky entries are stored in the running configuration (not the startup configuration, and not the VLAN database). They appear in the output of 'show running-config'. If you want them to survive a reboot, you must explicitly save the running config to startup config using 'copy running-config startup-config'. A is incorrect because sticky MACs go to the running config, not directly to startup. C is incorrect because MAC addresses are not stored in the VLAN database. D and E are incorrect because sticky learning is for dynamically learned addresses, not statically configured ones.

Topics

#port security#sticky MAC#running-configuration#switchport

Community Discussion

No community discussion yet for this question.

Full 200-101 Practice