set mac algorithm
14-22 Logging and Network Management
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtoresettheMA C timeoutperiodtothedefaultvalueof300seconds.
D2(su)->clear mac agetime
set mac algorithm
UsethiscommandtosettheMACalgorithmmode,whichdeterminesthehasmechanismusedby
thedevicewhenperformingLayer2lookupsonreceivedframes.
Syntax
set mac algorithm {mac-crc16-lowerbits | mac-crc16-upperbits |
mac-crc32-lowerbits | mac-crc32-upperbits}
Parameters
Defaults
ThedefaultMACalgorithmismac‐crc16‐upperbits.
Mode
Switchcommand,read‐write.
Usage
EachalgorithmisoptimizedforadifferentspreadofMACaddresses.Whenchangingthismode,
theswitchwilldisplayawarningmessageandpromptyoutorestartthedevice.
ThedefaultMACalgorithmismac‐crc16‐upperbits.
Example
Thisexamplesetsthehashingalgorithmtomac‐crc32‐upperbits.
D2(rw)->set mac algorithm mac-crc32-upperbits
show mac algorithm
ThiscommanddisplaysthecurrentlyselectedMACalgorithmmode.
Syntax
show mac algorithm
mac‐crc16‐lowerbits SelecttheMACCRC16lowerbitsalgorithmforhashing.
mac‐crc16‐upperbits SelecttheMACCRC16upperbitsalgorithmforhashing.
mac‐crc32‐lowerbits SelecttheMACCRC32lowerbitsalgorithmforhashing.
mac‐crc32‐upperbits SelecttheMACCRC32upperbitsalgorithmforhashing.