Difference between revisions of "Shifting Linksys switch to management VLAN 2"

From Notes_Wiki
(Created page with "=Shifting linksys switch to management vlan 2= #Configure up-link port as trunk with native vlan 2. That is for Cisco switches use #:<pre> #:switchport mode trunk #:switchpo...")
 
m
Line 3: Line 3:
#Configure up-link port as trunk with native vlan 2. That is for Cisco switches use  
#Configure up-link port as trunk with native vlan 2. That is for Cisco switches use  
#:<pre>
#:<pre>
#:switchport mode trunk
#::switchport mode trunk
#:switchport trunk allowed vlan 2,<other vlans>
#::switchport trunk allowed vlan 2,<other vlans>
#:switchport trunk native vlan 2.
#::switchport trunk native vlan 2.
#:</pre>
#:</pre>
#:And for linksys switches configure trunk port as PVID:2, Untagged:2, Tagged: Rest all vlans to be trunked
#:And for linksys switches configure trunk port as PVID:2, Untagged:2, Tagged: Rest all vlans to be trunked

Revision as of 04:52, 9 November 2012

Shifting linksys switch to management vlan 2

  1. Configure up-link port as trunk with native vlan 2. That is for Cisco switches use
    switchport mode trunk
    switchport trunk allowed vlan 2,<other vlans>
    switchport trunk native vlan 2.
    And for linksys switches configure trunk port as PVID:2, Untagged:2, Tagged: Rest all vlans to be trunked
  2. Connect to linksys switch using its default IP 192.168.1.254 from any switch port. Since switch is not configured yet all ports would be in VLAN 1.
  3. Add vlans 2 and other vlans that need to be trunked
  4. Configure up-link port as PVID:2, Untagged:2, Tagged: Rest all vlans to be trunked
  5. Configure all access ports as Untagged:access vlan, Exclude: all other vlans
    Do not change configuration of port from where you are managing switch using its default IP. If you change configuration of that port to some other vlan other then 1, then you will get disconnected
  6. Check if all access ports are now working by connecting to one of the access ports and getting IP from DHCP server.
  7. Now connect back to port from where we were connected using 192.168.1.0/24 IP, since that port is still in vLAN 1.
  8. Change switch IP to vlan 2 IP (Sample configuration: IP address: 10.4.4.2; Netmask 255.255.255.0; Gateway: 10.4.4.1; Management VLAN 2)
  9. Now connect to some user port.
  10. Now try to ping to switch's new management VLAN IP address.
  11. Now connect to switch to its new management VLAN IP address.
  12. Now change configuration of one port from which we were configuring switch, as that port should still be in VLAN 1. Change that port to appropriate access VLAN
  13. Now configure admin password in switch