Configuring OVSDB Replication

Use the following procedure to configure OVSDB replication to support vIST.

Before you begin

  • You must enable VXLAN Gateway Full Interworking Mode on the switch.

  • You must configure an OVSDB managed interface on the switch.

  • You must configure and enable OVSDB protocol support for VXLAN Gateway on the switch.

  • You must have at least two NVCs configured to communicate on the managed interface network.

Procedure

  1. Enter OVSDB Configuration mode:

    enable

    configure terminal

    ovsdb

  2. Configure the OVSDB replication:

    replication peer-ip <A.B.C.D> local-ip <A.B.C.D>

Example

The following is an example configuring OVSDB replication to support VIST.
SWITCH:1>enable
SWITCH:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SWITCH:1(config)#ovsdb
SWITCH:1(config-ovsdb)#replication peer-ip 192.0.2.3 local-ip 192.0.2.2

Variable definitions

Use the data in the following table to use the replication command.

Variable

Value

peer-ip <A.B.C.D>

Specifies the IP address of the secondary controller for OVSDB replication support.

local-ip <A.B.C.D>

Specifies the IP address of the primary controller for OVSDB replication support.