How to enter input values for a leaf-list?


Can you please help me to understand how to enter input values for a leaf-list node which doesn’t have any tailf extensions?


container dhcp-server {
	container options {
		leaf-list dns-servers {
                          type inet:ipv4-address;
                          max-elements 8;

So, should we enter like below?

#dhcp server options dns-servers ( ( (

Thanks in Advance!

Your input should be like this …dns-servers [ ] or you can enter individually also . Like below
set …dns-servers
set … dns-servers
Results show will be
dns-servers [ ]