beautypg.com

Nbrstatsclear – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 646

background image

616

Fabric OS Command Reference

53-1003131-01

nbrStatsClear

2

nbrStatsClear

Resets FSPF interface counters.

SYNOPSIS

nbrstatsclear [slot/][port]

DESCRIPTION

Use this command to reset the counters of fabric shortest path first (FSPF) frames transmitted and
received on all interswitch links (ISLs) or on a specified ISL Use this command without operands to reset
counters on all interfaces. Use interfaceShow to view the FSPF counters.

NOTES

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.

OPERANDS

This command has the following operands:

slot

For bladed systems only, specify the slot number of the port to display, followed by
a slash (/).

port

Specify the port number to display, relative to its slot for bladed systems. Use
switchShow to list valid ports. This operand is optional; if omitted, FSPF statistics
are reset.

EXAMPLES

To display the counters on a port:

switch:admin> interfaceshow 1/0

idbP = 0x10050a38

Interface 0 data structure:

nghbP = 0x1004ce68

ifNo = 0

masterPort = 0 (self)

defaultCost = 500

cost = 500

delay = 1

(output truncated)

nCmdAcc = 37

nInvCmd = 0

nHloIn = 10

nInvHlo = 0

nLsuIn = 17

nLsaIn = 10

attHloOut = 11

nHloOut = 11

attLsuOut = 12

nLsuOut = 12

attLsaOut = 17

nLsaOut = 17

To reset the counters on a port:

switch:admin> nbrstatsclear 1/0