system service rollback

Restores the specified system service to the previous running version.

Syntax

system service rollback service-name

Command Default

Parameters

service-name
Specifies the name of the service to restore.

Modes

Exec mode

Usage Guidelines

This command is available only to users with admin role.

Examples

The following example restores the previous running version of the chassis-ms service.

device# system service rollback chassis-ms

The following examples show error messages for system service rollback.

Invalid service name:

device# system service rollback temp    
Service Rollback is in progress... 
Rollback for temp failed. Current version: 0.0.0, Error: Invalid Microservice Name

Missing rollback version:

device# system service rollback chassis-ms 
Service Rollback is in progress... 
Rollback for chassis-ms failed. Current version: 0.1.0, Error: No Rollback versions present for chassis-ms