Tp-Link T1700G-28TQ V2 — настройка фильтрации MAC-адресов в VLAN: пошаговое руководство [189/772]

Превью страниц Страница 189 / 772
Tp-Link T1700G-28TQ V2 [189/772] Switch config end
Configuration Guide 164
Managing MAC Address Table Address Configurations
Step 2 mac address-table filtering
mac-addr
vid
vid
Add the filtering address to the VLAN.
mac-addr:
Specify a MAC address to configure the switch to drop packets which include this
MAC address as the source address or destination address. The format is xx:xx:xx:xx:xx:xx, for
example, 00:00:00:00:00:01.
vid:
Specify an existing VLAN in which packets with the specific MAC address are dropped.
Step 3 end
Return to privileged EXEC mode.
Step 4 copy running-config startup-config
Save the settings in the configuration file.
Note:
In the same VLAN, once an address is configured as a filtering address, it cannot be set as a
static address, and vice versa.
Multicast or broadcast addresses cannot be set as filtering addresses .
The following example shows how to add the MAC filtering address 00:1e:4b:04:01:5d to
VLAN 10. Then the switch will drop the packet that is received in VLAN 10 with this address
as its source or destination.
Switch#configure
Switch(config)# mac address-table filtering 00:1e:4b:04:01:5d vid 10
Switch(config)#show mac address-table filtering
MAC Address Table
---------------------------------------------------------------------
MAC VLAN Port Type Aging
--- ---- ---- ---- -----
00:1e:4b:04:01:5d 10 filter no-aging
Total MAC Addresses for this criterion: 1
Switch(config)#end
Switch#copy running-config startup-config

Содержание

3073

Узнайте, как настроить фильтрацию MAC-адресов в VLAN, чтобы блокировать нежелательные пакеты. Пошаговая инструкция по конфигурации и сохранению настроек.