86 mac-address-table forward, 87 mac-address-table discard – CANOGA PERKINS 9175 Command Reference User Manual
Page 734
![background image](/manuals/651401/734/background.png)
CanogaOS Command Reference
40-63
40.86 mac-address-table forward
Use the mac-address-table forward global configuration command on the switch to add static
addresses to the MAC address table. Use the no form of this command to remove static entries from the
table.
Command Syntax
mac-address-table mac-addr forward interface-id vlan vlan-id
no mac-address-table mac-addr forward interface-id vlan vlan-id
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.
interface-id
Interface to which the received packet is forwarded. Valid interfaces include
physical ports and link aggregation ports.
vlan-id
Specify the VLAN for which the packet with the specified MAC address is
received. The range is 1 to 4094.
Command Mode
Global configuration
Default
No static addresses are configured.
Usage
Examples
This example shows how to add the static address c2f3.220a.12f4 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 c2f3.220a.12f4 forward eth-0-1 vlan 4
You can verify your setting by entering the show mac address-table privileged EXEC command.
Related Commands
show mac address-table
40.87 mac-address-table discard
Use the mac-address-table discard global configuration command on the switch to enable unicast
MAC address filtering and to configure the switch to drop traffic with a specific source or destination
MAC address. Use the no form of this command to return to the default setting.
Command Syntax