Alcatel Carrier Internetworking Solutions Switch/Router 用户手册

下载
页码 1100
 Bridging Commands
Page 17-17
Displaying Media Access Control (MAC) Information for all MAC addresses
Media Access Control (MAC) information for the switch can be examined by using the 
macinfo
 
command. You can view all MAC addresses associated with the selected slot.
To view MAC information for all addresses:
1. Enter 
macinfo
 at the system prompt and press 
<return>
. You will be prompted with the 
following message:
Enter MAC address ([XXYYZZ:AABBCC] or return for none):
2. Press 
<return>
. You will be prompted with the following message:
Enter Slot Number (1-3):
Enter the slot number for the slot for which you are interested in viewing MAC addresses. 
The possible options are displayed on the right in parenthesis. A screen similar to the 
following is shown:
Total number of MAC addresses learned for VLAN 2: 8
Non-Canonical
Group CAM    
Last     Exp 
Sl/If/Srvc/In 
MAC Address 
MAC Address 
T
ID
Indx S Seen
Timer
----------------- ------------------------ ------------------------ -- --------- ------- -- -------- ---------
3/1/ Brg/ 1 0020DA:A373B0 00045B:C5CE0D E
2 305A T
11
300
3/1/ Brg/ 1 0020DA:8656F0
00045B:616A0F
E
2 3060 T
11
300
3/1/ Brg/ 1 00045B:ED48C0 00045B:2251A1
E
2 3080 T
29
300
3/1/ Brg/ 1 000077:8DDBB9 00045B:65EE22
E
2 3010 T
29
300
3/1/ Brg/ 1 000039:F5520C
0009E4:3ED444
E
2 300E T
35
300
3/1/ Brg/ 1 009027:17F7EB
00045B:2D43EF
E
2 3018 T
59
300
3/1/ Brg/ 1 0020DA:0C41E5 00045B:ED48C0 E
2 3078 T
26
300
3/1/ Brg/ 1 0020DA:9645A1 0000EE:B1DB9B E
2 304E T
18
300
Descriptions of the fields displayed with the 
macinfo
 command are identical to those 
displayed using the 
fwt
more information.
Display Statistics of Bridge MAC Addresses
The 
macstat
 command allows you to view a list of MAC address statistics for this switch on a 
slot-by-slot basis. To view MAC address statistics, enter the 
macstat
 command at the system 
prompt as shown:
macstat <slot>
where 
<slot>
 is the slot number on the switch for which you want to see statistics. For exam-
ple, to view statistics for MAC addresses on slot 3, you would enter:
macstat 3
A table similar to the following is shown:
Slot
Discarded
Aged
Learned
in CAM
====
==========
==========
==========
==========
3
0
4
7
37
As a variation of this command, you can enter 
macstat
 at the prompt with no slot specified. 
This will display the statistics for all slots in the switch.