zone的命令行配置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zone的命令行配置相关的知识,希望对你有一定的参考价值。
第一种,通过加入wwn来完成zone的创建,这种方法可以保证即使换了端口还是可以保证zone关系的存在;
Root> config
Config>
.. - Move back one level
NPIV - Configure NPIV settings
NSTools - Configure the Name Server snapshotdatabase
alias - Configure Alias for WWNs
commadelim - Toggle comma-delimited display mode
enterpriseFabMode - Configure EnterpriseFabric Mode settings
features - Configure product feature settings
fencing - Configure port fencing policies
ficonCUPZoning - Configure FICON CUP Zoning
ficonMS - Configure FICON management serversettings
ip - Configure product ip settings
login - Login to CLI under differentaccess rights
logout - Logout of CLI
openSysMS - Configure open systems managementserver settings
port - Configure product port data
root - Move back to root level
security - Configure product security settings
snmp - Configure product SNMP settings
switch - Configure product switch data
syslog - Configure Syslog settings
system - Configure product system data
zoning - Configure product zoning settings
Config>zoning
Config.Zoning>
.. - Move back one level
activateZoneSet - Activate the zone set in the zone setworking area
addPortMem - Add a domain/port member to the zoneset working area
addWwnMem - Add a WWN member to the zone setworking area
addZone - Add a new (empty) zone to the zoneset working area
clearZone - Clear all zone members from a zonein the working area
clearZoneSet - Clear the zone set working area,removing all zones
commadelim - Toggle comma-delimited display mode
deactivateZoneSet - Place all devices inthe Default Zone immediately
deletePortMem - Delete a domain/port member from thespecified zone
deleteWwnMem - Delete a WWN zone member from thespecified zone
deleteZone - Delete a zone from the zone setworking area
login - Login to CLI under differentaccess rights
logout - Logout of CLI
renameZone - Rename a zone in the zone set workingarea
renameZoneSet - Rename the zone set working area
replaceZoneSet - Replace the working area with the activezone set
root - Move back to root level
setDefZoneState - Enable or disable the default zone state
showActive - Show the zoning configuration that issaved on the fabric
showPending -Show the current zone set working area
Config.Zoning> addZone prg(创建zone prg)
Config.Zoning> addWwnMem prg 2005080088E38C64 (将需要加入zone的wwn加入到所创建的zone)
Config.Zoning> activateZoneSet(完成激活,zone关系即可使用)
第二种,通过加入交换机的端口来完成zone的创建,这种方法是依据端口创建的,所以不用理会hba卡的wwn号是多少;
Root> config
Config>
.. - Move back one level
NPIV - Configure NPIV settings
NSTools - Configure the Name Server snapshotdatabase
alias - Configure Alias for WWNs
commadelim - Toggle comma-delimited display mode
enterpriseFabMode - Configure EnterpriseFabric Mode settings
features - Configure product feature settings
fencing - Configure port fencing policies
ficonCUPZoning - Configure FICON CUP Zoning
ficonMS - Configure FICON management serversettings
ip - Configure product ip settings
login - Login to CLI under differentaccess rights
logout - Logout of CLI
openSysMS - Configure open systems managementserver settings
port - Configure product port data
root - Move back to root level
security - Configure product security settings
snmp - Configure product SNMP settings
switch - Configure product switch data
syslog - Configure Syslog settings
system - Configure product system data
zoning - Configure product zoning settings
Config>zoning
Config.Zoning>
.. - Move back one level
activateZoneSet - Activate the zone set in the zone setworking area
addPortMem - Add a domain/port member to the zoneset working area
addWwnMem - Add a WWN member to the zone setworking area
addZone - Add a new (empty) zone to the zoneset working area
clearZone - Clear all zone members from a zonein the working area
clearZoneSet - Clear the zone set working area,removing all zones
commadelim - Toggle comma-delimited display mode
deactivateZoneSet - Place all devices inthe Default Zone immediately
deletePortMem - Delete a domain/port member from thespecified zone
deleteWwnMem - Delete a WWN zone member from thespecified zone
deleteZone - Delete a zone from the zone setworking area
login - Login to CLI under differentaccess rights
logout - Logout of CLI
renameZone - Rename a zone in the zone set workingarea
renameZoneSet - Rename the zone set working area
replaceZoneSet - Replace the working area with the activezone set
root - Move back to root level
setDefZoneState - Enable or disable the default zone state
showActive - Show the zoning configuration that issaved on the fabric
showPending -Show the current zone set working area
Config.Zoning> addZone prg(创建zone prg)
Config.Zoning> addPortMem<zoneName> <domainId> <portNumber> (domainid可以根据规划填写相应数值,portNumber为相应端口号)
Config.Zoning> activateZoneSet(完成激活,zone关系即可使用)
本文出自 “希望明天会更好” 博客,请务必保留此出处http://natian.blog.51cto.com/9187914/1794908
以上是关于zone的命令行配置的主要内容,如果未能解决你的问题,请参考以下文章
Kubernetes 配置Pod和容器(二)定义容器命令行和参数