D-Link DGS-6600-48T Product Manual - Page 413
mac address-table static, interface, show mac address-table
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 413 highlights
DGS-6604 m mac address-table static mac address-table static Use the mac address-table static command to add a static address to the MAC address table. Use the no mac address-table static command to remove static addresses from the table. mac address-table static MAC-ADDR vlan VLAN-ID interface INTERFACE-ID [ , | - ] no mac address-table static MAC-ADDR vlan VLAN-ID [interface INTERFACE-ID ] [ , | - ] Syntax Description MAC-ADDR Destination MAC address (unicast or multicast) to add to the address table. Packets with this destination address received in the specified VLAN are forwarded to the specified interface. The acceptable formats are 00-01-80-4030-20, 00:01:80:40:30:20, 000180403020, and 0001.8040.3020. vlan VLAN-ID Specifies the VLAN which will receive the packet with the specified MAC address destination. The range is 1 to 4094. interface INTERFACE-ID Specifies the interface to which received packets are forwarded to. Both physical ports and port-channels are valid. Default Command Mode Usage Guideline Example Not configured Global configuration A unicast MAC address entry can be specified with only one interface. A multicast MAC address entry can be specified with multiple interfaces. To delete a unicast MAC address entry, it is not necessary to specify the interface ID. When deleting a multicast MAC address entry, if the interface ID is specified, only that interface is removed. Otherwise, the entire multicast MAC entry will be removed. An error message will appear if the entry to be removed does not exist. This example shows how to add static address C2:F3:22:0A:12:F4 to the MAC address table. When a packet is received in VLAN 4, with this MAC address as its destination, the packet is forwarded to the specified interface: Switch(config)# mac address-table static C2:F3:22:0A:12:F4 vlan 4 interface eth3.1 Verify the setting by entering the show mac address-table command. CLI Reference Guide 403