cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2714
Views
0
Helpful
1
Replies

PIX 515e DHCP options

dgeorgeadis
Level 1
Level 1

In the Cisco PIX (version 7.2) CLI, I’ve been trying to set the dhcp options so that the PIX can run as a DHCP server on the inside interface.  I can set all the options correctly except for option 130.  Below are my failed attempts to set option 130 to the value 'MITEL IP PHONE'.  The problem is that the CLI does not accept spaces.  Attached is the PIX running config file.

pixfirewall(config)# dhcpd option 130 ascii MITEL IP PHONE

                                                   ^

ERROR: % Invalid input detected at '^' marker.

pixfirewall(config)# dhcpd option 130 ascii "MITEL IP PHONE"

Too many ASCII strings

Usage: dhcpd address <ip1>[-<ip2>] <srv_ifc_name>

        dhcpd dns <dnsip1> [<dnsip2>] [interface <srv_ifc_name>]

        dhcpd wins <winsip1> [<winsip2>] [interface <srv_ifc_name>]

        dhcpd lease <lease_length> [interface <srv_ifc_name>]

        dhcpd ping_timeout <timeout> [interface <srv_ifc_name>]

        dhcpd domain <domain_name> [interface <srv_ifc_name>]

        dhcpd option <code> {ascii <string> | hex <hex_string> |

                ip <address_1> [<address_2>]} [interface <srv_ifc_name>]

        dhcpd enable <srv_ifc_name>

        dhcpd auto_config <clnt_if_name> [interface <srv_ifc_name>

        dhcpd update dns [both] [override] [interface <srv_ifc_name>]

        show dhcpd [binding|statistics]

        clear dhcpd

        clear dhcpd [binding|statistics]

pixfirewall(config)# dhcpd option 130 ascii 'MITEL IP PHONE'

                                                    ^

ERROR: % Invalid input detected at '^' marker.

pixfirewall(config)#

The option must be "MITEL IP PHONE" (minus quotes) in order for the Mitel phone to accept the value and the DHCP offer.

Any ideas?

Thanks

1 Reply 1

mirober2
Cisco Employee
Cisco Employee

Hello,

The variable cannot contain whitespace. The output of 'help dhcpd' shows:

        ASCII string without whitespace

Unfortunately there is no way to specify a string that contains whitespace, so if your phone requires a certain string it would seem that this won't be supported.

Hope that helps.

-Mike

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card