Yes, you can do it - best bet is to use an RJ-48 crossover cable. Connecting the two back-to-back like this should at least bring up the Carrier Detect light.
As for the next bit - I've only ever done this for an E1 used for voice connecting to a circuit to the PSTN, not for data at all, so excuse any mistakes I make. If anyone spots anything wrong, please let me know as I'd love to learn too!
If it's a dual-purpose E1/T1 WIC you're using, you'll need to specify what mode it should operate in. Use the "card type" command to specify E1 mode for your card (assuming it's port 0 on the E1 card in WIC slot 0):
router(config)# card type e1 0 0
Once that's done, you should be able to set the number of timeslots to use:
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...