Set fdb – 3Com WXR100 3CRWXR10095A User Manual
Page 169

set fdb
169
set fdb
Adds a permanent or static entry to the forwarding database.
Syntax —
set fdb {perm | static}
mac-addr port port-list vlan vlan-id [tag tag-value]
perm
— Adds a permanent entry. A permanent entry does not age out
and remains in the database even after a reboot, reset, or power cycle.
static
— Adds a static entry. A static entry does not age out, but is
removed from the database after a reboot, reset, or power cycle.
mac-addr
— Destination MAC address of the entry. Use colons to
separate the octets (for example, 00:11:22:aa:bb:cc).
port
port-list
— List of physical destination ports for which to add
the entry. A separate entry is added for each port you specify.
vlan
vlan-id
— Name or number of a VLAN of which the port is a
member. The entry is added only for the specified VLAN.
tag
tag-value
— VLAN tag value that identifies a virtual port. You
can specify a number from 1 through 4095. If you do not specify a tag
value, an entry is created for an untagged interface only. If you specify
a tag value, an entry is created only for the specified tagged interface.
Defaults — None.
Access — Enabled.
History —Introduced in MSS Version 3.0.
Usage — You cannot add a multicast or broadcast address as a
permanent or static FDB entry.
Examples — The following command adds a permanent entry for MAC
address 00:11:22:aa:bb:cc on ports 3 and 5 in VLAN blue:
WX1200# set fdb perm 00:11:22:aa:bb:cc port 3,5 vlan blue
success: change accepted.
The following command adds a static entry for MAC address
00:2b:3c:4d:5e:6f on port 1 in the default VLAN:
WX4400# set fdb static 00:2b:3c:4d:5e:6f port 1 vlan default
success: change accepted.