version 12.2 no service pad service timestamps debug datetime localtime show-timezone service timestamps log datetime localtime show-timezone service password-encryption ! hostname SW1 ! ip dhcp snooping vlan 222 ip dhcp snooping information option allow-untrusted ip dhcp snooping database flash:dhcpsnoop.txt ip dhcp snooping ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id spanning-tree vlan 222-444 priority 24576 ! vlan internal allocation policy ascending ! ! interface GigabitEthernet0/1 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/2 switchport access vlan 222 switchport mode access srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/3 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/4 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/5 switchport access vlan 222 switchport mode access switchport voice vlan 333 spanning-tree portfast ! interface GigabitEthernet0/6 description to WAN router switchport trunk encapsulation dot1q switchport trunk native vlan 222 switchport trunk allowed vlan 222-444 switchport mode trunk spanning-tree portfast ip dhcp snooping trust ! interface GigabitEthernet0/7 switchport access vlan 222 switchport mode access spanning-tree portfast ! interface GigabitEthernet0/8 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/9 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/10 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/11 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/12 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/13 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/14 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/15 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/16 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/17 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/18 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/19 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/20 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/21 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/22 ! interface GigabitEthernet0/23 switchport access vlan 222 switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/24 switchport access vlan 222 switchport mode access switchport voice vlan 333 srr-queue bandwidth share 10 10 60 20 srr-queue bandwidth shape 10 0 0 0 queue-set 2 mls qos trust device cisco-phone mls qos trust cos auto qos voip cisco-phone spanning-tree portfast ! interface GigabitEthernet0/25 description to SW4 switchport trunk encapsulation dot1q switchport trunk native vlan 222 switchport trunk allowed vlan 222-444 switchport mode trunk spanning-tree portfast ip dhcp snooping trust ! interface GigabitEthernet0/26 description to SW2 switchport trunk encapsulation dot1q switchport trunk native vlan 222 switchport trunk allowed vlan 222-444 switchport mode trunk ip dhcp snooping trust ! interface GigabitEthernet0/27 switchport access vlan 222 switchport mode access switchport voice vlan 333 spanning-tree portfast ! interface GigabitEthernet0/28 switchport access vlan 222 switchport mode access switchport voice vlan 333 spanning-tree portfast ! interface Vlan1 no ip address shutdown ! interface vlan222 description Data VLAN ip address 10.1.1.2 255.255.255.0 ! interface vlan333 description Voice VLAN ip address 10.1.2.2 255.255.255.0 ip helper-address 10.1.1.1 ! interface vlan444 description Guest VLAN ip address 10.1.3.2 255.255.255.0 ip helper-address 10.1.1.1 ! ip default-gateway 10.1.1.1 ip classless ip route 0.0.0.0 0.0.0.0 10.1.1.1 ip http server ! ntp clock-period 36029553 ntp server x.x.x.x prefer