Reset Search
 

 

Article

Execution of CLI script fails if try to create UPM profile with that script.

« Go Back

Information

 
TitleExecution of CLI script fails if try to create UPM profile with that script.
Symptoms
Following CLI script will not produce expected result:
x670V-48x[29].18 # edit script script_1.xsf
create upm profile test-profile
enable dhcp vlan mgmt
 . <- space character before the period
~
~
x670V-48x[29].19 #
x670V-48x[29].19 # load script script_1.xsf
Error:Failed to send configuration (error 0)!

x670V-48x[29].20 # 
Environment
  • All EXOS platforms
  • UPM
Cause
To finish creation of UPM profile you should place period character (.)  at the start of the line next to UPM profile body. UPM profile creation will fail if place another character before period including space character.

 
Resolution
Use single period character in a line next to UPM script body:
x670V-48x[29].30 # edit script script_1.xsf
create upm profile test-profile
enable dhcp vlan mgmt
. <- single period character in a line next to UPM profile
~
~
x670V-48x[29].31 #
x670V-48x[29].31 # load script script_1.xsf
%% Unrecognized command:  "create upm profile test-profile"
%% Unrecognized command:  " ."
x670V-48x[29].32 # show upm profile
================================================================================
UPM Profile          Events                 Flags Ports
================================================================================
test-profile                                   e
================================================================================
Number of UPM Profiles: 1
Number of UPM Events in Queue for execution: 0
Flags: d - disabled, e - enabled 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255