Static VLAN creation

A static VLAN is created when the administrator manually assigns switch ports to belong to a VLAN. Initially, the default is for all ports to be assigned to VLAN1. Static VLANs can be created in VLAN configuration mode. Creating our two VLANs involves only a few commands:

  1. We move from privileged EXEC mode to configuration mode:
Switch# configure terminal
  1. Next, we create the first VLAN (VLAN2, the DEVELOPERS VLAN):
Switch (config)# interface vlan 2
  1. Now, we can assign it a name:
Switch (config-vlan)# name DEVELOPERS
  1. Next, we want to apply the changes, increase the revision number, and return to the global configuration mode:
Switch (config-vlan)# exit
  1. We follow the same steps for the ENGINEERING VLAN, except for ...

Get Mastering pfSense now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.