show mac-address-table

Description                                                    Display MAC table entries.

Syntax                                                                  show mac-address-table
[macaddr | port port-num | vlan vlan-id]

Parameter

Description

macaddr

Shows the MAC table entry for the specified MAC address. Enter the MAC address in the following format: aaaa.bbbb.cccc

port port-num

Shows the MAC table entries for the specified Ethernet port.

vlan vlan-id

Shows the MAC table entries for the specified VLAN.

Mode                                                                   All

Example                                                            The following command displays the MAC table entries:

ACOS#show mac-address-table

Total active entries: 10        Age time: 300 secs

MAC-Address      Port     Type      Index     Vlan  Trap

---------------------------------------------------------

001e.bd62.d021   2        Dynamic   85        0     None

001e.bd62.d01e   1        Dynamic   244       120   None

000c.2923.c500   lif2     Dynamic   456       1     None

000d.480a.6665   1        Dynamic   594       120   None

001f.a002.fdc3   1        Dynamic   676       120   None

000c.2923.c500   2        Dynamic   713       60    None

001e.bd62.d01e   1        Dynamic   734       0     None

000c.2960.8990   1        Dynamic   752       120   None

001f.a002.10a8   5        Dynamic   918       100   None

001e.bd62.d021   2        Dynamic   975       60    None

 

The following table describes the fields in the command output.

Field

Description

Total active entries

Total number of active MAC entries in the table. An active entry is one that has not aged out.

Age time

Number of seconds a dynamic (learned) MAC entry can remain unused before it is removed from the table.

MAC-Address

MAC address of the entry.

Port

Ethernet port through which the MAC address is reached.

Type

Indicates whether the entry is dynamic or static.

Index

The MAC entry’s position in the MAC table.

Vlan

VLAN the MAC address is on.

Trap

Shows any SNMP traps enabled on the port.

Table of Contents

Index

Glossary

-Search-

Back