diff --git a/resources/templates/provision/yealink/cp860/y000000000037.cfg b/resources/templates/provision/yealink/cp860/y000000000037.cfg index af57fae6f5..3b633a861a 100644 --- a/resources/templates/provision/yealink/cp860/y000000000037.cfg +++ b/resources/templates/provision/yealink/cp860/y000000000037.cfg @@ -26,8 +26,45 @@ network.pc_port.speed_duplex = network.pc_port.dhcp_server = 1 network.static_dns_enable = 1 +{if isset($vlan_port_id) } ####################################################################################### -## VLAN ## +## VLAN ENABLED ## +####################################################################################### +network.vlan.internet_port_enable = 1 + +#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. +#Require reboot; +network.vlan.internet_port_vid = {$vlan_port_id} + +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = + +#Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; +#Require reboot; +network.vlan.pc_port_enable = 1 + +#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. +#Require reboot; +network.vlan.pc_port_vid = {$vlan_pc_port_id} + +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.pc_port_priority = + +#Enable or disable the DHCP to obtain the information of the VLAN; 0-Disabled; 1-Enabled (default); +#Require reboot; +network.vlan.dhcp_enable = + +#Configure the DHCP option to obtain the information of the VLAN. It ranges from 0 to 255. +#Multiple options separated by a comma. It supports up to 5 options in all. +#Require reboot; +network.vlan.dhcp_option = + +{else} + +####################################################################################### +## VLAN DISABLED ## ####################################################################################### network.vlan.internet_port_enable = 0 @@ -60,6 +97,9 @@ network.vlan.dhcp_enable = #Require reboot; network.vlan.dhcp_option = +{/if} + + ####################################################################################### ## WEB Port ## #######################################################################################