I guess this post is quite old now ,but however I will clarify some issues.
you stated that "what i know is that we configure vlan in the core switch with this command
ip dhcp pool vlanname
network
defuult-router
dns-server
netbois-name-server "
this is not vlan configuration but DHCP Configuration the vlanname is just the name for the DHCP Pool.
vlanname was just used to make a description specifying the pool of IP will be for that subnet,which ties down to a vlan
as in the case of one vlan per subnet. so that user in a particular vlan will receive ip address in a subnet.
For your question,
how do i configure local vlan?
Answer, it is just like configuring basic vlan.
Local vlan is a design structure in which all vlans are tired down to a particular device or location.
They cannot be spanned to different geographic locations as in the case of end to end vlans.
you use the same syntax as for local and end to end vlans.
conf term
vlan X
name whatyouwant
or
in vlan database which i now depleted in recent ios.
#vlan database
vlan X
name whatyouwant
Finally Local vlan is a design and you cannot configure it .
Please have a look at Weldom Odoom -Cisco Press books and you will see more details.
Thanks.