Static MAC entries and Dynamic MAC Address Learning


You can configure a static MAC entry in the FDB and manage dynamic MAC address learning (for example, configuring aging time or deleting the dynamic MAC address entry).

Configuring a Static MAC Entry and Managing the FDB

admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 static-ethernet-switching mac-address 22:22:22:22:22:22 vlan 1
admin@XorPlus# set interface ethernet-switching-options mac-table-aging-time 60
admin@XorPlus# commit 
Waiting for merging configuration.
Commit OK.
Save done.
admin@XorPlus# run show ethernet-switching table 
Total entries in switching table: 2
Static entries in switching table: 0
Dynamic entries in switching table: 2
VLAN MAC address Type Age Interfaces
---- ----------------- ------- ---- ----------
1 00:22:be:96:f2:83 Dynamic 60 ge-1/1/1 
1 00:22:be:96:f2:84 Dynamic 60 ge-1/1/2 
admin@XorPlus# run clear ethernet-switching table all
admin@XorPlus# run show ethernet-switching table 
Total entries in switching table: 0
Static entries in switching table: 0
Dynamic entries in switching table: 0
VLAN MAC address Type Age Interfaces
---- ----------------- ------- ---- ---------- 
admin@XorPlus# 

Copyright © 2024 Pica8 Inc. All Rights Reserved.