Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to enter special-characters like '&' to DHCP-option string-values ?

Hi All,

does anyone know how to enter characters like '&' to dhcp-string option vlaues ?

console> system dhcp dhcp-options binding add dhcpname DHCP_LTE-Router optionname Vendor_Encapsulated_Options(43) value "antenna&apn=internet&pin="
% Error: Unknown Parameter 'antenna&apn=internet.provider&pin=1234'

thx in advance



This thread was automatically locked due to age.
Parents
  • Having the same problem here in XG115w SFOS 17.0.6 MR-6 trying to use semicolon delimiters in option 43 string for mitel phones which is working fine in Cisco equipment being replaced by XG and also in Windows servers with the same setup.  This is the error:

     

    console> system dhcp dhcp-options binding add dhcpname Default_DHCP_Server optionname Vendor_Encapsulated_Options(43) value 'id:ipphone.mitel.com;sw_tftp=1.2.3.4;call_srv=1.2.3.4;vlan=1;l2p=6;dscp=46'
    % Error: Unknown Parameter 'id:ipphone.mitel.com;sw_tftp=1.2.3.4;call_srv=1.2.3.4;vlan=1;l2p=6;dscp=46'

     

    The option is successfully applied if the semicolons are replaced with commas only as a test but I don't think that will give the necessary result for the phones.  Another similar unanswered question @ https://community.sophos.com/products/xg-firewall/f/initial-setup/82857/using-special-characters-pipe-in-dhcp-option-value-fields

    Suggestions are appreciated

Reply
  • Having the same problem here in XG115w SFOS 17.0.6 MR-6 trying to use semicolon delimiters in option 43 string for mitel phones which is working fine in Cisco equipment being replaced by XG and also in Windows servers with the same setup.  This is the error:

     

    console> system dhcp dhcp-options binding add dhcpname Default_DHCP_Server optionname Vendor_Encapsulated_Options(43) value 'id:ipphone.mitel.com;sw_tftp=1.2.3.4;call_srv=1.2.3.4;vlan=1;l2p=6;dscp=46'
    % Error: Unknown Parameter 'id:ipphone.mitel.com;sw_tftp=1.2.3.4;call_srv=1.2.3.4;vlan=1;l2p=6;dscp=46'

     

    The option is successfully applied if the semicolons are replaced with commas only as a test but I don't think that will give the necessary result for the phones.  Another similar unanswered question @ https://community.sophos.com/products/xg-firewall/f/initial-setup/82857/using-special-characters-pipe-in-dhcp-option-value-fields

    Suggestions are appreciated

Children
No Data