CLI Command for DS5300: Create/Delete WWPN or Create/Delete host identifier

Create WWPN or Create host identifier


create hostPort identifier="10000000A1A10002" userLabel="AIX2" host="Falcon1_12_11" interfaceType=FC


Delete HostPort Identifier:
[root@cobbler SAN]# for i in {3..5}; do echo delete hostPort [AIX"$i"]";";done
delete hostPort [AIX3];
delete hostPort [AIX4];
delete hostPort [AIX5];
[root@cobbler SAN]# for i in {3..5}; do echo delete hostPort [AIX"$i"]";";done|sed 's/"/\\"/g'|xargs echo
delete hostPort [AIX3]; delete hostPort [AIX4]; delete hostPort [AIX5];
[root@cobbler SAN]# for i in {2..100}; do echo delete hostPort [AIX"$i"]";";done|sed 's/"/\\"/g'|xargs echo>> deletehostPort.txt
You have new mail in /var/spool/mail/root
[root@cobbler SAN]# cat deletehostPort.txt
delete hostPort [AIX2]; delete hostPort [AIX3]; delete hostPort [AIX4]; delete hostPort [AIX5]; delete hostPort [AIX6]; delete hostPort [AIX7]; delete hostPort [AIX8]; delete hostPort [AIX9]; delete hostPort [AIX10]; delete hostPort [AIX11]; delete hostPort [AIX12]; delete hostPort [AIX13]; delete hostPort [AIX14]; delete hostPort [AIX15]; delete hostPort [AIX16]; delete hostPort [AIX17]; delete hostPort [AIX18]; delete hostPort [AIX19]; delete hostPort [AIX20]; delete hostPort [AIX21]; delete hostPort [AIX22]; delete hostPort [AIX23]; delete hostPort [AIX24]; delete hostPort [AIX25]; delete hostPort [AIX26]; delete hostPort [AIX27]; delete hostPort [AIX28]; delete hostPort [AIX29]; delete hostPort [AIX30]; delete hostPort [AIX31]; delete hostPort [AIX32]; delete hostPort [AIX33]; delete hostPort [AIX34]; delete hostPort [AIX35]; delete hostPort [AIX36]; delete hostPort [AIX37]; delete hostPort [AIX38]; delete hostPort [AIX39]; delete hostPort [AIX40]; delete hostPort [AIX41]; delete hostPort [AIX42]; delete hostPort [AIX43]; delete hostPort [AIX44]; delete hostPort [AIX45]; delete hostPort [AIX46]; delete hostPort [AIX47]; delete hostPort [AIX48]; delete hostPort [AIX49]; delete hostPort [AIX50]; delete hostPort [AIX51]; delete hostPort [AIX52]; delete hostPort [AIX53]; delete hostPort [AIX54]; delete hostPort [AIX55]; delete hostPort [AIX56]; delete hostPort [AIX57]; delete hostPort [AIX58]; delete hostPort [AIX59]; delete hostPort [AIX60]; delete hostPort [AIX61]; delete hostPort [AIX62]; delete hostPort [AIX63]; delete hostPort [AIX64]; delete hostPort [AIX65]; delete hostPort [AIX66]; delete hostPort [AIX67]; delete hostPort [AIX68]; delete hostPort [AIX69]; delete hostPort [AIX70]; delete hostPort [AIX71]; delete hostPort [AIX72]; delete hostPort [AIX73]; delete hostPort [AIX74]; delete hostPort [AIX75]; delete hostPort [AIX76]; delete hostPort [AIX77]; delete hostPort [AIX78]; delete hostPort [AIX79]; delete hostPort [AIX80]; delete hostPort [AIX81]; delete hostPort [AIX82]; delete hostPort [AIX83]; delete hostPort [AIX84]; delete hostPort [AIX85]; delete hostPort [AIX86]; delete hostPort [AIX87]; delete hostPort [AIX88]; delete hostPort [AIX89]; delete hostPort [AIX90]; delete hostPort [AIX91]; delete hostPort [AIX92]; delete hostPort [AIX93]; delete hostPort [AIX94]; delete hostPort [AIX95]; delete hostPort [AIX96]; delete hostPort [AIX97]; delete hostPort [AIX98]; delete hostPort [AIX99]; delete hostPort [AIX100];

Comments

Popular posts from this blog

How to delete SEA in VIOS

Webmin configuration for LDAP

Sample questions and answers for AWS Associate Solutions Architect Certification ---> AWS exam dumps