{"id":901,"date":"2017-12-02T10:33:19","date_gmt":"2017-12-02T15:33:19","guid":{"rendered":"https:\/\/learncctv.com\/?p=901"},"modified":"2020-09-17T08:02:35","modified_gmt":"2020-09-17T13:02:35","slug":"the-use-of-vlans-in-cctv","status":"publish","type":"post","link":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/","title":{"rendered":"How to setup VLANs for CCTV"},"content":{"rendered":"<p style=\"text-align: justify;\"><span>VLAN configuration for CCTV is very important to protect the IP cameras against unauthorized access and also to separate the security camera system from other computers and devices that are connected to the IP network.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>If you have layer 2 <\/span><a href=\"https:\/\/amzn.to\/32DouGK\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span>network switches<\/span><\/a><span> such as Cisco, Netgear, HP, Dell, Dlink and others, they can be easily configured to be used on your CCTV system.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"VLAN for CCTV\" width=\"700\" height=\"200\" title=\"VLAN for CCTV\" data-id=\"1189\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/VLAN-for-CCTV.jpg\"><\/span>[tcb-script type=&#8221;text\/javascript&#8221;]amzn_assoc_placement = &#8220;adunit0&#8221;;amzn_assoc_tracking_id = &#8220;learn-cctv-20&#8221;;amzn_assoc_ad_mode = &#8220;search&#8221;;amzn_assoc_ad_type = &#8220;smart&#8221;;amzn_assoc_marketplace = &#8220;amazon&#8221;;amzn_assoc_region = &#8220;US&#8221;;amzn_assoc_default_search_phrase = &#8220;Cisco switch VLAN&#8221;;amzn_assoc_default_category = &#8220;All&#8221;;amzn_assoc_linkid = &#8220;a92a56b924c5dcfdd42cf53ecfdea8b2&#8221;;amzn_assoc_title = &#8220;Related products&#8221;;amzn_assoc_rows = &#8220;4&#8221;;amzn_assoc_design = &#8220;text_links&#8221;;[\/tcb-script][tcb-script src=&#8221;\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&#8221;][\/tcb-script]<\/p>\n<p style=\"text-align: justify;\"><span>In this article, I will discuss the importance of<strong> <\/strong>VLANs for CCTV, how the technology works and how to do <strong>VLAN configuration for CCTV projects<\/strong>. &nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Let&#8217;s start by learning the <strong>VLAN fundamentals<\/strong>, understand how it is used on <\/span><a href=\"https:\/\/amzn.to\/32DouGK\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span>network switches<\/span><\/a><span> and learn how to setup VLAN for security cameras.<\/span><\/p>\n<h2>What are VLANs<\/h2>\n<p style=\"text-align: justify;\"><span>VLAN is a technology used to segment networks by creating virtual groups.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>It stands for <strong>Virtual Local Area Network<\/strong> and it is frequently used on network switches to create&nbsp;<strong>virtual groups<\/strong> to allow broadcast traffic control and also to increase the security access level thus avoiding unauthorized access.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Switch Group and VLANs\" width=\"700\" height=\"200\" title=\"Switch-Group-and-VLANs\" data-id=\"1194\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Switch-Group-and-VLANs.jpg\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>On a&nbsp;<strong>switch <\/strong>it is possible to<strong> create VLANs<\/strong> and associate them to specific switch ports. Devices such as computers and IP cameras that are connected to the same group of ports will be able to communicate in the network.&nbsp;<\/span><\/p>\n<h2>VLAN traffic segregation<\/h2>\n<p style=\"text-align: justify;\"><span>In a scenario with computers and CCTV cameras connected to the same switch it&#8217;s possible to create <strong>VLANs <\/strong>to separate the <strong>broadcast <\/strong><strong>traffic<\/strong>.&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>The diagram below shows an example of a <\/span><a href=\"https:\/\/amzn.to\/32DouGK\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span>network switch<\/span><\/a><span> that has IP CCTV cameras and computers connected to its ports. Notice that the VLANs are created and represented by different names, IP address range, and colors.<\/span><\/p>\n<p><span style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" alt=\"VLAN Diagram 01\" width=\"447\" height=\"250\" title=\"VLAN Diagram\" data-id=\"1201\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/VLAN-Diagram-01.jpg\" style=\"\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>On IT environment network admins use to name VLANs by using numbers and colors. In the the picture above you can see <span style=\"color: rgb(76, 102, 244);\"><strong>VLAN 10<\/strong><\/span> and <strong><span style=\"color: rgb(59, 159, 74);\">VLAN 20<\/span><\/strong> using the blue and green color respectively to represent different groups.<\/span><\/p>\n<h2>VLAN Security<\/h2>\n<p style=\"text-align: justify;\"><span>VLAN can increase the security in the network by assigning specific switch ports to groups. See the picture below where a man&#8217;s laptop is connected to <strong>port 1<\/strong> on the <strong><span style=\"color: rgb(76, 102, 244);\">Blue VLAN<\/span><\/strong> and communicates with PC2 on <strong>port 3.<\/strong>&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>An intruder removes the IP camera from its cable on port 4 to connect his laptop and hack the network. He connects to the <strong><span style=\"color: rgb(59, 159, 74);\">Green VLAN<\/span><\/strong>&nbsp;to try to hack the security camera but he can&#8217;t have access to the rest of the network.<\/span><\/p>\n<p><span style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" alt=\"VLAN Security\" width=\"447\" height=\"250\" title=\"VLAN-Diagram-Security\" data-id=\"1206\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/VLAN-Diagram-Security.jpg\" style=\"\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>The same principle applies to the company worker, he can&#8217;t have access to the&nbsp; security camera because it&#8217;s connected to a different VLAN.<\/span><\/p>\n<h2>How VLAN TAGs work<\/h2>\n<p style=\"text-align: justify;\"><span>To be able to control the traffic a <\/span><a href=\"https:\/\/amzn.to\/32DouGK\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span>switch <\/span><\/a><span>uses a TAG which is just a way to mark the frames that enter or leave each port,&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>The frames coming into switch <strong>port 1 or 3<\/strong> are tagged as part of <strong>VLAN 10<\/strong>, and frames coming into <strong>port 2 or 4<\/strong> &nbsp;are tagged as part of <strong>VLAN 20<\/strong>.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>The TAG can be different depending on the switch brand, however there&#8217;s a universal TAG standard called<strong> 802.1Q<\/strong> that is used by most manufacturers.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>See the picture below. When the frames come from the IP camera to the switch they are tagged, Those tags are removed before leave the switch.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"How VLAN TAGs work\" width=\"700\" height=\"150\" title=\"How-VLAN-Tags-Work\" data-id=\"1214\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/How-VLAN-Tags-Work.jpg\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>See below the tags fields according to the universal 802.1Q standard.&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span><strong>SOURCE:<\/strong> Package Source<strong>DESTINATION:<\/strong> Package Destination<strong>TYPE &amp; LEN:<\/strong> Type and size<strong>DATA:<\/strong> The data contained in the package<strong>FRAME CHECK: <\/strong>Frame check<\/span><\/p>\n<p style=\"text-align: justify;\"><span>See the illustration of the TAG that is associated with the frame<\/span><\/p>\n<p><span style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" alt=\"802.1 VLAN TAGs\" width=\"700\" height=\"320\" title=\"VLAN-802-1-TAGs\" data-id=\"1218\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/VLAN-802-1-TAGs.jpg\" style=\"\"><\/span><\/p>\n<h2>Communication between switches<\/h2>\n<p style=\"text-align: justify;\"><span>When connecting two switches it is necessary to use a special port called &#8220;<strong><em>Trunk<\/em><\/strong> <strong><em>Port<\/em><\/strong>&#8221; or &#8220;<em><strong>Tagged Port<\/strong><\/em>&#8221; that will allow the traffic of all the VLANs to pass. So the frames with the <strong>802.1Q TAGs<\/strong> will pass through this port.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Some manufacturers have a slightly difference VLAN ports nomenclature. On Cisco switches documentation the term &#8220;<strong><em>Trunk<\/em><\/strong> <strong><em>Port<\/em><\/strong>&#8221; is used for those special ports. Other manufacturers such as Netgear, HP and Dell use the term &#8220;<em><strong>Tagged Port<\/strong><\/em>&#8221; but in any case all of them use&nbsp;<strong>802.1Q TAGs.<\/strong><\/span><\/p>\n<p><span style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" alt=\"Vlan Trunk ports\" width=\"651\" height=\"247\" title=\"Vlan-Trunk\" data-id=\"1290\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Vlan-Trunk.png\" style=\"\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>Now the IP security cameras and the computers can send traffic from the first to the second switch and still keep the broadcast and security under control.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>The first switch can tag the frames that come from the security camera and move them through the trunk (tagged ports) to the second switch.<strong><em><\/em><\/strong><\/span><\/p>\n<h2>Type of switches for VLAN configuration<\/h2>\n<p style=\"text-align: justify;\"><span>For VLAN configuration is necessary to use <strong>layer 2 manageable switches<\/strong>.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Each manufacturer has a different way to create and manage<strong>&nbsp;<\/strong> VLANs by using <strong>CLI<\/strong> (command line interface) or <strong>Web Interface<\/strong>. But in any case the setup is pretty similar and it&#8217;s very easy to create and configure VLANs.<\/span><\/p>\n<h2>Example of VLAN configuration for CCTV&nbsp;<\/h2>\n<p style=\"text-align: justify;\"><span>Let&#8217;s take a look at a CCTV camera system with 4 Desktops that use the <strong><span style=\"color: rgb(76, 102, 244);\">VLAN 10<\/span><\/strong> and 3 IP cameras and 1 NVR using the <span style=\"color: rgb(59, 159, 74);\"><strong>VLAN 20.<\/strong><\/span><\/span><\/p>\n<p style=\"text-align: justify;\"><span>On this small CCTV project, the VLAN separates the corporate broadcast network traffic from the IP camera broadcast network traffic. See the diagram.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"CCTV Network with VLAN\" width=\"700\" height=\"400\" title=\"Security camera network\" data-id=\"1237\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Security-camera-network.jpg\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>On this CCTV VLAN configuration the desktop users will not be able to have access to the IP cameras or NVR. So your security system is protected.&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>So, as you can see VLAN<\/span><span>&nbsp;configuration for CCTV is very important to keep your system safe from hackers and intruders.<\/span><\/p>\n<h2>Creating VLANs on a cisco switch<\/h2>\n<p style=\"text-align: justify;\"><span>As a quick example, let&#8217;s see a VLAN configuration on a 8 port Cisco switch. The model is Catalyst 2960 PD that will be configured using the CLI:<\/span><\/p>\n<ul>\n<li><span style=\"\"><strong><span style=\"color: rgb(76, 102, 244);\">VLAN 10:<\/span><\/strong><strong>Ports 1 to 4<\/strong> to connect the computers<\/span><\/li>\n<li><span style=\"\"><span style=\"color: rgb(52, 143, 66);\"><strong>VLAN 20:<\/strong><\/span><strong>Ports 5 to 8<\/strong> to connect the IP cameras<\/span><\/li>\n<\/ul>\n<p><span><a href=\"http:\/\/amzn.to\/2HLJ4rv\"><img loading=\"lazy\" decoding=\"async\" alt=\"Cisco Catalyst 2960 PD\" width=\"700\" height=\"179\" title=\"Cisco Catalyst 2960 PD\" data-id=\"1230\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Cisco-Catalyst-2960-PD.jpg\"><\/a><\/span>[tcb-script type=&#8221;text\/javascript&#8221;]amzn_assoc_placement = &#8220;adunit0&#8221;;amzn_assoc_tracking_id = &#8220;learn-cctv-20&#8221;;amzn_assoc_ad_mode = &#8220;search&#8221;;amzn_assoc_ad_type = &#8220;smart&#8221;;amzn_assoc_marketplace = &#8220;amazon&#8221;;amzn_assoc_region = &#8220;US&#8221;;amzn_assoc_default_search_phrase = &#8220;Cisco switch 2960&#8221;;amzn_assoc_default_category = &#8220;All&#8221;;amzn_assoc_linkid = &#8220;a92a56b924c5dcfdd42cf53ecfdea8b2&#8221;;amzn_assoc_title = &#8220;Related products&#8221;;amzn_assoc_rows = &#8220;4&#8221;;amzn_assoc_design = &#8220;text_links&#8221;;[\/tcb-script][tcb-script src=&#8221;\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&#8221;][\/tcb-script]<\/p>\n<h3>USB to serial adapter<\/h3>\n<p style=\"text-align: justify;\"><span>The serial cable is a special one used for Cisco Switches and the USB to serial adapter is a TrendNet TU-S9. You can find them on stores such as Amazon.&nbsp;<\/span><\/p>\n<p><span><a href=\"https:\/\/amzn.to\/2OxxjNx\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" alt=\"USB to Serial Adapter\" width=\"700\" height=\"534\" title=\"TrendNet-TU-S9\" data-id=\"1247\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/TrendNet-TU-S9.jpg\"><\/a><\/span><\/p>\n<p>Trendnet USB to serial adapter<\/p>\n<p><span><a href=\"https:\/\/amzn.to\/2LVJule\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" alt=\"Cisco serial cable\" width=\"700\" height=\"534\" title=\"Cisco-serial-cable\" data-id=\"1248\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Cisco-serial-cable.jpg\"><\/a><\/span><\/p>\n<p>Cisco serial cable adapter<\/p>\n<p>[tcb-script type=&#8221;text\/javascript&#8221;]amzn_assoc_placement = &#8220;adunit0&#8221;;amzn_assoc_tracking_id = &#8220;learn-cctv-20&#8221;;amzn_assoc_ad_mode = &#8220;search&#8221;;amzn_assoc_ad_type = &#8220;smart&#8221;;amzn_assoc_marketplace = &#8220;amazon&#8221;;amzn_assoc_region = &#8220;US&#8221;;amzn_assoc_title = &#8220;Shop Related Products&#8221;;amzn_assoc_default_search_phrase = &#8220;Trendnet USB to serial adapter&#8221;;amzn_assoc_default_category = &#8220;All&#8221;;amzn_assoc_linkid = &#8220;de7e6077a6cd748762892547e259a6dd&#8221;;amzn_assoc_rows = &#8220;2&#8221;;amzn_assoc_design = &#8220;text_links&#8221;;[\/tcb-script][tcb-script src=&#8221;\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&#8221;][\/tcb-script]<\/p>\n<p style=\"text-align: justify;\"><span>The <strong>console port <\/strong>at the left side of the switch will be used to connect a serial cable from a laptop. A CLI will be used to create and configure the VLANs<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Cisco Catalyst 2960 USB to serial adaptador\" width=\"700\" height=\"467\" title=\"Cisco-catalyst-2960-USB-serial-connection\" data-id=\"1234\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Cisco-catalyst-2960-USB-serial-connection.jpg\"><\/span><\/p>\n<p>Laptop using a USB to serial adaptader<\/p>\n<p>[tcb-script type=&#8221;text\/javascript&#8221;]amzn_assoc_placement = &#8220;adunit0&#8221;;amzn_assoc_tracking_id = &#8220;learn-cctv-20&#8221;;amzn_assoc_ad_mode = &#8220;search&#8221;;amzn_assoc_ad_type = &#8220;smart&#8221;;amzn_assoc_marketplace = &#8220;amazon&#8221;;amzn_assoc_region = &#8220;US&#8221;;amzn_assoc_title = &#8220;Shop Related Products&#8221;;amzn_assoc_default_search_phrase = &#8220;Cisco serial cable&#8221;;amzn_assoc_default_category = &#8220;All&#8221;;amzn_assoc_linkid = &#8220;de7e6077a6cd748762892547e259a6dd&#8221;;amzn_assoc_rows = &#8220;2&#8221;;amzn_assoc_design = &#8220;text_links&#8221;;[\/tcb-script][tcb-script src=&#8221;\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&#8221;][\/tcb-script]<\/p>\n<h3>A software for CLI commands<\/h3>\n<p style=\"text-align: justify;\"><span>After the USB to Serial interface adapter connection is done, you need to setup the software that will be used for the CLI command. I will use a free one called <strong>putty<\/strong>. You can download it at <\/span><a href=\"https:\/\/www.putty.org\" target=\"_blank\" rel=\"noopener noreferrer\"><span>https:\/\/www.putty.org<\/span><\/a><\/p>\n<h4>Windows serial port configuration<\/h4>\n<p style=\"text-align: justify;\"><span>The software configuration is pretty simple, you just need to check which <strong>com port<\/strong> the Windows is using for the USB adapter, Just open the Windows Device Manager to check the COM &amp; LPT port. See the picture below.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Windows serial port configuration\" width=\"568\" height=\"446\" title=\"Windows-serial-port-configuration\" data-id=\"1245\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Windows-serial-port-configuration.png\"><\/span><\/p>\n<p>Windows serial port configuration<\/p>\n<h4>Putty configuration<\/h4>\n<p style=\"text-align: justify;\"><span>Putty serial port configuration <strong>must match<\/strong> the the data on Windows, for this case they are COM5, Speed 9600, Data bits 8, Stop bits 1 and Parity None.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Putty serial configuration\" width=\"462\" height=\"452\" title=\"Putty-serial-configuration\" data-id=\"1240\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Putty-serial-configuration.jpg\"><\/span><\/p>\n<p>Putty serial configuration (click to enlarge)<\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Putty serial connection\" width=\"461\" height=\"452\" title=\"Putty-serial-connection\" data-id=\"1241\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Putty-serial-connection.jpg\"><\/span><\/p>\n<p>Putty serial connection (click to enlarge)<\/p>\n<p style=\"text-align: justify;\"><span>If the configuration is correct after click &#8220;<em>open<\/em>&#8221; you will see the CLI<\/span><\/p>\n<p><span style=\"width: 100%;\"><img loading=\"lazy\" decoding=\"async\" alt=\"Putty CLI \" width=\"670\" height=\"217\" title=\"CLI-Cisco2\" data-id=\"1242\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/CLI-Cisco2.png\" style=\"\"><\/span><\/p>\n<p>Putty CLI interface<\/p>\n<h3>Create VLAN using the CLI<\/h3>\n<p style=\"text-align: justify;\"><span>Create VLANs using a CLI is very simple. In our example I will configure a 8-port<span><\/span> Cisco Catalyst 2960 switch. See the steps below:&nbsp;<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Cisco CLI\" width=\"670\" height=\"220\" title=\"Cisco-CLI\" data-id=\"1226\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Cisco-CLI.png\"><\/span><\/p>\n<h4>1. Create the VLAN 10<\/h4>\n<p style=\"text-align: justify;\"><span>Open the CLI and &nbsp;execute a sequence of simple commands to get into configuration mode, create the VLAN 10 and give it the name &#8220;<em>computers<\/em>&#8220;.<\/span><\/p>\n<p>Switch#Switch#<strong>conf t<\/strong>Switch(config)#<strong>vlan 10<\/strong>Switch(config-vlan)#<strong>name computers<\/strong><\/p>\n<h4>2. Assign the ports to the VLAN 10<\/h4>\n<p style=\"text-align: justify;\"><span>After create the VLAN is time to assign the ports. Get into configuration mode (conf t) select the port range <strong>from 1 to 4<\/strong> and assign them to the <strong>VLAN 10<\/strong>. &nbsp;<\/span><\/p>\n<p>Switch#Switch#<strong>config t<\/strong>Switch(config)#<strong>interface range fa0\/1 &#8211; 4<\/strong>Switch(config-if-range)#<strong>switchport access vlan 10<\/strong><\/p>\n<h4>3. Create the VLAN 20<\/h4>\n<p style=\"text-align: justify;\"><span>Execute the same sequence of simple commands. Just get into configuration mode, create the VLAN 20 and give it the name &#8220;<em>cameras<\/em>&#8220;.<\/span><\/p>\n<p>Switch#Switch#<strong>conf t<\/strong>Switch(config)#<strong>vlan 20<\/strong>Switch(config-vlan)#<strong>name cameras<\/strong><\/p>\n<h4>4. Assign the ports to the VLAN 20<\/h4>\n<p style=\"text-align: justify;\"><span>The VLAN is created, now just make sure the switch is in configuration mode (conf t) select the port range <strong>from 5 to 8<\/strong> and assign the to the <strong>VLAN 20<\/strong>. &nbsp;<\/span><\/p>\n<p>Switch#Switch#<strong>config t<\/strong>Switch(config)#<strong>interface range fa0\/5 &#8211; 8<\/strong>Switch(config-if-range)#<strong>switchport access vlan 20<\/strong><\/p>\n<h4>5. Verify if the VLANs were correctly created&nbsp;<\/h4>\n<p style=\"text-align: justify;\"><span>Now it&#8217;s time to check if the VLANs were created and the ports were assigned. Just exit the configuration mode and use the command below:<\/span><\/p>\n<p>Switch#(config)#<strong>exit<\/strong>Switch#<strong>show vlan<\/strong><\/p>\n<p style=\"text-align: justify;\"><span>See the picture below with the result. It&#8217;s possible to see that the VLAN 1o and 20 were created with their correct names and the ports were assigned.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"VLAN for computers and IP Cameras\" width=\"670\" height=\"428\" title=\"Vlan-for-computers-and-IP-cameras\" data-id=\"1229\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Vlan-for-computers-and-IP-cameras.png\"><\/span><\/p>\n<h4>6. Save the configuration<\/h4>\n<p style=\"text-align: justify;\"><span>Don&#8217;t forget to save the configuration you just did. See the command below<\/span><\/p>\n<p>Switch#<strong>copy running-config startup-config<\/strong><strong><\/strong><\/p>\n<h2>Creating VLANs on a Netgear switch<\/h2>\n<p style=\"text-align: justify;\"><span>Most switches such as Netgear Prosafe Smart allow to configure VLANs by using a Web interface, so the process is pretty simple and fast.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Now will an easy task to create a VLAN<\/span><span>&nbsp;configuration for CCTV that works for your project by just using few clicks, it&#8217;s something really easy to do.&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Back to the previous example, let&#8217;s create the VLAN 10 and VLAN 20 for computers and Security cameras respectively.&nbsp;<\/span><\/p>\n<ul>\n<li><span style=\"\"><strong><span style=\"color: rgb(76, 102, 244);\">VLAN 10:<\/span><\/strong><strong>Ports 1 to 4<\/strong> to connect the computers<\/span><\/li>\n<li><span style=\"\"><span style=\"color: rgb(52, 143, 66);\"><strong>VLAN 20:<\/strong><\/span><strong>Ports 5 to 8<\/strong> to connect the IP cameras<\/span><\/li>\n<\/ul>\n<p><span><a href=\"http:\/\/amzn.to\/2FVr8Kx\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" alt=\"Netgear ProSafe Smart Switch\" width=\"700\" height=\"161\" title=\"Switch NetGear Smart Managed\" data-id=\"1251\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Switch-NetGear-Smart-Managed-.jpg\"><\/a><\/span>[tcb-script type=&#8221;text\/javascript&#8221;]amzn_assoc_placement = &#8220;adunit0&#8221;;amzn_assoc_tracking_id = &#8220;learn-cctv-20&#8221;;amzn_assoc_ad_mode = &#8220;search&#8221;;amzn_assoc_ad_type = &#8220;smart&#8221;;amzn_assoc_marketplace = &#8220;amazon&#8221;;amzn_assoc_region = &#8220;US&#8221;;amzn_assoc_title = &#8220;Shop Related Products&#8221;;amzn_assoc_default_search_phrase = &#8220;Netgear managed switch&#8221;;amzn_assoc_default_category = &#8220;All&#8221;;amzn_assoc_linkid = &#8220;09a3f437b39025253fff8d8ebc5140f3&#8221;;amzn_assoc_rows = &#8220;4&#8221;;amzn_assoc_design = &#8220;text_links&#8221;;[\/tcb-script][tcb-script src=&#8221;\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&#8221;][\/tcb-script]<\/p>\n<h3>Using the browser interface to create VLANs<\/h3>\n<p style=\"text-align: justify;\"><span>Create the VLAN configuration for CCTV cameras is very simple, you just need to connect a UTP cable from the laptop to one of switch&#8217;s port, open a web browser and follow the steps below:&nbsp;<\/span><\/p>\n<h4>1. Login using your credentials<\/h4>\n<p style=\"text-align: justify;\"><span>Check your switch manual to find out what is the default IP address and login password or use the one you just created for your CCTV camera project.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Netgear Switch Login interface\" width=\"700\" height=\"281\" title=\"Netgear-switch-login\" data-id=\"1252\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-switch-login.jpg\"><\/span><\/p>\n<h4>2. Open the TAB to configure VLAN<\/h4>\n<p style=\"text-align: justify;\"><span>Open the Switching TAB and click on &#8220;<em>VLAN<\/em>&#8221; and note that some VLANs are already created, so don&#8217;t use the same VLAN ID for your project.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Netgear VLAN Configuration\" width=\"700\" height=\"263\" title=\"Netgear-VLAN-configuration-01\" data-id=\"1253\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-configuration-01.jpg\"><\/span><\/p>\n<h4>3. Create the VLAN for computers<\/h4>\n<p style=\"text-align: justify;\"><span>On the configuration tab just create the ID 10 and give the VLAN a name, in our case that will be &#8220;<em>Computers<\/em>&#8220;<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Creating a VLAN for computers\" width=\"700\" height=\"210\" title=\"Netgear-VLAN-configuration-02\" data-id=\"1255\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-configuration-02.png\"><\/span><\/p>\n<h4>5. Set the Untagged ports<\/h4>\n<p style=\"text-align: justify;\"><span>Ports that&nbsp; are connected to IP cameras and computers are called <strong>Untagged <\/strong>ports, meaning those devices are not bringing Tagged Frames to the ports, so it&#8217;s necessary to open the Membership TAB and ckeck the ports with an &#8220;U&#8221;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>In our example ports from 1 to 4 must have the &#8221; U&#8221;. See the picture below,<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"NetGear VLAN 10 configuration\" width=\"982\" height=\"322\" title=\"Netgear-VLAN-configuration-03a\" data-id=\"1267\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-configuration-03a.png\"><\/span><\/p>\n<h4>6. Repeat the process for VLAN 20<\/h4>\n<p style=\"text-align: justify;\"><span>Create the VLAN, name it and set the untagged ports from 5 to 8<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"VLAN configuration for IP cameras\" width=\"700\" height=\"210\" title=\"Netgear-VLAN-configuration-04\" data-id=\"1260\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-configuration-04.png\"><\/span><span><img loading=\"lazy\" decoding=\"async\" alt=\"NetGear VLAN 20 configuration\" width=\"982\" height=\"322\" title=\"Netgear-VLAN-configuration-05a\" data-id=\"1268\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-configuration-05a-1.png\"><\/span><\/p>\n<h2>VLAN configuration for large CCTV projects<\/h2>\n<p style=\"text-align: justify;\"><span>For larger CCTV projects it&#8217;s just a question to escalate the network, create VLANs and configure the <strong>trunk ports<\/strong> (or tagged ports) between switches.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Just create the VLANs on both switches, use a UTP cable to connected them and configure those ports as trunk or tagged ports. See the diagram.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Security Camera Network with VLAN Trunk\" width=\"700\" height=\"380\" title=\"Security-camera-network-with-VLAN-Trunk-port\" data-id=\"1277\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Security-camera-network-with-VLAN-Trunk-port.png\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>In this example, the blue computers can&#8217;t broadcast or have access to the IP cameras or NVRs, so the surveillance network is safe from hackers or virus.<\/span><\/p>\n<h2>Configuring a Cisco Switch trunk<\/h2>\n<p style=\"text-align: justify;\"><span>If you are using Cisco Switches on both ends of the network, just connect the cables to the port, let&#8217;s say port 10 for example, make sure the switch is using the standard 802.1Q we discussed earlier and convert the port into a trunk.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>The configuration is simple, just get into the port you want to use as a trunk and type the commands below:<\/span><\/p>\n<p>Switch#<strong>config t<\/strong>Switch#<strong><strong>interface fa0\/10<\/strong><\/strong>Switch(config)#<strong>switchport trunk encapsulation dot1q<\/strong>Switch(config-if-range)#<strong>switchport mode trunk<\/strong><\/p>\n<h2>Configuring Netgear Switch tagged ports<\/h2>\n<p style=\"text-align: justify;\"><span>As long the switches are connected and the VLANs are created on both sides of the network, you just need to configure the tagged ports on them.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>Go to the VLAN Membership and TAG the port you want to connect to the next switch with a &#8221; T&#8221; that stands for tagged. In our example is the port 10.<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Netgear Trunking VLAN 10 configuration\" width=\"982\" height=\"322\" title=\"Netgear-VLAN-10-configuration-trunking\" data-id=\"1270\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-10-configuration-trunking.png\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span>Repeat the process for the VLAN 20 by tagging the same port<\/span><\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"Netgear Trunking VLAN 20 configuration\" width=\"982\" height=\"322\" title=\"Netgear-VLAN-20-configuration-trunking\" data-id=\"1274\" src=\"\/\/learncctv.com\/wp-content\/uploads\/2018\/02\/Netgear-VLAN-20-configuration-trunking.png\"><\/span>[tcb-script type=&#8221;text\/javascript&#8221;]amzn_assoc_placement = &#8220;adunit0&#8221;;amzn_assoc_tracking_id = &#8220;learn-cctv-20&#8221;;amzn_assoc_ad_mode = &#8220;search&#8221;;amzn_assoc_ad_type = &#8220;smart&#8221;;amzn_assoc_marketplace = &#8220;amazon&#8221;;amzn_assoc_region = &#8220;US&#8221;;amzn_assoc_title = &#8220;Shop Related Products&#8221;;amzn_assoc_default_search_phrase = &#8220;Netgear managed switch&#8221;;amzn_assoc_default_category = &#8220;All&#8221;;amzn_assoc_linkid = &#8220;09a3f437b39025253fff8d8ebc5140f3&#8221;;amzn_assoc_search_bar = &#8220;true&#8221;;amzn_assoc_search_bar_position = &#8220;top&#8221;;[\/tcb-script][tcb-script src=&#8221;\/\/z-na.amazon-adsystem.com\/widgets\/onejs?MarketPlace=US&#8221;][\/tcb-script]<\/p>\n<h2>Conclusion<\/h2>\n<p style=\"text-align: justify;\"><span>VLAN configuration for CCTV cameras is not rocket science.<\/span><\/p>\n<p style=\"text-align: justify;\"><span>VLAN can be used to secure and improve a CCTV System, it&#8217;s just a question of switch installation and configuration. It doesn&#8217;t matter the switch&#8217;s brand, as long as you have a manageable layer 2 device you can create the VLANs&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><span>If you need to use more advanced configuration such as give access to more than one computer to different VLANS than it&#8217;s necessary to use a router or layer 3 switch for Inter-vlan routing. But this is a topic for another article.<\/span><\/p>\n<h2>Want to learn more ?&nbsp;<\/h2>\n<p style=\"text-align: justify;\"><span>If you want to become a <strong>professional CCTV installer or designer<\/strong>, take a look at the material available in the blog. Just click the links below:<\/span><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/learncctv.com\/ultimate-security-camera-guide-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">&#8211;&gt; Ultimate Security Camera Guide V1<\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/learncctv.com\/ultimate-security-camera-guide-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">&#8211;&gt; Ultimate Security Camera Guide V2<\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/learncctv.com\/ultimate-security-camera-guide-3\" target=\"_blank\" rel=\"noopener noreferrer\">&#8211;&gt; Ultimate Security Camera Guide V3<\/a><\/p>\n<p><span style=\"width: 100%;\"><a href=\"https:\/\/learncctv.com\/ultimate-security-camera-guide-3\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" alt=\"Ultimate Guide V3\" width=\"728\" height=\"90\" title=\"Ultimate Guide V3\" data-id=\"5441\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2019\/01\/Ultimate-Guide-V3-728x90-01.png\" style=\"\"><\/a><\/span><\/p>\n<p style=\"text-align: justify;\">Please share this information with your friends&#8230;<\/p>\n<p><a href=\"http:\/\/aprendacftv.com\/configuracao-de-vlan-para-projetos-de-cftv-ip-com-exemplo-pratico\/\" target=\"_blank\" rel=\"noopener noreferrer\">Portuguese version<\/a><\/p>\n<p><a href=\"http:\/\/aprendacctv.com\/que-es-vlan-y-como-usarla-en-cctv-ip-con-ejemplo-practico\/\" target=\"_blank\" rel=\"noopener noreferrer\">Spanish version<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VLAN configuration for CCTV is very important to protect the IP cameras against unauthorized access and also to separate the security camera system from other computers and devices that are connected to the IP network. If you have layer 2 network switches such as Cisco, Netgear, HP, Dell, Dlink and others, they can be easily [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[46,6,61,60],"class_list":["post-901","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-network","tag-cctv","tag-ip-cameras","tag-tags","tag-vlans"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to setup VLANs for CCTV cameras (Easy explanation) - Learn CCTV<\/title>\n<meta name=\"description\" content=\"VLAN configuration for CCTV cameras is pretty simple. You just need to learn some network fundamentals, buy a layer 2 switch and setup the VLANs to isolate the IP security cameras, DVR or NVR from the rest of the network. In this article I will teach you how to configure your VLAN very fast.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup VLANs for CCTV cameras (Easy explanation) - Learn CCTV\" \/>\n<meta property=\"og:description\" content=\"VLAN configuration for CCTV cameras is pretty simple. You just need to learn some network fundamentals, buy a layer 2 switch and setup the VLANs to isolate the IP security cameras, DVR or NVR from the rest of the network. In this article I will teach you how to configure your VLAN very fast.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn CCTV.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/learncctvnow\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/learncctvnow\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-02T15:33:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-17T13:02:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"568\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Claudemir Martins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Claudemir Martins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/\",\"url\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/\",\"name\":\"How to setup VLANs for CCTV cameras (Easy explanation) - Learn CCTV\",\"isPartOf\":{\"@id\":\"https:\/\/learncctv.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg\",\"datePublished\":\"2017-12-02T15:33:19+00:00\",\"dateModified\":\"2020-09-17T13:02:35+00:00\",\"author\":{\"@id\":\"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a\"},\"description\":\"VLAN configuration for CCTV cameras is pretty simple. You just need to learn some network fundamentals, buy a layer 2 switch and setup the VLANs to isolate the IP security cameras, DVR or NVR from the rest of the network. In this article I will teach you how to configure your VLAN very fast.\",\"breadcrumb\":{\"@id\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#primaryimage\",\"url\":\"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg\",\"contentUrl\":\"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg\",\"width\":700,\"height\":568,\"caption\":\"VLANs\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learncctv.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup VLANs for CCTV\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learncctv.com\/#website\",\"url\":\"https:\/\/learncctv.com\/\",\"name\":\"Learn CCTV.com\",\"description\":\"The place where you can learn CCTV\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learncctv.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a\",\"name\":\"Claudemir Martins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learncctv.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g\",\"caption\":\"Claudemir Martins\"},\"description\":\"Claudemir Martins is a former Samsung Engineer with 19+ years of experience in the surveillance industry. He has been traveling around 17 different countries to teach people how to design, and install CCTV systems. He is currently working for Axis Communications as a Technical Services Engineer and living in the United States with his family.\",\"sameAs\":[\"https:\/\/learncctv.com\",\"https:\/\/www.facebook.com\/learncctvnow\"],\"url\":\"https:\/\/learncctv.com\/author\/claudemir-martinsgmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup VLANs for CCTV cameras (Easy explanation) - Learn CCTV","description":"VLAN configuration for CCTV cameras is pretty simple. You just need to learn some network fundamentals, buy a layer 2 switch and setup the VLANs to isolate the IP security cameras, DVR or NVR from the rest of the network. In this article I will teach you how to configure your VLAN very fast.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/","og_locale":"en_US","og_type":"article","og_title":"How to setup VLANs for CCTV cameras (Easy explanation) - Learn CCTV","og_description":"VLAN configuration for CCTV cameras is pretty simple. You just need to learn some network fundamentals, buy a layer 2 switch and setup the VLANs to isolate the IP security cameras, DVR or NVR from the rest of the network. In this article I will teach you how to configure your VLAN very fast.","og_url":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/","og_site_name":"Learn CCTV.com","article_publisher":"https:\/\/www.facebook.com\/learncctvnow","article_author":"https:\/\/www.facebook.com\/learncctvnow","article_published_time":"2017-12-02T15:33:19+00:00","article_modified_time":"2020-09-17T13:02:35+00:00","og_image":[{"width":700,"height":568,"url":"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg","type":"image\/jpeg"}],"author":"Claudemir Martins","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Claudemir Martins","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/","url":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/","name":"How to setup VLANs for CCTV cameras (Easy explanation) - Learn CCTV","isPartOf":{"@id":"https:\/\/learncctv.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#primaryimage"},"image":{"@id":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#primaryimage"},"thumbnailUrl":"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg","datePublished":"2017-12-02T15:33:19+00:00","dateModified":"2020-09-17T13:02:35+00:00","author":{"@id":"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a"},"description":"VLAN configuration for CCTV cameras is pretty simple. You just need to learn some network fundamentals, buy a layer 2 switch and setup the VLANs to isolate the IP security cameras, DVR or NVR from the rest of the network. In this article I will teach you how to configure your VLAN very fast.","breadcrumb":{"@id":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#primaryimage","url":"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg","contentUrl":"https:\/\/learncctv.com\/wp-content\/uploads\/2017\/12\/VLAN.jpg","width":700,"height":568,"caption":"VLANs"},{"@type":"BreadcrumbList","@id":"https:\/\/learncctv.com\/the-use-of-vlans-in-cctv\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learncctv.com\/"},{"@type":"ListItem","position":2,"name":"How to setup VLANs for CCTV"}]},{"@type":"WebSite","@id":"https:\/\/learncctv.com\/#website","url":"https:\/\/learncctv.com\/","name":"Learn CCTV.com","description":"The place where you can learn CCTV","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learncctv.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a","name":"Claudemir Martins","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learncctv.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g","caption":"Claudemir Martins"},"description":"Claudemir Martins is a former Samsung Engineer with 19+ years of experience in the surveillance industry. He has been traveling around 17 different countries to teach people how to design, and install CCTV systems. He is currently working for Axis Communications as a Technical Services Engineer and living in the United States with his family.","sameAs":["https:\/\/learncctv.com","https:\/\/www.facebook.com\/learncctvnow"],"url":"https:\/\/learncctv.com\/author\/claudemir-martinsgmail-com\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts\/901"}],"collection":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/comments?post=901"}],"version-history":[{"count":1,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts\/901\/revisions"}],"predecessor-version":[{"id":20034,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts\/901\/revisions\/20034"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/media\/912"}],"wp:attachment":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/media?parent=901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/categories?post=901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/tags?post=901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}