Cisco Wireless VoIP Configuration: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
1. G. Polanski VOIP Project
'''G. Polanski VOIP Project                             CNT-2722-01 Foundations of IP Telephony'''


CNT-2722-01 Foundations of IP Telephony
'''Purpose:'''  The purpose of this project is to demonstrate the use of a Cisco 7921G Wireless phone.  The activity includes the following components.


Purpose:  The purpose of this project is to demonstrate the use of a Cisco 7921G Wireless phone.  The activity includes the following components.


Cisco Call Manager Express
* Cisco Call Manager Express
Cisco Wireless Lan Controller and Cisco 1242 access point
<li>Cisco Wireless Lan Controller and Cisco 1242 access point
Cisco 7921G wireless phone
<li>Cisco 7921G wireless phone
Cisco 3560 Switch
<li>Cisco 3560 Switch
Calls.  Calls were established between the wireless phone, x7616, a VOIP phone, x7618, and an analog phone, x6007.
</li>


1.1 VLANS
<b>Calls.</b>  Calls were established between the wireless phone, x7616, a VOIP phone, x7618, and an analog phone, x6007.
 
==VLANS==


Five VLANs are used to emulate a business environment.  Two wired vlans support voice and data.  Three wireless vlans support  wireless data, wireless voice, and a guest wireless network. A sixth vlan is used to configure the Wireless LAN Controller.  The vlans and address values are listed below.  
Five VLANs are used to emulate a business environment.  Two wired vlans support voice and data.  Three wireless vlans support  wireless data, wireless voice, and a guest wireless network. A sixth vlan is used to configure the Wireless LAN Controller.  The vlans and address values are listed below.  
Line 22: Line 23:
• 114 Wireless Guest VLAN 172.16.126.0/24
• 114 Wireless Guest VLAN 172.16.126.0/24


1.2 Layer 3 Switch
==Layer 3 Switch==


The Cisco 3560 switch, TELSW1-DLS1, provides layer 3 routing to the wired vlans, and POE to the access point and to the Cisco IP Phones. The switch is connected to the router via a routed port.  EIGRP is used as the routing protocol in the switch and the router.  The router is the DHCP server, so the switch is configured with an IP helper address to forward the DHCP requests to the router.
The Cisco 3560 switch, TELSW1-DLS1, provides layer 3 routing to the wired vlans, and POE to the access point and to the Cisco IP Phones. The switch is connected to the router via a routed port.  EIGRP is used as the routing protocol in the switch and the router.  The router is the DHCP server, so the switch is configured with an IP helper address to forward the DHCP requests to the router.


1.2.1 Port Configuration
===Port Configuration===


interface Loopback0
interface Loopback0
Line 56: Line 57:
!
!


1.2.2 DHCP Configuration
===DHCP Configuration===


interface Vlan110
interface Vlan110
Line 68: Line 69:
  ip helper-address 172.16.251.1
  ip helper-address 172.16.251.1
!
!
1.3 Router
 
==Router==
The router provides several functions
The router provides several functions
• Cisco Call Manager Express.  The CME module controls both the wired phones and the wireless phone.
• Cisco Call Manager Express.  The CME module controls both the wired phones and the wireless phone.
Line 74: Line 76:
• NTP.  The router is the NTP master.
• NTP.  The router is the NTP master.
• Wireless LAN Controller.  The WLAN controller is a module in the switch.
• Wireless LAN Controller.  The WLAN controller is a module in the switch.
1.3.1 Call Manager Setup
===Call Manager Setup===
The following text begins the call manager configuration.  The IP address is the loopback address in the router.’
The following text begins the call manager configuration.  The IP address is the loopback address in the router.’
! Define telephony service on Call Manager Express
! Define telephony service on Call Manager Express
Line 125: Line 127:
!
!


