3配置

# show running-config 


1、重新授权端口

# conf -t                                                        ----进入配置模式

(config)# interface fc1/1-12                                     ----进入端口进行配置

(config-if)# no shutdown                                         ----cisco光交的端口默认关闭状态,初次使用时需通过此命令激活

(config-if)# interface fc1/13-24

(config-if)# shutdown

(config-if)# no port-license acquire                             ----取消授权前需要将改端口关闭

(config-if)# interface fc1/37-48

(config-if)# port-license acquire 

(config-if)# show running-config 

(config-if)# show license usage 

2、创建配置vsan 2000

(config)# show vsan 

(config)# vsan database                                         ----配置vsan

(config-vsan-db)# vsan 2000                                     ----创建或配置vsan 2000

(config-vsan-db)# vsan 2000 interface fc1/1-12,fc1/37-48        ----把端口加入vsan 2000

(config-vsan-db)# show vsan                         

3、创建配置zone

#config t                                                       ----进入配置模式

(config)# zone name DYNSH-ZONE-SERVER1 VSAN 2000                ----创建或配置zone

(config-zone)# member interface fc1/1,fc1/47,fc1/48             ----将端口加入zone

#(config-zone)# no member interface fc1/1,fc1/47,fc1/48         ----删除zone成员


(config)# show zone

#(config)#no zone name zone1 vsan 2000                          ----删除ZONE


4、创建配置zoneset

#config t

(config)# zoneset name DYNSH-ZONESET vsan 2000                 ----创建zoneset

(config-zoneset)# member DYNSH-ZONE-SERVER1                    ----将zone加入zoneset

#(config-zoneset)# no member DYNSH-ZONE-SERVER1                ----删除zoneset中的zone

(config)# zoneset activate name DYNSH-ZONESET Vsan 2000        ----激活zoneset

(config)# show zoneset

#(config)# no zoneset name anhuipower 2000                     ----删除zoneset

# conf t

(config)# feature npiv                                         ----支持虚拟化

(config)# int range fc1/1-12                                   ----一次进入多个接口进行相同配置

(config-if)# show running-config 

(config-if)# switchport mode F                                 ----设置端口模式F 光纤

(config-if)# interface fc1/37-48                               ----进入端口进行配置

(config-if)# SHOW INTERFACE BRIEF                              ----查看端口信息包括端口模式

(config-if)# switchport mode F

(config-if)# copy running-config startup-config                ----保存当前交换机配置

5、确认FC是否识别到
(config-if)# show flogi database vsan 2000                     ----查看当前互联FC信息

删除vsan
switch#configt
switch(config)#vsan database
switch(config-db)#
switch-config-db#vsan2
switch(config-vsan-db)#no vsan5

删除zone

需要将zone移除zoneset,然后才能删除或配置 
原文地址:https://www.cnblogs.com/dahaoran/p/10668645.html