Dragon0x40
asked on
mac-address-table command
I have never seen the mac table explained in depth.
What do all the heading mean?
* primary? as opposed to secondary?
vlan is the port the vlan is in that learned the mac but what if it is a static mac?
type and learn: how can you learn a static mac?
age: counts up or down to 300 seconds?
Ports: port that the mac was learned on? what about when it says switch or router?
what good is * --- xxxx.xxxx.xxxx static No - Router?
sh mac-address-table
Legend: * - primary entry
age - seconds since last seen
n/a - not available
vlan mac address type learn age ports
------+----------------+-- ------+--- --+------- ---+------ ---------- ----------
* 720 xxxx.xxxx.xxxx dynamic Yes 5 Gi3/24
* 888 xxxx.xxxx.xxxx dynamic Yes 30 Gi3/7
* 836 xxxx.xxxx.xxxx static Yes - Switch
* 639 xxxx.xxxx.xxxx static Yes - Switch
* 720 xxxx.xxxx.xxxx dynamic Yes 75 Gi3/7
* 720 xxxx.xxxx.xxxx dynamic Yes 25 Gi3/24
* 12 xxxx.xxxx.xxxx dynamic Yes 70 Gi3/24
* 720 xxxx.xxxx.xxxx dynamic Yes 105 Gi3/7
* 836 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/24
* 639 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/24
* --- xxxx.xxxx.xxxx static No - Router
* 720 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/7
* 888 xxxx.xxxx.xxxx static Yes - Switch
* 12 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/24
What do all the heading mean?
* primary? as opposed to secondary?
vlan is the port the vlan is in that learned the mac but what if it is a static mac?
type and learn: how can you learn a static mac?
age: counts up or down to 300 seconds?
Ports: port that the mac was learned on? what about when it says switch or router?
what good is * --- xxxx.xxxx.xxxx static No - Router?
sh mac-address-table
Legend: * - primary entry
age - seconds since last seen
n/a - not available
vlan mac address type learn age ports
------+----------------+--
* 720 xxxx.xxxx.xxxx dynamic Yes 5 Gi3/24
* 888 xxxx.xxxx.xxxx dynamic Yes 30 Gi3/7
* 836 xxxx.xxxx.xxxx static Yes - Switch
* 639 xxxx.xxxx.xxxx static Yes - Switch
* 720 xxxx.xxxx.xxxx dynamic Yes 75 Gi3/7
* 720 xxxx.xxxx.xxxx dynamic Yes 25 Gi3/24
* 12 xxxx.xxxx.xxxx dynamic Yes 70 Gi3/24
* 720 xxxx.xxxx.xxxx dynamic Yes 105 Gi3/7
* 836 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/24
* 639 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/24
* --- xxxx.xxxx.xxxx static No - Router
* 720 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/7
* 888 xxxx.xxxx.xxxx static Yes - Switch
* 12 xxxx.xxxx.xxxx dynamic Yes 0 Gi3/24
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So age of 0 means it has 300 more seconds before timing out?
Age of 105 means it 195 more seconds before it ages out of the mac-address-table?
Assuming the default aging time of 300 seconds is still in effect.
Age of 105 means it 195 more seconds before it ages out of the mac-address-table?
Assuming the default aging time of 300 seconds is still in effect.
correct
ASKER
I thought static mac entry meant that the mac was associated with a specific physcial port?
Layer 2 or 3 protocol detected on which port? No port is listed?