How to enter input values for a leaf-list?

Hi,

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

consider,

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 (10.1.1.1) (10.1.1.2) (10.1.1.3)

Thanks in Advance!

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