Configuring FDB Entries

83

Configuring FDB To configure entries in the FDB, use the commands listed in Table 21.

Entries

Table 21 FDB Configuration Commands

Command

Description

create fdbentry <mac_address> vlan <name> [blackhole <portlist> dynamic] {qosprofile <qosname>}

Creates an FDB entry. Specify the following:

mac_address — Device MAC address, using colon separated bytes.

name — VLAN associated with MAC address.

blackhole — Configures the MAC address as a blackhole entry.

portlist — Port numbers associated with MAC

 

address.

 

dynamic — Specifies that the entry will be learned

 

dynamically. Used to associated a QoS profile with

 

a dynamically learned entry.

 

qosname — QoS profile associated with MAC

 

address.

 

If more than one port number is associated with a

 

permanent MAC entry, packets are multicast to the

 

multiple destinations.

config fdb agingtime <number>

Configures the FDB aging time. The range is 15

 

through 1,000,000 seconds. The default value is 300

 

seconds. A value of 0 indicates that the entry should

 

never be aged out.

enable learning ports <portlist>

Enables MAC address learning on one or more ports.

disable learning ports

Disables MAC address learning on one or more ports

<portlist>

for security purposes. If MAC address learning is

 

disabled, only broadcast traffic and packets destined to

 

a permanent MAC address matching that port

 

number, are forwarded. The default setting is enabled.

 

 

FDB Configuration Examples

The following example adds a permanent entry to the FDB:

create fdbentry 00:D0:96:BF:31:50 vlan marketing port 4

The permanent entry has the following characteristics:

MAC address is 00D096BF3150.

VLAN name is marketing.

Page 83
Image 83
3Com 9100 manual Entries, Following example adds a permanent entry to the FDB, Config fdb agingtime number, Portlist