Keywords, Examples – HP MPX200 Multifunction Router User Manual

Page 138

Advertising
background image

Keywords

Adds the target presentation.

add

Removes the target presentation.

rm

Examples

The following example shows the targetmap add command using the automap option:

nl

nl

MPX200 <1> (admin) #> targetmap add
Index (WWNN,WWPN/iSCSI Name)
----- ----------------------
0 50:00:1f:e1:50:0a:e1:40,50:00:1f:e1:50:0a:e1:48
1 50:00:1f:e1:50:0a:e1:40,50:00:1f:e1:50:0a:e1:4c
2 50:00:1f:e1:50:0a:37:10,50:00:1f:e1:50:0a:37:18
3 50:00:1f:e1:50:0a:37:10,50:00:1f:e1:50:0a:37:1c
4 50:06:01:60:c1:e0:49:2e,50:06:01:62:41:e0:49:2e
5 50:06:01:60:c1:e0:49:2e,50:06:01:6a:41:e0:49:2e
6 50:0a:09:80:88:cd:63:f5,50:0a:09:81:88:cd:63:f5
7 50:0a:09:80:88:cd:63:f5,50:0a:09:81:98:cd:63:f5

nl

Please select a target from the list above ('q' to quit): 6
Index (VpGroup Name)
----- --------------
0 GLOBAL
1 VPGROUP_1
2 VPGROUP_2
3 VPGROUP_3
4 VPGROUP_4

nl

Please select a VpGroup from the list above ('q' to quit): 0

nl

Index (IP/WWNN) (MAC/WWPN) (Portal)
----- ----------- ------------ --------
0 20:00:00:c0:dd:13:2c:60 21:00:00:c0:dd:13:2c:60 FC1
1 20:00:00:c0:dd:13:2c:61 21:00:00:c0:dd:13:2c:61 FC2

nl

Please select a portal from the list above ('q' to quit): 0
Do you want to automap the selected target (Yes/No) [Yes ]
All attribute values that have been changed will now be saved.

The following example shows the targetmap rm command:

MPX200 <1> (admin) #> targetmap rm
Warning: This command will cause the removal of all mappings and hosts
will loose access to disks.

nl

Index State VpGroup Port (WWNN,WWPN/iSCSI Name)
----- ----- ------ ---- ----------------------
0 Online 1 FC1 20:06:00:c0:dd:13:2c:c4,21:06:00:c0:dd:13:2c:c4
1 Online 1 FC1 20:04:00:c0:dd:13:2c:c4,21:04:00:c0:dd:13:2c:c4
2 Online 1 FC1 20:05:00:c0:dd:13:2c:c4,21:05:00:c0:dd:13:2c:c4

nl

Please select a target from the list above ('q' to quit): 0
All attribute values that have been changed will now be saved.

138

Command line interface

Advertising