光纤交换机配置(命令)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1.1.1.配置过程
FC_SW1:admin> zonecreate "vm1","1,2;1,4"
FC_SW1:admin> zonecreate "vm01","1,3;1,4"
FC_SW1:admin> zonecreate "vm2","1,2;1,5"
FC_SW1:admin> zonecreate "vm02","1,3;1,5"
FC_SW1:admin> zonecreate "vm3","1,2;1,6"
FC_SW1:admin> zonecreate "vm03","1,3;1,6"
FC_SW1:admin> zonecreate "oadb1","1,2;1,7"
FC_SW1:admin> zonecreate "oadb01","1,3;1,7"
FC_SW1:admin> zonecreate "oadb2","1,2;1,8"
FC_SW1:admin> zonecreate "oadb02","1,3;1,8"
FC_SW1:admin> cfgcreate
"conf1","vm1;vm2;vm3;oadb1;oadb2;vm01;vm02;vm03;oadb01;oadb02"
FC_SW1:admin> cfgenable conf1
You are about to enable a new zoning configuration.
This action will replace the old zoning configuration with the
current configuration selected. If the update includes changes
to one or more traffic isolation zones, the update may result in
localized disruption to traffic on ports associated with
the traffic isolation zone changes
Do you want to enable 'conf1' configuration (yes, y, no, n): [no] y
zone config "conf1" is in effect
Updating flash ...
FC_SW1:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Do you want to save the Defined zoning configuration only? (yes, y, no, n): [no] y Nothing changed: nothing to save, returning ...
FC_SW1:admin > reboot
Warning: This command would cause the switch to reboot
and result in traffic disruption.
Are you sure you want to reboot the switch [y/n]?y
Broadcast message from root (pts/0) Mon Jun 7 05:14:18 2014...
The system is going down for reboot NOW !!
1.1.
2.配置信息
两台光纤交换机的配置相同,下面列举一台光交的配置
FC_SW1:admin> zoneshow
Defined configuration:
cfg: conf1 vm1; vm2; vm3; oadb1; oadb2; vm01; vm02; vm03; oadb01; oadb02 zone: oadb01 1,3; 1,7
zone: oadb02 1,3; 1,8
zone: oadb1 1,2; 1,7
zone: oadb2 1,2; 1,8
zone: vm01 1,3; 1,4
zone: vm02 1,3; 1,5
zone: vm03 1,3; 1,6
zone: vm1 1,2; 1,4
zone: vm2 1,2; 1,5
zone: vm3 1,2; 1,6
alias: vnx5100 1,0; 1,1
alias: vnx5300 1,2; 1,3
Effective configuration:
cfg: conf1
zone: oadb01 1,3
1,7
zone: oadb02 1,3
1,8 zone: oadb1 1,2
1,7 zone: oadb2 1,2
1,8 zone: vm01 1,3
1,4 zone: vm02 1,3
1,5 zone: vm03 1,3
1,6 zone: vm1 1,2
1,4 zone: vm2 1,2
1,5 zone: vm3 1,2
1,6