Friday, November 16, 2012

Setup a Management Port on your Dell PowerConnect 6200 series switch

When you setup your iSCSI network it's always best practice to put it on separate subnet from your management network.  To manage your switch, you must vlan a port and setup an IP address.  If you are using the Dell PowerConnect 6224 or 6248 switches, this can easily be created at the console prompt.

Before you begin, you need to choose a vlan ID, an IP address that the switch can be managed on, and a switch port that will be connected to the management network.

In this example, our management port will be port 8 on switch 1.  The management IP address will be 192.168.100.100 with a netmask of 255.255.255.0 and a default gateway of 192.168.100.1.  We also set the vlan ID to 10.

console>en
console#conf
console(config)#vlan dat
console(config-vlan)#vlan 10
Warning: The use of large numbers of VLANs or interfaces may cause significant
delays in applying the configuration.

console(config-vlan)#exi
console(config)#exi
console#conf
console(config)#interface ethernet 1/g8
console(config-if-1/g8)#switchport access vlan 10
Warning: The use of large numbers of VLANs or interfaces may cause significant
delays in applying the configuration.

console(config-if-1/g8)#exi
console(config)#ip address vlan 10
console(config)#no ip default-gateway
console(config)#ip address 192.168.100.100 /24
console(config)#ip default-gateway 192.168.100.1
console(config)#end

At this point you want to verify that you can indeed get to the managment interface from the web browser.  In this example:  http://192.168.100.100.  If it's working, save your running config as shown below.

console#copy running-config start
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
Configuration Saved!
console#

That's all there is.