[qgg_green]FC交换机配置端口zone具有灵活方便的特征,后期上线其他服务器,只需要插到一个Zone里面服务器就可以与存储设备互通。[/qgg_green]
1、导入数据中心授权
华三交换机需要导入“数据中心授权”才可以启动FCOE功能,具体导入授权和其他设备导入授权一致这里就不做介绍了。
2、配置交换机工作模式为高级模式
<FC-S6800-1> system-view [FC-S6800-1] system-working-mode advance //切换工作模式为高级模式 [FC-S6800-1] save //保存设备配置 [FC-S6800-1] quit <FC-S6800-1> reboot
注:缺省情况下,设备工作在标准模式,要使修改的工作模式生效,必须重启设备。
3、配置FC相关配置
<FC-S6800-1> system-view [FC-S6800-1] fcoe-mode fcf //缺省情况下,交换机工作在非FCoE模式,配置FC和FCoE功能时,必须先配置交换机的FCoE模式。 [FC-S6800-1] vsan 10 [FC-S6800-1-vsan10] domain-id 1 static //配置域ID为1 [FC-S6800-1-vsan10] zone default-zone permit //配置允许默认Zone内的成员互相访问 [FC-S6800-1] vlan 10 [FC-S6800-1-vlan10] fcoe enable vsan 10 //开启VLAN 100的FCoE功能,并将其与VSAN 100进行映射 [FC-S6800-2]interface range Ten-GigabitEthernet 1/2/1 to ten 1/2/24 //选择要切换成FC的接口 [FC-S6800-2-if-range]port-type fc //将接口类型切换为FC模式 [FC-S6800-2]interface ran fc 1/1/1 to fc 1/1/24 [FC-S6800-2-if-range]fc mode f //配置FC接口的模式为F模式 [FC-S6800-2-if-range]port access vsan 10 //将FC1/0/1以Access方式加入VSAN 100
4、验证FC相关配置
4.1查看接口配置
[FC-S6800-2]dis int brief Brief information on FC interface(s): Admin Mode: auto - auto; E - e port; F - f port; NP - n port proxy Oper Mode: E - e port; F - f port; NP - n port proxy; TE - trunking e port; TF - trunking f port; TNP - trunking n port proxy Interface VSAN Admin Admin Oper Oper Status SAN-Aggregation Mode Trunk Mode Speed Mode Fc1/1/1 10 F auto -- -- DOWN Fc1/1/2 10 F auto -- -- DOWN Fc1/1/3 10 F auto -- -- DOWN Fc1/1/4 10 F auto -- -- DOWN Fc1/1/5 10 F auto -- -- DOWN Fc1/1/6 10 F auto -- -- DOWN Fc1/1/7 10 F auto -- -- DOWN Fc1/1/8 10 F auto -- -- DOWN Fc1/1/9 10 F auto -- -- DOWN Fc1/1/10 10 F auto -- -- DOWN Fc1/1/11 10 F auto -- -- DOWN Fc1/1/12 10 F auto -- -- DOWN Fc1/1/13 10 F auto -- -- DOWN Fc1/1/14 10 F auto -- -- DOWN Fc1/1/15 10 F auto -- -- DOWN Fc1/1/16 10 F auto -- -- DOWN Fc1/1/17 10 F auto -- -- DOWN Fc1/1/18 10 F auto -- -- DOWN Fc1/1/19 10 F auto -- -- DOWN Fc1/1/20 10 F auto -- -- DOWN Fc1/1/21 10 F auto -- -- DOWN Fc1/1/22 10 F auto -- -- DOWN Fc1/1/23 10 F auto -- -- DOWN Fc1/1/24 10 F auto -- -- DOWN Fc1/2/1 10 F auto -- -- DOWN Fc1/2/2 10 F auto -- -- DOWN Fc1/2/3 10 F auto -- -- DOWN Fc1/2/4 10 F auto -- -- DOWN Fc1/2/5 10 F auto -- -- DOWN Fc1/2/6 10 F auto -- -- DOWN Fc1/2/7 10 F auto -- -- DOWN Fc1/2/8 10 F auto -- -- DOWN Fc1/2/9 10 F auto -- -- DOWN Fc1/2/10 10 F auto -- -- DOWN Fc1/2/11 10 F auto -- -- DOWN Fc1/2/12 10 F auto -- -- DOWN Fc1/2/13 10 F auto -- -- DOWN Fc1/2/14 10 F auto -- -- DOWN Fc1/2/15 10 F auto -- -- DOWN Fc1/2/16 10 F auto -- -- DOWN Fc1/2/17 10 F auto -- -- DOWN Fc1/2/18 10 F auto -- -- DOWN Fc1/2/19 10 F auto -- -- DOWN Fc1/2/20 10 F auto -- -- DOWN Fc1/2/21 10 F auto -- -- DOWN Fc1/2/22 10 F auto -- -- DOWN Fc1/2/23 10 F auto -- -- DOWN Fc1/2/24 10 F auto -- -- DOWN
4.2查看设备接收到的wwwn信息
<FC-S6800-1>display fc login Interface VSAN FCID Node WWN Port WWN Fc1/1/1 10 0x010000 20:00:00:10:9b:53:58:28 10:00:00:10:9b:53:58:28 Fc1/1/2 10 0x010001 20:00:00:10:9b:53:31:2a 10:00:00:10:9b:53:31:2a Fc1/1/3 10 0x010002 20:00:00:10:9b:53:57:e0 10:00:00:10:9b:53:57:e0 Fc1/1/4 10 0x010003 20:00:00:10:9b:53:56:de 10:00:00:10:9b:53:56:de Fc1/1/5 10 0x010004 20:00:00:10:9b:53:56:6c 10:00:00:10:9b:53:56:6c Fc1/1/23 10 0x010005 20:00:00:24:ff:48:ae:54 21:00:00:24:ff:48:ae:54 Fc1/1/24 10 0x010006 21:00:48:d5:39:2e:81:65 20:13:48:d5:39:2e:81:65 Fc1/2/24 10 0x010007 21:00:48:d5:39:2e:81:65 20:03:48:d5:39:2e:81:65
5、设备配置
# version 7.1.070, Release 2612P01 # sysname FC-S6800-1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # lldp global enable # system-working-mode advance hardware-resource switch-mode 0 hardware-resource routing-mode ipv6-64 hardware-resource vxlan l2gw password-recovery enable # fcoe-mode fcf # vsan 1 # vsan 10 domain-id 1 static wwn 10:00:00:10:9b:53:58:28 fcid 010000 dynamic wwn 10:00:00:10:9b:53:31:2a fcid 010001 dynamic wwn 10:00:00:10:9b:53:57:e0 fcid 010002 dynamic wwn 10:00:00:10:9b:53:56:de fcid 010003 dynamic wwn 10:00:00:10:9b:53:56:6c fcid 010004 dynamic wwn 21:00:00:24:ff:48:ae:54 fcid 010005 dynamic wwn 20:13:48:d5:39:2e:81:65 fcid 010006 dynamic wwn 20:03:48:d5:39:2e:81:65 fcid 010007 dynamic zone default-zone permit # vlan 1 # vlan 10 fcoe enable vsan 10 # stp global enable # interface NULL0 # interface FortyGigE1/0/1 port link-mode bridge # interface FortyGigE1/0/2 port link-mode bridge # interface FortyGigE1/1/25 port link-mode bridge # interface FortyGigE1/1/26 port link-mode bridge # interface FortyGigE1/2/25 port link-mode bridge # interface FortyGigE1/2/26 port link-mode bridge # interface M-GigabitEthernet0/0/0 # interface M-GigabitEthernet0/0/1 # interface Fc1/1/1 fc mode f port access vsan 10 # interface Fc1/1/2 fc mode f port access vsan 10 # interface Fc1/1/3 fc mode f port access vsan 10 # interface Fc1/1/4 fc mode f port access vsan 10 # interface Fc1/1/5 fc mode f port access vsan 10 # interface Fc1/1/6 fc mode f port access vsan 10 # interface Fc1/1/7 fc mode f port access vsan 10 # interface Fc1/1/8 fc mode f port access vsan 10 # interface Fc1/1/9 fc mode f port access vsan 10 # interface Fc1/1/10 fc mode f port access vsan 10 # interface Fc1/1/11 fc mode f port access vsan 10 # interface Fc1/1/12 fc mode f port access vsan 10 # interface Fc1/1/13 fc mode f port access vsan 10 # interface Fc1/1/14 fc mode f port access vsan 10 # interface Fc1/1/15 fc mode f port access vsan 10 # interface Fc1/1/16 fc mode f port access vsan 10 # interface Fc1/1/17 fc mode f port access vsan 10 # interface Fc1/1/18 fc mode f port access vsan 10 # interface Fc1/1/19 fc mode f port access vsan 10 # interface Fc1/1/20 fc mode f port access vsan 10 # interface Fc1/1/21 fc mode f port access vsan 10 # interface Fc1/1/22 fc mode f port access vsan 10 # interface Fc1/1/23 fc mode f port access vsan 10 # interface Fc1/1/24 fc mode f port access vsan 10 # interface Fc1/2/1 fc mode f port access vsan 10 # interface Fc1/2/2 fc mode f port access vsan 10 # interface Fc1/2/3 fc mode f port access vsan 10 # interface Fc1/2/4 fc mode f port access vsan 10 # interface Fc1/2/5 fc mode f port access vsan 10 # interface Fc1/2/6 fc mode f port access vsan 10 # interface Fc1/2/7 fc mode f port access vsan 10 # interface Fc1/2/8 fc mode f port access vsan 10 # interface Fc1/2/9 fc mode f port access vsan 10 # interface Fc1/2/10 fc mode f port access vsan 10 # interface Fc1/2/11 fc mode f port access vsan 10 # interface Fc1/2/12 fc mode f port access vsan 10 # interface Fc1/2/13 fc mode f port access vsan 10 # interface Fc1/2/14 fc mode f port access vsan 10 # interface Fc1/2/15 fc mode f port access vsan 10 # interface Fc1/2/16 fc mode f port access vsan 10 # interface Fc1/2/17 fc mode f port access vsan 10 # interface Fc1/2/18 fc mode f port access vsan 10 # interface Fc1/2/19 fc mode f port access vsan 10 # interface Fc1/2/20 fc mode f port access vsan 10 # interface Fc1/2/21 fc mode f port access vsan 10 # interface Fc1/2/22 fc mode f port access vsan 10 # interface Fc1/2/23 fc mode f port access vsan 10 # interface Fc1/2/24 fc mode f port access vsan 10 # scheduler logfile size 16 # line class aux user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line vty 0 63 user-role network-operator # radius scheme system user-name-format without-domain # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # return