display mac-address total-number
Function
The display mac-address total-number command displays the number of MAC address entries of a specified type.
Format
display mac-address total-number
display mac-address total-number [ vlan vlan-id | interface-type interface-number ]
display mac-address total-number blackhole
display mac-address total-number dynamic [ vlan vlan-id | interface-type interface-number ]
display mac-address total-number static [ vlan vlan-id | interface-type interface-number ]
display mac-address total-number { guest | authen | wlan } [ vlan vlan-id | interface-type interface-number ]
Parameters
Parameter |
Description |
Value |
---|---|---|
dynamic |
Displays the number of dynamic MAC address entries. |
- |
blackhole |
Displays the number of blackhole MAC address entries. |
- |
static |
Displays the number of static MAC address entries. |
- |
guest | Displays the number of MAC address entries of the guest type. |
- |
authen | Displays the number of MAC address entries of the authen type. |
- |
wlan | Displays the number of MAC address entries of the WLAN type. |
- |
vlan vlan-id |
Displays the number of MAC address entries in a specified VLAN. |
The value is an integer that ranges from 1 to 4094. |
interface-type interface-number |
Displays the number of MAC address entries learned by a specified interface. |
- |
Usage Guidelines
Usage Scenario
The MAC address table of the wireless access controller stores MAC addresses of other devices. When forwarding an Ethernet frame, the wireless access controller searches the MAC address table for the outbound interface according to the destination MAC address and VLAN ID in the Ethernet frame.
When the wireless access controller has many MAC address entries of different types, you can use the display mac-address total-number command to view statistics on MAC address entries of a specified type.
Precautions
If no parameter is specified, the total number of MAC address entries in the system is displayed.
If interface-type interface-number is not specified, the total number of MAC addresses learned by all interfaces is displayed.
If vlan vlan-id is not specified, the total number of MAC addresses in all VLANs is displayed.