mac-address max-mac-count enable-forwarding (VLAN view)

Use mac-address max-mac-count enable-forwarding to enable the device to forward unknown frames received by interfaces in a VLAN after the MAC learning limit for the VLAN is reached. Unknown frames refer to frames whose source MAC addresses are not in the MAC address table.

Use undo mac-address max-mac-count enable-forwarding to disable the device from forwarding unknown frames received by interfaces in a VLAN after the MAC learning limit for the VLAN is reached.

Syntax

mac-address max-mac-count enable-forwarding

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

Default

When the MAC learning limit for a VLAN is reached, the device can forward unknown frames received by interfaces in the VLAN.

Views

VLAN view

Predefined user roles

network-admin

mdc-admin

Examples

# Configure VLAN 10 to learn a maximum of 600 MAC address entries.

<Sysname> system-view
[Sysname] vlan 10
[Sysname-vlan10] mac-address max-mac-count 600

# Disable the device from forwarding unknown frames received by interfaces in VLAN 10 after the MAC learning limit for VLAN 10 is reached.

[Sysname-vlan10] undo mac-address max-mac-count enable-forwarding

Related commands

mac-address

mac-address max-mac-count (VLAN view)