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)#na me DATA  This name will show when looking at VLAN informati on Switch(config-vlan)#vl an 20  Creates a Layer 2 (OSI Model) VLAN Switch(config-vlan)#na me 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)#interfa ce 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)#desc ription 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)#interfa ce 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)

App Text

Embed Size (px)

Citation preview

Page 1: App Text

8/12/2019 App Text

http://slidepdf.com/reader/full/app-text 1/3

VLAN configurationLayer 2 VLAN ConfigurationSwitch>enable  Privileged EXEC modeSwitch#configure terminal  Global Configuration ModeSwitch(config)#vlan 10  Creates a Layer 2 (OSI Model) VLANSwitch(config-vlan)#name DATA  This name will show when looking at VLAN informationSwitch(config-vlan)#vlan 20  Creates a Layer 2 (OSI Model) VLANSwitch(config-vlan)#name VOICE  This name will show when looking at VLAN informationSwitch(config-vlan)#end  Exits global configuration mode back to User EXEC modeSwitch#write memory  Copies the running configuration to the startup configurationLayer 3 VLAN ConfigurationSwitch>enable  Privileged EXEC modeSwitch#configure terminal  Global Configuration ModeSwitch(config)#interface vlan 10  Creates a Layer 3 (OSI Model) VLANSwitch(config-if)#description DATA  This name will show when looking at VLAN informationSwitch(config-if)#ip address 10.1.1.1 255.255.255.0  Allows for routing of the VLANSwitch(config)#interface vlan 20  Creates a Layer 3 (OSI Model) vlanSwitch(config-if)#description VOICE  This name will show when looking at VLAN information

Switch(config-if)#ip address 10.2.2.2 255.255.255.0  Allows for routing of the VLANSwitch(config-if)#end  Exits global configuration mode back to User EXEC modeSwitch#write memory  Copies the running configuration to the startup configuration

 DATA VLAN for ServerSwitch(config)#interface fastEthernet 0/1  Configurations made will effect only this portSwitch(config-if)# switchport mode access  forces a port to deny any attempts attrunk negotiationSwitch(config-if)# switchport access vlan 10  Specifies the default VLAN for data traffic

VOICE VLAN for IP PhonesSwitch(config)#interface fastEthernet 0/1  Configurations made will effect onlythis portSwitch(config-if)# switchport voice vlan 20  Instructs an IP phone to forward all voice traffic through the specified VLANSwitch(config-if)#end  Exits global configuration mode back to User EXEC modeSwitch#write memory  Copies the running configuration to the startup configuration

DHCP Configuration  (Router, CUCM, External DHCP)DHCP server on Router

R1>enable  Privileged EXEC modeR1#configure terminal  Global Configuration ModeR1(config)#ip dhcp excluded-address 10.2.2.1 10.2.2.5  Stops the DHCP server from handing out this addresse rangeR1 (config)#ip dhcp pool VOICE  Creates and names a DHCP pool for addressesR1 (dhcp-config)#network 10.2.2.0 255.255.255.0  Network that IPs will be handing out fromR1 (dhcp-config)#default-router 10.2.2.2  IP address of the router that will give out addresessR1 (dhcp-config)#dns-server 8.8.8.8  DNS Server (External IP given for example)

Page 2: App Text

8/12/2019 App Text

http://slidepdf.com/reader/full/app-text 2/3

R1 (dhcp-config)#option 150 ip 10.1.1.2  Tells IP phones where to look for TFTP files with raw DHCP optionsR1 (dhcp-config)#end  Exits DHCP configuration mode back to User EXEC modeR1#write memory  Copies the running configuration to the startup configurationDHCP Server on CUCMUsing a web browser go to the IP of your installed CUCM (https://10.1.1.2)Navigate to Cisco Unified CM AdministrationGo to drop down menu option System to DHCP > DHCP ServerSelect Add New IconAdd a Subnet for IPv4 Address range (10.2.2.0)  Network AddressAdd 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 Broadcast 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 necessaryAdd 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 DHCP setting option 150.External Windows DHCP ServerThe Windows DHCP Server must be operational with a static IP address and you must have the ability to add DHCP Scopes.R1>enable  Privileged EXEC modeR1#configure terminal  Global Configuration Mode

R1#(config)R1(config)# interface vlan 20  Changes made will only affect the given VLANR1(config-if)#ip helper-address 10.1.1.75 - IPv4 Address of DHCP ServerR1 (config-if)#end  Exits DHCP configuration mode back to User EXEC modeR1#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 Predefined OptionsFrom the menu provided choose these optons:Name: Cisco TFTP ServerData Type: IP AddressArray: Checked - (This allows for the entry of more than one DHCP server)

Code: 150Description: Used for Cisco Call Manager TFTP ServerWithin the DHCP Server options create a new scope. Once it has been created right click the new Scope and choose Options. Check the box next to Option 150 and add in the relevant information as needed.

TFTP  Uploaded file servers IPFiles that will be downloaded to the IP phones will come directly from Call Manager. 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 modeR1#configure terminal  Global Configuration ModeR1(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 modeR1#write memory  Copies the running configuration to the startup configurationUsing a web browser go to the IP of your installed CUCM (https://10.1.1.2)Navigate to Cisco Unified CM AdministrationGo to drop down menu option Servers > NTP Servers

Page 3: App Text

8/12/2019 App Text

http://slidepdf.com/reader/full/app-text 3/3

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 ReferenceAdd 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.