1.3.2 DHCP
===DHCP===
The following configuration defines the DHCP services for the devices.  
The following configuration defines the DHCP services for the devices.  
• The lease parameters are Days, Hours, Minutes.  The wired devices have a lease for one day.  The wireless leases are only 6 hours.
• The lease parameters are Days, Hours, Minutes.  The wired devices have a lease for one day.  The wireless leases are only 6 hours.
Line 166: Line 168:
   class Data
   class Data
       address range 172.16.126.50 172.16.126.254
       address range 172.16.126.50 172.16.126.254
1.3.3 NTP Master
===NTP Master===
The router clocks have a battery that keeps time even though the unit is turned off.  The command, “set calendar” command sets this clock.  The phrase “ntp master” in the configuration sets the router as the NTP server for the switch.
The router clocks have a battery that keeps time even though the unit is turned off.  The command, “set calendar” command sets this clock.  The phrase “ntp master” in the configuration sets the router as the NTP server for the switch.
1.3.4 Wireless LAN Controller
===Wireless LAN Controller===
The Cisco wireless lan controller is used to manage a Cisco 1242 access point as a lightweight AP.  The access point tunnels all traffic back to the wireless controller. The three SSIDs follow.  The  
The Cisco wireless lan controller is used to manage a Cisco 1242 access point as a lightweight AP.  The access point tunnels all traffic back to the wireless controller. The three SSIDs follow.  The  
gmp-voice
gmp-voice
gmp-data
gmp-data
gmp-guest
gmp-guest
1.3.4.1 Wireless Controller Configuration -- Trunked
 
====Wireless Controller Configuration -- Trunked====
Since the wireless networks support data, voice, and guest networks, the wireless controller connects to the router via a trunked connection. Each SSID in the wireless environment is a different vlan. The following configuration shows the trunking and the subinterfaces in the router.
Since the wireless networks support data, voice, and guest networks, the wireless controller connects to the router via a trunked connection. Each SSID in the wireless environment is a different vlan. The following configuration shows the trunking and the subinterfaces in the router.


Line 194: Line 197:
  ip address 172.16.126.1 255.255.255.0
  ip address 172.16.126.1 255.255.255.0
!
!
1.3.4.2 Wireless Controller Configuration – GUI
====Wireless Controller Configuration – GUI====
Login.  The wireless control has an interface for web management.  The IP, 172.16.100.251, was assigned as the management address.  The SSL connection provides the following interface.
Login.  The wireless control has an interface for web management.  The IP, 172.16.100.251, was assigned as the management address.  The SSL connection provides the following interface.
   
   
Line 212: Line 215:
   
   
   
   
 
====Wireless Controller Configuration -- CLI====
1.3.4.3 Wireless Controller Configuration -- CLI
The initial setup of the controller begins with the command line interface.  Since the controller is a service module, the following command sequence starts the connection,.
The initial setup of the controller begins with the command line interface.  Since the controller is a service module, the following command sequence starts the connection,.
TELRTR1#service-module wlan-controller 1/0 session
TELRTR1#service-module wlan-controller 1/0 session
Line 237: Line 239:
TELRTR1#
TELRTR1#


1.4 Wireless Controller Configuration
==Wireless Controller Configuration==
1
1
The wireless controller configuration is shown below.
The wireless controller configuration is shown below.

Revision as of 00:18, 3 December 2011

G. Polanski VOIP Project CNT-2722-01 Foundations of IP Telephony

