Specifications

Managing Switch Network Addresses and Routes show mac
12-10 Network Address and Route Management Configuration
show mac
UsethiscommandtodisplaythetimeoutperiodforaginglearnedMACaddresses,andtoshow
MACaddressesintheswitch’sfilteringdatabase.
Syntax
show mac [agetime] [address mac-address] [fid fid] [vlan-id vlan-id] [port-string
port-string] [type {other | invalid | learned | self | mgmt}] [field-decode]
[unicast-as-multicast] [-verbose]
Parameters
Defaults
Ifnoparametersarespecified,allMACaddressesforthedevicewillbedisplayed.
Mode
Switchcommand,ReadOnly.
Usage
Theseareaddresseslearnedonaportthroughtheswitchingprocessorstaticallyentered.Toshow
portMACaddressesprogrammedintothedeviceduringmanufacturing,usetheshowportmac
commandasdescribedinshowportmaconpage 129.
Examples
ThisexampleshowshowtodisplaytheMACaddresstimeoutperiod:
Matrix(rw)->show mac agetime
Aging time: 300 seconds
ThisexampleshowshowtodisplayMACaddressinformationforFastEthernetport3inport
group1:
agetime (Optional)DisplaythetimeinsecondsthatalearnedMACaddresswill
stayinthefilteringdatabase.
addressmacaddress (Optional)DisplaysaspecificMACaddress(ifitisknownbythe
device).
fid
fid (Optional)DisplaysMACaddressesforaspecificfilterdatabase
identifier.
vlanid
vlan-id (Optional)DisplaysMACaddressesforaspecificVLANbasedonthe
VLANID,forstaticmulticastentriesonly.
portstringportstring (Optional)DisplaysMACaddressesforaspecificportorrangeofports.
Foradetaileddescriptionofpossibleportstringvalues,refertoPort
StringSyntaxUsedinthe
CLIonpage 4 2.
typeother|invalid|
learned|self|mgmt
(Optional)DisplayMACaddressesdefinedasother,invalid,learned,
selformgmt(management).
fielddecode (Optional)Displaythemeaningsofthefieldsintheshowmac
command.
unicastas
multicast
(Optional)DisplaymatchesofunlearneddestinationMACaddress
againstthestaticmulticastMACentries.
verbose (Optional)DisplaysallMACaddressinformationindetail.