hi johan,
As per your guidance the end to end configuration would be like this.....
Requirement
2 vlans
one data VLAN 20----------10.0.0.1/25
second voice VLAN 10----------10.0.0.128/25
SWITCH******
! *** IP ***
ip default-gateway 10.0.0.1
ip address switch 10.0.0.2 255.255.255.0
ip address source configured-address
********************************************
*** VLAN ***
!
vlan create 10 type port
Vlan create 20 type port
vlan name 1 "unused"
vlan name 10 "Voice"
vlan name 20 "data"
vlan ports 3-20 tagging unTagPvidOnly
vlan ports 22-26 tagging tagAll filter-untagged-frame enable (OR) vlan ports 22-26 tagging tagall
vlan configcontrol flexible
vlan mem remove 1 all
vlan members 20 3-26
vlan ports 3-26 pvid 20.....(THIS IS CORRECT)..

vlan members 10 1-26
vlan ports 1-2 pvid 10....(THIS IS CORRECT)..

no auto-pvid
vlan mgmt 20
*********************************************
************ROUTER
Router(config-subif)#int fa0/0.1
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip add 10.0.0.128 255.255.255.128
Router(config-subif)#int fa0/0.2
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip add 10.0.0.1 255.255.255.128...
***********************************************
and what about the discovery protocols like ADAC or LLDP...u no where mentioned that.....wont I have to enable that also?

?
and is it possible/safe to do these basic configurations from EDM..??
thanksss