3com S7906E 참조 가이드

다운로드
페이지 2327
 
1-6 
Parameters 
None 
Description 
Use the mac-address mac-learning disable command to disable MAC address learning globally, on 
one or a group of Ethernet ports, or on a Layer-2 aggregate interface, depending on the view you 
entered. 
Use the undo mac-address mac-learning disable command to enable MAC address learning globally, 
on one or a group of Ethernet ports, or on a VLAN, depending on the view you entered. 
By default, MAC address learning is enabled globally and on all Ethernet ports. 
Note that: 
You may need to disable MAC address learning sometimes to prevent the MAC address table from 
being saturated, for example, when your device is being attacked by a great deal of packets with 
different source MAC addresses. This somewhat affects update of the MAC address table. 
As disabling MAC address learning may result in broadcast storms, you need to enable broadcast 
storm suppression after you disable MAC address learning on a port. 
Related commands: display mac-address mac-learning
 
 
When MAC address learning is disabled, the learned MAC addresses remain valid until they age out. 
 
Examples 
# Disable global MAC address learning. 
<Sysname> system-view 
[Sysname] mac-address mac-learning disable 
# Disable MAC address learning on port GigabitEthernet 2/0/1. 
<Sysname> system-view 
[Sysname] interface gigabitethernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] mac-address mac-learning disable 
mac-address max-mac-count  
Syntax 
mac-address max-mac-count count  
undo mac-address max-mac-count 
View 
Ethernet interface view, port group view 
Default Level 
2: System level