Saul_K

updated

12 years ago

S

Saul_K

2 Intern

31 Posts

0

1936

March 20th, 2014 04:00

How to clear stats in mcData switch?

Hey Team,

How do we clear stats on mcdata switches ? In brocade we can use the below commands, but am not sure about mcdata.

-> statsclear

-> slotstatsclear

-> portstatsclear

  • M_Salem

    213 Posts

    1377

    0

    Posted March 20th, 2014 04:00

    You can also download the Mcdata cli guide from this link:

      https://ftp.emc.com/action/login?domain=ftp.emc.com&username=DiNNtGCP2&password=cwwYc2cece

  • Saul_K

    2 Intern

    31 Posts

    1377

    0

    Posted March 20th, 2014 04:00

    Thanks for the prompt reply. I have that doc.  clearStats comand is not working for me.

    These commands worked.

    Root> perf clearStats

    Root> perf clearStats all

    Root> clearStats 17

    Error 234: Invalid command

    Root>

  • Rasmmacias

    108 Posts

    1377

    0

    Posted March 20th, 2014 04:00

    Clear fcns statistics

    To clear the name server statistics, use the clear fcns statistics command in EXEC mode.

    clear fcns statistics vsan vsan-id

    Examples

    The following example shows how to clear the name server statistics:

    switch# show fcns statistics

    Name server statistics for vsan 1

    ===================================

    registration requests received = 0

    deregistration requests received = 0

    queries received = 23

    queries sent = 27

    reject responses sent = 23

    RSCNs received = 0

    RSCNs sent = 0

    switch# clear fcns statistics vsan 1

    switch# show fcns statistics

    Name server statistics for vsan 1

    ===================================

    registration requests received = 0

    deregistration requests received = 0

    queries received = 0

    queries sent = 0

    reject responses sent = 0

    RSCNs received = 0

    RSCNs sent = 0

    To clear the Fabric Shortest Path First statistics, use the clear fspf counters command in EXEC mode.

    clear fspf counters vsan vsan-id [interface type]

    Examples

    The following example clears the FSPF t statistics on VSAN 1:

    switch# clear fspf counters vsan 1

    The following example clears FSPF statistics specific to the Fibre Channel interface in VSAN 1, Slot 9 Port 32:

    switch# clear fspf counters vsan 1 interface fc 9/32

  • M_Salem

    213 Posts

    1377

    0

    Posted March 20th, 2014 04:00

    For Mcdata it should be:

    clearStats

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    1377

    0

    Posted March 20th, 2014 05:00

    Ramon,

    OP is asking about McData not an MDS