Cisco MDS 9000 Family Data Mobility Manager Configuration Guide
DMM CLI Command Reference

Table Of Contents

DMM CLI Command Reference

ssm enable feature dmm

dmm module job

attributes (DMM job configuration submode)

commit (DMM job configuration submode)

peer (DMM job configuration submode)

server (DMM job configuration submode)

server (configure session submode)

storage (DMM job configuration submode)

dmm module

show dmm discovery-log

show dmm fp-port

show dmm ip-peer

show dmm job

show dmm srvr-vt-login

show dmm vt

debug dmm-debug


DMM CLI Command Reference


The Cisco MDS DMM feature provides a CLI suitable for scripting and advanced operations.

This appendix contains an alphabetical listing of commands that are unique to the Cisco MDS DMM feature.

For information about other commands that apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches, refer to the Cisco MDS 9000 Family CLI Configuration Guide.

ssm enable feature dmm

To enable DMM, use the ssm enable feature dmm command in configuration mode.

ssm enable feature dmm {force {interface fc slot/port | module slot} | interface fc slot/port | module slot}

Syntax Description

force

Forces a switching module reload.

interface

Specifies the interface.

fc slot/port

Specifies the Fiber Channel slot and port numbers.

module slot

Specifies the SSM module slot number.


Defaults

The DMM feature is disabled.

Command Modes

Configuration mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

None.

Examples

The following example shows how to enable DMM on a module:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# ssm enable feature dmm module 1

The following example shows how to enable DMM on an interface:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# ssm enable feature dmm interface fc 1/1 - 4

The following example shows how to force a reload on some of the ports on a line card:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# ssm enable feature dmm force interface fc 1/1 - 8, fc 1/13 - 16

Related Commands

Command
Description

show ssm provisioning

Displays information about features provisioned on the SSM.

show dmm job

Displays DMM job information.


dmm module job

To configure a data migration job, use the dmm module mod-id job command in configuration mode.

dmm module mod-id
job job-id create | destroy | get-vi vsan vsan-id | restart | schedule {hour hour min minute day day month month year year | now | reset} | session | stop | validate | verify | finish

Syntax Description

module mod-id

Specifies the module ID.

job job-id

Specifies the job ID. The range is 0 to18446744073709551615.

create

Creates the job and enters DMM job configuration submode.

destroy

Deletes the DMM job.

get-vi

Retrieves the VI for the DMM job.

vsan vsan-id

Specifies the VSAN ID. The range is 1 to 4093.

start

Starts the DMM job session.

schedule

Schedules the DMM job.

hour hour

Specifies the hour the DMM job starts. The range is 0 to 23.

min minute

Specifies the minute the DMM job starts. The range is 0 to 59.

day day

Specifies the day the DMM job starts. The range is 1 to 31.

month month

Specifies the month the DMM job starts. The range is 1 to 12.

year year

Specifies the year the DMM job starts. The range is 2000 to 2030.

now

Resets the schedule to start the DMM job immediately.

reset

Resets the DMM job to unscheduled.

session

Enables the Session Configuration submode.

stop

Stops the DMM job.

validate

Validates the DMM job data.

verify

Verifies the data migration for the specified job.

finish

Moves the Method 2 data migration job to completed state.


Defaults

None.

Command Modes

Configuration mode.

Command History

Release
Modification

3.3(1a)

Finish keyword is introduced.


Usage Guidelines

DMM must be enabled before you can create DMM jobs. Use the ssm enable feature dmm command to enable DMM.

The data migration job stops executing if it encounters any errors. To restart the migration, enter the validate command to validate the job configuration, then enter the restart command to restart the job.

Examples

The following example shows how to create a job with a schedule. The job is scheduled to start on Sunday, January 6, 2008 at 11:00 P.M.

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 schedule hour 23 min 0 day 6 month 1 year 2008

The following example shows how to set the fast migration rate to 100 MB/s, the medium migration rate to 50 MB/s, and slow migration rate to 10 MB/s.

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config) dmm module 3 rate_of_migration fast 100 medium 50 slow 10

Related Commands

Command
Description

show dmm job

Displays DMM job information.

show dmm ip-peer

Displays the IP peers that the DMM port is connected to.


attributes (DMM job configuration submode)

