Actual behaviour of clock command :
ise249/admin(config)# clock ?
timezone Configure system timezone
ise249/admin(config)# clock timezone ?
<WORD> Timezone (see 'show timezones' command) (Max Size - 64)
ise249/admin(config)# clock timezone Asia/Kolkata ?
<cr> Carriage return
Mean while admin entered the enter by mistake after clock timezone then it’s showing the error message
ise249/admin(config)# clock timezone
% Internal error during command execution
We designed by using YANG model above approch :
confdise245(config)# clock ?
Possible completions:
timezone Configure system timezone
confdise245(config)# clock timezone
(\<string>) (Asia/Kolkata):
Above approach it’s showing the (<string>) (Asia/Kolkata): , Here it’s should show some incomplete or some error.
Could please help me to show the error or some incomplete message .
here am attached my yang model design
container clock {
description "Configure system timezone";
leaf timezone {
type string ;
description "name of time zone";
}
}