1 commands for mac address table configuration, 1 clear mac-address-table dynamic, 2 mac-address-table aging-time – PLANET XGS3-24042 User Manual

Page 240: Ommands for, Ddress, Able, Onfiguration, 1 clear mac-address-table dynamic -86, 2 mac-address-table aging-time -86

Advertising
background image

13-86

Chapter 13 Commands for MAC

Address Table Configuration

13.1 Commands for MAC Address Table Configuration

13.1.1 clear mac-address-table dynamic

Command:

clear mac-address-table dynamic [address <mac-addr>] [vlan <vlan-id>] [interface [ethernet |

portchannel] <interface-name>]

Function:

Clear the dynamic address table.

Parameter:

<mac-addr>: MAC address will be deleted;

<interface-name> the port name for forwarding the MAC packets;

<vlan-id> VLAN ID.

Command Mode:

Admin mode.

Usage Guide:

Delete all dynamic address entries which exist in MAC address table, except application, system

entries. MAC address entries can be classified according to different sources, the types are as

follows: DYNAMIC, STATIC, APPLICATION, SYSTEM. DYNAMIC is the dynamic MAC address

entries learned by switch, it can be aged by switch automatically.

Example:

Delete all dynamic MAC.

Switch#clear mac-address-table dynamic

13.1.2 mac-address-table aging-time

Command:

mac-address-table aging-time <0 | aging-time>

no mac-address-table aging-time

Function:

Sets the aging-time for the dynamic entries of MAC address table.

Advertising
This manual is related to the following products: