Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 337
53-1000599-02
lsDbShow
2
Operands This command has the following operand:
domain Specify the domain number of the LSR to be displayed. This operand is
optional; if omitted, the entire link state database is displayed.
Examples To display the link state record for a switch:
switch:admin> lsdbshow 1
Domain = 1 (self), Link State Database Entry pointer = 0x1004d430
lsrP = 0x10053d18
earlyAccLSRs = 0
ignoredLSRs = 0
lastIgnored = Never
installTime = Apr 02 22:25:30.159
lseFlags = 0xa
uOutIfsP[0] = 0x00000000
uOutIfsP[1] = 0x00000000
uPathCost = 0
uOldHopCount = 0
uHopsFromRoot = 0
mOutIfsP[0] = 0x00010000
mOutIfsP[1] = 0x00000000
parent = 0xb5
mPathCost = 0
mHopsFromRoot = 0
Link State Record:
Link State Record pointer = 0x10053d18
lsAge = 16
reserved = 0
type = 1
options = 0x0
lsId = 1
advertiser ID (domain number) of the switch that originated this LSR.
incarn Incarnation number of this LSR.
length Total length, in bytes, of this LSR. Includes header and link state
information for all links.
chksum Checksum of total LSR, with exception of lsAge field.
linkCnt Number of links in this LSR. Each link represents a neighbor in
NB_ST_FULL state.
flags Always 0.
LinkId ID of this link. It is the domain number of the switch on the other side of the
link.
out port Port number on the local switch.
rem port Port number of the port on the other side of the link.
cost Cost of this link. The default cost for a 1 Gbps link is 1,000.
costCnt Always 0.
type Always 1.
TABLE 19 lsDbShow display fields (Continued)
Field Description