Skip to main content

Posts

Showing posts with the label switchport mode access

How to create VLANs? VLAN Tutorial

Configuring VLANs and Assigning VLANs to interfaces SW1# configure terminal SW1# vlan2 SW2# name Sales department SW2# exit SW2# interface range fastethernet 0/11 – 16 SW2# switchport access vlan2 SW2# switchport mode access SW2# end In the above configuration, SW1 is the switch name. ‘#’ denotes privileged EXEC mode or enable mode. 1.        “Configure terminal” command: This command is used to enter into Global configuration mode. 2.        “vlan2” command: This command is used to create a vlan. 3.        “name Sales department#: This command is used to give a name to vlan2 as Sales department. If you don’t want to give a name, this command can be ignored. 4.        “exit” command: To exit to privileged EXEC mode. 5.        “interface range fastethernet 0/11 – 16: To enter into interface configuration ...