DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
62
Default
By default, this value is 300 seconds.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Setting the aging time to 0 will disable the MAC address table aging out function.
Example
This example shows how to set the aging time value to 200 seconds.
Switch# configure terminal
Switch(config)# mac-address-table aging-time 200
Switch(config)#
13-3
mac-address-table learning
This command is used to enable MAC address learning on the physical port. Use the
no
form of this
command to disable learning.
mac-address-table learning interface
INTERFACE-ID
[, | -]
no mac-address-table learning interface
INTERFACE-ID
[, | -]
Parameters
INTERFACE-ID
(Optional) Specifies the physical port interface to be configured.
,
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No spaces before and after the
comma.
-
(Optional) Specifies a range of interfaces. No spaces before and
after the hyphen.
Default
By default, this option is enabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this commands to enable or disable MAC address learning on a physical port.
Example
This example shows how to enable the MAC address learning option on Ethernet 1/0/1.