object newbie { help "Newbie settings"; attribute now { help "Setting today's date"; flag time-only; type time; } }
user@router# set example newbie now ?
Possible completions:
<now> Setting current time
[edit]
user@router# set example newbie now 16:46:00
[edit]
user@router# commit
commit complete
[edit]
user@router# show example
newbie {
now "16:46:00 -0700";
}
[edit]
user@router# set example newbie now 2006-10-23
^
Invalid time specification at '2006-10-23'