---
title: Controller Configuration
slug: enterprise-v5p2/controller-configuration
createdAt: 2025-12-30T08:54:33.484Z
---

## <font color="#1d50a2">**show ucentral-client server configuration**</font>

**\[Command]**

**show ucentral-client server configuration**

**\[Purpose]**

Show the configuration of the controller server on the device.

**\[View]**

System View

**\[Usage Scenario]**

When using a controller to manage the switch, you can use this command to view the configuration of the controller server address on the switch.

**\[Use Cases]**

```text
sonic# show ucentral-client server configuration
ServerIP      Vrf
------------  -----
192.168.0.91  mgmt
```

## <font color="#1d50a2">**show ucentral-client server status**</font>

**\[Command]**

**show ucentral-client server status**

**\[Purpose]**

Show the connection status between the device and the controller server.

**\[View]**

System View

**\[Usage Scenario]**

When using a controller to manage the switch, you can use this command to view the connection status between the switch and the controller server.

**\[Use Cases]**

```text
sonic# show ucentral-client server status
+--------------+-----------+
| ServerIP     | status    |
+==============+===========+
| 192.168.0.91 | connected |
+--------------+-----------+
```

## <font color="#1d50a2">**ucentral-client enable**</font>

**\[Command]**

**ucentral-client enable**

**\[Purpose]**

Enable the controller management function. After enabling this function, the device can be managed by the controller.

**\[View]**

System Configuration View

**\[Usage Scenario]**

When using a controller to manage the device, this service must be enabled. The controller manages and monitors the switch through the ucentral service.

**\[Use Cases]**

```text
sonic# configure 
sonic(config)# ucentral-client enable
```

## <font color="#1d50a2">ucentral-client mode standalone</font>

**\[Command]**
**ucentral-client node standalone**

**\[Purpose]**
Enable the WEB-UI management function of the device.

**\[View]**
System Configuration View

**\[Notes]**
After this function is enabled, the device cannot be managed by the controller. The WEBUI can be used to configure the switch. Enter **https\://X.X.X.X:8080** in the browser to log in to the WEB interface and configure the switch functions. The username/password is the system login credentials of the switch.

**\[Use Cases]**

```none
sonic# configure 
sonic(config)# ucentral-client mode standalone
```

## <font color="#1d50a2">**ucentral-client server** </font>

**\[Command]**

**ucentral-client server \{***url***&#x20;|&#x20;***x.x.x.x***} \[vrf&#x20;***vrf\_name***]**

**\[Purpose]**

Configure the controller server IP address or URL.

**\[Parameter]**

| **Parameter** | **Description**                                                                                                       |
| ------------- | --------------------------------------------------------------------------------------------------------------------- |
| url           | The url address of the controller                                                                                     |
| x.x.x.x       | The ip address of the controller                                                                                      |
| vrf\_name     | Specify which VRF interface the switch uses to connect to the controller, typically **mgmt&#x20;**&#x6F;r **default** |

**\[View]**

System Configuration View

**\[Usage Scenario]**

When using a controller to manage the device, you need to configure the controller's server IP address or URL on the switch. If using a URL, you must ensure that the switch has a correctly configured DNS to resolve that URL.

**\[Use Cases]**

```text
sonic# configure 
sonic(config)# ucentral-client server 192.168.0.91 vrf mgmt
```













