Specifications

5-8 VLAN Commands
set fdb
Addsapermanentorstaticentrytotheforwardingdatabase.
Syntax
set fdb {perm | static} macaddr port portlist vlan vlanid [tag tagvalue]
Parameters
Defaults
None.
Mode
Enabled.
Usage
YoucannotaddamulticastorbroadcastaddressasapermanentorstaticFDBentry.
Example
ThefollowingcommandaddsapermanententryforMACaddress00:1 1:22:aa:bb:cconports3
and5inVLANblue:
RBT-8100# set fdb perm 00:11:22:aa:bb:cc port 3,5 vlan blue
success: change accepted.
ThefollowingcommandaddsastaticentryforMACaddress00:2b:3c:4d:5e:6f onport1inthe
defaultVLAN:
RBT-8100# set fdb static 00:2b:3c:4d:5e:6f port 1 vlan default
success: change accepted.
Related Commands
clearfdbonpage 52
showfdbonpage 514
perm Addsapermanententry.Apermanententrydoesnotageoutandremains
inthedatabaseevenafterareboot,reset,orpowercycle.
static Addsastaticentry.Astaticentrydoesnotageout,butisremovedfromthe
databaseafterareboot,reset,orpowercycle.
macaddr DestinationMACaddressoftheentry. Usecolonstoseparatetheoctets(for
example,00:11:22:aa:bb:cc).
port portlist Listofphys icaldestinationportsforwhichtoaddtheentry.Aseparate
entryisaddedforeachportyouspecify.
vlan vlanid Nameor
numberofaVLANofwhichtheportisamember.Theentryis
addedonlyforthespecifiedVLAN.
tag tagvalue VLANtagvaluethatidentifiesavirtualport.Youcanspecifyanumber
from1through4093.Ifyoudonotspecifyatagvalue,anentryiscreated
for
anuntaggedinterfaceonly.Ifyouspecify atagvalue,anentryiscreated
onlyforthespecifiedtaggedinterface.