set unicast-mac learning

To enable or disable unicast-MAC learning feature for a VLAN, use the command set unicast-mac learning in VLAN Configuration Mode. The source MAC learning is not done in the switch when this feature is disabled for the VLAN.

set unicast-mac learning

set unicast-mac learning { {enable } { | disable } { | default} }

Parameters

Parameter Type Description
enable   Enter to enable unicast-MAC learning feature for a VLAN.
disable   Enter to disable unicast-MAC learning feature for a VLAN.
default   Enter to set the unicast-MAC learning feature of the VLAN to its default state. When this feature is set to Default, this feature inherits the value configured for Global mac learning status as Enable/Disable.

Mode

VLAN Configuration Mode

Default

default

Prerequisites

Global MAC learning status will override the VLAN unicast-MAC learning status only when the VLAN unicast-MAC learning status is default.

VLAN unicast-MAC learning can be configured as Enable/Disable even when the Global Mac learning status is Disabled.

VLAN unicast-MAC learning feature can be configured only in the VLANs that are activated.

Examples

iS5comm (config-vlan)# set unicast-mac learning disable