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 5320, 5420, 5520, and 5720 series switches.