D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 MAC Address Configuration
2-21
Command Function
DES-7200(config)# mac-address-table
static mac-address vlan vlan-id
interface interface-id
mac-addr: Specify the destination MAC
address to which the entry corresponds.
vlan-id: Specify the VLAN to which this
address belongs.
interface-id: specify the interface (physical
port or aggregate port) to which the packet
is forwarded.
Upon receiving the packets to the
destination MAC address in the VLAN, the
switch will forward them to the interface.
DES-7200(config)# no
mac-address-table static
mac-address vlan vlan-id interface
interface-id
Remove the static MAC address entries.
The following example shows how to configure the static address
00d0.f800.073c. When a packet to this address is received in VLAN 4, it is
forwarded to Gigabitethernet 0/3.
DES-7200#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# mac-address-table static 00d0.f800.073c vlan 4 interface
gigabitethernet 0/3
The following example shows how to remove the static address 00d0.f800.073c.
DES-7200#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)#no mac-address-table static 00d0.f800.073c vlan 4 interface
gigabitethernet 0/3
2.7.1.2 Viewing Configurations
Command Function
DES-7200# show mac-address-table
static
Show the information of all the static
MAC addresses.
The following example shows how to view the information of all the static MAC addresses:
Vlan MAC Address Type Interface
---------- -------------------- -------- -------------------
4 00d0.f800.073c STATIC GigabitEthernet 0/3