Switch configurationSwitch(config)# vlan 10
Switch(config-vlan)# name VOICE
Switch(config)# !
Switch(config)# vlan 50
Switch(config-vlan)# name DATA
Switch(config)# !
Switch(config)# interface range fa0/10 - 20
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# spanning-tree portfast
Switch(config-if-range)# switchport access vlan 50
Switch(config-if-range)# switchport voice vlan 10
Switch(config-if-range)# power inline auto
DHCP configurationRouter(config)# service dhcp
Router(config)# ip dhcp excluded-address 172.16.1.1 172.16.1.9
Router(config)# ip dhcp excluded-address 172.16.2.1 172.16.2.9
Router(config)# !
Router(config)# ip dhcp pool DATA_SCOPE
Router(dhcp-config)# network 172.16.2.0 255.255.255.0
Router(dhcp-config)# default-router 172.16.2.1
Router(dhcp-config)# dns-server 172.16.10.1
Router(config)# !
Router(config)# ip dhcp pool VOICE_SCOPE
Router(dhcp-config)# network 172.16.1.0 255.255.255.0
Router(dhcp-config)# default-router 172.16.1.1
Router(dhcp-config)# option 150 ip 172.16.1.1
Router(dhcp-config)# option 60 ascii tftp.lab.net
! For some third-party SIP phones
Router(dhcp-config)# dns-server 172.16.10.1
NTP configurationRouter(config)# clock timezone CET 1
Router(config)# clock summer-time CET recurring last Sun Mar 2:00 last Sun Oct 3:00
Router(config)# ntp update-calendar
Router(config)# ntp server 172.16.20.1
TFTP configurationRouter(config)# tftp-server flash:/phone/7940-7960/P00308000500.bin alias P00308000500.bin
Router(config)# tftp-server flash:/phone/7940-7960/P00308000500.loads alias P00308000500.loads
No comments:
Post a Comment