Tp-Link T1700G-28TQ V2 — настройка безопасности портов: управление MAC-адресами [137/354]

Превью страниц Страница 137 / 354
Tp-Link T1700G-28TQ V2 [137/354] Show mac address table
Parameter
num
—— The maximum number of MAC addresses that can be learned on
the port. It ranges from 0 to 64. By default this value is 64.
dynamic | static | permanent —— Learn mode for MAC addresses. There are
three modes, including Dynamic mode, Static mode and Permanent mode.
When Dynamic mode is selected, the learned MAC address will be deleted
automatically after the aging time. When Static mode is selected, the learned
MAC address will be out of the influence of the aging time and can only be
deleted manually. The learned entries will be cleared after the switch is
rebooted. When permanent mode is selected, the learned MAC address will
be out of the influence of the aging time and can only be deleted manually too.
However, the learned entries will be saved even the switch is rebooted.
status —— Enable or disable the Port Security function for a specified port.
By default, this function is disabled.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet / interface ten-gigabitEthernet / interface range
ten-gigabitEthernet)
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Enable Port Security function for port 1, select Static mode as the learn mode,
and specify the maximum number of MAC addresses that can be learned on
this port as 30:
T1700G-28TQ(config)# interface gigabitEthernet 1/0/1
T1700G-28TQ(config-if)# mac address-table max-mac-count max-number
30 mode static status enable
17.5 show mac address-table
Description
The show mac address-table command is used to display the information of
all address entries.
121

Содержание

2312

Узнайте, как настроить безопасность портов, управляя MAC-адресами с помощью различных режимов. Обеспечьте защиту сети с помощью статического и динамического обучения.