mac-address max-mac-count enable-forwarding

Use mac-address max-mac-count enable-forwarding to enable the device to forward unknown frames received on an interface after the MAC learning limit on the interface is reached.

Use undo mac-address max-mac-count enable-forwarding to disable the device from forwarding unknown frames received on an interface after the MAC learning limit on the interface is reached.

Syntax

mac-address max-mac-count enable-forwarding

undo mac-address max-mac-count enable-forwarding

Default

When the MAC learning limit on an interface is reached, the device can forward unknown frames received on the interface.

Views

Layer 2 Ethernet interface view, Layer 2 aggregate interface view

Predefined user roles

network-admin

Usage guidelines

In this document, unknown frames refer to frames whose source MAC addresses are not in the MAC address table.

Examples

# Configure Ten-GigabitEthernet 1/0/1 to learn a maximum of 600 MAC address entries.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mac-address max-mac-count 600

# Disable the device from forwarding unknown frames received on Ten-GigabitEthernet 1/0/1 after the MAC learning limit on Ten-GigabitEthernet 1/0/1 is reached.

[Sysname-Ten-GigabitEthernet1/0/1] undo mac-address max-mac-count enable-forwarding

Related commands

mac-address

mac-address max-mac-count