Controller Configuration
7 min
\<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] 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] 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] 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] sonic# configure sonic(config)# ucentral client mode standalone \<font color="#1d50a2">ucentral client server \</font> \[command] ucentral client server { url | x x x x } \[vrf 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 or 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] sonic# configure sonic(config)# ucentral client server 192 168 0 91 vrf mgmt
