Configuring Avaya IP Telephony (Options 176 and 242)

Avaya IP telephones use site-specific options 176 and 242 as a method to obtain parameters from the DHCP server.
On receipt of a discovery packet from the Avaya IP telephone client, a DHCP offer message must be sent back. Options 176 and 242 must be added with the details of IP telephony voice and data servers present in the network, along with mandatory options.

  • Option 176 is used for voice server representation.
  • Option 242 is used for data servers.

The following table lists the parameters for each option:

Option Parameters
Option 176: Voice server options mcipadd ip-address

Specifies the IP telephony server port number. The default is 1719.

mcport portnum

Specifies the IP telephony server port number. The default is 1719.

tftpsrvr/httpsrvr/tlssrvr server-ip-address

Specifies the IP addresses of the TFTP, HTTP, and TLS servers.

l2qaud or l2qsig prio

Specifies the IP telephony L2QAUD or L2QSIG priority value. The range is from 1 to 6. The default value is 6.

l2qvlan vlan-id

Specifies the IP telephony L2QVLAN number. The default is 0.

vlantest secs

The number of seconds a phone attempts to return to the previously known voice VLAN. This is not applicable for the default VLAN.

Option 242: Data server options

mcipadd ip-address

IP address of the gatekeeper. At least one IP address is required.

mcport portnum

Specifies IP telephony server port number. The default is 1719.

tftpsrvr/httpsrvr/tlssrvr server ip-address

Specifies the IP addresses of the TFP, HTTP, and TLS servers.

l2qaud or l2qsig prio

L2QAUD is the IP telephony L2 audio priority value. L2QSIG is the IP telephony L2 signaling priority value. This range is from 1 through 6. The default value is 6.

l2qvlan vlan-id

Specifies the IP telephony L2QVLAN number. The default is 0.

vlantest secs

The number of seconds a phone attempts to return to the previously known voice VLAN. This is not applicable for the default VLAN.

Note: Options 176 and 242 are ignored for non-Avaya IP telephone clients.
  1. Enter global configuration mode.
    device# configure terminal
  2. Configure an address pool in the DHCP server and enter DHCP server pool configuration mode.
    device(config)# ip dhcp-server pool cabo
  3. Enter the option command followed by the supported parameters. The parameters you can add for IP telephony data are mcipadd, mcport, httpsrvr, l2qaud, l2qsig, l2qvlan, tftpsrvr, tlssrvr, and vlantest.

    The following example specifies the MCIP address and MCPORT of the data server.

    device(config-dhcp-cabo)# option 242 mcipadd 1.1.1.2 mcport 1719
  4. Enter the option command followed by the supported parameters. The parameters you can add for IP telephony voice are mcipadd, mcport, httpsrvr, l2qaud, l2qsig, l2qvlan, tftpsrvr, tlssrvr, and vlantest.

    The following example specifies the MCIP address and MCPORT of the voice server.

    device(config-dhcp-cabo)# option 176 mcipadd 1.1.1.2 mcport 1719
  5. Enter the show ip dhcp-server address-pools command to view and verify the IP telephony options.
    device(config)# show ip dhcp-server address-pools 
    
        Showing all address pool(s):
    
                          Pool Name:  dhcp 
       Time elapsed since last save:  00d:00h:00m:00s 
      Total number of active leases:  0
                 Address Pool State:  pending
    
            Pool Configured Options:
                              lease:  1 0 0
                            network:  10.10.10.0 255.255.255.0
    option   3 (Default-Router    ):  ip 10.10.10.1
    option  60 (Vendor Class Id   ):  hex FF
    option 176 (IP Tele-VoiceSrvr ):  MCIPADD=10.10.10.1,MCPORT=1719
    option 242 (IP Tele-DataSrvr  ):  MCIPADD=10.10.10.1,MCPORT=1719