evb mac-learning forbidden

Use evb mac-learning forbidden to disable the MAC address learning function for an S-channel.

Use undo evb mac-learning forbidden to enable the MAC address learning function for an S-channel.

Syntax

evb mac-learning forbidden

undo evb mac-learning forbidden

Default

The MAC address learning function for an S-channel is enabled.

Views

S-channel interface view, S-channel aggregate interface view

Predefined user roles

network-admin

Usage guidelines

Examples

# Disable the MAC address learning function on S-Channel 1/0/1:10.

<Sysname> system-view
[Sysname] interface s-channel 1/0/1:10
[Sysname-S-Channel1/0/1:10] evb mac-learning forbidden

# Disable the MAC address learning function on Schannel-Aggregation 1:10.

<Sysname> system-view
[Sysname] interface schannel-aggregation 1:10
[Sysname–Schannel-Aggregation1:10] evb mac-learning forbidden

Related commands

evb reflective-relay