VLan Config

Posted filed under Cisco CCNA.


 

Setting up VLAN’s

On a new switch, all the ports are in VLAN 1 by default.  We just plug in the Ethernet cables and the devices can communicate.  Furthermore, all the ports are in the up/up (administratively up) mode.

SW1#show vlan bei

SW1#show vlan bri

SW1#show vlan brief

 

VLAN Name Status Ports
1 default  active   Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Gig1/1, Gig1/2

1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default SW1# active

 

Receive our Cisco CCNA Packet Tracer!
Get our complete tutorial in PDF
 

Creating a VLAN, requires 2 steps:

Step 1) Create all your VLAN’s

Step 2) Assign ports to the VLAN’s

 

 

In our LAB, we want to set up the following:

PC1=f0/1 will be in VLAN 2 (SALES)

PC2=f0/2 will be in VLAN 2 (SALES)

PC4=f0/4 will be in VLAN 3 (EGR)

PC5=f0/5 will be in VLAN 3 (EGR)

 

Step 1) Create all your VLAN’s

SW1#config t

Enter configuration commands, one per line.  End with CNTL/Z.

SW1(config)#vlan ?

<1-1005>  ISL VLAN IDs 1-1005

SW1(config)#vlan 2

SW1(config-vlan)#?

VLAN configuration commands:

exit  Apply changes, bump revision number, and exit mode

name  Ascii name of the VLAN

no    Negate a command or set its defaults

SW1(config-vlan)#name sales

SW1(config-vlan)#exit

SW1(config)#

SW1(config)#

SW1(config)#

SW1(config)#

SW1(config)#

SW1(config)#vlan ?

<1-1005>  ISL VLAN IDs 1-1005

SW1(config)#vlan 3

SW1(config-vlan)#name EGR

SW1(config-vlan)#

 

Now let’s check the work:

VLAN Name Status Ports
1 default  active  Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/20

Fa0/21, Fa0/22, Fa0/23, Fa0/24

Gig1/1, Gig1/2

2 Sales active
3 EGR active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

 

As we see, all the ports are still in VLAN 1

 

 

 

Watch the video and you will be able to understand CCNA VLAN Configuration much better and Please subscribe to our YouTube Channel.

50-discount-on-self-study-online-class
 

Want more information on how to become Cisco CCNA Certified? Learn more!
Join our Cisco CCNA facebook study group!
 


Also published on Medium.

3 Responses to “Cisco CCNA VLAN Configuration”

Trackbacks/Pingbacks

  1.  porno
  2.  gvk biosciences