Why no. of VLANs allowed are 4096 if we have only around 24 ports which can have a maximum of only 24 separate VLANs running at a time ?

author

Why no. of VLANs allowed on a switch is 4096 which is huge compared to the maximum possibility of VLANs which will actually work at a time on a 24 port switch can be up to 24 only (if we have each port in a different VLAN).

One reason could be for future use but 4096 port switch is hard to see in future.

I think I am lacking some basic concept here.

  • Total 1 Answer
  • 4143
Can You answer this question?
author

I myself got the answer, the range of 4094 is for all the switches in a stack because when the switches are connected in a stack all the switches act as one single switch so they can have a combined total of 4094 VLANs in total.

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/kuzt5MwFKUYiWrFCGIMpZLBxbhEquhJLTBixSf7O): failed to open stream: No space left on device

  1. in Filesystem.php line 111
  2. at HandleExceptions->handleError(2, 'file_put_contents(/var/www/html/storage/framework/sessions/kuzt5MwFKUYiWrFCGIMpZLBxbhEquhJLTBixSf7O): failed to open stream: No space left on device', '/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 111, array('path' => '/var/www/html/storage/framework/sessions/kuzt5MwFKUYiWrFCGIMpZLBxbhEquhJLTBixSf7O', 'contents' => 'a:4:{s:6:"_token";s:40:"uzH1aF5m70A1nKjlH6R7hBdOql5HTzR9QiMACGf5";s:11:"viewed_urls";a:1:{i:0;s:56:"why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:9:"_previous";a:1:{s:3:"url";s:84:"http://www.networkbulls.com/why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/var/www/html/storage/framework/sessions/kuzt5MwFKUYiWrFCGIMpZLBxbhEquhJLTBixSf7O', 'a:4:{s:6:"_token";s:40:"uzH1aF5m70A1nKjlH6R7hBdOql5HTzR9QiMACGf5";s:11:"viewed_urls";a:1:{i:0;s:56:"why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:9:"_previous";a:1:{s:3:"url";s:84:"http://www.networkbulls.com/why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2) in Filesystem.php line 111
  4. at Filesystem->put('/var/www/html/storage/framework/sessions/kuzt5MwFKUYiWrFCGIMpZLBxbhEquhJLTBixSf7O', 'a:4:{s:6:"_token";s:40:"uzH1aF5m70A1nKjlH6R7hBdOql5HTzR9QiMACGf5";s:11:"viewed_urls";a:1:{i:0;s:56:"why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:9:"_previous";a:1:{s:3:"url";s:84:"http://www.networkbulls.com/why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('kuzt5MwFKUYiWrFCGIMpZLBxbhEquhJLTBixSf7O', 'a:4:{s:6:"_token";s:40:"uzH1aF5m70A1nKjlH6R7hBdOql5HTzR9QiMACGf5";s:11:"viewed_urls";a:1:{i:0;s:56:"why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:9:"_previous";a:1:{s:3:"url";s:84:"http://www.networkbulls.com/why-no-of-vlans-which-can-be-created-on-a-switch-is-4096";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 128
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 216
  8. at Kernel->terminateMiddleware(object(Request), object(Response)) in Kernel.php line 187
  9. at Kernel->terminate(object(Request), object(Response)) in index.php line 58
  10. at require_once('/var/www/html/public/index.php') in index.php line 20