Using a dial map applies the configuration directly to the interface. Using a dialer profile allows you to have a more dynamic configurationthe physical interface will act differently depending on your specific call requirements, such as the following:
Step 1: Configure static routes on router. | | Using static routes rather than dynamic routing will save on ISDN costs. The link will not always be up because routing updates trigger link to remain become active |
| Edmonton#config t | |
| Edmonton(config)#ip route 172.16.30.0 255.255.255.0 172.16.20.2 | |
Step 2 (Option 1): Define interesting traffic without access lists. | | |
| Edmonton(config)#dialer-list 1 protocol ip permit | |
| Edmonton(config)#int dialer 0 | Go to virtual dialer interface as opposed to physical BRI 0 interface |
| Edmonton(config-if)#dialer-group 1 | |
Step 2 (Option 2): Define interesting traffic with access lists. | | |
| Edmonton(config)#dialer-list 2 protocol ip list 150 | |
| Edmonton(config)#access-list 150 deny udp any any eq tftp | |
| Edmonton(config)#access-list 150 deny tcp any any eq telnet | |
| Edmonton(config)#access-list 150 permit ip any any | |
| Edmonton(config)#int dialer 0 | Go to virtual dialer interface as opposed to physical BRI 0 interface. |
| Edmonton(config-if)#dialer-group 2 | |
Step 3: Configure DDR dialer information. | | |
| Edmonton(config)#username Calgary password academy | For PPP encapsulation across ISDN (optional) |
| Edmonton(config)#int dialer 0 | |
| Edmonton(config-if)#ip address 172.16.20.1 255.255.255.0 | |
| Edmonton(config-if)#int bri 0 | |
| Edmonton(config-if)#encap ppp | Turns on PPP encapsulation |
| Edmonton(config-if)#ppp authentication chap | Turns on CHAP authentication |
| Edmonton(config-if)#dialer idle-timeout 150 | Specifies the number of seconds after last interesting traffic is sent before the call terminates. Default is 120 seconds. |
Step 4: Configure dialer information. | | |
| Edmonton(config)#int dialer 0 | Enters dialer interface |
| Edmonton(config-if)#dialer remote name Calgary | |
| Edmonton(config-if)#dialer string 5552000 | |
Step 5: Associate dialer profile. | | |
| Edmonton(config)#interface bri 0 | |
| Edmonton(config-if)#dialer pool-member 1 | Or 2 if using dial-group 2 |
| Edmonton(config-if)#interface dialer 0 | |
| Edmonton(config-if)#dialer pool 1 | Or 2 if using dial-group 2 |