Cisco Catalyst 2000 Configuration Handbook page 76

Catalyst series lan switching
Table of Contents

Advertisement

Table 4-1 Switch Commands to Display Layer 2 Switching Table Content Information
Display Function
Display dynamically learned addresses based
on a port or VLAN number
Display statically defined addresses based
on a port or VLAN number
Display the port or VLAN associated with a
MAC address
Display the switching table aging time
Display the switching table address count
and size
If you need to find a list of all the MAC addresses that have been learned on a specific
switch port, you would enter the following command (for example):
(exec) show mac-address-table dynamic interface gigabit 0/1
The switch produces output like this:
switch-ios# show mac-address-table dynamic interface gig 0/1
Non-static Address Table:
Destination Address
—————————
0000.0c45.2100
0000.1b04.2f76
0000.489a.3b0b
Tip If you need to locate a specific MAC address within a large network and you have no
idea where to start, begin looking on a core layer switch near the center of the network.
Look for the MAC address in the switching table there. After finding it, move to the neigh-
boring switch that connects to the destination port.
Keep looking for the address in the switching tables and then move to the next neighboring
switch. Repeat this process until you reach the edge of the network, where the device is
physically connected.
Command
(exec) show mac-address-table dynamic
(exec) show mac-address-table static
[address mac-addr | detail | interface
interface interface-number | protocol
protocol | vlan vlan-id]
(exec) show mac-address-table address
mac-addr [detail | {interface interface
interface-number} | {protocol protocol} |
{vlan vlan-id} | all]
(exec) show mac-address-table aging-time
[vlan vlan-id]
(exec) show mac-address-table count [vlan
vlan-id] [slot slot-num]
Address Type
VLAN
Destination Port
——————
——
——————————
Dynamic
999
GigabitEthernet0/1
Dynamic
64
GigabitEthernet0/1
Dynamic
57
GigabitEthernet0/1
Chapter 4: Layer 2 Interface Configuration 55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents