The configuratioj for a T1 or E1 is almost the same, except for E1 parameters:
controller E1 0
framing crc4
linecode hdb3
clock source line primary
pri-group timeslots 1-31
controller E1 1
framing crc4
linecode hdb3
clock source line secondary
pri-group timeslots 1-31
interface serial0:15
isdn incoming-voice modem
dialer rotary-group 1
!
interface serial1:15
isdn incoming-voice modem
dialer rotary-group 1
!
interface loopback0
ip address 172.16.254.254 255.255.255.0
!
interface ethernet0
ip address 172.16.1.1 255.255.255.0
!
!The following block of commands configures DDR for all the ISDN PRI interfaces
!configured above. The dialer-group and dialer rotary-group commands tie the
!interface configuration blocks to the DDR configuration.
!
interface dialer1
ip unnumbered loopback0
encapsulation ppp
peer default ip address pool default
ip local pool default 172.16.254.1 172.16.254.60
dialer in-band
dialer-group 1
dialer idle-timeout 3600
ppp multilink
ppp authentication chap pap default