Qtech QSW-3200-28T Руководство пользователя онлайн [99/136] 481609

Qtech QSW-3200-28T Руководство пользователя онлайн [99/136] 481609
+7(495) 797-3311www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
88
Enable/disable MAC address learning
Modify MAC address learning mode
Configure system MAC address aging time
Configure system MAC address aging time
Use mac-address-table age-time command in global configuration mode to configure MAC
address aging time. Use no mac-address age-time command to restore it to default time.
mac-address-table age-time { agetime | disable }
no mac-address-table age-time
Agetime means MAC address aging time which ranges from 1 to 1048575 seconds. Default
MAC address aging time is 300 seconds. Disable means MAC address not aging. Use no
command to restore the default MAC address aging time.
For example:
! Configure MAC address aging time to be 3600 seconds
QTECH(config)#mac-address-table age-time 3600
! Restore MAC address aging time to be 300 seconds
QTECH(config)#no mac-address-table age-time
Display MAC address aging time
show mac-address-table age-time
Use show mac-address-table age-time command to display MAC address aging time.
show mac-address-table age-time
For example:
! Display MAC address aging time.
QTECH(config)#show mac-address-table aging-time
Set MAC address table entries Configure MAC address item
Add MAC address
mac-address-table { dynamic | permanent | static } mac interface interface-num vlan vlan-id
Add MAC adress
MAC address table can be added manually besides dynamically learning.
mac-address-table { dynamic | permanent | static } mac interface interface-num vlan vlan-id
Parameter mac, vlan-id and interface-num corresponded to the three attributions of the new
MAC address table item.
MAC address attribution can be configured to be dynamic, permanent and static. Dynamic
MAC address can be aging; permanent MAC address will not be aging and this MAC address
will exist after rebooting; static MAC address will not be aging, but it will be lost after rebooting.
For example:
! Add mac address 00:01:02:03:04:05 to be static address table.
QTECH(config)#mac-address-table static 00:01:02:03:04:05 interface ethernet 0/1 vlan 1
Add blackhole MAC address
System can configure MAC address table item to be blackhole item. When the source address
or destination address is blackhole MAC address, it will be dropped.
mac-address-table blackhole mac vlan vlan-id
For example:
! When tagged head of the packet is VLAN 1, forbid packet with its source address or
destination address being 00:01:02:03:04:05 to go through system
QTECH(config)#mac-address-table blackhole 00:01:02:03:04:05 vlan 1
Delete MAC address item
Use no mac-address-table command to remove mac address table.

Содержание

Похожие устройства

Скачать