To set the attributes of a data migration job, use the attributes command in DMM job configuration submode.

attributes job_type {1 | 2} job_mode {1 | 2} job_rate {1 | 2 | 3 | 4} job_method {1|2}

Syntax Description

job_type {1 | 2}

Specifies the job type. Specify 1 for a server type job and 2 for a storage type job.

job_mode {1 | 2}

Specifies the job mode. Specify 1 for an online job and 2 for an offline job.

job_rate {1 | 2 | 3 | 4}

Specifies the job rate. Specify 1 for the default rate, 2 for a slow rate, 3 for a medium rate, and 4 for a fast rate.

job_method {1|2}

Specifies the job method. Specify 1 for Method 1 and 2 for Method 2.


Defaults

None.

Command Modes

DMM job configuration submode.

Command History

Release
Modification

3.3(1a)

This command was introduced.


Usage Guidelines

None.

Examples

The following example sets the job type to storage, the job mode to online, and the job rate to fast.

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 create
Started New DMM Job Configuration.
Do not exit sub-mode until configuration is complete and committed
switch(config-dmm-job)# attributes job_type 2 job_mode 1 job_rate 4 job_method 1
switch(config-dmm-job)#

Related Commands

Command
Description

show dmm ip-peer

Displays job information.

show dmm srvr-vt-login

Displays server VT login information.


commit (DMM job configuration submode)

To commit a DMM job, use the commit command in DMM job configuration submode.

commit

Syntax Description

This command has no arguments or keywords.

Defaults

None.

Command Modes

DMM job configuration submode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You need to configure server HBA ports, storage ports, and job attributes before you commit the job.

Examples

The following example shows how to commit a data migration job:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 destroy
switch(config-dmm-job)#

Related Commands

Command
Description

ssm enable feature dmm

Enables DMM.

show dmm job

Displays job information.


peer (DMM job configuration submode)

To add peer SSM information to a job, use the peer command in DMM job configuration submode.

peer ip-address

Syntax Description

ip-address

Specifies the peer SSM IP address. The format for the IP address is A.B.C.D.


Defaults

None.

Command Modes

DMM job configuration submode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

In a dual-fabric topology, the migration job runs on an SSM in each fabric. The two SSMs exchange messages over the management IP network, so each SSM needs the IP address of the peer.

Examples

The following example shows how to add peer SSM information to a job:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 create
Started New DMM Job Configuration.
Do not exit sub-mode until configuration is complete and committed
switch(config-dmm-job)# peer 224.2.1.2
switch(config-dmm-job)#

Related Commands

Command
Description

show dmm job

Displays job information.

show dmm ip-peer

Displays a DMM port's IP peer.


server (DMM job configuration submode)

To add a server HBA port to the DMM job, use the server command in DMM job configuration submode.

server vsan vsan-id pwwn port-wwn

Syntax Description

vsan vsan-id

Specifies the VSAN ID. The range is 1 to 4093.

pwwn port-wwn

Specifies the world-wide name (WWN) of the server HBA port. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.


Defaults

None.

Command Modes

DMM job configuration submode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

None.

Examples

The following example shows how to add server information to a DMM job:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 create
Started New DMM Job Configuration.
Do not exit sub-mode until configuration is complete and committed
switch(config-dmm-job)# server vsan 3 pwwn 1d:22:3a:21:3c:44:3b:51
switch(config-dmm-job)#

Related Commands

Command
Description

show dmm job

Displays job information.

show dmm srvr-vt-login

Displays server VT login information.


server (configure session submode)

To configure a data migration session, use the server command in session configuration submode.

server pw-wn src_tgt pw-wn src_lun src-lun dst_tgt pw-wn dst_lun dst-lun

Syntax Description

pwwn pwwn

Specifies the pWWN of the server. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

src_tgt pwwn

Specifies the pWWN of the source target. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

src_lun src-lun

Specifies the source LUN number in hex notation. The range is 0x0 to 0xfff.

dst_tgt pwwn

Specifies the pWWNof the destination target. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

dst_lun dst-lun

Specifies the destination LUN in hex notation. The range is 0x0 to 0xfff.


Defaults

None.

Command Modes

Configure session submode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

None.

Examples