Purpose: The purpose of this project is to demonstrate the use of a Cisco 7921G Wireless phone. The activity includes the following components.


  • Cisco Call Manager Express
  • Cisco Wireless Lan Controller and Cisco 1242 access point
  • Cisco 7921G wireless phone
  • Cisco 3560 Switch
  • Calls. Calls were established between the wireless phone, x7616, a VOIP phone, x7618, and an analog phone, x6007.

    VLANS

    Five VLANs are used to emulate a business environment. Two wired vlans support voice and data. Three wireless vlans support wireless data, wireless voice, and a guest wireless network. A sixth vlan is used to configure the Wireless LAN Controller. The vlans and address values are listed below.

    • 100 Wireless Mgmt Vlan 172.16.100.0/24 • 110 Data VLAN 172.16.106.0/24 • 111 Voice VLAN 172.17.106.0/24 • 112 Wireless Data VLAN 172.16.116.0/24 • 113 Wireless Voice VLAN 172.17.116.0/24 • 114 Wireless Guest VLAN 172.16.126.0/24

    Layer 3 Switch

    The Cisco 3560 switch, TELSW1-DLS1, provides layer 3 routing to the wired vlans, and POE to the access point and to the Cisco IP Phones. The switch is connected to the router via a routed port. EIGRP is used as the routing protocol in the switch and the router. The router is the DHCP server, so the switch is configured with an IP helper address to forward the DHCP requests to the router.

    Port Configuration

    interface Loopback0

    ip address 172.16.251.11 255.255.255.255
    

    ! interface FastEthernet0/1

    description End user data ports
    switchport access vlan 110
    switchport mode access
    switchport voice vlan 111
    srr-queue bandwidth share 10 10 60 20
    priority-queue out
    mls qos trust device cisco-phone
    mls qos trust cos
    auto qos voip cisco-phone
    spanning-tree portfast
    service-policy input AutoQoS-Police-CiscoPhone
    

    !

    interface FastEthernet0/24

    description Connect to 2811 Router port fa 0/1 on Router
    no switchport
    ip address 172.16.252.2 255.255.255.252
    srr-queue bandwidth share 10 10 60 20
    priority-queue out
    mls qos trust dscp
    auto qos voip trust
    spanning-tree portfast
    

    !

    DHCP Configuration

    interface Vlan110

    description Wired Data
    ip address 172.16.106.1 255.255.255.0
    ip helper-address 172.16.251.1
    

    ! interface Vlan111

    description Wired Voice
    ip address 172.17.106.1 255.255.255.0
    ip helper-address 172.16.251.1
    

    !

    Router

    The router provides several functions • Cisco Call Manager Express. The CME module controls both the wired phones and the wireless phone. • DHCP. The router is configured to provide DHCP addresses to the wired and wireless vlans. • NTP. The router is the NTP master. • Wireless LAN Controller. The WLAN controller is a module in the switch.

    Call Manager Setup

    The following text begins the call manager configuration. The IP address is the loopback address in the router.’ ! Define telephony service on Call Manager Express ! telephony-service

    max-ephones 12
    max-dn 24
    ip source-address 172.16.251.1 port 2000
    timeouts interdigit 3
    load 7960-7940 P00307020200
    time-zone 8
    max-conferences 8 gain -6
    transfer-system full-consult
    create cnf-files version-stamp 7960 Nov 02 2011 14:13:27
    

    !

    The ephone-dn phrases define a phone number and directory association. The ephone statements attaché the ephone-dn definition to a specific phone through the phone’s MAC address. The button phrase associates the phone number with the button on the phone. Wireless Phone. The definitions that are needed for the wireless phone follow. The wireless phone has the extension 7616. ephone-dn 16

    number 7616
    name POD6-IP-7616
    

    ! ephone 6

    mac-address 0022.90fd.d1e7
    type 7921
    button 1:16
    


    Wired Phone. The definitions that are needed for the wired cisco IP phone follow. The wired phone has the local extension 7618. ephone-dn 18

    number 7618
    name POD6-IP-7618
    

    ! ephone 8

    device-security-mode none
    mac-address 001B.5452.5FC9
    type 7941
    button  1:18
    

    !

    Analog Phone. The definitions that are needed for the analog phone on the FXS WIC follow. The analog phone has the local extension 6007.

    voice-port 0/1/0

    description FXs WIC to Analog phone
    

    ! dial-peer voice 1 pots

    description FXS WIC with Analog Phone 6007
    destination-pattern 6007
    port 0/1/0
    

    !

    DHCP

    The following configuration defines the DHCP services for the devices. • The lease parameters are Days, Hours, Minutes. The wired devices have a lease for one day. The wireless leases are only 6 hours. • Option 43 is applied to the wired data vlan because the Cisco access point is on this vlan. The value defines the address in the wireless lan controller that the access point uses to contact the controller. ip dhcp pool Data-Devices ! description 172.16.100.252 is hex f104ac1064gfc

      network 172.16.106.0 255.255.255.0
      default-router 172.16.106.1
      option 43 hex f104ac1064fc
      lease 1 0 0
      class Data
       address range 172.16.106.50 172.16.106.254
    

    ip dhcp pool Voice-Devices

      network 172.17.106.0 255.255.255.0
      default-router 172.17.106.1
      lease 1 0 0
      option 150 ip 172.16.251.1
      class Voice
         address range 172.17.106.50 172.17.106.254
    

    ip dhcp pool Wireless-Data

      network 172.16.116.0 255.255.255.0
      default-router 172.16.116.1
      lease 0 6 0
      class Data
       address range 172.16.116.50 172.16.116.254
    

    ip dhcp pool Wireless-Voice

      network 172.17.116.0 255.255.255.0
      default-router 172.17.116.1
      lease 0 6 0
      class Voice
         address range 172.17.116.50 172.17.116.254
    

    ip dhcp pool Wireless-Guest

      network 172.17.116.0 255.255.255.0
      default-router 172.16.126.1
      lease 0 6 0
      class Data
         address range 172.16.126.50 172.16.126.254
    

    NTP Master

    The router clocks have a battery that keeps time even though the unit is turned off. The command, “set calendar” command sets this clock. The phrase “ntp master” in the configuration sets the router as the NTP server for the switch.

    Wireless LAN Controller

    The Cisco wireless lan controller is used to manage a Cisco 1242 access point as a lightweight AP. The access point tunnels all traffic back to the wireless controller. The three SSIDs follow. The gmp-voice gmp-data gmp-guest

    Wireless Controller Configuration -- Trunked

    Since the wireless networks support data, voice, and guest networks, the wireless controller connects to the router via a trunked connection. Each SSID in the wireless environment is a different vlan. The following configuration shows the trunking and the subinterfaces in the router.

    interface wlan-controller1/0

    ip address 172.16.100.254 255.255.255.0
    

    ! interface wlan-controller1/0.112

    description Wireless Data
    encapsulation dot1Q 112
    ip address 172.16.116.1 255.255.255.0
    

    ! interface wlan-controller1/0.113

    description Wireless Voice
    encapsulation dot1Q 113
    ip address 172.17.116.1 255.255.255.0
    

    ! interface wlan-controller1/0.114

    description Wireless-Guest
    encapsulation dot1Q 114
    ip address 172.16.126.1 255.255.255.0
    

    !

    Wireless Controller Configuration – GUI

    Login. The wireless control has an interface for web management. The IP, 172.16.100.251, was assigned as the management address. The SSL connection provides the following interface.

    The primary screen summarizes the access points that are connected and wireless clients. In the screen image,below, one access point is connected and one client is connected to the gmp-voice SSID. The IHCC production access points and clients are considered to be ‘rogue’ to the controller.

    VLAN Interfaces. Each vlan is assigned an interface and an address. This is done through the “Controller  interfaces” page. In the example, below, the interfaces are named wiredata, wireguest, wirevoice and have addresses, 172.16.116.254, 172.16.126.254, and 172.17.116.254, respectively.

    Wireless Profiles/SSIDs. Wireless profiles define the characteristics of the wireless SSID. The following image shows the creation page for a new SSID. The WLAN ID is a unique identifier within the controller. The profile name and SSID are text strings..

    The following image shows the three profiles and SSIDs. Here the profile and the SSIDs have the same name.

    Voice SSID. The image shows that the profile and SSID, gmp-voice, is associated with the wirevoice interface. Wirevoice is vlan 113 with address 172.17.116.0/24.

    The following pages illustrate the Security, QOS, and Advanced configuration options.



    Wireless Controller Configuration -- CLI

    The initial setup of the controller begins with the command line interface. Since the controller is a service module, the following command sequence starts the connection,. TELRTR1#service-module wlan-controller 1/0 session Trying 172.16.100.254, 2066 ... Open C Warning! Authorized Access Only! User:admin Password:***** (Cisco Controller) >?


    The sessions is disconnected via CTRL-Shift-6 and the disconnect command. (Cisco Controller) User:

    CTRL-SHIFT-6

    TELRTR1#show session Conn Host Address Byte Idle Conn Name

    • 1 172.16.100.254 172.16.100.254 0 0 172.16.100.254

    TELRTR1#disconnect 1 Closing connection to 172.16.100.254 [confirm] TELRTR1#

    Wireless Controller Configuration

    1 The wireless controller configuration is shown below. (Cisco Controller) >show running-config

    802.11a cac voice tspec-inactivity-timeout ignore
    802.11a cac voice stream-size 84000 max-streams 2
    802.11a channel global off
    802.11a txPower global 1
    802.11b cac voice tspec-inactivity-timeout ignore
    802.11b cac voice stream-size 84000 max-streams 2
    802.11b channel global off
    802.11b txPower global 1
    
    advanced location expiry tags 1200
    advanced location expiry client 150
    advanced location expiry calibrating-client 30
    advanced location expiry rogue-aps 1200
    
    cdp disable
    

    interface create wiredata 112 interface create wireguest 114 interface create wirevoice 113

    interface address ap-manager 172.16.100.252 255.255.255.0 172.16.100.254 interface address management 172.16.100.251 255.255.255.0 172.16.100.254

    interface address virtual 1.1.1.1

    interface address dynamic-interface wiredata 172.16.116.254 255.255.255.0 172.16.116.1 interface address dynamic-interface wireguest 172.16.126.254 Z55.255.255.0 172.16.126.1 interface address dynamic-interface wirevoice 172.17.116.254 255.255.255.0 172.17.116.1

    interface dhcp ap-manager primary 172.16.100.251 interface dhcp management primary 172.16.100.251 interface dhcp dynamic-interface wiredata primary 172.16.251.1 interface dhcp dynamic-interface wireguest primary 172.16.251.1 interface dhcp dynamic-interface wirevoice primary 172.16.251.1

    interface vlan wiredata 112 interface vlan wireguest 114 interface vlan wirevoice 113 interface port ap-manager 1 interface port management 1 interface port wiredata 1 interface port wireguest 1 interface port wirevoice 1

    logging buffered 1
    
    mesh security eap
    mgmtuser add admin **** read-write
    mobility group domain mg1
    msglog level critical
    network rf-network-name mg1
    
    snmp version v2c enable
    snmp version v3 enable
    
    sysname NMWLCgmp
    
    time ntp server 1 172.16.251.1
    
    wlan create 2 gmp-data gmp-data
    wlan create 3 gmp-voice gmp-voice
    wlan create 4 gmp-guest gmp-guest
    
    wlan interface 2 wiredata
    wlan interface 3 wirevoice
    wlan interface 4 wireguest
    
    wlan qos 3 platinum
    
    wlan security static-wep-key enable 3
    wlan security static-wep-key authentication shared-key 3
    wlan security static-wep-key encryption 2 104 ascii **** 1
    wlan security static-wep-key encryption 3 104 ascii **** 1
    wlan security wpa disable 3
    wlan security wpa disable 4
    wlan security wpa wpa1 ciphers tkip enable 2
    wlan enable 2
    wlan enable 3
    wlan enable 4