Hello guys,
We just moved to Sophos XG Firewalls for our customers. I'm trying to fully configure XGs using API but, whatever I try, I can't create a VLAN using API because of the "Name" field.
<VLAN>
<Name>???</Name>
<Interface>Port8</Interface>
<Zone>MyZone</Zone>
<VLANID>99</VLANID>
<IPv4Configuration>Enable</IPv4Configuration><!-- default on -->
<IPv4Assignment>Static</IPv4Assignment>
<IPAddress>172.16.254.1</IPAddress>
<Netmask>255.255.255.0</Netmask>
</VLAN>
Whatever I try to put into this field (or even to remove this field), I always get the error 501:
From what I found, this is just a String field:
Description:
Select the parent interface/port for the virtual sub-interface from the available options.
Interface/Name confines to:
Type is 'SCALAR'
DataType is "STRING"
I tried interface's name, VLAN's number, interface's name with VLAN's number (PortX.VLAN), a simple name without special char, even an empty string.
I tried checking the actual configuration of a VLAN using a "GET". I see that this field, when a VLAN is created through the WEB UI, is automatically filled by the XG using the format (Portx.VLANNumber):
Does somebody knows what am I doing wrong ?
Thanks in advance !
Regards
Hardware and firmware: Sophos XG 125 (SFOS 17.5.3 MR-3)
This thread was automatically locked due to age.