Qtech QSW-8200-52T-AC — настройка таблицы MAC-адресов: команды и примеры использования [38/41]

Превью страниц Страница 38 / 41
Qtech QSW-8200-28T-AC Команды настройки vlan онлайн [38/41] 481626
User Manual
Chapter 2. Commands for MAC Address Table Configuration 38
www.qtech.ru
Usage Guide: In certain special applications or when the switch is unable to dynamically
learn the MAC address, users can use this command to manually establish mapping
relation between the MAC address and port and VLAN.
no mac-address-table command is for deleting all dynamic, static, filter MAC address
entries existing in the switch MAC address list, except application, system entries. MAC
address entries can be classified according to the different source, the types are as
follows: DYNAMIC, STATIC, APPLICATION, SYSTEM. DYNAMIC is the dynamic MAC
address entries learned by switch, it can be aged by switch automatically. STATIC is the
static MAC address entries (including blackhole entries) added by user. APPLICATION is
the static MAC address entries added by application protocol (such as dot1x, security
port…). SYSTEM is the additive static MAC address entries according to VLAN interface.
When adding STATIC entries, it can cover the conflictive DYNAMIC, except
APPLICATION, SYSTEM entries.
After configure the static multicast MAC by this command, the multicast MAC traffic
will be forwarded to the specified port of the specified VLAN.
Example: Port 1/0/1 belongs to VLAN200, and establishes address mapping with MAC
address 00-03-0f-f0-00-18.
Switch(config)#mac-address-table static address 00-03-0f-f0-00-18 vlan 200 interface
ethernet 1/0/1
Configure a static multicast MAC 01-00-5e-00-00-01, the egress is ehernet 1/0/1.
Switch(config)#mac-address-table static-multicast address 01-00-5e-00-00-01 vlan 1
interface ethernet1/0/1
2.1.7 showCollisionMacTable
CommandshowCollisionMacTable
FunctionShow the hash collision mac table.
ParameterNone.
Command modeGlobal Mode.
Usage GuideIf enable the function of the hash collision mac table that issued ffp (
mac-address-table avoid-collision), the collision mac which issued ffp use
2.1.8 show mac-address-table
Command: show mac-address-table [static | blackhole | multicast | aging-time
<aging-time> | count] [address <mac-addr>] [vlan <vlan-id>] [count] [interface
<interface-name>]
Function: Show the current MAC table.
Parameter: static static entries; blackhole filter entries; aging-time <aging-time>
address aging time; count entry’s number, multicast multicast entries; <mac-addr>
entry’s MAC address; <vlan-id> entry’s VLAN number; <interface-name> entry’s
interface name.
Command mode: Admin and Configuration Mode.
Default: MAC address table is not displayed by default.

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

Скачать