version 15.0 no service pad service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname SW2 ! boot-start-marker boot-end-marker ! ! aaa session-id common system mtu routing 1500 ! ! ip dhcp snooping vlan 222 ip dhcp snooping information option allow-untrusted ip dhcp snooping ! spanning-tree mode pvst spanning-tree extend system-id ! ! vlan internal allocation policy ascending ! ! interface FastEthernet0/1 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/2 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/3 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/4 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/5 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/6 description AP switchport trunk encapsulation dot1q switchport trunk native vlan 222 switchport trunk allowed vlan 222,444 switchport mode trunk srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/7 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/8 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/9 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/10 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 1 30 35 5 priority-queue out mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY ! interface FastEthernet0/11 description to SW3 switchport trunk encapsulation dot1q switchport trunk native vlan 222 switchport trunk allowed vlan 222-444 switchport mode trunk spanning-tree portfast ! interface FastEthernet0/12 switchport trunk encapsulation dot1q switchport mode trunk switchport voice vlan 100 spanning-tree portfast ! interface GigabitEthernet0/1 description to SW1 switchport trunk encapsulation dot1q switchport trunk native vlan 222 switchport trunk allowed vlan 222-444 switchport mode trunk ip dhcp snooping trust ! interface GigabitEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk ! interface Vlan1 no ip address shutdown ! interface vlan222 description Data VLAN ip address 10.1.1.3 255.255.255.0 ! interface vlan333 description Voice VLAN ip address 10.1.2.3 255.255.255.0 ip helper-address 10.1.1.1 ! interface vlan444 description Guest VLAN ip address 10.1.3.3 255.255.255.0 ip helper-address 10.1.1.1 ! ip default-gateway 10.1.1.1 ip http server ip http secure-server ! !