5 clear mac-address-table interface ifname, 6 clear mac-address-table mac macaddr, 7 clear mac-address-table multicast macaddr vlanid – Asus GigaX3124 User Manual

Page 74

Advertising
background image

GigaX3124 Layer3 Switch CLI Command Reference

49

7.5

clear mac-address-table interface IFNAME

Syntax

clear mac-address-table interface IFNAME

Parameters

IFNAME Interface name

Command Mode Global configuration mode
No/clear
Show
Default
Description

Use the write configuration command on the switch stack

or standalone switch to clear static and dynamic L2 MAC

addresses in the database for specified interface name.

Example

ASUS(config)# clear mac-address-table interface gi1/0/1

7.6

clear mac-address-table mac MACADDR

Syntax

clear mac-address-table mac MACADDR

Parameters

MACADDR MAC address

Command Mode Global configuration mode
No/clear
Show
Default
Description

Use the write configuration command on the switch stack or

standalone switch to clear L2 MAC addresses in the database

for specified MAC address.

Example

ASUS(config)# clear mac-address-table mac 0000.0000.0001

7.7

clear mac-address-table multicast MACADDR

VLANID

Syntax

clear mac-address-table multicast MACADDR VLANID

Parameters

MACADDR Group MAC address

<1-3000> VLAN ID

Command Mode Global configuration mode

Advertising