4 clear mac-address-table dynamic, 3 typical configuration example, 4 troubleshooting – Amer Networks SS2R48G4i V2 User Manual
Page 92: 1 monitor and debug command, 1 show mac-address-table, 4 troubleshooting 8.4.1 monitor and debug command

SS2R24G4i/SS2R48G4i
81
Command Mode
Global mode
Default
no filtering entries
8.2.4 clear mac-address-table dynamic
Command clear mac-address-table dynamic [address
{[ethernet|port-channel]
Function
Deletes dynamic address entries
Parameter
MAC address to be deleted;
transmitting the MAC data packet;
Command Mode
Admin mode
Default
None
8.3 Typical Configuration Example
Scenario
Four PCs as shown in the above figure connect to port 5, 7, 9, 11 of switch, all the four
PCs belong to the default VLAN1. As required by the network environment, dynamic learning is enabled.
PC1 holds sensitive data and can not be accessed by any other PC that is in another physical segment;
PC2 and PC3 have static mapping set to port 7 and port 9, respectively.
The configuration steps are listed below
1. Set the MAC address 00-01-11-11-11-11 of PC1 as a filter address.
Switch(Config)#mac-address-table blackhole address 00-01-11-11-11-11 vlan 1
2.Set the static mapping relationship for PC2 and PC3 to port 7 and port 9, respectively.
Switch(Config)#mac-address-table static address 00-01-22-22-22-22 vlan 1 interface ethernet 0/0/7
Switch(Config)#mac-address-table static address 00-01-33-33-33-33 vlan 1 interface ethernet 0/0/9
8.4 Troubleshooting
8.4.1 Monitor and Debug Command
8.4.1.1 show mac-address-table
Command
show mac-address-table [static|aging-time|blackhole|count] [address <mac-addr>]
[vlan <vlan-id>] [interface <interface-name>]
Parameter static
entry; aging-time address aging time; blackhole filtering entry; count address
counter;
Command mode
Admin mode
Default
MAC address table is not displayed by default.