SNR S2989G-8TX — настройка таблицы MAC-адресов и управление динамическими записями [158/553]

Превью страниц Страница 158 / 553
SNR S2989G-8TX Руководство по настройке онлайн [158/553] 747272
2-94
S2989G-24TX Operation Manual Chapter 2 Layer 2 services
Configuration
mac-address-table {static |
static-multicast | blackhole} address
<mac-addr> vlan <vlan-id > [interface
[ethernet | portchannel]
<interface-name>] |
[source|destination|both]
no mac-address-table {static | static-
multicast | blackhole | dynamic}
[address <mac-addr>] [vlan <vlan-id>]
[interface [ethernet | portchannel]
<interface-name>]
Configure static MAC entries, static
multicast MAC entries, filter address
entires.
3. Clear dynamic address table
Command
Explanation
Admin Mode
clear mac-address-table dynamic
[address <mac-addr>] [vlan <vlan-id>]
[interface [ethernet | portchannel]
<interface-name>]
Clear the dynamic address table.
4. Configure MAC learning through CPU control
Command
Explanation
Global Mode
mac-address-learning cpu-control
no mac-address-learning cpu-control
Enable MAC learning through CPU
control, the no command restores that
the chip automatically learn MAC
address.
show collision-mac-address-table
Show the hash collision mac table.
Admin Mode
clear collision-mac-address-table
Clear the hash collision mac table.
5. Configure bucket size for MAC address table
Command
Explanation
Global Mode
mac-address-table bucket size <1-4>
Sets the bucket size for MAC address
table, to improve the learning
performance of random mac address.

Содержание

666

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