Mac-Address-Table Blackhole; Clear Mac-Address-Table Dynamic; Typical Configuration Example - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

DCS-3950 series Ethernet switch manual
ethernet 0/0/5

8.2.3 mac-address-table blackhole

Command:mac-address-table blackhole address <mac-addr> vlan <vlan-id >
no mac-address-table blackhole [address <mac-addr>] [vlan <vlan-id>]
Function:Add or modify filtering address entries,the 'no mac-address-table blackhole
[address <mac-addr>] [vlan <vlan-id>]' deletes filtering address entries.
Parameter:<mac-addr> MAC address to be added or deleted; <vlan-id> receives vlan
number of the MAC data packet
Command mode:Global Mode
Default:No filtering entries
Usage Guide: This command configures the address filter to drop packets from certain
MAC address. It is used to filter the dataflow from some certain addresses. Both source
addresses and destination addressed can be filtered. The filter table entries only filters
VLAN and MAC addresses, and there's no impact on the ports.
Example: For VLAN 200, add the MAC address of 00-03-0f-f0-00-18 into the filter table.
Switch(Config)#mac-address-table blackhole address 00-03-0f-f0-00-18 vlan 200

8.2.4 clear mac-address-table dynamic

Command:clear mac-address-table dynamic [address <hw_addr>] [vlan <vid>]
[interface {[ethernet|port-channel] <Interfacename>}]
Function:Delete dynamic address entries
Parameter:<mac-addr> MAC address to be deleted; <interface-name> name of the
port transmitting the MAC data packet; <vlan-id> receives vlan number of the MAC data
packet.
Command mode:Admin Mode
Default:None
Usage Guide: This command is used to remove entries in the dynamic MAC address
table in the Admin Mode.
Example: Remove all dynamic MAC address entries in the MAC address table.
Switch# clear mac-address-table dynamic

8.3 Typical Configuration Example

141

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents