ISL

Notes

Note If you are executing the setup script after issuing a write erase command, you must explicitly change the default zone policy to permit for VSAN 1 after finishing the script using the following commands:
switch# config t 
switch(config)# zoneset distribute full vsan 1

Note If you are executing the setup script after issuing a write erase command, you must explicitly change the default zoning mode to enhanced for VSAN 1 after finishing the script using the following commands:
switch# config t 
switch(config)# zone mode enhanced vsan 1

Installing the Switch

Setting Up a Network

9600 baud
8 data bits
1 stop bit
No parity

switch# config t
switch(config)# line 1
switch(config)# no flush-at-activation 
switch(config)# line 1
switch(config)# exit
switch# copy running-config startup-config

  # This configuration ensures that the MDS switch does not receive random characters that might cause it to hang.

IP Address Step in the Setup Utility

Continue with Out-of-band (mgmt0) management configuration? {yes/no]: yes
Mgmt0 IPV4 address: 209.165.200.225
Mgmt0 IPV4 netmask: 255.255.255.224
  # Set up the default gateway.

Assigning a Switch Name

switch# config t
switch(config)# switchname myswitch1

Verifying the Module Status

switch# show module

Configuring Date, Time, and Time Zone

switch# clock set {HH:MM:SS DD Month-in-words YYYY}

switch# clock set 15:58:09 15 May 2019
switch# config t
switch(config)# clock timezone PST +8 0
show clock

Configuring NTP

switch# config t
switch(config)# ntp server 10.10.10.10
exit
switch# show ntp peers


switch# copy running-config startup-config

Obtaining Remote Management Access

switch# config terminal
switch(config)# interface mgmt 0
switch(config-if)# ip address 1.1.1.0 255.255.255.0
switch(config-if)# switchport speed 1000
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# ip default-gateway 1.1.1.1

Disabling a Telnet Connection

switch# config t
switch(config)# no feature telnet

Obtaining and Installing Licenses

switch# show license host-id

switch# show license
switch# show license brief
switch# show license file Permanent.lic

switch# copy tftp://a.b.c.d/<filename> bootflash:
switch# install license bootflash:license_file.lic

switch# show license usage

Installing the License Key File to a Remote Location

switch# install license bootflash:license_file.lic kickstart tftp:

Backing Up License Files

switch# copy licenses bootflash:/Enterprise.tar
copy bootflash:EnterpriseKey.tar ftp://10.114.18.111/incoming

Show tech-support

switch# show tech-support > Samplefile
switch# gzip volatile:Samplefile

VSAN

switch#show zoneset active vsan X

Creating VSANs Statically

switch# config t
switch(config)# vsan database
switch(config-vsan-db)# vsan 2
switch(config-vsan-db)# vsan 2 name TechDoc
switch(config-vsan-db)# no vsan 2 suspend
switch(config-vsan-db)# end

Assigning Static Port VSAN Membership

switch# config t
switch(config)# vsan database
switch(config-vsan-db)# vsan 2
switch(config-vsan-db)# vsan 2 interface fc1/8
switch # show vsan 2 membership

Configuring a Zone

switch# config t

switch(config)# zone name Host_A vsan 2
switch(config-zone)# member pwwn 10:00:00:23:45:67:89:ab
#OR
switch(config-zone)# member interface fc 2/1

Configuring the Default Zone Access Permission

switch# config t
switch(config)# zone default-zone permit vsan 1

Creating FC Aliases

switch# config t
switch(config)# fcalias name AliasSample vsan 2
switch(config-fcalias)# member pwwn 10:00:00:23:45:67:89:ab
# OR
switch(config-fcalias)# member interface fc 2/1

Creating Zone Sets and Adding Member Zones

switch# config t
switch(config)# zone set name Zoneset1 vsan 2
switch(config-zoneset)# member Host_A
switch(config-zoneset)# member Zone2
switch(config-zoneset)# member Zone3

Copying Zone Sets

switch# zone copy active-zoneset full-zoneset vsan 5

switch# zone copy vsan 2 active-zoneset scp://guest@myserver/tmp/active_zoneset.txt

Enabling Full Zone Set Distribution

switch# config t
switch(config)# zoneset distribute full vsan 2

switch# show zone status vsan 2

copy running-config startup-config

Enabling a One-Time Distribution

switch# zoneset distribute vsan 2

Displaying Enhanced Zone Information

Zone and Zone Set Analysis

switch# show zone analysis vsan 1

Useful Troubleshooting Commands

# show zone status vsan 1
# show zoneset active vsan 1
# show running zone vsan 1
# show zone internal vsan 1
# show zone internal rscn acl-table current vsan 1
# show zone internal rscn acl-table previous vsan 1
# show zone smart-zoning auto-conv status vsan 1
# show zone smart-zoning error-log

References

désert/Switch/Cisco/MDS9148 (last edited 2019-11-18 07:27:28 by merlyn)