Clear mac-address-table dynamic, Show mac-address-table – PLANET SGSD-1022 User Manual

Page 544

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

Example

Console(config)#mac-address-table static 00-30-4F-94-34-de interface

ethernet 1/1 vlan 1 delete-on-reset

Console(config)#

clear mac-address-table dynamic

This command removes any learned entries from the forwarding database and clears the transmit and receive counts for any

static or system configured entries.

Default Setting

None

Command Mode

Privileged Exec

Example

Console#clear mac-address-table dynamic

Console#

show mac-address-table

This command shows classes of entries in the bridge-forwarding database.

Syntax

show mac-address-table [address mac-address [mask]] [interface interface] [vlan vlan-id] [sort {address | vlan | interface}]

mac-address - MAC address.

mask - Bits to match in the address.

interface

ethernet unit/port

-unit - Stack unit. (Range: 1)

-port - Port number. (Range: 1-26)

port-channel channel-id (Range: 1-12)

vlan-id -VLAN ID (Range: 1-4094)

sort - Sort by address, vlan or interface.

Default Setting

None

Command Mode

Privileged Exec

544

Advertising
This manual is related to the following products: