we all know that if we use the command
show port-security address
we'll see the entire table of secure mac addresses. I need to know which file does IOS use to store these addresses (specifically the dynamic addresses) on?
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
I need to know which file does IOS use to store these addresses (specifically the dynamic addresses) on?
I'm afraid that's not how Cisco IOS stores information. Cisco's CAM table is not stored in a file.
Seena Moshiri said: I believe that these secure addresses should be stored somewhere :) if it doesn't then how the "switchport port-security aging" works?
This works the same way that all other mac-address tables work in Cisco switches. Typically the mac-addresses are stored in a TCAM, which is a kind of memory optimized for quick lookups.
If you want to see what is in the
port-security mac-address table, these are some possible options:
CISCO-PORT-SECURITY-MIB. However, MIB queries are complicated.