enable learning port

enable learning {drop-packets} ports [all | port_list]

Description

Enables MAC address learning on one or more ports.

Syntax Description

drop-packets Forwards EDP packets, and drops all unicast, multicast, and broadcast packets from a source address not in the FDB. No further processing occurs for dropped packets.
all Specifies all ports.
port_list Specifies one or more ports or slots and ports.

Default

Enabled.

Usage Guidelines

Use this command to enable MAC address learning on one or more ports.

Example

The following example enables MAC address learning on ports 7 and 8 on a switch:

enable learning ports 7-8

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.