beautypg.com

Allied Telesis AT-S100 User Manual

Page 34

background image

Chapter 2: Configuring the AT-S100 Software

34

switch(config)# mac address-table ageing-time 35

For more information about this command, see “MAC ADDRESS-TABLE
AGEING-TIME” on page 138.

Adding a Static MAC Address

To add a static address to the MAC address table, specify the MAC
address, the assigned port number, and the VLAN ID. The syntax of this
command is:

mac address-table static (xxxxxxxxxxxx) forward
interface ge(1-28) vlan(2-4094)

To add a static MAC address, 5679AEB04324, on port 15 and VLAN 2 to
the MAC address table, enter the following commands:

switch# configure terminal

switch(config)# mac address-table static 5679AEB04324
forward interface ge15 vlan2

For more information about this command, see “MAC ADDRESS-TABLE
STATIC FORWARD” on page 141.

Removing a Static MAC Address

To remove a static address from the MAC address table you must specify
the MAC address, the assigned port number, and the VLAN ID. The
syntax of this command is:

mac address-table static (xxxxxxxxxxxx) discard
interface ge(1-28) vlan(2-4094)

To remove static MAC address, 5679AEB04322, from port 15 and VLAN
3, enter the following commands:

switch# configure terminal

switch(config)# mac address-table static 5679AEB04324
forward interface ge15 vlan3

For more information about this command, see “MAC ADDRESS-TABLE
STATIC DISCARD” on page 139
.