Mac-Address-Table - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

Parameter: < age> is the aging time in seconds, the valid range is 10 to 100000; 0 for no
aging.
Command mode: Global Mode
Default: The system default aging time is 300 seconds.
Usage Guide: If the aging time for mac address table is too short, switch performance
may be interfered by the unnecessary broadcasting. If the aging time is set too long, some
entries in the address table can not be removed when they are not valid. Hence, the aging
time should be carefully selected according to the actual situation.
If the aging time is set to 0, the aging for address entries will be disabled. And the
mac address learned by the switch will always exist in the MAC address table.
To be mentioned, the actual aging time for MAC address entries will be 1~1.5 times of
the value set by this command for DCS-3950 series switch. If no packets are received
from the MAC address in the table, the address will be aged, and its corresponding entry
in the address table will be removed.
Example: Set aging time for MAC address learning table to be 400 seconds.
Switch(Config)#mac-address-table aging-time 400

8.2.2 mac-address-table

Command:mac-address-table static address <mac-addr> vlan <vlan-id > interface
[Ethernet|port-channel]<interface-name>
no mac-address-table [static |dynamic] [address <mac-addr>] [vlan
<vlan-id>] [interface <interface-name>]
Function: Add or modify static address entries, The 'no mac-address-table [static
|dynamic] [address <mac-addr>] [vlan <vlan-id>] [interface
<interface-name>'command deletes the static,dynamic and mac address table entries.
Parameter:static is the static entries; <mac-addr> MAC address to be added or
deleted;<interface-name> name of the port transmitting the MAC data
packet;<vlan-id> is the vlan number.
Command mode:Global Mode
Default: When VLAN or Layer 3 interface is configured and is up, the system will generate
an static address mapping entry of which the inherent MAC address corresponds to the
VLAN or Layer 3 interface.
Usage Guide:In certain special applications or when the switch is unable to dynamically
learn the MAC address, users can use this command to manually establish mapping
relation between the MAC address and port and VLAN. If the type of a port is
port-channel, the port channel must be in the up state.
no mac-address-table command is for deleting all dynamic, static, filter MAC address
entries existing in the switch MAC address list, except for the mapping entries retained in
the system default.
Example:Port 0/0/5 belongs to VLAN200, and establishes address mapping with MAC
address 00-03-0f-f0-00-18.
Switch(Config)#mac-address-table static address 00-03-0f-f0-00-18 vlan 200 interface
DCS-3950 series Ethernet switch manual
140

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents