Specifications
5-8 VLAN Commands
set fdb
Addsapermanentorstaticentrytotheforwardingdatabase.
Syntax
set fdb {perm | static} mac‐addr port port‐list vlan vlan‐id [tag tag‐value]
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 5‐2
• showfdbonpage 5‐14
perm Addsapermanententry.Apermanententrydoesnotageoutandremains
inthedatabaseevenafterareboot,reset,orpowercycle.
static Addsastaticentry.Astaticentrydoesnotageout,butisremovedfromthe
databaseafterareboot,reset,orpowercycle.
mac‐addr DestinationMACaddressoftheentry. Usecolonstoseparatetheoctets(for
example,00:11:22:aa:bb:cc).
port port‐list Listofphys icaldestinationportsforwhichtoaddtheentry.Aseparate
entryisaddedforeachportyouspecify.
vlan vlan‐id Nameor
numberofaVLANofwhichtheportisamember.Theentryis
addedonlyforthespecifiedVLAN.
tag tag‐value VLANtagvaluethatidentifiesavirtualport.Youcanspecifyanumber
from1through4093.Ifyoudonotspecifyatagvalue,anentryiscreated
for
anuntaggedinterfaceonly.Ifyouspecify atagvalue,anentryiscreated
onlyforthespecifiedtaggedinterface.