Monday, March 25, 2013

How to erase the config on a Foundry EdgeIron switch.

I searched for the a quick way to default the configuration on an old Foundry switch. Password recovery is not the issue since I have the password. This is the only fix I could find.

copy file startup-config
filename: Factory_Default_Config.cfg
reload 

Let me know if you have a better way to do this.

Friday, March 22, 2013

Cisco PRI connecting to NEC PBX.


This is want I need to setup.

Telco provider < Sip trunk > Cisco 5350 < PRI > Nec phone switch.

Here is my config for the PRI link. "protocol-emulate-network" is required when there is no service provider clocking the PRI.

controller T1 1/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24

!
interface Serial1/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice modem
 no cdp enable

These commands were also helpful.

show controller T1 ( Look for the T1 to be up with no errors.)
show isdn status ( Look for the lines below, especially MULTIPLE_FRAME_ESTABLISHED.)
debug isdn q921

#sh isdn status
ISDN Serial1/0:23 interface
******* Network side configuration ******* 
dsl 0, interface ISDN Switchtype = primary-ni
    Layer 1 Status:
ACTIVE
    Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
0 Active Layer 3 Call(s)


Wednesday, March 20, 2013

Mitel command line trunk busy-out.

I have a Mitel with two PRI circuits. The 2nd PRI is bouncing every few minutes. Almost every time you get on the phone, the call is dropped. I wanted to busy-out or disable the 2nd trunk group to force all the phone calls to the good PRI. I could not find a way in the GUI so back to the command line.

busy trunk group 2 ( The status of the lines will change to man-busy.)
rts trunk group 2     ( Return to Service.)

The first time I tried this, the status of the lines changed to "not seizable." The command below fixed that.

dtstat clear 3 1 3 1   ( This command restored the lines to Idle. You will need to find cabinet, shelf, slot, and circuit to use dtstat.)

Now I wish the telco provider would get the PRI fixed!

Friday, March 8, 2013

Mitel 3300 command line intro.

You may have used the "Maintenance Commands" tool form the Mitel web interface. You can also telnet to the system and use some of the same commands. This is good for me because it works on a Mac which I use most of the time. I have always been irritated that the GUI requires IE.

telnet 10.1.2.3
system / xxxxxx  (Hint: This is not the same system password as the GUI)

There is a numbered menu bar at the bottom of the screen. To use these functions, type Esc and the number.

Here are my favorite commands.

stat trunk group 1 (This shows how many lines are busy)
cong (Traffic congestion report)
traffic status (I have not figured out how to use this feature yet but I want it)
loc num xxx (Identify extension number)
loc feat ext xxx (Shows if an extension is forwarded or if message light is on)

I will explore this CLI more later on.

Wednesday, March 6, 2013

Active Directory failed logon auditing II

You should automate evencombmt because it takes so long to run.

I created a scheduled task to run ev.bat every morning.
ev.bat contents:
eventcombmt /dc /evt:"529 644 675 676 681 4740 4771" /et:safa /log:sec /start
This will find failed logon attempts on all the domain controllers and dump them into text files under C:\temp. When someone asks why they keep getting locked out, I quickly go to \\myserver\c$\temp and browse the log files. Search for the username and there will be many entries in the log with an IP address. The IP address will be a PC or email server with the failed logon attempts.