Clear mac address-table dynamic – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 367

Advertising
background image

Switching Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

15.5

clear mac address-table dynamic

Use this command to clear the filtering database of all entries learned for a selected MAC
address, an MSTP instance, a switch port interface or a VLAN interface.

Syntax

clear mac address-table dynamic

[address <mac-address>|interface <port> [instance <inst>]|

vlan <vid>]

Mode

Privileged Exec

Usage

Use this command with options to clear the filtering database of all entries learned for a
given MAC address, interface or VLAN. Use this command without options to clear any
learned entries.

Use the optional instance parameter to clear the filtering database entries associated
with a specified MSTP instance Note that you must first specify a switch port interface
before you can specify an MSTP instance.

Compare this usage and operation with the

clear mac address-table static command on

page 15.4

. Note that an MSTP instance cannot be specified with clear mac address-table

static.

Examples

This example shows how to clear all dynamically learned filtering database entries for all
interfaces, addresses, VLANs.

Parameter

Description

interface

Specify a switch port to be cleared from the filtering database.

<port>

Specify the switch port from which address entries will be cleared.
This can be a single switch port, (e.g. port1.0.4), a static
channel group (e.g. sa2), or a dynamic (LACP) channel group (e.g.
po2

).

address

Specify a MAC (Media Access Control) address to be cleared from
the filtering database.

<mac-address>

Enter a MAC address to be cleared from the database in the format
HHHH.HHHH.HHHH.

instance

Specify an MSTP (Multiple Spanning Tree) instance to be cleared
from the filtering database.

<inst>

Enter an MSTP instance in the range <1-63> to be cleared from
the filtering database.

vlan

Specify a VLAN to be cleared from the filtering database.

<vid>

Enter a VID (VLAN ID) in the range <1-4094> to be cleared from
the filtering database.

awplus#

clear mac address-table dynamic

Advertising