create fdb vlan ports
Description
Creates a permanent static FDB entry.
Syntax Description
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. |
broadcast | Forwarding destination(s) for broadcast traffic. |
unknown-unicast | Forwarding destination(s) for unknown unicast traffic. |
unknown-unicast | Forwarding destination(s) for unknown multicast traffic. |
vxlan | The MAC address is reachable through a VXLAN Tunnel. |
vr | VR/VRF instance the IPv4 address is configured on. |
vr_name | An existing VR/VRF name. |
ipaddress | Configure the IP address of the remote tunnel endpoint to which the MAC needs to be bound. |
remote_ipaddress | IPv4 address of the remote tunnel endpoint. |
Default
N/A.
Usage Guidelines
- A VLAN identifier (VLANid) is changed.
- A port is disabled.
- A port enters blocking state.
- A port goes down (link down).
- A VLAN is deleted.
- A port mode is changed (tagged/untagged).
- A port is deleted from a VLAN.
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](../../images/Note_Note.png)
Note
When a multiport list is assigned to a unicast MAC address, load sharing is not supported on the ports in the multiport list.In ExtremeXOS 21.1, this command was extended to add a remote VTEP as a destination to a MAC address. Three new tokens “broadcast”, “unknown-multicast” and “unknown-unicast” have been added to this command. When you want to specify a destination to forward all broadcast or unknown unicast traffic on that VLAN, these token are used. For “broadcast”, “unknown-multicast” and “unknown-unicast” only remote VTEPs (and not port_list or blackhole) can be specified in this release of EXOS. These entries can only be created when the virtual-network is in explicit-remote flooding mode.
Example
The following command adds a permanent, static entry to the FDB for MAC address 00 E0 2B 12 34 56, in VLAN marketing on port 4 on a switch:
create fdb 00:E0:2B:12:34:56 vlan marketing port 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
History
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 tag keyword and example was added in ExtremeXOS 15.4.
Three new tokens “broadcast”, “unknown-multicast” and “unknown-unicast” were added to this command in ExtremeXOS 21.1.
Platform Availability
This command is available on all platforms.