Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show ovsdb mac

 

Syntax

Release Information

Command introduced in Junos OS Release 14.1R2.

Command introduced in Junos OS Release 14.1X53-D10 for QFX Series switches.

Command introduced in Junos OS Release 14.2 for EX Series switches.

Description

Display media access control (MAC) addresses, as well as information about the MAC addresses, learned by a Juniper Networks device that functions as a hardware virtual tunnel endpoint (VTEP). Using the Open vSwitch Database (OVSDB) management protocol, this hardware VTEP can learn about MAC addresses directly or from other software or hardware VTEPs. The MAC addresses learned directly by the hardware VTEP are known as local addresses, while the addresses learned from other software or hardware VTEPs are known as remote addresses.

Options

Use one or more of the following options to display a more specific list of MAC addresses and information about the MAC addresses. For example, to display a list of local unicast MAC addresses, you can issue the show ovsdb mac local unicast command.

noneDisplay all MAC addresses, which includes all local, remote, unicast, and multicast addresses associated with all logical switches.
address mac-addressDisplay the specified MAC address.
count(All Juniper Networks devices that support OVSDB except EX9200 switches) Display the number of MAC addresses learned by the Juniper Networks device. Using this option alone, the number includes all local, remote, unicast, and multicast MAC addresses associated with all logical switches in the logical switch table of the OVSDB schema for physical devices. You can use this option with one or more of the other options to display a more specific count of MAC addresses. For example, to display the number of local and remote unicast MAC addresses, you can issue the show ovsdb mac count local remote unicast command.
localDisplay all local MAC addresses.
logical-switch logical-switch-uuidDisplay all MAC addresses associated with the specified logical switch in the logical switch table of the OVSDB schema for physical devices.
multicastDisplay all multicast MAC addresses.
remoteDisplay all remote MAC addresses.
unicastDisplay all unicast MAC addresses.

Required Privilege Level

admin

List of Sample Output

show ovsdb mac

show ovsdb mac address

show ovsdb mac logical-switch

show ovsdb mac local unicast

show ovsdb mac (Count of All Local, Remote, Unicast, and Multicast MAC Addresses for All Logical Switches)

Output Fields

Table 1 lists the output fields for the show ovsdb mac command. Output fields are listed in the approximate order in which they appear.

Table 1: show ovsdb mac Output Fields

Field Name

Field Description

Logical Switch Name

Universally unique identifier (UUID) of the logical switch.

MAC Address

MAC addresses of virtual machines (VMs).

IP Address

IP address of VMs.

Note: If the IP addresses of VMs are not published by the SDN controller, this field displays 0.0.0.0.

Encapsulation

Encapsulation type.

VTEP Address

IP address of the hardware or software VTEP from which the MAC address was learned. Further, this VTEP can forward VM traffic to the associated host.

MAC Count

Note: This field is supported by all Juniper Networks devices that support OVSDB except EX9200 switches.

Number of all or specified MAC addresses learned by the Juniper Networks device.

Sample Output

show ovsdb mac

user@host> show ovsdb mac

show ovsdb mac address

user@host> show ovsdb mac address 02:00:00:00:03:01

show ovsdb mac logical-switch

user@host> show ovsdb mac logical-switch bf6d4fd4-f5f6-430c-8c37-4033ef1c55ab

show ovsdb mac local unicast

user@host> show ovsdb mac local unicast

show ovsdb mac (Count of All Local, Remote, Unicast, and Multicast MAC Addresses for All Logical Switches)

user@host> show ovsdb mac count