Creates a permanent static FDB entry.
mac_addr | Specifies a device MAC address, using colon-separated bytes. |
vlan_name | Specifies a VLAN name associated with a MAC address. |
port_list | Specifies one or more ports or slots and ports associated with the MAC address. |
tagged tag | Specifies the port-specific VLAN tag. When there are multiple ports specified in port_list, the same tag is used for all of them. |
blackhole | Enables the blackhole option. Any packets with either a source MAC address or a destination MAC address matching the FDB entry are dropped. |
N/A.
Permanent static entries are designated by spm in the flags field of the show fdb output. You can use the show fdb command to display permanent FDB entries.
If the static entry is for a PVLAN VLAN that requires more than one underlying entry, the system automatically adds the required entries. For example, if the static entry is for a PVLAN network VLAN, the system automatically adds all required extra entries for the subscriber VLANs.
You can create FDB entries to multicast MAC addresses and list one or more ports. If more than one port number is associated with a permanent MAC entry, packets are multicast to the multiple destinations.
IGMP snooping rules take precedence over static multicast MAC addresses in the IP multicast range (01:00:5e:xx:xx:xx) unless IGMP snooping is disabled.
Note
When a multiport list is assigned to a unicast MAC address, load sharing is not supported on the ports in the multiport list.The following command adds a permanent, static entry to the FDB for MAC address 00 E0 2B 12 34 56, in VLAN marketing on slot 2, port 4 on a modular switch:
create fdb 00:E0:2B:12:34:56 vlan marketing port 2:4
The following example creates a multiport unicast FDB entry, in VLAN black, on slot 1, ports 1, 2, and 4, on the BlackDiamond 8800 family of switches:
create fdb 01:00:00:00:00:01 vlan black port 1:1, 1:2, 1:4
The following example adds a permanent, static entry to the FDB for MAC address 00:01:02:03:04:05, in VLAN marketing, on a VLAN port that has tag 100 on port 3 on a switch:
create fdb 00:01:02:03:04:05 vlan msk ports 3 tag 100
This command was first available in ExtremeXOS 10.1.
The ability to create a multicast FDB with multiple entry ports was added in ExtremeXOS 11.3.
The blackhole option was first available for all platforms in ExtremeXOS 12.1.
The ability to create a unicast FDB with multiple entry ports was available for the BlackDiamond 8000 c-, and e-series modules in ExtremeXOS 12.1. This feature is supported on all later platforms when introduced.
The tag keyword and example was added in ExtremeXOS 15.4.
This command is available on all platforms.