Configuring MAC Address Table Management 135Configuring a MACAddress EntryYou can add, modify, or remove a MAC address entry, remove all MAC addressentries concerning a specific port, or remove specific type of MAC address entries(dynamic or static MAC address entries).You can add a MAC address entry in either system view or Ethernet port view.Adding a MAC address entry in system viewc CAUTION:■ When you add a MAC address entry, the port specified by the interfaceargument must belong to the VLAN specified by the vlan argument in thecommand. Otherwise, the entry will not be added.■ If the VLAN specified by the vlan argument is a dynamic VLAN, after a staticMAC address is added, it will become a static VLAN.Adding a MAC address entry in Ethernet port viewc CAUTION:■ When you add a MAC address entry, the current port must belong to the VLANspecified by the vlan argument in the command. Otherwise, the entry will notbe added.■ If the VLAN specified by the vlan argument is a dynamic VLAN, after a staticMAC address is added, it will become a static VLAN.Setting the Aging Timeof MAC Address EntriesSetting aging time properly helps effective utilization of MAC address aging. Theaging time that is too long or too short affects the performance of the switch.■ If the aging time is too long, excessive invalid MAC address entries maintainedby the switch may fill up the MAC address table. This prevents the MACaddress table from being updated with network changes in time.■ If the aging time is too short, the switch may remove valid MAC addressentries. This decreases the forwarding performance of the switch.Table 90 Add a MAC address entry in system viewOperation Command DescriptionEnter system view system-view -Add a MAC address entry mac-address { static |dynamic | blackhole }mac-address interfaceinterface-typeinterface-number vlan vlan-idRequiredTable 91 Add a MAC address entry in Ethernet port viewOperation Command DescriptionEnter system view system-view -Enter Ethernet port view interface interface-typeinterface-number-Add a MAC address entry mac-address { static |dynamic | blackhole }mac-address vlan vlan-idRequired