Operation: | Add VLAN / Edit VLAN
Description: | To Add/Update VLAN interfaces. VLAN is a broadcast domain configured on Switch on a port-by-port basis.

Sample Configuration
    	<VLAN>
    		<Name>Name of VLAN</Name>
    		<Interface>interface name</Interface>
    		<Zone>zonename</Zone>
    		<VLANID>id</VLANID>
    		<IPv4Configuration>Enable/Disable</IPv4Configuration><!-- default on -->
    		<IPv4Assignment>Static/PPPoE/DHCP</IPv4Assignment>
    		<IPAddress>ipaddress</IPAddress>
    		<Netmask>25.0.0.0</Netmask>
    		<LocalIP>ip address</LocalIP>
    		<!-- for WAN zone -->
    		<GatewayName>name</GatewayName>
    		<!-- for Static -->
    		<GatewayAddress>ip address</GatewayAddress>
    		<!-- For PPPoE -->
    		<Username>username</Username>
    		<Password>password</Password>
    		<PreferredIP>ip address</PreferredIP>
    		<ServiceName>name</ServiceName>
    		<ServiceName2>name</ServiceName2>
    		<LCPEchoInterval>Disable/no of seconds</LCPEchoInterval>
    		<LCPFailure>Disable/No of Attempts</LCPFailure>
    		<SchedulTimeForReconnect>Enable</SchedulTimeForReconnect>
    		<Schedule>
    			<DayOfWeek>All Days of week/Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday</DayOfWeek>
    			<Hour>Numver</Hour>
    			<Minute>Number</Minute>
    		</Schedule>
    		<!-- IPv6 configuration -->
    		<IPv6Configuration>Enable/Disable</IPv6Configuration>
    		<IPv6Assignment>Static/DHCP</IPv6Assignment>
    		<!-- dhcp configuration -->
    		<Mode>Auto/Manual</Mode>
    		<DhcpOnly>Enable/Disable</DhcpOnly>
    		<AcceptOtherConfigfromDHCP>Enable/Disable</AcceptOtherConfigfromDHCP>
    		<DHCPRapidCommit>Enable/Disable</DHCPRapidCommit>
    		<IPv6Address>ipv6 address</IPv6Address>
    		<IPv6Prefix>Number</IPv6Prefix>
    		<IPv6GatewayName>name</IPv6GatewayName>
    		<IPv6GatewayAddress>ipaddress</IPv6GatewayAddress>
    		<Status>Connected or Disconnected</Status><!-- this tag is only read purpose showing connectivity status of VLAN -->
    	</VLAN>

Attribute/Parameter Information :

