{"id":746,"date":"2019-10-04T01:48:11","date_gmt":"2019-10-03T15:48:11","guid":{"rendered":"https:\/\/blog.hegars.com\/?p=746"},"modified":"2019-10-04T02:16:11","modified_gmt":"2019-10-03T16:16:11","slug":"cisco-mds-9222i-basic-config","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=746","title":{"rendered":"Cisco MDS 9222i Basic Config"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"353\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-30-1024x353.png\" alt=\"\" class=\"wp-image-750\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-30-1024x353.png 1024w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-30-300x103.png 300w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-30-768x265.png 768w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-30-1080x372.png 1080w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2019\/10\/image-30.png 1338w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nmds9222i# sh run \n\n!Command: show running-config\n!Time: Thu Oct  3 15:25:27 2019\n\nversion 6.2(9a)\npower redundancy-mode redundant\n\nfeature iscsi\niscsi enable module 1\nfeature fcip\n\nrole name default-role\n  description This is a system defined role and applies to all users.\n  rule 5 permit show feature environment\n  rule 4 permit show feature hardware\n  rule 3 permit show feature module\n  rule 2 permit show feature snmp\n  rule 1 permit show feature system\nusername admin password 5 &lt;blah&gt;  role network-admin\n\nip domain-lookup\nip domain-name hegars.com\nip host mds9222i  192.168.51.200\n\naaa group server radius radius \n\nsnmp-server user admin network-admin auth md5 0xblah\n priv 0xblah localizedkey\nsnmp-server host 192.168.15.184 traps version 2c public udp-port 1163\nsnmp-server host 192.168.15.184 traps version 2c public udp-port 1163\nrmon event 1 log trap public description FATAL(1) owner PMON@FATAL\nrmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL\nrmon event 3 log trap public description ERROR(3) owner PMON@ERROR\nrmon event 4 log trap public description WARNING(4) owner PMON@WARNING\nrmon event 5 log trap public description INFORMATION(5) owner PMON@INFO\n\nfcip profile 1\n  ip address 192.168.15.201\n\nvsan database\n  vsan 1 name &quot;local&quot; \n\nfcdomain fcid database\n  vsan 1 wwn 21:00:00:1b:32:91:99:33 fcid 0x4e0000 area dynamic\n  vsan 1 wwn 50:01:10:a0:01:1e:b7:bc fcid 0x4e0100 dynamic\n  vsan 1 wwn 20:02:00:05:73:cb:e8:02 fcid 0x4e0101 dynamic\n  vsan 1 wwn 10:00:00:05:73:cb:e8:01 fcid 0x4e0120 dynamic\n  vsan 1 wwn 21:00:00:1b:32:91:04:24 fcid 0x4e0200 area dynamic\n\ninterface vsan1\n  no shutdown\n  description local\n\nip routing\n\nswitchname mds9222i\n\nline console\nline vty\n\niscsi virtual-target name iqn.2010-04.com.hegars:tape\n  pWWN 50:01:10:a0:01:1e:b7:bc fc-lun 0x0000 iscsi-lun 0x0000\n  advertise interface GigabitEthernet1\/1\n  all-initiator-permit\niscsi import target fc\niscsi authentication none\niscsi initiator ip-address 192.168.15.201\n  vsan 1\n\nboot kickstart bootflash:\/m9200-s2ek9-kickstart-mz.6.2.9a.bin\nboot system bootflash:\/m9200-s2ek9-mz.6.2.9a.bin \n\ninterface fc1\/2\ninterface fc1\/1\ninterface fc1\/2\ninterface fc1\/3\ninterface fc1\/4\ninterface fc1\/5\ninterface fc1\/6\ninterface fc1\/7\ninterface fc1\/8\ninterface fc1\/9\ninterface fc1\/10\ninterface fc1\/11\ninterface fc1\/12\ninterface fc1\/13\ninterface fc1\/14\ninterface fc1\/15\ninterface fc1\/16\ninterface fc1\/17\ninterface fc1\/18\n\n!Active Zone Database Section for vsan 1\nzone name Zone1 vsan 1\n    member pwwn 50:01:10:a0:01:1e:b7:bc\n    member pwwn 21:00:00:1b:32:91:04:24\n    member pwwn 20:02:00:05:73:cb:e8:02\n\nzoneset name ZoneSet1 vsan 1\n    member Zone1\n\nzoneset activate name ZoneSet1 vsan 1\ndo clear zone database vsan 1\n\n!Full Zone Database Section for vsan 1\nzone name Zone1 vsan 1\n    member pwwn 50:01:10:a0:01:1e:b7:bc\n    member pwwn 21:00:00:1b:32:91:04:24\n    member pwwn 20:02:00:05:73:cb:e8:02\n\nzoneset name ZoneSet1 vsan 1\n    member Zone1\n\n\ninterface fc1\/1\n  no shutdown\n\ninterface fc1\/2\n  no shutdown\n\ninterface fc1\/3\n\ninterface fc1\/4\n\ninterface fc1\/5\n\ninterface fc1\/6\n\ninterface fc1\/7\n\ninterface fc1\/8\n\ninterface fc1\/9\n\ninterface fc1\/10\n\ninterface fc1\/11\n\ninterface fc1\/12\n\ninterface fc1\/13\n\ninterface fc1\/14\n\ninterface fc1\/15\n\ninterface fc1\/16\n\ninterface fc1\/17\n\ninterface fc1\/18\n\ninterface iscsi1\/1\n  no shutdown\n\ninterface iscsi1\/2\n\ninterface iscsi1\/3\n\ninterface iscsi1\/4\n\ninterface GigabitEthernet1\/1\n  ip address 192.168.15.201 255.255.255.0\n  iscsi authentication none\n  no shutdown\n\ninterface GigabitEthernet1\/2\n\ninterface GigabitEthernet1\/3\n\ninterface GigabitEthernet1\/4\n\ninterface mgmt0\n  ip address 192.168.51.200 255.255.255.0\n  switchport speed 100\nip default-gateway 192.168.16.254\n\nspan session 1\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Zones<\/h2>\n\n\n\n<p>add the WWN to the zone, even the perceived iscsi pWWN <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zones add the WWN to the zone, even the perceived iscsi pWWN<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[5,28],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/746"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=746"}],"version-history":[{"count":4,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/746\/revisions"}],"predecessor-version":[{"id":751,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/746\/revisions\/751"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}