Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to List Disabled TNs on Virtual Loops - i2002/4

Status
Not open for further replies.

hunter462003

Technical User
Aug 7, 2008
38
US
Is there way to list TN's of IP phones (Virtual Loop) that have been disabled? Running .stat gives me how many of each, but not the specific TN that has been disabled. Currently, I'm using TM to note the disabled TN's, using the name fields, however, I would prefer a CLI option, if it is possible. Thanks in advance.

LD 32
.stat 144 0
183 UNIT(S) IDLE
002 UNIT(S) BUSY
004 UNIT(S) DSBL
000 UNIT(S) MBSY

.ldis 144 0
VIRTUAL LOOP
NPR047
 
Might be tedious but you can stat each card by adding the card number: (I guess it's a virtual card number here)
REQ: stat 100 0
031 UNIT(S) IDLE
003 UNIT(S) BUSY
000 UNIT(S) DSBL
000 UNIT(S) MBSY

REQ: stat 100 0 1 (added the 1)
00 = UNIT 00 = IDLE (I2004)
01 = UNIT 01 = IDLE (I2002)
02 = UNIT 02 = IDLE (I2002)
03 = UNIT 03 = BUSY (I2002)
04 = UNIT 04 = BUSY (I2002)
05 = UNIT 05 = IDLE (I2002)
06 = UNIT 06 = IDLE (I2002)
07 = UNIT 07 = IDLE (I2002)
08 = UNIT 08 = IDLE (I2002)
09 = UNIT 09 = IDLE (I2002)
10 = UNIT 10 = IDLE (I2002)
11 = UNIT 11 = IDLE (I2002)
12 = UNIT 12 = IDLE (I2002)
13 = UNIT 13 = IDLE (I2002)
14 = UNIT 14 = IDLE (I2002)
15 = UNIT 15 = IDLE (I2002)
16 = UNIT 16 = IDLE (I2002)
17 = UNIT 17 = IDLE (I2002)
18 = UNIT 18 = UNEQ
19 = UNIT 19 = UNEQ
20 = UNIT 20 = UNEQ
21 = UNIT 21 = UNEQ
22 = UNIT 22 = UNEQ
23 = UNIT 23 = UNEQ
24 = UNIT 24 = UNEQ
25 = UNIT 25 = UNEQ
26 = UNIT 26 = UNEQ
27 = UNIT 27 = UNEQ
28 = UNIT 28 = UNEQ
29 = UNIT 29 = UNEQ
30 = UNIT 30 = UNEQ
31 = UNIT 31 = UNEQ

there is probably a more inclusive and elegant way to do it with a a report or something but I haven't got that far yet. ;-)

=======================================
"Dyin'? Boy, He can have this little life any time He wants to. Do Ya hear that? Are ya hearin' it? Come on. You're welcome to it, Ol' Timer. Let me know You're up there. Come on. Love me, hate me, kill me, anything. Just let me know it... I'm just standin' in the rain talkin' to myself." Cool Hand Luke
 
Thank you. You're right it is tedious, but it worked for me.

Thanks again.
 
Another good way is using DNIP

ld 117

prt dnip <start of extension> eg prt dnip 3

prints all IP phones that have an extension number strting with 3.

Shows which are unregisterd.
 
or another

LD 117
PRT IPDN X (Where X = the first octet of your IP range)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top