H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 138

Advertising
background image

18-3

Follow these steps to configure the MAC address aging timer:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the aging timer for
dynamic MAC address entries

mac-address timer

{ aging

seconds

| no-aging }

Optional
300 seconds by default.

The MAC address aging timer takes effect globally on dynamic MAC address entries (learned or
administratively configured) only.

Configuring the Maximum Number of MAC Addresses an Ethernet Port or a Port
Group Can Learn

To prevent a MAC address table from getting so large that it may degrade forwarding performance, you
may restrict the number of MAC addresses that can be learned. One approach is to do this on a per-port
or port group basis.

Follow these steps to configure the maximum number of MAC addresses that an Ethernet port or port
group can learn:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port
view

interface interface-type
interface-number

Enter
Ethernet
port or port
group view

Enter port group view

port-group

{ aggregation agg-id

| manual port-group-name }

Required
Use either command to configure
on a port or ports in a group.

Configure the maximum number of
MAC addresses that can be learned
on an Ethernet port or port group.

mac-address max-mac-count

count

Required
The maximum number of MAC
addresses that can be learned on
a port or port group is not
configured by default.

Displaying and Maintaining MAC Address Table Management

To do…

Use the command…

Remarks

display mac-address

blackhole [ vlan vlan-id ]

[ count ]

Display MAC address table
information

display mac-address

[ mac-address [ vlan vlan-id ] |

[ dynamic | static ] [ interface interface-type
interface-number

] [ vlan vlan-id ] [ count ] ]

Display the aging timer for dynamic
MAC address entries

display mac-address aging-time

Available in any
view

Advertising