monitoring isdn status on a cisco router
I noticed a few of my ISDN lines are dropping off, problems with the carrier, in one case bad wic card. Anyway I want to poll a list of routers, and check if a test call was successful.
Anyone else have Cisco Gear with ISDN???
I started working on a perl script to do this, using the Net::Telnet::Cisco module.
Router>show isdn status
**** No Global ISDN Switchtype currently defined ****
ISDN BRI0/0 interface
dsl 0, interface ISDN Switchtype = none
Layer 1 Status:
DEACTIVATED
Layer 2 Status:
Layer 2 NOT Activated
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x80000003
Total Allocated ISDN CCBs = 0
Router>
Router>show isdn history
--------------------------------------------------------------------------------
ISDN CALL HISTORY
--------------------------------------------------------------------------------
Call History contains all active calls, and a maximum of 100 inactive calls.
Inactive call data will be retained for a maximum of 15 minutes.
--------------------------------------------------------------------------------
Call Calling Called Remote Seconds Seconds Seconds Charges
Type Number Number Name Used Left Idle Units/Currency
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Router>
Router>show isdn timers
ISDN BRI0/0 Timers (dsl 0) Switchtype = none
ISDN Layer 2 values
K = 0 outstanding I-frames
N200 = 3 max number of retransmits
N202 = 2 max number of TEI ID Request retransmits
T200 = 1.000 seconds
T202 = 2.000 seconds
T203 = 0.000 seconds
ISDN Layer 3 values
T303 = 0.000 seconds
T304 = 0.000 seconds
T305 = 0.000 seconds
T306 = 0.000 seconds
T307 = 0.000 seconds
T308 = 0.000 seconds
T309 Disabled
T310 = 0.000 seconds
T313 = 0.000 seconds
T316 = 0.000 seconds
T318 = 0.000 seconds
T319 = 0.000 seconds
T322 = 0.000 seconds
T3OOS = 5.000 seconds
TGUARD= 0.000 seconds, Expiry = REJECT_CALL
*** dsl 1 is not configured
*** dsl 2 is not configured
*** dsl 3 is not configured
*** dsl 4 is not configured
*** dsl 5 is not configured
*** dsl 6 is not configured
*** dsl 7 is not configured
*** dsl 8 is not configured
*** dsl 9 is not configured
*** dsl 10 is not configured
*** dsl 11 is not configured
*** dsl 12 is not configured
*** dsl 13 is not configured
*** dsl 14 is not configured
*** dsl 15 is not configured
*** dsl 16 is not configured
*** dsl 17 is not configured
*** dsl 18 is not configured
*** dsl 19 is not configured
*** dsl 20 is not configured
*** dsl 21 is not configured
*** dsl 22 is not configured
*** dsl 23 is not configured
*** dsl 24 is not configured
*** dsl 25 is not configured
*** dsl 26 is not configured
*** dsl 27 is not configured
*** dsl 28 is not configured
*** dsl 29 is not configured
*** dsl 30 is not configured
*** dsl 31 is not configured
Router>show isdn memory
MEMORY POOL STATISTICS
BlockType in use limit max used
mail descriptors 0 1920 0
exec timer blocks 0 2400 0
LIF timers 0 - 0
L2IF timers 0 - 0
PRIM_BTYPE 0 - 0
PKT_BTYPE 0 - 0
HEADER_BTYPE 0 - 0
SML_INFO_BTYPE 0 - 0
LRG_INFO_BTYPE 0 - 0
PKG_BTYPE 0 - 0
CCBs 0 - 0
DLCBs 0 - 0
NLCBs 0 - 0
Router>
0 TrackBacks
Listed below are links to blogs that reference this entry: monitoring isdn status on a cisco router.
TrackBack URL for this entry: http://kennethhunt.com/mt/mt-tb.cgi/1626