beautypg.com

Adding a mac address entry in ethernet port view, Setting the mac address aging timer – H3C Technologies H3C S3600 Series Switches User Manual

Page 238

background image

1-6

z

When you add a MAC address entry, the port specified by the interface argument must belong to

the VLAN specified by the vlan argument in the command. Otherwise, the entry will not be added.

z

If the VLAN specified by the vlan argument is a dynamic VLAN, after a static MAC address is

added, it will become a static VLAN.

Adding a MAC address entry in Ethernet port view

Follow these steps to add a MAC address entry in Ethernet port view:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Add a MAC address entry

mac-address { static |
dynamic | blackhole }
mac-address vlan vlan-id

Required

z

When you add a MAC address entry, the current port must belong to the VLAN specified by the

vlan argument in the command. Otherwise, the entry will not be added.

z

If the VLAN specified by the vlan argument is a dynamic VLAN, after a static MAC address is

added, it will become a static VLAN.

Setting the MAC Address Aging Timer

Setting an appropriate MAC address aging timer is important for the switch to run efficiently.

z

If the aging timer is set too long, excessive invalid MAC address entries maintained by the switch

may fill up the MAC address table. This prevents the MAC address table from being updated with

network changes in time.

z

If the aging timer is set too short, the switch may remove valid MAC address entries. This

decreases the forwarding performance of the switch.

Follow these steps to set aging time of MAC address entries:

To do…

Use the command…

Remarks

Enter system view

system-view

Set the MAC address
aging timer

mac-address timer { aging age |
no-aging }

Required

The default is 300 seconds.

This manual is related to the following products: