Displaying and maintaining mac address tables, Mac address table configuration example – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 46
36
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view or port group
view.
•
Enter Layer 2
Ethernet/aggregate
interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.
Settings in Layer 2
Ethernet/aggregate interface
view take effect on the interface
only. Settings in port group view
take effect on all member ports
in the port group.
3.
Configure the MAC learning limit
on the interface or port group, and
configure whether frames with
unknown source MAC addresses
can be forwarded or not when the
MAC learning limit is reached.
mac-address max-mac-count
{ count | disable-forwarding }
The default MAC learning limit
varies with devices. When the
MAC learning limit is reached,
frames with unknown source
MAC addresses are forwarded
by default.
Displaying and maintaining MAC address tables
Task Command
Remarks
Display MAC address table
information.
display mac-address [ mac-address [ vlan vlan-id ] |
[ [ dynamic | static ] [ interface interface-type
interface-number ] | blackhole ] [ vlan vlan-id ]
[ count ] ] [ | { begin | exclude | include }
regular-expression ]
Available in any view
Display the aging timer for
dynamic MAC address
entries.
display mac-address aging-time [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display the system or interface
MAC address learning state.
display mac-address mac-learning [ interface-type
interface-number ] [ | { begin | exclude | include }
regular-expression ]
Available in any view
Display MAC address
statistics.
display mac-address statistics [ | { begin | exclude |
include } regular-expression ]
Available in any view
MAC address table configuration example
The configuration examples were created on a WX5004 access controller and may vary with device
models.Check
to see where you configure Ethernet interfaces.
Table 5 Ethernet interface configuration prerequisites
Hardware
Ethernet interface configuration prerequisites
Access controller modules (installed in a switch)