Configuring the REST API Plug-in
You can configure the REST API plug-in and dynamically load content.
SUMMARY STEPS
- switch (config)# plugin unload plugin_name
- switch (config)# plugin load location
- switch (config)# show plugin status
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 |
switch (config)# plugin unload plugin_name |
Unloads the REST API plug-in completely from the system.
|
||||
Step 2 |
switch (config)# plugin load location |
Loads the REST API plug-in.
|
||||
Step 3 |
switch (config)# show plugin status |
Displays the status of all the plug-ins installed in the system. |
Example
This example shows how to unload and load the REST API plug-in:
switch(config)# plugin unload rest
switch(config)# plugin load bootflash:///rest_sup1sf.gbin
This example shows how to display the status of the installed plug-in:
switch(config) # show plugin status
Plugin-name Version Status
------------------------- ----------------- -----------------
Rest Plugin 1.0(1) Loaded