clear fdb

clear fdb {mac_addr | ports port_list | vlan vlan_name | blackhole}

Description

Clears dynamic FDB entries that match the filter.

Syntax Description

mac_addr Specifies a MAC address, using colon-separated bytes.
port_list Specifies one or more ports or slots and ports.
vlan_name Specifies a VLAN name.
blackhole Specifies the blackhole entries.

Default

All dynamic FDB entries are cleared by default.

Usage Guidelines

This command clears FDB entries based on the specified criteria. When no options are specified, the command clears all dynamic FDB entries.

Example

The following example clears any FDB entries associated with ports 4:3-4:5 on a modular switch:

clear fdb ports 4:3-4:5

The following example clears any FDB entries associated with VLAN corporate:

clear fdb vlan corporate

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms.