vlans

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adecanmin
    Trusted Tech

    Site Contributor
    250+ Posts
    • Oct 2010
    • 291

    #16
    Re: vlans

    Originally posted by BillyCarpenter
    I think Cisco command line is all pretty much the same across their switches. Try this from the command line and in this order: (example only, your ports numbers are likely different but you'll get the idea.)


    en
    config t
    vlan 10 (pick any number you want between 2-1001)
    name blue (pick the name you want.)
    vlan 20 (pick any number you want between 2-1001)
    name yellow (pick the name you want.)
    (hit control + c on your keyboard) This takes you back to global configuration mode.
    show vlan brief (this will show that vlan 10 & vlan 20 were created. Please note that even though the Vlans were created that there's no ports assigned YET.)
    config t
    int F0/01 (FO/01 is the first port on my switch. I could use any port if I wanted to.)
    switchport mode access
    switchport access vlan 10

    That's it. Port fa/01 is now assigned to VLAN 10. Just repeat the procedure to add ports to whatever VLAN you want.


    NOTE: The Cisco router is defaulted to VLAN 1 and all ports are assigned to VLAN 1. You can't delete VLAN 1. All you can do is assign the ports to a different VLAN after you create a new VLAN.

    I hope that made some sense.
    Thanks, I'll check it out this weekend.

    Comment

    Working...