The following example shows how to a source target, source LUN, destination target, and destination LUN in a session:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 session
switch(config-session)# server 12:13:1d:1c:2d:2d:3f:3a src_tgt 12:13:1d:1c:2d:2d:3f:3a 
src_lun 0x1 dst_tgt 12:13:1d:1c:2d:2d:3f:3a dst_lun 0x5

Related Commands

Command
Description

show dmm job

Displays job information.

show dmm srvr-vt-login

Displays server VT login information.


storage (DMM job configuration submode)

To add a storage port to a DMM job, use the storage command in DMM job configuration submode.

storage vsan vsan-id pwwn port-wwn {existing | new}

Syntax Description

vsan vsan-id

Specifies the VSAN ID. The range is 1 to 4093.

pwwn port-wwn

Specifies the world-wide name of the storage port. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

existing

Specifies a port on the existing storage.

new

Specifies a port on the new storage.


Defaults

None.

Command Modes

DMM job configuration submode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

None.

Examples

The following example shows how to add storage information to a DMM job:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 job 1 create
Started New DMM Job Configuration.
Do not exit sub-mode until configuration is complete and committed
switch(config-dmm-job)# storage vsan 3 pwwn 1d:22:3a:21:3c:44:3b:51 existing
switch(config-dmm-job)#

Related Commands

Command
Description

ssm enable feature dmm

Enables DMM.

show dmm job

Displays job information.


dmm module

To specify default DMM values for migration block size, number of migration blocks and fast migration speed, use the dmm module command in Configuration mode.

dmm module mod-id migration-block-size block-size

dmm module mod-id num-migration-blocks num-blocks

dmm module mod-id rate-of-migration fast migration-rate medium migration-rate slow migration-rate

Syntax Description

mod-id

Specifies the module ID.

block-size

Specifies the block size in MB.

num-blocks

Specifies the number of migration blocks per LUN.

rate-of-migration

Migration rate can be configured as slow, medium or fast.

fast migration-rate

Specifies the rate for fast migration. Units are Megabytes per second (MB/s).

medium migration-rate

Specifies the rate for medium migration. Units are MB/s.

slow migration-rate

Specifies the rate for slow migration. Units are MB/s.


Defaults

None.

Command Modes

Configuration mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

None.

Examples

The following example shows how to a job:

switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# dmm module 3 

Related Commands

Command
Description

show dmm job

Displays job information.

show dmm ip-peer

Displays a DMM port's IP peer.


show dmm discovery-log

To display SCSI device discovery logs, use the show dmm discovery-log command in EXEC mode.

show dmm discovery-log {all | error}

Syntax Description

all

Displays all entries in the Device Discovery SCSI log.

error

Displays error entries in the Device Discovery SCSI log.


Defaults

None.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM show commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example displays error entries:

switch# attach module 3
Attaching to module 3 ...
To exit type 'exit', to abort type '$.'
Bad terminal type: "ansi". Will assume vt100.
module-3# show dmm discovery-log error
005 State: 3
CDB: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sts:0x02 SnsKey:0x02 AscAscq:0x0403
Time:    5(ms)

LogIndex:26 HostPWWN:2c:fc:00:05:30:01:9e:88  TargetPWWN:50:06:01:62:30:60:36:64
OPC: 0x00 Lun:0x0000000000000006 State: 3
CDB: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sts:0x02 SnsKey:0x02 AscAscq:0x0403
Time:    4(ms)

Related Commands

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Enables DMM configuration on a module.


show dmm fp-port

To display front panel ports on a line card, use the show dmm fp-port command in EXEC mode.

show dmm fp-port

Syntax Description

This command has no arguments or keywords.

Defaults

None.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM show commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example displays front panel ports:

switch# attach module 3
Attaching to module 3 ...
To exit type 'exit', to abort type '$.'
Bad terminal type: "ansi". Will assume vt100.
module-3# show dmm fp-port
Cisco DMM Front Panel Port Map
-------------------------------------------------------------------
 Port     Index     Mirage Id    DPP Id
