The MAC table never ages, so show mac address-table prints a row it can only describe as possibly stale #1395
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The switch table has no timestamps at all. An entry stays until its port changes VLAN or the lab is reloaded — which
is why
show mac address-tablehas to append a note saying the row might be stale, and why the source says "realswitches age entries out, this one does not".
The simulator has had an instant in milliseconds since convergence was modelled, so an entry can be stamped with when
it was heard and aged against the question being asked:
What must be true instead
MAC_AGE_MS(300 s) names the age once;learnMacstamps an entry,macLookupanswers nothing for an aged one;when the lookup answers nothing the frame floods, as it does for an address never seen;
show mac address-tableprints anAgecolumn, and rows leave when they age out;-, because nothingrecorded when it was seen;
show arpprints an Age column it hard-codes to-, on the false grounds that the model has no clock #1397