Cisco MDS光交配置
一、配置流程
1. 创建VSAN,将端口加入VSAN
2. 创建ZONE,将端口加入ZONE
3. 创建zoneset,将ZONE加入zoneset,并启用zoneset
4. 启用所有端口
二、创建VSAN
#conf t
(config)#vsan database
(config-vsan-db)# vsan 10 name VSAN0010
(config-vsan-db)# vsan 10 interface fc 1/1 – 10
(config-vsan-db)# exit
#show vsan 10 membership
#no shutdown --启用端口
三、创建ZONE
#config t
(config)#zone name ESXI-20-50 vsan 10
(config)#member interface fc1/5
(config)#member interface fc1/5
或
(config)#member pwwn 10:00:00:10:9b:d2:26:62
(config)#member pwwn 50:06:01:6a:49:e0:7b:0c
查看pwwn
(config)#show fcs database
(config)#show flogi database
(config)#zone commit vsan 10
四、配置ZONESET
#config t
(config)#zoneset name jxsxzonset vsan 10
(config-zoneset)#member ESXI-20-50
(config-zoneset)#zoneset activate name jxsxzonset vsan 10
(config)#zone commit vsan 10
五、添加别名
#config t
#device-alias database
#device-alias name AP-DB-24-v1 pwwn 10:00:00:10:9b:df:df:24
#device-alias name AP-DB-24-v2 pwwn 10:00:00:10:9b:df:df:05
#device-alias name AP-DB-25-v1 pwwn 10:00:00:10:9b:df:de:d6
#device-alias name AP-DB-25-v2 pwwn 10:00:00:10:9b:df:dd:d3
#device-alias commit
五、删除vsan、zone、zoneset
删除zone
#config t
(config)#zoneset name jxsxzonset vsan 10
(config-zoneset)#no zone name ESXI-20-50 vsan 10
(config)#zoneset activate name jxsxzonset vsan 10
(config)#zoneset name jxsxzonset vsan 10
(config-zoneset)# no member ESXI-20-50
(config-zoneset)# zone commit vsan 10
(config)# sh run zone
删除vsan
#conf t
(config)#vsan database
(config-vsan-db)# vsan 1 name VSAN0001
(config-vsan-db)# vsan 1 interface fc 1/1 – 10
(config-vsan-db)# no vsan 10
Do you want to continue? (y/n) y
(config-vsan-db)# show vsan
vsan 1 information
name:VSAN0001 state:active
interoperability mode:default
loadbalancing:src-id/dst-id/oxid
operational state:down
(config-vsan-db)# exit
六、修改系统信息
修改名称
#conf t
(config)# switchname APP-1F-JF-MDS-MES-02
修改管理ip
#conf t
(config)#interface mgmt0
(config-if)#ip address 10.102.127.153 255.255.255.0
修改网关
#conf t
(config)#ip default-gateway 10.102.127.1
保存
#copy running-config startup-config