/
set protocols ovsdb controller vrf

set protocols ovsdb controller vrf


The set protocols ovsdb controller vrf command configures the VRF where to run the Open vSwitch Database (OVSDB) management protocol.


Command Syntax

set protocols ovsdb controller <controller-name> vrf <mgmt-vrf | default>


Parameter

Parameter

Description

controller <controller-name>

Specifies the OVSDB controller name. The value is a string.

vrf <mgmt-vrf | default>

Optional. Specifies the VRF where to run the OVSDB management protocol. The value could be mgmt-vrf or default.

  •   mgmt-vrf: specifies the management VRF to run the OVSDB management protocol.
  •   default: specifies the default VRF to run the OVSDB management protocol.

The default value is default, indicating that OVSDB management protocol runs in the default VRF if not explicitly bound to any VRF.


Usage Guidelines

OVSDB management protocol runs in the management VRF by default, and supports to be configured in the default VRF. The corresponding OVSDB controller is required to be route reachable in the VRF running OVSDB management protocol.

Note: The latest configuration overrides the previous one.


Example

  • Configure the OVSDB management protocol to run in the user-defined management VRF.
admin@Xorplus# set protocols ovsdb controller c1 vrf mgmt-vrf
admin@Xorplus# commit


Copyright © 2025 Pica8 Inc. All Rights Reserved.