Parameter | Mandatory | Default | Description
--- | --- | --- | ---
Name/Interface | Yes |  | Description: Select the parent interface/port for the virtual sub-interface from the available options. Name/Interface confines to: Type is 'SCALAR'. Datatype is 'STRING'.
Zone | Yes |  | Description: Select Zone to assign to the sub-interface. Zone confines to: Type is 'SCALAR'. Datatype is 'STRING'.
VLANID | Yes |  | Description: Specify VLAN ID. VLANID confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 2 to 4094 is allowed. Maximum digits allowed are 4.
IPv4Assignment | Yes | Static | Description: Select IP Assignment type from the available options: Static, PPPoE or DHCP. IPv4Assignment confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '0', '3', '2' are allowed.
IPAddress | No |  | Description: Used to set IPv4 address for interface in IPv4 configuration. IPAddress confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15. IP Class other than 'MULTICAST', 'RESERVED', 'LOCALHOST', 'UNSPECIFIED', 'BROADCAST', 'NETWORKBROADCAST', 'NETWORKIP' is allowed.
Netmask | No |  | Description: Used to set IPv4 Network Subnet mask. Netmask confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 15. IPv4 Address should be between: [128,192,224,240,248,252,254,255].[0,128,192,224,240,248,252,254,255].[0,128,192,224,240,248,252,254,255].[0,128,192,224,240,248,252,254,255]
GatewayName | No |  | Description: In IPv4 configuration, if Network Zone is selected as WAN, specify the Gateway through which traffic from the interface is to be routed. GatewayName confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 50.
GatewayAddress | No |  | Description: In IPv4 configuration, specify the Gateway IP Address. GatewayAddress confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15.
Username | Yes |  | Description: In IPv4 configuration, if Network Zone is selected as WAN and IP Assignment is selected as PPPoE, specify the username for PPPoE IP assignment. Username confines to: Type is 'SCALAR'. Datatype is 'STRING'. Characters (^;'"\) are not allowed. Maximum characters allowed are 50.
Password | No |  | Description: In IPv4 configuration, if Network Zone is selected as WAN and IP Assignment is selected as PPPoE, specify the password for PPPoE IP assignment. Password confines to: Type is 'SCALAR'. Datatype is 'STRING'.
ServiceName | No |  | Description: In IPv4 configuration, if Network Zone is selected as WAN and IP Assignment is selected as PPPoE, specify the Service Name for PPPoE IP assignment. ServiceName confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 20.
ServiceName2 | No |  | Description: In IPv4 configuration, if Network Zone is selected as WAN and IP Assignment is selected as PPPoE, specify the Service Name for PPPoE IP assignment. ServiceName2 confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 20.
Send LCP Echo Request Every | No | 20 | Description: Specify time interval between LCP Echo Requests. These requests are used to check if the link is alive. Send LCP Echo Request Every confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 5 to 180 is allowed. Maximum digits allowed are 4.
Wait For LCP Echo Reply For | No | 3 | Description: Number of attempts to wait for LCP echo reply after which the PPPoE link will be declared as closed. Wait For LCP Echo Reply For confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 1 to 65535 is allowed. Maximum digits allowed are 5.
Mode | No |  | Description: Specify 'dhcpmode' Mode confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only 'A', 'M' are allowed.
DhcpOnly | No |  | Description: Specify 'isdhcponly' DhcpOnly confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '0', '1' are allowed.
AcceptOtherConfigfromDHCP | No |  | Description: Specify 'acceptotherconf' AcceptOtherConfigfromDHCP confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '1' are allowed.
DHCPRapidCommit | No |  | Description: Specify 'rapidcommit' DHCPRapidCommit confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '1' are allowed.
IPv6Address | No |  | Description: Used to set IPv6 address for interface in IPv6 Configuration. IPv6Address confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS6'. Maximum characters allowed are 45. IP Class other than 'MULTICAST', 'LOCALHOST', 'UNSPECIFIED', 'BROADCAST', 'LINKLOCAL', 'NETWORKBROADCAST', 'NETWORKIP' is allowed.
IPv6Prefix | No |  | Description: Used to set Prefix for Physical interface in IPv6 Configuration. IPv6Prefix confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Maximum digits allowed are 3.
IPv6GatewayName | No |  | Description: Used to configure Gateway Name for IPv6 Configuration. IPv6GatewayName confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 50.
IPv6GatewayAddress | No |  | Description: Used to set IPv6 address for Gateway in IPv6 Configuration. IPv6GatewayAddress confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 45.
PreferredIP | No |  | Description: Specify Static IP Address provided by ISP for a PPPoE Connection. PreferredIP confines to: Type is 'SCALAR'. Datatype is 'IPADDRESS'. Maximum characters allowed are 15.
SchedulTimeForReconnect | No | Disable | Description: Enable Schedule for Reconnect. SchedulTimeForReconnect confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '0', '1' are allowed.
Day For Auto Start | No |  | Description: Specify Day for Auto Start. Day For Auto Start confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '*', '1', '2', '3', '4', '5', '6', '7' are allowed.
Hour For Auto Start | No |  | Description: Specify Hour for Auto Start. Hour For Auto Start confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 0 to 23 is allowed.
Minute For Auto Start | No |  | Description: Specify Minutes for Auto Start. Minute For Auto Start confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 0 to 59 is allowed.
dad | No |  | Description: Specify 'dad' confines to: Type is 'SCALAR'. Datatype is 'INTEGER'. Range 0 to 8 is allowed.
raserveraddress | No |  | Description: Specify 'raserveraddress' confines to: Type is 'SCALAR'. Datatype is 'STRING'.

Status Message Information :

Operation | Status | Message
--- | --- | ---
Edit VLAN | 200 |
Edit VLAN | 500 |
Edit VLAN | 502 |
Edit VLAN | 503 |
Edit VLAN | 505 |
Edit VLAN | 507 |
Edit VLAN | 508 |
Edit VLAN | 511 |
Edit VLAN | 512 |
Edit VLAN | 513 |
Edit VLAN | 514 |
Edit VLAN | 515 |
Edit VLAN | 516 |
Edit VLAN | 520 |
Edit VLAN | 550 |
Add VLAN | 200 |
Add VLAN | 500 |
Add VLAN | 502 |
Add VLAN | 503 |
Add VLAN | 508 |
Add VLAN | 510 |
Add VLAN | 550 |

) Copyright 2017 Sophos Limited. All rights reserved.
Sophos is registered trademarks of Sophos Limited and Sophos Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.