Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show ovsdb mac

Syntax

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.

none

Display all MAC addresses, which includes all local, remote, unicast, and multicast addresses associated with all logical switches.

address mac-address

Display 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.

local

Display all local MAC addresses.

logical-switch logical-switch-uuid

Display all MAC addresses associated with the specified logical switch in the logical switch table of the OVSDB schema for physical devices.

multicast

Display all multicast MAC addresses.

remote

Display all remote MAC addresses.

unicast

Display all unicast MAC addresses.

Required Privilege Level

admin

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

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)

Release Information

Command introduced in Junos OS Release 14.1R2.