Contents
- ISL
- Notes
- Installing the Switch
- Setting Up a Network
- Assigning a Switch Name
- Verifying the Module Status
- Configuring Date, Time, and Time Zone
- Configuring NTP
- Obtaining Remote Management Access
- Disabling a Telnet Connection
- Obtaining and Installing Licenses
- Show tech-support
- VSAN
- Enabling Full Zone Set Distribution
- Displaying Enhanced Zone Information
- Useful Troubleshooting Commands
ISL
Notes
- Note A VSAN name must be unique.
- Tip The Cisco NX-OS software supports a maximum of 2048 aliases per VSAN.
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
- Rack Mount
- Installing the SFPs
- Powering up the switch
Setting Up a Network
- Connect to Mgmt0 port.
- Verify that the default console port parameters are identical to those of the computer terminal (or terminal server) attached to the switch console port:
9600 baud 8 data bits 1 stop bit No parity
- Note On Cisco terminal servers, issue the following commands starting in EXEC mode
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
- Before you begin configuring the switch, you need to ensure that the modules in the chassis are functioning as designed.
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
- You can also download the license file to remote locations using the TFTP, SFTP, FTP, or SCP protocols.
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
- show interface or show flogi database
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
- On the Cisco MDS Family switches, you cannot edit an active zone set. However, you can copy an active zone set to create a new zone set that you can edit.
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
- switch# show zoneset active vsan 2
- switch# show zone status vsan 1
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