-------------------------------------------------------------------
  1           0           1          2
  2           1           1          2
  3           2           1          2
  4           3           1          2
  5           4           2          3
  6           5           2          3
  7           6           2          3
  8           7           2          3
  9           8           3          6
 10           9           3          6
 11          10           3          6
 12          11           3          6
 13          12           4          7
 14          13           4          7
 15          14           4          7
 16          15           4          7
 17          16           1          1
 18          17           1          1
 19          18           1          1
 20          19           1          1
 21          20           2          4
 22          21           2          4
 23          22           2          4
 24          23           2          4
 25          24           3          5
 26          25           3          5
 27          26           3          5
 28          27           3          5
 29          28           4          8
 30          29           4          8
 31          30           4          8
 32          31           4          8

Related Commands

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Enables DMM configuration on a module.


show dmm ip-peer

To display information about the IP peers the DMM interface is connected to, use the show dmm ip-peer command in EXEC mode.

show dmm ip-peer

Syntax Description

This command has no arguments or keywords.

Defaults

None.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM show commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example displays DMM IP peer information:

switch# attach module 3
Attaching to module 3 ...
To exit type 'exit', to abort type '$.'
Bad terminal type: "ansi". Will assume vt100.
module-3# show dmm ip-peer

                  Cisco DMM IP Peer Table
-------------------------------------------------------------------
 No      Type              SD   IP Address      TCP State
-------------------------------------------------------------------
  1      CONFIG_STATION   23    10.100.2.1      DOWN
  2      PEER_SSM         22    10.100.1.20     UP
  3      CONFIG_STATION   19    10.100.2.1      DOWN

Related Commands

Related Commandsswitch# attach module 3

Related CommandsAttaching to module 3 ...

Related CommandsTo exit type 'exit', to abort type '$.'

Related CommandsBad terminal type: "ansi". Will assume vt100.

Related Commandsmodule-3# show dmm ip-peer

Related Commands

Related Commands Cisco DMM IP Peer Table

Related Commands-------------------------------------------------------------------

Related Commands No Type SD IP Address TCP State

Related Commands--------

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Enables DMM configuration on a module.


show dmm job

To display DMM job information, use the show dmm job command in EXEC mode.

show dmm job job-id
{detail |
job-fsm-eventlog |
job-infra-fsm-eventlog |
lun_tokens token tok-pwwn |
session |[session_id sess-id] [session-event-log] |
storage [tgt-pwwn tgt-pwwn] {vi-pwwn vi-pwwn} [lun-event-log lun-id | tgt-event-log]}

Syntax Description

job-id

Specifies the job ID. The range is 0 to 18446744073709551615.

detail

Displays detailed job information.

job-fsm-eventlog

Displays the Job FSM Event Log.

job-infra-fsm-eventlog

Displays the Job Infra FSM Event Log.

lun_tokens

Displays a list of job LUN tokens.

token tok-pwwn

Specifies the storage port world-wide name.

session

Displays job session information.

session_id sess-id

Specifies the job session. The range is 0 to 255.

session-event-log

Displays the Session FSM Event Log.

storage

Displays the storage ports discovered by DMM.

tgt-pwwn tgt-pwwn

Specifies the storage port world-wide name. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

vi-pwwn vi-pwwn

Specifies the Virtual Initiator port world-wide name. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

lun-event-log lun-id

Displays the Virtual Initiator and Target LUN FSM event log and specifies the LUN ID.

tgt-event-log

Displays the Virtual Initiator and Target FSM Event Log.


Defaults

None.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM show commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example shows how to display a summary of all the jobs:

module-3# sh dmm job  job-id 1205450497 detail 
show dmm job job-id 1205450497 details
===========================================================================
          Data Mobility Manager Job Details
===========================================================================
  Job Identifier : 1205450497
  Job Name       : admin_2008/03/13-16:21                                                          
  Job Type       : SERVER
  Job Rate       : Default, no rate limiting
  Job Mode       : ONLINE
  Job Method     : METHOD-2
  Job DPP        : 7
  Peer SSM IP    : NOT_APPLICABLE
  DMM GUI IP     : 10.1.0.25
  Job FSM        : READY
  Job Infra FSM  : DONE
-------------------------------------------------------------------------
      Job Schedule Information 
-------------------------------------------------------------------------
  Date           :  0/ 0/0 [Month/Day/Year]
  Time           : 0:0      [Hour:Min]
-------------------------------------------------------------------------
       Server Port List (Num Ports :1)
-------------------------------------------------------------------------
Num  VSAN  Server pWWN             Virtual Initiator pWWN      
-------------------------------------------------------------------------
  1  100   21:01:00:e0:8b:28:5e:3e 20:40:00:0d:ec:0e:f4:03
