voipmeister.com voip stuff matters and more

Articles tagged with E1

How to emulate the PSTN with an E1 interface

Here’s how to configure the network end of an E1-E1 back-to-back setup:

network-clock-participate wic 2 
isdn switch-type primary-net5
!
controller E1 0/2/0 
 clock source internal pri-group timeslots 1-3,16 
!
interface Serial0/2/0:15 
 no ip address 
 encapsulation hdlc 
 isdn switch-type primary-net5 
 isdn protocol-emulate network 
 isdn incoming-voice voice 
 no cdp enable 
!

Ofcourse, the 2 statements that differ from a normal setup are (the first under the controller configuration, the last under the serial interface configuration):

clock source internal 
isdn protocol-emulate network

If all is well, the command show isdn status gives:

Global ISDN Switchtype = primary-net5
ISDN Serial0/2/0:15 interface
        ******* Network side configuration *******
        dsl 2, interface ISDN Switchtype = primary-net5
    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)
    Active dsl 2 CCBs = 0
    The Free Channel Mask:  0x80000007
    Number of L2 Discards = 0, L2 Session ID = 107
    Total Allocated ISDN CCBs = 0

E1-E1 RJ45 cross-over cable

Here’s how to connect 2 E1 RJ45 interfaces back-to-back:

First End

PIN 1 ORANGE 
PIN 2 WHITE/ORANGE 
PIN 4 BLUE
PIN 5 WHITE/BLUE

Second End

PIN 1 BLUE 
PIN 2 WHITE/BLUE 
PIN 4 ORANGE 
PIN 5 WHITE/ORANGE