Sunteți pe pagina 1din 3

VLAN configuration Layer 2 VLAN Configuration Switch>enable Privileged EXEC mode Switch#configure terminal Global Configuration Mode Switch(config)#vlan

10 Creates a Layer 2 (OSI Model) VLAN Switch(config-vlan)#name DATA This name will show when looking at VLAN informati on Switch(config-vlan)#vlan 20 Creates a Layer 2 (OSI Model) VLAN Switch(config-vlan)#name VOICE This name will show when looking at VLAN informat ion Switch(config-vlan)#end Exits global configuration mode back to User EXEC mode Switch#write memory Copies the running configuration to the startup configuratio n Layer 3 VLAN Configuration Switch>enable Privileged EXEC mode Switch#configure terminal Global Configuration Mode Switch(config)#interface vlan 10 Creates a Layer 3 (OSI Model) VLAN Switch(config-if)#description DATA This name will show when looking at VLAN info rmation Switch(config-if)#ip address 10.1.1.1 255.255.255.0 Allows for routing of the VL AN Switch(config)#interface vlan 20 Creates a Layer 3 (OSI Model) vlan Switch(config-if)#description VOICE This name will show when looking at VLAN inf ormation Switch(config-if)#ip address 10.2.2.2 255.255.255.0 Allows for routing of the VL AN Switch(config-if)#end Exits global configuration mode back to User EXEC mode Switch#write memory Copies the running configuration to the startup configuratio n DATA VLAN for Server Switch(config)#interface fastEthernet 0/1 Configurations made will effect only t his port Switch(config-if)# switchport mode access forces a port to deny any attempts at trunk negotiation Switch(config-if)# switchport access vlan 10 Specifies the default VLAN for data traffic VOICE VLAN for IP Phones Switch(config)#interface fastEthernet 0/1 Configurations made will effect only this port Switch(config-if)# switchport voice vlan 20 Instructs an IP phone to forward all voice traffic through the specified VLAN Switch(config-if)#end Exits global configuration mode back to User EXEC mode Switch#write memory Copies the running configuration to the startup configuratio n DHCP Configuration (Router, CUCM, External DHCP) DHCP server on Router R1>enable Privileged EXEC mode R1#configure terminal Global Configuration Mode R1(config)#ip dhcp excluded-address 10.2.2.1 10.2.2.5 Stops the DHCP server from handing out this addresse range R1 (config)#ip dhcp pool VOICE Creates and names a DHCP pool for addresses R1 (dhcp-config)#network 10.2.2.0 255.255.255.0 Network that IPs will be handing out from R1 (dhcp-config)#default-router 10.2.2.2 IP address of the router that will give out addresess R1 (dhcp-config)#dns-server 8.8.8.8 DNS Server (External IP given for example)

R1 (dhcp-config)#option 150 ip 10.1.1.2 Tells IP phones where to look for TFTP f iles with raw DHCP options R1 (dhcp-config)#end Exits DHCP configuration mode back to User EXEC mode R1#write memory Copies the running configuration to the startup configuration DHCP Server on CUCM Using a web browser go to the IP of your installed CUCM (https://10.1.1.2) Navigate to Cisco Unified CM Administration Go to drop down menu option System to DHCP > DHCP Server Select Add New Icon Add a Subnet for IPv4 Address range (10.2.2.0) Network Address Add the starting IPv4 address to be given out (10.2.2.6) Add the ending IPv4 address to be given out (10.2.2.254) 10.2.2.255 is the Broad cast IP and cannot be used. Add the primary routers IPv4 address (10.1.1.2) Add the primary routers IPv4 subnet mask (255.255.255.0) Add a Domain Name if necessary Add a Primary DNS IPv4 Address (8.8.8.8) Add the Primary TFTP Server IPv4 Address (10.1.1.2) - This relates to the raw DH CP setting option 150. External Windows DHCP Server The Windows DHCP Server must be operational with a static IP address and you mus t have the ability to add DHCP Scopes. R1>enable Privileged EXEC mode R1#configure terminal Global Configuration Mode R1#(config) R1(config)# interface vlan 20 Changes made will only affect the given VLAN R1(config-if)#ip helper-address 10.1.1.75 - IPv4 Address of DHCP Server R1 (config-if)#end Exits DHCP configuration mode back to User EXEC mode R1#write memory Copies the running configuration to the startup configuration WINDOWS SERVER CONFIGURATION ABBREVIATED: Right Click the IPv4 server ICON within the DHCP Server Windows and choose Set P redefined Options From the menu provided choose these optons: Name: Cisco TFTP Server Data Type: IP Address Array: Checked - (This allows for the entry of more than one DHCP server) Code: 150 Description: Used for Cisco Call Manager TFTP Server Within the DHCP Server options create a new scope. Once it has been created righ t click the new Scope and choose Options. Check the box next to Option 150 and a dd in the relevant information as needed. TFTP Uploaded file servers IP Files that will be downloaded to the IP phones will come directly from Call Mana ger. This is a service that must be activated within Call Manager for it to work properly. NTP Stratum 1 or Master NTP Server (Router, or External) R1>enable Privileged EXEC mode R1#configure terminal Global Configuration Mode R1(config)#ntp master 1 - Configures the device as an authoritative NTP server ( Stratum 1). R1 (config)#end Exits DHCP configuration mode back to User EXEC mode R1#write memory Copies the running configuration to the startup configuration Using a web browser go to the IP of your installed CUCM (https://10.1.1.2) Navigate to Cisco Unified CM Administration Go to drop down menu option Servers > NTP Servers

Add the IP address of the router you made the NTP Master with Stratum 1 (10.1.1. 2) Go to drop down menu option System > Phone NTP Reference Add the IP address of the router you made the NTP Master with Stratum 1 (10.1.1. 2) Add a description (Stratum 1 NTP Server) Choose Unicast as the Mode for CM to send traffic about NTP to devices.

S-ar putea să vă placă și