5. end DETAILED STEPS Procedure Lifecycle of an Application The following EXEC commands take you through an application's lifecycle. Note If any configuration changes are made after an application is installed, the application in the running state will not reflect these changes. The application must be explicitly stopped and deactivated, and then activated and started again for the configuration changes to take effect. SUMMARY STEPS 1. enable 2. app-hosting install appid application-name package package-path 3. app-hosting activate appid application-name 4. app-hosting start appid application-name 5. app-hosting stop appid application-name 6.
app-hosting deactivate appid application-name Application Hosting Lifecycle of an Application Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 app-hosting appid application-name Example: Device(config)# app-hosting appid iox app _ Configures an application and enters application-hosting configuration mode. Step 4 start Example: Device(config-app-hosting)# start (Optional) Starts and runs an application. • Use the no start command to stop the application. Step 5 end Example:
Device(config-app-hosting)# end Exits application-hosting configuration mode and returns to privileged EXEC mode. Application Hosting 19