-------------------------------------------------------------------------
       Storage Port List (Num Ports :2)
-------------------------------------------------------------------------
Num  VSAN  Storage pWWN            Type  Virtual Target pWWN 
-------------------------------------------------------------------------
  1  100   50:06:0e:80:04:2c:5c:54 NS    20:44:00:0d:ec:0e:f4:03
  2  100   50:06:0e:80:04:2c:5c:74 ES    20:42:00:0d:ec:0e:f4:03
------------------------------------------------------------------------------------------
----------
                       DMM GUI PDU History
------------------------------------------------------------------------------------------
----------
Num   PDU Opcode                   GUI IP    Rx                        Tx
------------------------------------------------------------------------------------------
----------
   1   DM_JOB_CREATE_REQ           10.1.0.25 Thu Mar 13 23:21:39 2008  Thu Mar 13 23:21:39 
2008
   2   DM_JOB_INFRA_CREATE_REQ     10.1.0.25 Thu Mar 13 23:21:40 2008  Thu Mar 13 23:21:44 
2008
   3   DM_JOB_LUNMAP_REQ           10.1.0.25 Thu Mar 13 23:21:45 2008  Thu Mar 13 23:21:45 
2008
   4   DM_JOB_SESSION_ADD_REQ      10.1.0.25 Thu Mar 13 23:21:52 2008  Thu Mar 13 23:21:52 
2008
   5   DM_JOB_SESSION_ADD_REQ      10.1.0.25 Thu Mar 13 23:21:53 2008  Thu Mar 13 23:21:53 
2008
   6   DM_JOB_SESSION_ADD_REQ      10.1.0.25 Thu Mar 13 23:21:54 2008  Thu Mar 13 23:21:54 
2008
   7   DM_JOB_SESSION_ADD_REQ      10.1.0.25 Thu Mar 13 23:21:55 2008  Thu Mar 13 23:21:55 
2008
   8   DM_JOB_QUERY_REQ            10.1.0.25 Thu Mar 13 23:21:59 2008  Thu Mar 13 23:21:59 
2008
------------------------------------------------------------------------------------------
----------
       Job Timing Information [since the last start operation]
------------------------------------------------------------------------------------------
----------
Create Time           :Thu Mar 13 23:21:39 2008
Scheduled Time        :Not Applicable
Start  Time           :Not Applicable
Finish-request Time   :Not Applicable
Completed Time        :Not Applicable
Failed Time           :Not Applicable
Stopped Time          :Not Applicable
Verify Start Time     :Not Applicable
Verify Completed Time :Not Applicable
Verify Failed Time    :Not Applicable

Related Commands

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Enables DMM configuration on a module.


show dmm srvr-vt-login

To display server virtual target login information, use the show dmm srvr-vt-login command in EXEC mode.

show dmm srvr-vt-login [job-id job-id] server-pwwn srvr-pwwn vt-pwwn vt-pwwn {fc_rdrt-fsm-eventlog | login-fsm-eventlog}

Syntax Description

job-id job-id

Specifies the job ID. The range is 0 to 18446744073709551615.

server-pwwn srvr-pwwn

Specifies the server port world-wide name. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

vt-pwwn vt-pwwn

Specifies the Virtual Target port world-wide name. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

fc_rdrt-fsm-eventlog

Displays the Server Virtual Target FC-Redirect FSM Event Log.

login-fsm-eventlog

Displays the Server Virtual Target FSM Event Log.


Defaults

None.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM show commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example shows how to display the server VT login summary:

switch# show dmm srvr-vt-login
=========================================================================================
           Data Mobility Manager Server VT Login Information
==========================================================================================
  Id  Job Id    VSAN Srvr pWWN                 Srvr FCID VT pWWN                   VT FCID      
State (FC Redirect/Login)
==========================================================================================
  1   1187978941    1  21:32:00:0d:ec:02:2d:82   0x660000  21:36:00:0d:ec:02:2d:82   
0x660003    (READY/WAITING_PLOGI)
  2   1187978941    1  21:32:00:0d:ec:02:2d:82   0x660000  21:34:00:0d:ec:02:2d:82   
0x66000a    (READY/WAITING_PLOGI)

