Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

2.5. show mac-address-table

#show mac-address-table
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 All    0100.0ccc.cccc    STATIC      CPU
 All    0100.0ccc.cccd    STATIC      CPU
 All    0180.c200.0000    STATIC      CPU
 All    0180.c200.0001    STATIC      CPU
 All    0180.c200.0002    STATIC      CPU
 All    0180.c200.0003    STATIC      CPU
 All    0180.c200.0004    STATIC      CPU
 All    0180.c200.0005    STATIC      CPU
 All    0180.c200.0006    STATIC      CPU
 All    0180.c200.0007    STATIC      CPU
 All    0180.c200.0008    STATIC      CPU
 All    0180.c200.0009    STATIC      CPU
 All    0180.c200.000a    STATIC      CPU
 All    0180.c200.000b    STATIC      CPU
 All    0180.c200.000c    STATIC      CPU
 All    0180.c200.000d    STATIC      CPU
 All    0180.c200.000e    STATIC      CPU
 All    0180.c200.000f    STATIC      CPU
 All    0180.c200.0010    STATIC      CPU
 All    ffff.ffff.ffff    STATIC      CPU
   1    000d.482c.183e    DYNAMIC     Gi1/0/24
   1    000f.e207.f2e0    DYNAMIC     Gi1/0/16
   1    000f.e285.0b10    DYNAMIC     Gi1/0/16
   1    0024.e834.29ea    DYNAMIC     Gi1/0/24
...
...
 100    f04d.a2d9.9b30    DYNAMIC     Gi1/0/22
 200    04fe.7f45.c31a    DYNAMIC     Gi1/0/22
Total Mac Addresses for this criterion: 501
		

2.5.1. 通過mac查找連接埠

Switch-2960-WAN-0#show mac-address-table dynamic add 001c.58b5.6e81
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    001c.58b5.6e81    DYNAMIC     Fa0/16
Total Mac Addresses for this criterion: 1