SW02#sh run config-file-header SW02 v1.4.11.4 / R800_NIK_1_4_219_025 CLI v1.0 set system mode router file SSD indicator encrypted @ ssd-control-start ssd config ssd file passphrase control unrestricted no ssd file integrity control ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0 ! vlan database default-vlan vlan 2 exit vlan database vlan 1,20,30,40 exit voice vlan oui-table add 0001e3 Siemens_AG_phone________ voice vlan oui-table add 00036b Cisco_phone_____________ voice vlan oui-table add 00096e Avaya___________________ voice vlan oui-table add 000fe2 H3C_Aolynk______________ voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone voice vlan oui-table add 00d01e Pingtel_phone___________ voice vlan oui-table add 00e075 Polycom/Veritel_phone___ voice vlan oui-table add 00e0bb 3Com_phone______________ ip dhcp relay address 192.168.2.1 ip dhcp relay address 192.168.20.1 ip dhcp relay address 192.168.30.1 ip dhcp relay address 192.168.40.1 ip dhcp relay enable ip dhcp information option bonjour interface range vlan 1 hostname SW02 username XXXX password encrypted XXXX privilege 15 ip ssh server snmp-server location XXXX snmp-server contact XXXX ! interface vlan 1 ip address 192.168.1.3 255.255.255.0 no ip address dhcp ! interface vlan 2 name MANAGEMENT ip address 192.168.2.3 255.255.255.0 ip dhcp relay enable no snmp trap link-status ! interface vlan 20 name INSIDE ip address 192.168.20.3 255.255.255.0 ip dhcp relay enable no snmp trap link-status ! interface vlan 30 name GUEST ip address 192.168.30.3 255.255.255.0 ip dhcp relay enable no snmp trap link-status ! interface vlan 40 name CCTV ip address 192.168.40.3 255.255.255.0 ip dhcp relay enable no snmp trap link-status ! interface gigabitethernet1 description MANAGEMENT switchport mode access ! interface gigabitethernet2 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet3 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet4 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet5 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet6 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet7 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet8 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet9 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet10 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet11 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet12 description INSIDE switchport mode access switchport access vlan 20 ! interface gigabitethernet13 description CCTV switchport mode access switchport access vlan 40 ! interface gigabitethernet14 description CCTV switchport mode access switchport access vlan 40 ! interface gigabitethernet15 description CCTV switchport mode access switchport access vlan 40 ! interface gigabitethernet16 description CCTV switchport mode access switchport access vlan 40 ! interface gigabitethernet17 description TRUNK switchport trunk allowed vlan add 20,30,40 switchport default-vlan tagged ! interface gigabitethernet18 description TRUNK switchport trunk allowed vlan add 20,30,40 switchport default-vlan tagged ! interface gigabitethernet19 description TRUNK switchport trunk allowed vlan add 20,30,40 switchport default-vlan tagged ! interface gigabitethernet20 description TRUNK_TO_SW01 switchport trunk allowed vlan add 20,30,40 switchport default-vlan tagged ! exit macro auto processing type host enabled macro auto processing type router enabled