Qtech QSW-2910-09T-POE-AC/DC — настройка таблицы MAC-адресов и обучения в сетевых устройствах [155/212]

Превью страниц Страница 155 / 212
Qtech QSW-2910-09T-POE-AC/DC [155/212] Enable disable mac address learning
+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
155
according to interface number; command no mac-address-table means delete all MAC
address.
For example:
!Delete all MAC address table item
QTECH(config)#no mac-address-table
Display MAC address table
Use show mac-address command to display MAC address table.
show mac-address-table
show mac-address-table { interface-num [ vlan vlan-id ] | cpu }
show mac-address-table mac [ vlan vlan-id ]
show mac-address-table { blackhole | dynamic | permanent | static } [ vlan vlan-id ]
show mac-address-table { blackhole | dynamic | permanent | static } interface interface-
num [ vlan vlan-id ]
show mac-address-table vlan vlan-id
The parameter meaning is the same as that of add/delete MAC address table item.
13.3.1.5 Enable/disable MAC address learning
This command is a batch command in global configuration mode to configure all interfaces to
be the same; in interface configuration mode, it can configure interface MAC address learning.
When MAC address learning is forbidden in an interface, packet with unknown destination
address received from other interface will not be transmitted to this interface; and packet from
this interface whose source address is not in this interface will not be transmitted. By default,
all interface MAC address learning enable.
mac-address-table learning
no mac-address-table learning
For example:
!Enable MAC address learning on interface Ethernet 0/7.
QTECH(config-if-ethernet-0/7)#no mac-address-table learning
Display MAC address learning
show mac-address learning [ interface [ interface-num ] ]
Use show mac-address-table learning command to display MAC address learning
Caution: When there is link convergence in system, the MAC address table related to link
convergent port shows as corresponded convergent group number. It is not suggested using
these commands which may cause confuse when adding or deleting MAC address for

Содержание

507

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