Port Security Flashcards

1
Q

How do you clear a dynamically learned MAC address from a switch?

A

Shut down the interface port using the #shutdown command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the command to limit the number of Mac addresses a port can have when using port security

A

switchport port-security maximum [number]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the command to see port security information on a specific port

A

show port-security interface [word]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the command to see the list of MAC addresses that the switch has saved in its port security address table?

A

show port-security addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What needs to happen before port security can be enabled on a port?

A

The port must be set as an access port using the command #switchport mode access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How are sticky addresses different then dynamically learned addresses

A

Dynamically learned addresses are lost when the port is shutdown or the switch is reloaded. Sticky addresses remain in the switches address table.
NOTE: You must copy the running config to the startup config for them to stick after a reload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the command to enable port security.

A
#switchport port-security
mac-address + {address} or sticky can be added
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What command will auto clear a lock down from port security

A

errordisable recovery cause psecure-violation

Note: this is a global setting not a per port settings. Default recovery time is 300s.

#errdisable recovery interval [number] to change timmer
#show errdisable recovery to see ports currently waiting on the timer to recover
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command will show the port security counters, including the violation counter

A

show port-security

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between protect and restrict as port security modes

A

Restrict has error logging where protect doesn’t

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What command can be used to clear mac addresses from the port-security address table other then shutdown. This includes sticky addresses

A

clear port-security [additional modifiers]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly