Flex System FC3171 8Gb SAN Switch配置实例
ssh登录
默认用户密码USERID PASSW0RD
1、启动admin模式
IBM8Gb: USERID> admin start
2、设置时区和世界
IBM8Gb (admin): USERID> set timezone Asia
Asia/Shanghai
IBM8Gb (admin): USERID> date 033015082016 //2016年3月30日15点08分
3、修改密码
IBM8Gb: USERID> passwd
Press 'q' and the ENTER key to abort this command.
account OLD password : ******** account NEW password (8-20 chars) : ********
please confirm account NEW password: ********
password has been changed.
4、显示端口配置
IBM8Gb (admin): USERID> show config port
Configuration Name: default -------------------
Symbolic Admin Port Link
Port Name State Type Speed IOStreamGuard ---- -------- ----- ---- ----- -------------
Ext1:0 Port0 Online GL Auto Auto Ext2:15 Port15 Online GL Auto Auto Ext3:16 Port16 Online GL Auto Auto
Ext4:17 Port17 Online GL Auto Auto Ext5:18 Port18 Online GL Auto Auto Ext6:19 Port19 Online GL Auto Auto
Bay1 Port1 Online F 8Gb/s Auto Bay2 Port2 Online F 8Gb/s Auto Bay3 Port3 Online F 8Gb/s Auto Bay4 Port4 Online F 8Gb/s Auto Bay5 Port5 Online F 8Gb/s Auto Bay6 Port6 Online F 8Gb/s Auto Bay7 Port7 Online F 8Gb/s Auto Bay8 Port8 Online F 8Gb/s Auto Bay9 Port9 Online F 8Gb/s Auto Bay10 Port10 Online F 8Gb/s Auto Bay11 Port11 Online F 8Gb/s Auto Bay12 Port12 Online F 8Gb/s Auto Bay13 Port13 Online F 8Gb/s Auto Bay14 Port14 Online F 8Gb/s Auto IBM8Gb: USERID> show port //显示端口状态
Admin Operational Login Config Running Link Link Port State State Status Type Type State Speed ---- ----- ----------- ------ ------ ------- ----- -----
Ext1:0 Online Offline NotLoggedIn GL Unknown Inactive Auto Ext2:15 Online Offline NotLoggedIn GL Unknown Inactive Auto Ext3:16 Online Offline NotLoggedIn GL Unknown Inactive Auto Ext4:17 Online Offline NotLoggedIn GL Unknown Inactive Auto Ext5:18 Online Offline NotLoggedIn GL Unknown Inactive Auto Ext6:19 Online Offline NotLoggedIn GL Unknown Inactive Auto
Bay1 Online Online LoggedIn F F Active 8Gb/s Bay2 Online Offline NotLoggedIn F F Inactive 8Gb/s Bay3 Online Online LoggedIn F F Active 8Gb/s Bay4 Online Offline NotLoggedIn F F Inactive 8Gb/s Bay5 Online Online LoggedIn F F Active 8Gb/s Bay6 Online Offline NotLoggedIn F F Inactive 8Gb/s Bay7 Online Online LoggedIn F F Active 8Gb/s Bay8 Online Offline NotLoggedIn F F Inactive 8Gb/s Bay9 Online Online LoggedIn F F Active 8Gb/s Bay10 Online Offline NotLoggedIn F F Inactive 8Gb/s Bay11 Online Online LoggedIn F F Active 8Gb/s Bay12 Online Offline NotLoggedIn F F Inactive 8Gb/s Bay13 Online Online LoggedIn F F Active 8Gb/s Bay14 Online Offline NotLoggedIn F F Inactive 8Gb/s
IBM8Gb: USERID> show port 0 //显示端口0-19配置情况
1-14口用于与计算节点内联,0口和15-19用于外联。node1-7占用奇数位BAY,所以偶数位BAY为NotLoggedIn。
5、创建别名
IBM8Gb (admin-zoning): USERID> alias create vnx5100_left
IBM8Gb (admin-zoning): USERID> alias create vnx5100_right
IBM8Gb (admin-zoning): USERID> alias list
Current list of Zone Aliases ---------------------------- vnx5100_left vnx5100_right
IBM8Gb (admin-zoning): USERID> alias add vnx5100_left 010000
IBM8Gb (admin-zoning): USERID> alias add vnx5100_left 010f00
IBM8Gb (admin-zoning): USERID> alias members vnx5100_left
Current list of members for Zone Alias: vnx5100_left ---------------------------------------
010000 010f00
IBM8Gb (admin-zoning): USERID> alias add vnx5100_right 011000
IBM8Gb (admin-zoning): USERID> alias add vnx5100_right 011100
删除别名中的一个端口 zoning edit
alias remove vnx5100_left 010f00 alias remove vnx5100_right 011100
6、划zone
IBM8Gb: USERID> admin start
IBM8Gb (admin): USERID> zoning edit
IBM8Gb (admin-zoning): USERID> help zone add
zone add ZONE MEMBER_LIST
This command allows zone members to be added to a zone named ZONE.
MEMBER_LIST is a space-separated list of one or more members and each must be a valid port ID, a valid WWN, a zone alias or a comma-separated domain ID and port number pair.
A valid port ID is a hexadecimal string of six (6) characters (e.g, 01AB45). A valid WWN is a colon-separated hexadecimal string (e.g., AB:CD:EF:12:34:56:78:90).
A zone alias must exist before it can be added to a zone.
The last option is a comma-separated list of decimal values (e.g., 2,15)
Admin and zoning edit modes are required for this command.
Usage: zone add
IBM8Gb (admin-zoning): USERID> zone create fs_bay1 //建zone
IBM8Gb (admin-zoning): USERID> zone add fs_bay1 vnx5100_left
IBM8Gb (admin-zoning): USERID> zone add fs_bay1 vnx5100_right
IBM8Gb (admin-zoning): USERID> zone add fs_bay1 010100
IBM8Gb (admin-zoning): USERID> zone members fs_bay1
Current list of members for Zone: fs_bay1 --------------------------------- vnx5100_left (Alias) 010000 010f00
vnx5100_right (Alias) 011000 011100 010100
IBM8Gb (admin-zoning): USERID>
批量脚本 admin start
zoning edit
alias create vnx5100_left
alias add vnx5100_left 010000 alias add vnx5100_left 010f00
alias create vnx5100_right
alias add vnx5100_right 011000 alias add vnx5100_right 011100
zone create fs_bay1
zone add fs_bay1 vnx5100_left zone add fs_bay1 vnx5100_right zone add fs_bay1 010300
zone create fs_bay3
zone add fs_bay3 vnx5100_left zone add fs_bay3 vnx5100_right zone add fs_bay3 010300
zone create fs_bay5
zone add fs_bay5 vnx5100_left zone add fs_bay5 vnx5100_right zone add fs_bay5 010500
zone create fs_bay7
zone add fs_bay7 vnx5100_left zone add fs_bay7 vnx5100_right zone add fs_bay7 010700
zone create fs_bay9
zone add fs_bay9 vnx5100_left zone add fs_bay9 vnx5100_right zone add fs_bay9 010900
zone create fs_bay11
zone add fs_bay11 vnx5100_left zone add fs_bay11 vnx5100_right zone add fs_bay11 010b00
zone create fs_bay13
zone add fs_bay13 vnx5100_left zone add fs_bay13 vnx5100_right zone add fs_bay13 010d00
zoneset create cfg1
zoneset add cfg1 fs_bay1 zoneset add cfg1 fs_bay3 zoneset add cfg1 fs_bay5 zoneset add cfg1 fs_bay7 zoneset add cfg1 fs_bay9 zoneset add cfg1 fs_bay11 zoneset add cfg1 fs_bay13
zoning save cfg1
批量执行截至,以下需单独执行 zoneset activate cfg1
zoning list //显示配置清单
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库Flex System FC3171光纤交换机配置实例参考在线全文阅读。
相关推荐: