Dell PowerConnect 6248 Switch: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 95: Line 95:
  Warning: The use of large numbers of VLANs or interfaces may cause significant
  Warning: The use of large numbers of VLANs or interfaces may cause significant
  delays in applying the configuration.
  delays in applying the configuration.
===Configuring IP Parameters for a VLAN===
Once you have created a VLAN, you may associate an IP address and a subnet mask for a VLAN.  Below, I am assigning an IP address to my VLAN, BKS cluster2.
1) Enter privilege mode > configuration mode.  Next, do interface vlan <VLAN id>. 
# 200 corresponds to my VLAN BKS cluster2. 
switch-2-1(config)#interface vlan 200
You will now see a prompt showing that you are configuring vlan200:
switch-2-1(config-if-vlan200)#
2) Since our configuration mode is now linked to interface vlan200, any commands now will affect vlan200.  Now we will assign the ip address with the command: ip address <desired address> <desired subnet mask>:
switch-2-1(config-if-vlan200)#ip address 10.20.2.254 255.255.0.0
After that, the vlan 200, BKS cluster2, is now assigned the static ip address of 10.20.2.254.

Revision as of 01:10, 10 November 2016

Get access to the switch by going through sgehead.bkslab.org:

[s_bwong1@gimel ~]$ ssh bwong1@sgehead.bkslab.org
bwong1@sgehead.bkslab.org's password: 
Last login: Wed Nov  2 15:39:28 2016 from gimel.compbio.ucsf.edu
Could not chdir to home directory /raid1/people/bwong1: No such file or directory

-bash-3.2$ telnet switch-2-1
Trying 10.0.2.10...
Connected to switch-2-1.c.bkslab.org (10.0.2.10).
Escape character is '^]'.                 
User:admin Password:********* switch-2-1>


Configuring The PCT6248

To create a new vlan:

1) Enable privilege mode

switch-2-1>enable
Password:*********          (same cluster0formula)

2) Enter configuration mode

switch-2-1#config

3) Enter vlan mode

switch-2-1(config)#vlan database

4) Create a vlan with command "vlan <number of new vlan>"

switch-2-1(config-vlan)#vlan 5
Warning: The use of large numbers of VLANs or interfaces may cause significant 
delays in applying the configuration.

5) Exit back to switch's default menu and use "show vlan" to see entire list of current vlans. New vlan will show up.

switch-2-1#show vlan 
VLAN       Name                         Ports          Type      Authorization
-----  ---------------                  -------------  -----     -------------
1      Default                          ch7-24,        Default   Required     
                                       1/g15-1/g18,
                                       1/g39-1/g40,
                                       1/g45-1/g47,
                                       1/xg1-1/xg4
5                                                      Static    Required     
100    26 subnet                        ch1-6,1/g2,    Static    Required     
                                       1/g12,
                                       1/g25-1/g34,
                                       1/g37-1/g38
101    BKS cluster                      ch1-3,ch5-6,   Static    Required     
                                       1/g1,
                                       1/g3-1/g11,
                                       1/g13-1/g14,
                                       1/g19-1/g20,
                                       1/g23-1/g24,
                                       1/g35-1/g36
102    QB3 PI Zone                      ch1,ch3        Static    Required
200    BKS cluster2                                    Static    Required

To delete a vlan:

1) Enter privilege mode, then configure mode, and finally vlan mode (steps above) 2) Use command "no vlan <number of vlan to be deleted>

switch-2-1(config-vlan)#no vlan 5
Warning: The use of large numbers of VLANs or interfaces may cause significant
delays in applying the configuration.

3) Exit back to default menu and see that vlan has been deleted (in this case, vlan 5)

switch-2-1#show vlan 
VLAN       Name                         Ports          Type      Authorization
-----  ---------------                  -------------  -----     -------------
1      Default                          ch7-24,        Default   Required     
                                       1/g15-1/g18,
                                       1/g39-1/g40,
                                       1/g45-1/g47,
                                       1/xg1-1/xg4
100    26 subnet                        ch1-6,1/g2,    Static    Required     
                                       1/g12,
                                       1/g25-1/g34,
                                       1/g37-1/g38
101    BKS cluster                      ch1-3,ch5-6,   Static    Required     
                                       1/g1,
                                       1/g3-1/g11,
                                       1/g13-1/g14,
                                       1/g19-1/g20,
                                       1/g23-1/g24,
                                       1/g35-1/g36
102    QB3 PI Zone                      ch1,ch3        Static    Required
200    BKS cluster2                                    Static    Required

Assigning Ports to a VLAN

1) Enter privilege mode with enable command. Then enter configuration mode. Next, use the interface ethernet <port-number> command to select a port for configuration.

switch-2-1(config)#interface ethernet 1/g12

Your prompt should now contain the selected port.

switch-2-1(config-if-1/g12)#

2) Add your port to the your selected vlan with command: switchport <mode> [add (this section not necessary depending on mode)] vlan <vlan number>

switch-2-1(config-if-1/g12)#switchport access vlan 200                            
Warning: The use of large numbers of VLANs or interfaces may cause significant
delays in applying the configuration.

Configuring IP Parameters for a VLAN

Once you have created a VLAN, you may associate an IP address and a subnet mask for a VLAN. Below, I am assigning an IP address to my VLAN, BKS cluster2. 1) Enter privilege mode > configuration mode. Next, do interface vlan <VLAN id>.

# 200 corresponds to my VLAN BKS cluster2.  
switch-2-1(config)#interface vlan 200

You will now see a prompt showing that you are configuring vlan200:

switch-2-1(config-if-vlan200)#

2) Since our configuration mode is now linked to interface vlan200, any commands now will affect vlan200. Now we will assign the ip address with the command: ip address <desired address> <desired subnet mask>:

switch-2-1(config-if-vlan200)#ip address 10.20.2.254 255.255.0.0

After that, the vlan 200, BKS cluster2, is now assigned the static ip address of 10.20.2.254.