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 slot 1, ports 7 and 8 on a modular switch:

enable learning ports 1:7-8

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all Summit family switches, SummitStack, and BlackDiamond X8 and BlackDiamond 8800 series switches.