Command Line Reference
Device Management
Controller Configuration
6 min
show ucentral client server configuration show ucentral client server configuration \[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 show ucentral client server status show ucentral client server status \[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 | + + + ucentral client enable ucentral client enable \[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 ucentral client server ucentral client server \[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
