Difference between revisions of "VLAN"
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
This guide requires a managed switch and knowledge of how to set up VLANs on it, which is outside of the scope of this guide. This is only to show how to set up VLAN on the pbx, and enable it for all phones. This requires your PBX to be on software version 5.1.5-5 or higher. All network switch ports that will have a phone on it should have its port tagged for the appropriate vlan. | This guide requires a managed switch and knowledge of how to set up VLANs on it, which is outside of the scope of this guide. This is only to show how to set up VLAN on the pbx, and enable it for all phones. This requires your PBX to be on software version 5.1.5-5 or higher. All network switch ports that will have a phone on it should have its port tagged for the appropriate vlan. | ||
− | '''WARNING: DO NOT SET VLAN IP ADDRESS ON THE SAME NETWORK AS STANDARD NETWORK INTERFACE! | + | <span style="color:#ff0000;">'''WARNING: DO NOT SET VLAN IP ADDRESS ON THE SAME NETWORK AS STANDARD NETWORK INTERFACE! This will lock up the pbx and cause it to become PERMANENTLY inaccessible.'''</span> Example, if your standard network is 192.168.1.x, your vlan network CANNOT be the same. |
− | Example, if your standard network is 192.168.1.x, your vlan network CANNOT be the same. | ||
[[File:Vlan config.JPG|File:Vlan config.JPG]] | [[File:Vlan config.JPG|File:Vlan config.JPG]] | ||
Line 15: | Line 14: | ||
#Save | #Save | ||
+ | NOTE: If your phones are on a vlan, autodiscovery will not find them with the default settings. To scan the vlan network instead of normal network, go to destinations->auto discovery like normal, choose scan or don't scan as desired, and go under View Settings -> Advanced Scan Settings, and change the Scan Network box to the network (CIDR notation) that you wish to scan for the phones. | ||
− | + | <br/>[[File:Phone global vlan.JPG|File:Phone global vlan.JPG]] | |
− | [[File:Phone global vlan.JPG|File:Phone global vlan.JPG]] | ||
#Navigate to PBX Setup=Phone Global | #Navigate to PBX Setup=Phone Global |
Latest revision as of 15:34, 12 November 2020
Setting up VLAN from the PBX
This guide requires a managed switch and knowledge of how to set up VLANs on it, which is outside of the scope of this guide. This is only to show how to set up VLAN on the pbx, and enable it for all phones. This requires your PBX to be on software version 5.1.5-5 or higher. All network switch ports that will have a phone on it should have its port tagged for the appropriate vlan.
WARNING: DO NOT SET VLAN IP ADDRESS ON THE SAME NETWORK AS STANDARD NETWORK INTERFACE! This will lock up the pbx and cause it to become PERMANENTLY inaccessible. Example, if your standard network is 192.168.1.x, your vlan network CANNOT be the same.
- Define the VLAN under System=>VLAN. It must be enabled.
- Set VLAN IP Address to the IP address that you would like to give the PBX on that vlan, which will also hand out DHCP on the vlan to the phones (This MUST be a different IP address from the main IP address set under system=>networking)
- Set the VLAN Subnet mask to define the network just as you would on standard network settings. 255.255.255.0 is generally going to suffice.
- Set the VID to the actual VLAN ID tag. This must match the VLAN in the switch that you are assigning the ports to.
- Set DHCP Start and End addresses as desired
- Save
NOTE: If your phones are on a vlan, autodiscovery will not find them with the default settings. To scan the vlan network instead of normal network, go to destinations->auto discovery like normal, choose scan or don't scan as desired, and go under View Settings -> Advanced Scan Settings, and change the Scan Network box to the network (CIDR notation) that you wish to scan for the phones.
- Navigate to PBX Setup=Phone Global
- Set Apply VLAN Config to Phones to Enabled
- Set Phone VLAN Enable to Enabled
- Set Phone VID to match VID from step 4 above
- If needed, set PC VLAN settings according to network.
- Save
- Apply changes
- Reboot phones. They should pick up vlan config and be on the vlan network correctly.
This process replaces the need to set vlan in the phone global template. Using the phone global template to assign vlan is no longer necessary as of 5.1.5-5
LLDP
Warning: Do not follow this guide unless you know for certain you need LLDP. Incorrectly implementing this protocol MAY lead to undesired network functionality.
This guide applies to Cisco switches, and the screenshots are specifically from a SG300 28 port switch. Some options may be named differently, or not exist at all on other brands of network equipment.
In the switch:
LLDP Status: Enabled
TLV Advertise Interval: 60
LLDP MED Network Policy
Create 2 policies as follows
Application Voice, VLAN ID 2, VLAN Tagged
Application Voice Signaling, VLAN ID 2, VLAN Tagged
LLDP MED Port Settings
Add Voice and Voice signaling applications to desired ports
VLAN Management=>Voice VLAN=>Properties
Dynamic Voice VLAN: Disabled
Create VLAN: VlanID 2, name Voice
Port to VLAN
Set desired ports for voice traffic (any port that will have a phone plugged in, plus the port that will handle voice dhcp, if needed), to VLAN 2: Tagged
In the PBX
Ensure all phones have LLDP enabled. You can set this on each phone individually in the menu under Settings=>Advanced=>Network=>LLDP, but we would recommend following the instructions listed at http://wiki.ipitomy.com/wiki/HD_Phone_FAQ#How_do_I_Enabled_LLDP_Globally_for_the_Phones to set LLDP globally if you need it for all phones.
Helpful Links
Virtual Local Area Networks (VLANs)
http://www.practicalnetworking.net/stand-alone/vlans/
All Credit and Thanks go to networking guru Ed Harmoush at Practical Networking
Routing Between VLANs
http://www.practicalnetworking.net/stand-alone/routing-between-vlans/
All Credit and Thanks go to networking guru Ed Harmoush at Practical Networking