HOST: Physical server that will be accessing the iSCSI(SAN) storage.
TARGET: A SAN Storage.(i.e MD3000i)
Bring up your terminal consoler, and make sure it is in "#" prompt,
instead of ">". Type "enable" to go to the "#" prompt. Type in
"config" to enter the configuration mode. Below is the command line to
configure the switch. Lines that starts with # are meant for comment so
that you'd understand what the command is for. Do not type lines that
starts with # into the console.
#start configuration
## the following is recommended by DELL for iSCSI environment
spanning-tree mode rstp
interface range ethernet all
spanning-tree portfast
exit
interface range ethernet all
flowcontrol on
exit
port jumbo-frame
interface range ethernet g(1-20)
switchport mode general
exit
##create 2 new vlans 2 and 3
vlan database
vlan 2-3
exit
##name the two vlans created above
interface vlan 2
name iSCSI
exit
interface vlan 3
name "Live Migration(Failover)"
exit
interface range ethernet g(1-10)
##specify that this port is a general port
switchport mode general
##port 1-10 has has vlan id 2
switchport general pvid 2
##allowed only tagged vlan
switchport general allowed vlan add 2 tagged
switchport general acceptable-frame-type tagged-only
exit
## configure the faiolver vlan.
interface range ethernet g(11-16)
switchport mode general
switchport general pvid 3
switchport general allowed vlan add 3 tagged
switchport general acceptable-frame-type tagged-only
exit
## not really required. this is the default
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
iscsi target port 860 address 0.0.0.0
iscsi target port 3260 address 0.0.0.0
##4 assign ip addresses to VLANS
##use the vlan 1 IP to connect to its web interface
interface vlan 1
ip address 197.167.1.1 255.255.255.0
exit
interface vlan 2
ip address 197.167.2.1 255.255.255.0
exit
interface vlan 3
ip address 197.167.3.1 255.255.255.0
exit
## switch setting(labelling)
## don't need default gateway. unless it's plugged in to your corporate network
ip default-gateway 0.0.0.0
hostname SWITCH1
#to have the password encrypted, change the password from the web
UI, download running config to your desktop, and copy paste the
encrypted value here
username localadmin password your_password_here level 15
snmp-server location "wherever"
snmp-server contact "whoever"
snmp-server community Dell_Network_Manager rw view DefaultSuper
# you can change time zone from the web interface. just make sure to copy it to your startup config.
clock timezone -5
clock summer-time recurring usa zone utc
exit
copy running-config startup-config
Reload
#end configuration
No comments:
Post a Comment