How to Use Cisco DHCP for Avaya Phones

Written by george garza
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Use Cisco DHCP for Avaya Phones
Cisco switches can deliver an IP address to an AVAYA phone. (mobile phone image by green 308 from

VoIP (Voice over Internet Protocol) is an alternative to land line phone communication systems. VoIP relies on the Internet to place the phone call. However, for this to take place, an important address must be handed out to the phone systems. This is the IP address, and every network device has one. Routers, which are networking devices that control where data packets go (including voice and video), use the IP address for the forwarding operation.

Skill level:


  1. 1

    Connect to the router with a console cable from the PC to the switch. Click "Start" then select the switch connection program (see Resources) to connect the PC to the switch. When the switch comes up, the screen on your PC will show the switch window. The screen will look like ">." This is user mode. The switch editor launches automatically. Next type "enable" on the switch screen. This puts you in privilege mode, and sets the stage for the switch configuration. The next step is to start the actual switch configuration. (Note in the configuration, there are some numbers followed by a period; ignore the last period.)

  2. 2

    Type the configuration command "config T" to enter global configuration mode. Type "interface GiE0/1" to enter interface mode and start the configuration on a gigabit Ethernet port. The next step is to create a vlan. Type the following command,"switchport access vlan 2" (Virtual local area network). However, you also have to create a voice vlan. Now, on the switch, type "switchport voice vlan 22." Both vlan's numbers, 2 and 22, are random numbers that you can select or change. Type the command "exit" to return to global configuration mode.

  3. 3

    Type "interface vlan2" to set up a vlan. Next proceed to give this vlan an IP (Internet protocol) address. So type "ip address" to link vlan2 to that IP address. Type "exit" to return to global configuration mode. However, you have to configure the voip vlan. Type "interface vlan22" in order to create the second vlan. Next, type "ip address", which will associate vlan 22 with this IP address. Type "exit" to return to the global configuration mode.

  4. 4

    Type "ip dhcp pool BusinessUnit" where you create the DHCP (Dynamic Host Configuration Protocol). DHCP leases IP addresses to devices. All devices on a network have to have an IP address, and there are two ways to assign them. You can do it manually, or by leasing. If you have very few devices, you can do it manually. But if you have a large number of devices, then you want the switch to lease the numbers automatically for you.

  5. 5

    Type "network" followed by "dns-server" The first command creates the network, and the second associates an IP address to the DNS-server. DNS (domain name system) associates an IP address with a name, like a phone book associates a phone number with a name. Next type "domain-name", then follow this with "default-router" Finally, and most importantly type "option 186 ascii "tftpsrvr=, mcport=1819, mcipadd=, l2qvlan=22, l2q=1, l2qaud=5, l2qsig=3" where the phone will get the DHCP scope coming from vlan 22. But the configuration is not complete. Next you must complete the VoIP DHCP configuration. It looks similar to the BusinessUnit DHCP pool configuration.

  6. 6

    Type "dhcp pool BusinessUnitVoip" and you follow this with "network" Type "dns-server", then identify the domain name with "domain-name". The default router is the same; type with "default-router". Complete the configuration with a similar option. Type "option 186 ascii "tftpsrvr=, mcport=1819, mcipadd=". Finally, turn on the DHCP service; type "service dhcp."

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.