83 mac-address-table forward – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 806

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 806 of 855

Usage

If hosts do not send continuously, increase the aging time to record the dynamic entries for a longer
time. Increasing the time can reduce the possibility of flooding when the hosts send again.


Examples

This example shows how to set the aging time to 200 seconds for all VLANs:
Switch(config)# mac-address-table aging-time 200
You can verify your setting by entering the show mac address-table aging-time privileged EXEC
command.


Related Commands

show mac address-table aging-time

40.83 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

Advertising