Configuration Guide    MAC Address Configuration 
Viewing Configurations   
Ruijie#show 
mac-address-table dynamic 
Show all dynamic addresses.   
Ruijie#show 
mac-address-table dynamic 
address mac-address [vlan 
vlan-id] 
Show  the  specified  dynamic  MAC 
address.   
mac-address :   the  specified  MAC 
address.   
vlan-id:the specified VLAN to which the 
MAC address belongs.   
Ruijie#show 
mac-address-table dynamic 
interface interface-id [vlan 
vlan-id] 
Show  all  dynamic  addresses  on  the 
specified port or Aggregate Port.   
Interface-id:  the  specified  port  or 
Aggregate Port; 
vlan-id:the specified VLAN to which the 
dynamic address belongs.   
Ruijie#show 
mac-address-table dynamic 
vlan vlan-id 
Show  all  dynamic  addresses  in  the 
specified VLAN.   
vlan-id:the specified VLAN to which the 
dynamic address belongs.   
Ruijie# show 
mac-address-table count 
[ interface interface-id | vlan 
vlan-id ] 
Show the statistics in the MAC address 
table.   
interface-id: show the statistic in the MAC 
address table on the specified interface.   
vlan-id: show the statistic in the MAC 
address table in the specified VLAN.     
The  following  example  shows  all  dynamic  MAC  addresses  in  VLAN  1  on 
interface GigabitEthernet 0/1: 
Ruijie#show mac-address-table dynamic interface gigabitEthernet 0/1 vlan 1 
Vlan         MAC Address           Type      Interface 
---------- -------------------- -------- ------------------- 
 1         0000.5e00.010c        DYNAMIC  GigabitEthernet 0/1 
 1         00d0.f822.33aa        DYNAMIC  GigabitEthernet 0/1 
 1         00d0.f822.a219        DYNAMIC  GigabitEthernet 0/1 
 1         00d0.f8a6.5af7        DYNAMIC  GigabitEthernet 0/1 
The following examples show the statistics in the MAC address table:   
Example 1: show the number of various entries in MAC address table.