nerdexam
Cisco

200-301 · Question #727

Which command can you enter in a network switch configuration so that learned mac addresses are saved in configuration as they connect ?

The correct answer is B. Switch(confg-if)#Switch port-security Mac-address sticky. The switchport port-security mac-address sticky command saves dynamically learned MAC addresses to the running configuration as sticky MAC addresses.

Submitted by yousef_jo· Mar 5, 2026Network Access

Question

Which command can you enter in a network switch configuration so that learned mac addresses are saved in configuration as they connect ?

Options

  • ASwitch(confg-if)#Switch port-security
  • BSwitch(confg-if)#Switch port-security Mac-address sticky
  • CSwitch(confg-if)#Switch port-security maximum 10
  • DSwitch(confg-if)#Switch mode access

How the community answered

(47 responses)
  • A
    4% (2)
  • B
    94% (44)
  • C
    2% (1)

Why each option

The `switchport port-security mac-address sticky` command saves dynamically learned MAC addresses to the running configuration as sticky MAC addresses.

ASwitch(confg-if)#Switch port-security

The `switchport port-security` command enables port security but does not, by itself, configure learned MAC addresses to be saved in the configuration.

BSwitch(confg-if)#Switch port-security Mac-address stickyCorrect

The `switchport port-security mac-address sticky` command dynamically learns MAC addresses connected to the port and converts them into sticky secure MAC addresses, which are then saved in the running configuration and can persist across reboots if saved to startup configuration.

CSwitch(confg-if)#Switch port-security maximum 10

The `switchport port-security maximum 10` command sets the maximum number of secure MAC addresses allowed on a port but does not configure the learning or saving method.

DSwitch(confg-if)#Switch mode access

The `switchport mode access` command configures an interface as an access port, but it is unrelated to port security or learning/saving MAC addresses.

Concept tested: Configuring sticky MAC addresses with port security

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750x_cg/swportsec.html#wp1010377

Topics

#Switch Port Security#MAC Address Sticky#Network Security

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice