Why do we like BRI ISDN so much?
Because it's basically a phone call, except it's digital instead analog. ISDN BRI is way cool, it has 2 channels called B channels, they actually carry the data. And there is this other channel, it's the D channel, it carries signaling for call setup and teardown, that's why ISDN calls connect so quickly.
There's more to ISDN than setting up the call. You have to know the "ISDN Switch Type", the guy at the phone company tells you that. It could be an AT&T 5ESS or a DMS 100 or they have others too.
Some switches require you to configure SPIDs. On a BRI interface, you would need to configure a SPID for each B channel, but the phone guy will tell you if you need SPIDs. You also have to configure other stuff too, like a "dialer list" and don't forget you need an IP address too!
How would you go about configuring ISDN?
I'd configure the ISDN switch type first. You can do that globally or at the interface, it doesn't matter.
If you do it globally, it will be applied to all ISDN interfaces on the router, and if you configure the switch type at the interface, it applies only to that specific interface.
What is the command to configure the switch type?
That's easy, its "isdn switch-type" followed by the actual switch type, you can enter a question mark if you need help.
How would you configure SPIDs?
You have to go to the BRI interface, Always enter interface bri 0/0 and hit enter. Then you are at the BRI interface, it has these little parentheses and inside they say "config-if", anyway you have to configure 2 spids, but only if the telco switch requires it, you go isdn spid1 and enter the SPID number then go isdn spid2 and enter the other SPID number. It's pretty simple.
What's next?
Now would be a good time for an IP address, you would enter ip address 172..16.1.1 255.255.0.0 and push down on the enter key again. Here is where you enter the encapsulation, go encapsulation ppp and hit enter. ppp encapsulation lets you do authentication. Next enter ppp authentiction chap
Authentication? What for?
ISDN is essentially just a telephone call. Do you want every gnarly surfer dude from the valley calling your router? No waa-aay! Next thing to configure is a dialer list to define interesting traffic.
Interesting traffic?
ISDN is expensive, you pay by the minute and it can really add up. Your ISDN interface will establish a connection every time it receives traffic destined for whatever networks are at the other end of the link. Lets say a network at a very remote office runs IPX and IP, but you only want IP traffic to bring up the link, so you must define IP as being interesting, get it? You do it with a "dialer list" it works kinda like an access list. In global mode you would enter the following:
dialer-list 1 protocol ip permit
Then you go back to the interface mode and apply it like you do an access list:
dialer-group 1
But that seems kinda broad, permitting the entire IP suite, is there a way to be more granular about what constitutes interesting traffic?
Definitely! You can make a sub routine call to an extended ip access list:
dialer-list 1 protocol ip list 101 Pretty cool, huh? You can't get much more granular than an extended access list!
What do you configure next?
You need to map the layer 3 IP address of the next hop router to the layer 2 address of the ISDN phone numbers that you want the router to dial to reach that IP address. Pretend that the dialer string you want is 55512121010 and the interface at he other end of the link has an IP address of 172.16.1.2 Also pretend the the router at the other side of the link is called "denver". This uses the dialer map command, here's how to do it:
dialer map ip 172.16.1.2 name denver 55512121010
Do you mind showing us a ISDN config?
This is all easy, it was on the CCNA test, there is lots more to configuring ISDN, but here's a general config:
!
isdn switch-type basic-5ess
!
interface bri 0/0
ip address 172.16.1.1 255.255.0.0
encapsulation ppp
dialer map ip 172.16.1.2 name denver 55512121010
dialer-group 1
ppp authentication chap
!
dialer-list 1 protocol ip permit