DISQUS

Tech-Recipes: Cisco 2950 Switch: Create a VLAN | Cisco switch | Tech-Recipes

  • ravi · 8 months ago
    it's nice
  • Moodi · 4 months ago
    how do i take a port out of vlan

    My Setup is such

    Port Name Status Vlan Duplex Speed Type
    Fa0/1 connection to name connected 100 full 100 10/100BaseTX
    Fa0/2 connection to name connected 100 full 100 10/100BaseTX
    Fa0/22 connection to loca notconnect 1 full 100 10/100BaseTX
    Fa0/23 connection to loca notconnect 1 full 100 10/100BaseTX
    Fa0/24 connected 100 a-half a-10 10/100BaseTX
    Gi0/1 connected 100 full 100 10/100/1000BaseTX
    Gi0/2 notconnect 1 auto auto 10/100/1000BaseTX

    I want Gi0/2 to be part of 100 not 1

    How would i go about doing that.
  • Devin Ryan · 2 months ago
    In order to change the which vlan the port is on execute the following command:
    2950# config t
    2950(config)# int Fi0/1
    2950(config-if)# switchport mode access
    2950(config-if)# switchport access vlan 100
    2950(config-if)# exit
    2950(config)#exit
  • Devin Ryan · 2 months ago
    In order to change the which vlan the port is on execute the following command:
    2950# config t
    2950(config)# int Gi0/1
    2950(config-if)# switchport mode access
    2950(config-if)# switchport access vlan 100
    2950(config-if)# exit
    2950(config)#exit