前言
本文显示如何 使用一个调制解调器配置拨出在AUX 端口。在此方案,一个 路由器用一个调制解调器在AUX 端口拨号一次群速率接口(PRI)中 心站点路由器。注意我们不表示一个备用情形,但仅仅显示 拨号请求路由选择(DDR) 拨号在路由器之间用一个调制解调器在 AUX 端口。
在您开始之前
常规
欲知详情关于文件协定的,查阅 Cisco 技术提示规定。
前提
本文假设您有对多种问题的好了解联合调制解调器在 AUX 端口。如果您需要更多信息关于这些问题,参见本文 调制解调器路由器连接指南。
组件使用 了
本文的信息根据以下的软件及硬 件版本。
Cisco 2600 系列路由器运 行的® Cisco IOS 软件发行12.1(2)
Cisco AS5300 路由器运行的Cisco IOS 软件发行 12.0(7)T
注意:此配置可以适用于所有路由器与AUX 端口甚至控制台端口。 由于RS232 调制解调器控制问题和一些安全相关的相关问 题,它没有推荐附加调制解调器控制台端口。参见 调制解调器路由器连接指南 欲知详情。
本 文提供的信息从设备被创建了在特定实验环境里。用于本文 的所有设备开始了以一个被清除(默认)配置。如果您工作 在一个真实网络,保证您使用它以前了解所有命令的潜在影响。
配置
在此部分,您出席以信息配置在本文描述的功能。
注意:找到附加 信息关于用于本文的命令,使用IOS 命令查找工具
网络图
本文使用网 络设置图示如下的。
配置
本文使用如下所示的 配置。
在以下配置,毛伊 slt 01(2600) ,使用调制解调器在AUX 端口拨号 maui-nas-03 (AS5300) PRI 。 配置NAS (maui-nas-03) 寄 发呼叫到一个内部数字调制解调器。
maui-slt-01 (2600)
maui-slt-01#show running-config
Building configuration...
Current configuration:
!
version 12.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname maui-slt-01
!
aaa new-model
aaa authentication login default local
aaa authentication login NO_AUTHEN none
aaa authentication ppp default local
!--- This is the basic AAA configuration for PPP calls.
enable secret 5
!
username admin password 0
username maui-nas-03 password 0 cisco
!--- Defines username for remote router (maui-nas-03) and shared secret password.
!--- Shared secret(used for CHAP authentication) must be the same on both sides.
!
memory-size iomem 30
ip subnet-zero
!
chat-script Dialout ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 45 CONNECT \c
!--- Sets up chat script "Dialout" used for the dialout connection on aux 0.
modemcap entry MY_USR_MODEM:MSC=&F1S0=1
!--- Modemcap (MY_USR_MODEM) will be applied to the AUX port line interface
!--- This modemcap was created using the command:
!--- modemcap edit MY_USR_MODEM miscellaneous &F1S0=1
!--- Refer to the Modem-Router Connection Guide for more information.
!
interface Loopback0
ip address 172.17.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.0
no keepalive
duplex auto
speed auto
!
!
!
interface Async65
!--- Async interface corresponding to the AUX Port.
!--- This was determined using the show line command.
!--- See External Modem Setup and Troubleshooting Tasks for more details.
no ip address
encapsulation ppp
!--- Use PPP encapsulation over this link.
dialer in-band
dialer pool-member 20
!--- Designate Async65 as member of dialer pool 20.
!--- The command dialer pool 20 is specified in interface Dialer 10.
async default routing
!--- This permits routing over the async interface.
!--- This is required for a routing protocol to run accross the async link.
ppp authentication chap callin
!
interface Dialer10
!---Dialer 10 is the logical interface for Dialer Pool 20.
ip unnumbered Loopback0
!--- Uses the Loopback 0 IP address.
encapsulation ppp
ip ospf demand-circuit
dialer remote-name maui-nas-03
!--- Specifies the remote router name.
!--- This name must match the one used by the remote router for authentication
dialer pool 20
!--- Async 65 is a member of this pool
dialer idle-timeout 900
dialer string 81690
!--- Defines the destination router's phone number
dialer max-call 4096
dialer-group 1
!--- apply interesting traffic definition from dialer-list 1
ppp authentication chap callin
!--- Use CHAP authentication for incoming calls
!
router ospf 5
network 172.16.1.0 0.0.0.255 area 0
network 172.17.1.0 0.0.0.255 area 0
network 172.22.1.0 0.0.0.255 area 0
!---OSPF is used between the routers.
!---A routing protocol is unnecessary if you configure the appropriate static routes.
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer10
!--- Default route points to int dialer 10.
!--- This is necessary since OSPF is not configured to send default routes.
no ip http server
!
access-list 101 remark Define Interesting Traffic
access-list 101 deny ospf any any
access-list 101 permit ip any any
dialer-list 1 protocol ip list 101
!--- Use access list 101 for interesting traffic definition
!--- This is applied to interface Dialer 10 using dialer-group 1
!
line con 0
login authentication NO_AUTHEN
transport input none
!
line aux 0
!--- line interface for the AUX port
exec-timeout 0 0
!--- disable exec timeout on the interface
script dialer Dialout
!--- use chat script "Dialout"
modem InOut
!--- enable incoming and outgoing calls
modem autoconfigure type MY_USR_MODEM
!--- apply the modemcap MY_USR_MODEM that was configured previously
transport input all
stopbits 1
!--- Improve throughput by reducing async framing overhead
speed 115200
!--- The AUX port on the 2600 supports a speed of 115200.
!--- Note: If you are routing through the AUX port, each character generates a
!--- processor interrupt. This is an abnormally high load on the CPU, which can be
!--- resolved by using a lower AUX port speed.
flowcontrol hardware
!--- configures RTS/CTS flow control
line vty 0 4
!
no scheduler allocate
end
maui-nas-03 (5300)
maui-nas-03#show running-config
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname maui-nas-03
!
aaa new-model
aaa authentication login default local
aaa authentication login NO_AUTHEN none
aaa authentication ppp default local
!--- This is the basic AAA configuration for PPP calls.
enable secret 5
!
username admin password 0
username