Number of Logins :2



The following example shows how to display the event log for a specified VT:

switch# show dmm srvr-vt-login job-id 1187978941 server-pwwn 21:32:00:0d:ec:02:2d:82 vt-pwwn 21:36:00:0d:ec:02:2d:82 login-fsm-e

==========================================================================================
Server/VT Login FSM Event Log -> Job Id : 1187978941 Server : 21:32:00:0d:ec:02:2d:82  VT 
: 21:36:00:0d:ec:02:2d:82
==========================================================================================

Log Entry: 1 time: Fri Aug 24 11:09:19 2007
    Curr state: DMM_SRVR_VT_LOGIN_S_NULL
    Triggered event: DMM_SRVR_VT_LOGIN_E_START_ACTION

Log Entry: 2 time: Fri Aug 24 11:09:19 2007
    Curr state: DMM_SRVR_VT_LOGIN_S_WAITING_PLOGI
    Triggered event: DMM_SRVR_VT_LOGIN_E_LOGIN_DONE_OK

Related Commands

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Enables DMM configuration on a module.


show dmm vt

To display virtual target information, use the show dmm vt command in EXEC mode.

show dmm vt vt-job-id job-id pwwn vt-pwwn vt-fsm-eventlog

Syntax Description

vt-job-id job-id

Specifies the virtual target job ID. The range is 0 to 18446744073709551615.

pwwn vt-pwwn

Specifies the virtual target port world-wide name. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

vt-fsm-eventlog

Displays the Virtual Target FSM Event Log.


Defaults

None.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM show commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example displays virtual target information:

switch# attach module 3
Attaching to module 3 ...
To exit type 'exit', to abort type '$.'
Bad terminal type: "ansi". Will assume vt100.
module-3# show dmm vt
=====================================================================================
                      Data Mobility Manager VT Information
=====================================================================================
  Id Job Id      VT pWWN                    VSAN FCID       IF-IDX      PORT    STATE
=====================================================================================
  1  1177009472  2f:00:00:05:30:01:9e:88    3    0xee00a0   0x1110000   0x10    VT_UP
  2  1177009472  2c:fe:00:05:30:01:9e:88    3    0xee00a1   0x1110000   0x10    VT_UP
Number of VTs :2

Related Commands

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Enables DMM configuration on a module.


debug dmm-debug

To enable debugging for DMM, use the debug dmm-debug command.

debug dmm-debug {all | common-err | common-ev | fsm | init | itl-err | itl-ev | job-err | job-ev | msghndlr-err | msghndlr-ev | p2p-err | p2p-ev | timer | vi-lun-err | vi-lun-ev | vi-tgt-err | vi-tgt-ev}

Syntax Description

all

Enables all DMM debug options.

common-err

Enables debugging for DMM common errors.

common-ev

Enables debugging for DMM common events.

fsm

Enables debugging for DMM FSM.

init

Enables debugging for DMM initialization.

itl-err

Enables debugging for DMM ITL errors.

itl-ev

Enables debugging for DMM ITL events.

job-err

Enables debugging for DMM job errors.

job-ev

Enables debugging for DMM job events.

msghndlr-err

Enables debugging for DMM message handler errors.

msghndlr-ev

Enables debugging for DMM message handler events.

p2p-err

Enables debugging for DMM P2P errors.

p2p-ev

Enables debugging for DMM P2P events.

timer

Enables debugging for the DMM timer.

vi-lun-err

Enables debugging for Virtual Initiator LUN errors.

vi-lun-ev

Enables debugging for Virtual Initiator LUN events.

vi-tgt-err

Enables debugging for Virtual Initiator and Target errors.

vi-tgt-ev

Enables debugging for Virtual Initiator and Target events.


Defaults

Debugging for DMM is disabled.

Command Modes

EXEC mode.

Command History

Release
Modification

3.2(1)

This command was introduced.


Usage Guidelines

You must connect to an SSM on your switch to execute DMM debug commands. Use the show module command to determine the slot number of an SSM on your switch. Use the attach module slot command to connect to the SSM.

Examples

The following example enables all the DMM debug options:

switch# debug dmm-debug all

Related Commands

Command
Description

ssm enable feature dmm

Enables the DMM feature.

dmm module

Configures DMM.