
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan 10
switch(config-if)# switchport voice vlan 11
switch(config-if)# spanning-tree portfast
Switch(config-if)#spanning-tree bpduguard enable

switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan 10
switch(config-if)# switchport voice vlan 11
switch(config-if)# spanning-tree portfast
Switch(config-if)#spanning-tree bpduguard enable