cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3462
Views
10
Helpful
11
Replies

MAC address-table why static?

Hubsi-Smith
Level 1
Level 1

Hello Community,

I have question why a MAC address become static.

 

My labor environment looks like this: C9200 (VLAN-1, access-port) <-> unmanaged Netgear switch

 

When a device is connected through the Netgear, the MAC address of this device will be stored as static on the c9200 switch.I am a bit confused why this happens?

11 Replies 11

port-security is config in SW?

Yes, on c9200 I have enabled port-security.

How does port-security influenced the port state from dynamic/static?

https://www.computernetworkingnotes.com/ccna-study-guide/switchport-port-security-explained-with-examples.html

 

""One interesting thing that you may notice here is the type. Switch learns this address dynamically but it is showing as STATIC. This is the magic of sticky option, which we used with port security command. Sticky option automatically converts dynamically learned address in static address.""

I understand that, but when I add a enddevice like a PC to a port-security access port, the mac address-table shows them as dynamic and a non-managed switch got a static mac-address?

PC will learn dynamically to port-security mac-address table, 
this PC will add as static to mac address table.
which point you don't get it ? port-security mac address or mac address table?

I don´t understand why under mac address-table a PC is shown as dynamic and a non managed switch is static. I tested that on two ports with the same switchport configuration.

But your first post is different that why I confuse 
you mention that the PC is connect to non-manamgent SW 
and 
it appear static on c9200 "which run port-security "? am I right ?

Maybe a example will help.

 

Switchport always configured like this:

interface Gi 1/0/1
switchport mode access
switchport port-security
switchport port-security maximum 10

...

When a PC is connected, mac address table shows them as dynamic

When a non managed switch is connected, mac address table shows them as static

 

 

 

Can you post mac address-table output.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

are you config any sticky port-secuiry before the connect to nonmangemnt SW?

what I think is one note from cisco,

"if you config sticky port-security all mac address that dynamic BEFORE will convert to static."