3com 4500 PWR 26-PORT Manual De Usuario

Descargar
Página de 466
MAC Address Table Management Commands
337
undo mac-address max-mac-count
View
Ethernet port view
Parameter
count: 
Enter a value in the range 0 to 32768 to specify how many MAC 
addresses a port can learn. 0 means that the port is not allowed to learn MAC 
addresses.
Description
Use the 
mac-address max-mac-count
 command to configure the maximum 
number of MAC addresses that can be learned by a specified Ethernet port. The 
port stops learning MAC addresses when the specified limit is reached.
Use the 
undo mac-address-table max-mac-count
 command to cancel the 
maximum limit on the number of MAC addresses learned by an Ethernet port. This 
is the default. If you set no maximum limit, the MAC address table controls the 
number of MAC addresses a port can learn.
Related commands: 
mac-address
mac-address timer
Examples
To configure the port “Ethernet 1/0/3” to learn at most 600 MAC addresses, enter 
the following:
<SW4500>sys
System View: return to User View with Ctrl+Z.
[SW4500]interface Ethernet 1/0/3
[SW4500-Ethernet1/0/3]mac-address max-mac-count 600
To cancel the maximum limit on the number of MAC addresses learned by the port 
“Ethernet1/0/3”, enter the following:
<SW4500>sys
System View: return to User View with Ctrl+Z.
[SW4500]interface Ethernet 1/0/3
[SW4500-Ethernet1/0/3]undo mac-address max-mac-count
mac-address timer
Syntax
mac-address timer { aging age | no-aging }
undo mac-address timer aging
View 
System view
Parameter
aging age:
 Specifies the aging time (measured in seconds) of the Layer-2 dynamic 
address table entry, ranging from 10 to 1000000; by default, the aging time is 300 
seconds.
no-aging:
 No aging time.