Qtech QSW-2900-24T-AC Руководство пользователя онлайн [29/209] 481595

2-27
QTECH(config)#no mac-address-table
d) 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.
e) 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
f) Display MAC address learning
show mac-address learning [ interface [ interface-num ] ]
Use show mac-address-table learning command to display MAC address learning.
g) Modify MAC address learning mode
System suppoets SVL and IVL learning modes. The default one is SVL. User can configure MAC learning
mode in global configuration mode. It will be effective after rebooting.
mac-address-table learning mode { svl | ivl }
show mac-address-table learning mode
For example:
! Modify MAC address to be IVL
QTECH(config)#mac-address-table learning mode ivl
! Display MAC address learning mode.
QTECH(config)#show mac-address-table learning mode

Содержание

Скачать
Случайные обсуждения