Step 1 | ip
name-server
server-address
Example:
Router(config)# ip name-server 192.168.28.12
|
Enters your ISP
DNS IP address.
Tip
|
You may add
multiple server addresses if available.
|
|
Step 2 | ip
dhcp
pool
name
Example:
Router(config)# ip dhcp pool 1
|
Creates a DHCP
address pool on the router and enters DHCP pool configuration mode. The
name argument
can be a string or an integer.
Configure the
DHCP address pool. For sample commands that you can use in DHCP pool
configuration mode, see the
Example for specifying an IP address for the ATM interface through PPP and IPCP address negotiation and dial backup.
|
Step 3 | exit
Example:
Router(config-dhcp)#exit
|
Exits
config-dhcp mode and enters global configuration mode.
|
Step 4 | chat-script
script-name
expect-send
Example:
Router(config)#
chat-script Dialout ABORT ERROR ABORT BUSY ““ “AT” OK “ATDT 5555102 T” TIMEOUT 45 CONNECT \c
|
Configures a
chat script used in dial-on-demand routing (DDR) to give commands for dialing a
modem and for logging in to remote systems. The defined script is used to place
a call over a modem connected to the PSTN.
|
Step 5 | interface
type
number
Example:
Router(config)#
interface Async 1
|
Creates and
enters configuration mode for the asynchronous interface.
Configure the
asynchronous interface. For sample commands that you can use in asynchronous
interface configuration mode, see the
Example for specifying an IP address for the ATM interface through PPP and IPCP address negotiation and dial backup.
|
Step 6 | exit
Example:
Router(config-if)# exit
|
Enters global
configuration mode.
|
Step 7 | interface
type
number
Example:
Router(config)#
interface Dialer 3
|
Creates and
enters configuration mode for the dilaer interface.
|
Step 8 | dialer
watch-group
group-number
Example:
Router(config-if)# dialer watch-group 1
|
Specifies the
group number for the watch list.
|
Step 9 | exit
Example:
Router(config-if)#
exit
|
Exits the
interface configuration mode.
|
Step 10 | ip
nat
inside
source
{list
access-list-number}
{interface
type
number
|
pool
name}
[overload]
Example:
Router(config)#
ip nat inside source list 101 interface Dialer 3 overload
|
Enables
dynamic translation of addresses on the inside interface.
|
Step 11 | ip
route
prefix
mask
{ip-address
|
interface-type
interface-number
[ip-address]
Example:
Router(config)# ip route 0.0.0.0 0.0.0.0 22.0.0.2
|
Sets the IP
route to point to the dialer interface as a default gateway.
|
Step 12 | access-list
access-list-number
{deny
|
permit}
source
[source-wildcard]
Example:
Router(config)# access-list 1 permit 192.168.0.0 0.0.255.255 any
|
Defines an
extended access list that indicates which addresses need translation.
|
Step 13 | dialerwatch-list
group-number
{ipip-address
address-mask
|
delay
route-check
initial
seconds
Example:
Router(config)# dialer watch-list 1 ip 22.0.0.2 255.255.255.255
|
Evaluates the
status of the primary link, based on the existence of routes to the peer. The
address 22.0.0.2 is the peer IP address of the ISP.
|
Step 14 | line [aux
|
console
|
tty
|
vty]
line-number
[ending-line-number]
Example:
Router(config)# line console 0
|
Enters
configuration mode for the line interface.
|
Step 15 | modem
enable
Example:
Router(config-line)# modem enable
|
Switches the
port from console to auxiliary port function.
|
Step 16 | exit
Example:
Router(config-line)# exit
|
Exits the
configure interface mode.
|
Step 17 | line [aux
|
console
|
tty
|
vty]
line-number
[ending-line-number]
Example:
Router(config)# line aux 0
|
Enters
configuration mode for the auxiliary interface.
|
Step 18 | flowcontrol
{none
|
software
[lock]
[in
|
out]
|
hardware
[in
|
out]}
Example:
Router(config)# flowcontrol hardware
|
Enables
hardware signal flow control.
|