![background image](http://html1.mh-extra.com/html/tp-link/tl-sl2210/tl-sl2210_reference-manual_1145774058.webp)
48
Chapter 10 MAC Address Commands
MAC address configuration can improve the network security by configuring the Port Security and
maintaining the address information by managing the Address Table.
mac address-table static
Description
The
mac address-table static
command is used to add the static MAC address
entry. To remove the corresponding entry, please use
no
mac address-table
static
command. The static address can be added or removed manually,
independent of the aging time. In the stable networks, the static MAC address
entries can facilitate the switch to reduce broadcast packets and enhance the
efficiency of packets forwarding remarkably.
Syntax
mac address-table static mac
mac-addr
vid
vid
interface
{
fastEthernet
port
|
gigabitEthernet
port
}
no mac address-table static
{
mac
mac-addr
|
vid
vid
|
mac
mac-addr
vid
vid
|
interface
{
fastEthernet
port
| gigabitEthernet
port
}
}
Parameter
mac-addr
——
The MAC address of the entry you desire to add.
vid
——
The VLAN ID number of your desired entry. It ranges from 1 to 4094.
port
——
The Ethernet port number of your desired entry.
Command Mode
Global Configuration Mode
Example
Add a static Mac address entry to bind the MAC address 00:02:58:4f:6c:23,
VLAN1 and port 1 together:
TL-SL2428(config)# mac address-table static mac
00:02:58:4f:6c:23
vid
1
interface fastEthernet
1/0/1
Содержание TL-SL2210
Страница 1: ...TL SL2210 TL SL2218 TL SL2428 TL SL2452 Smart Switch REV1 1 0 1910010971...
Страница 43: ...33 Example Display the security configuration information of the users TL SL2428 config show user configuration...
Страница 54: ...44 Example Display the global configuration of SSH TL SL2428 config show ip ssh...
Страница 81: ...71 Example Show the cable diagnostics of port 3 TL SL2428 show cable diagnostics interface fastEthernet 1 0 3...