show mac-addr-table

 

 

 

Parameters

 

 

macaddr

(OPTIONAL) Enter a 6 byte Mac address.

 

 

 

 

 

all

(OPTIONAL) Enter all to get results for all interfaces.

 

 

 

 

interface unit/slot/port

(OPTIONAL) To show MAC addresses on a particular interface, enter

 

 

the keyword interface followed by the interface unit, slot, and port.

 

 

This can be a physical or logical interface.

 

 

 

 

vlan VLAN_ID

(OPTIONAL) To show MAC addresses on a particular interface, enter

 

 

the keyword vlan followed by the VLAN_ID.

 

 

 

 

count

(OPTIONAL) Display Multicast Forwarding Database (MFDB) count.

 

 

 

Mode

Privileged Exec

 

Example

 

 

(S50-TAC-8) #show mac-addr-table all

 

 

Mac Address

Interface

IfIndex

Status

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

---------

-------

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

00:01:00:01:00:00:00:37

0/1

1

 

Learned

00:01:00:03:00:00:00:03

0/2

2

 

Learned

00:01:00:D0:95:B7:CD:2E

3/1

25

Management

00:01:00:01:E8:07:10:18

1/1

26

Learned

 

Figure 13 Example of Output from the show mac-addr-table all Command

Field

Mac Address—A unicast MAC address for which the switch has forwarding and or filtering information.

Descriptions

The format is 6 or 8 two-digit hexadecimal numbers that are separated by colons, for example

 

01:23:45:67:89:AB. In an IVL system, the MAC address is displayed as 8 bytes.

Note: IVL (Independent VLAN Learning) allows unicast address-to-port mappings to be created based on a MAC address in conjunction with a VLAN ID. In an IVL system, the MAC address is displayed as 8 bytes.

Interface—The Unit/Slot/Port at which this address was learned.

Note: The “3/1” in the Interface column references the Ethernet Management port.

See Figure 13 and Figure 15.

If Index—This object indicates the IfIndex of the interface table entry associated with this port.

In the S2410, If Index values are:

Headings

Explanation

 

 

Physical ports

1 through 24 (24 ports)

 

 

Ethernet Management port (labelled “10/

25

100 Ethernet “, also called service port):

 

 

 

LAGs (port channels)

26 to 37 (12 possible LAGs)

 

 

Status—The status of this entry. The meanings of the values are:

SFTOS Command Reference for the S2410, Version 2.4.1.0

79

Page 79
Image 79
Force10 Networks S2410s manual S2410, If Index values are, All, Count