52
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Example
# Display the statistics of the MAC address table.
<Sysname> display mac-address statistics
MAC TYPE LEARNED USER-DEFINED SYSTEM-DEFINED IN-USE AVAILABLE
Dynamic Unicast 21 0 2 23
Static Unicast 0 0 8 8 5120
Total Unicast 31 32768
Dynamic Multicast 0 0 0 0
Static Multicast 0 0 0 0 256
Total Multicast 0 256
Table 14 Command output
MAC address type:
Dynamic Unicast
Static Unicast
Total Unicast
Dynamic Multicast
Static Multicast
Total Multicast
Dynamically learned MAC addresses
User defined MAC addresses (dynamic and static)
MAC addresses generated by the system (for example, 802.1x and
MAC authentication)
Number of existing MAC addresses of a specific type
Maximum number of MAC addresses supported by the system
mac-address (interface view)
Description
Use the mac-address command to add or modify a MAC address entry on a specified interface.
Use the undo mac-address command to remove a MAC address entry on the interface.
The MAC address entries configuration cannot survive a reboot unless you save it. However, the dynamic
MAC address table entries are lost at next reboot whether you save the configuration or not.
Related commands: display mac-address.
Syntax
mac-address { dynamic | static } mac-address vlan vlan-id
undo mac-address { dynamic | static } mac-address vlan vlan-id