NM-8AM做拨号服务器配置实例

 
 
 
NM-8AM做拨号服务器配置实例。

version 12.2
service timestamps debug datetime msec
service timestamps log uptime
no service password-encryption
!
hostname cisco3640
!
boot system flash:c3640-i-mz.122-8.T
enable secret 5
!
username abc password 0 abc

! -- Usernames for local authentication of the call.
! -- The client presents the username/password and the NAS
! -- authenticates the peer. To use AAA with RADIUS or TACACS+, refer to
! -- Implementing the Server-Based AAA Subsystem.


ip subnet-zero
!
no ip domain-lookup
ip domain-name cisco.com
!
async-bootp dns-server 5.5.5.1 5.5.5.2

! -- Specifies (for async clients) the IP address of domain name server.

!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Ethernet2/0
ip address 20.20.20.1 255.255.255.0
half-duplex
!

! <<--Unused interface configuration omitted.

!
interface Group-Async1

! -- This group-async interface is the configuration template for all modems.
! -- Individual async interface do not have to be configured since they
! -- can be cloned from one managed copy.

ip unnumbered Loopback0
encapsulation ppp
dialer in-band
dialer idle-timeout 600

! -- Sets Idle timer to 600 seconds (10 minutes).

dialer-group 1

!--- Apply interesting traffic definition from dialer-list 1.
! -- Note: The specified dialer-group number must be the same as
! -- the dialer-list number; in this example, defined to be "1".
! -- Interesting traffic specifies the packets that should reset the idle timer.

async mode interactive

! -- If the async interface is to answer different connection types
! -- (exec,ppp,slip), use this command in conjunction with autoselect ppp
! -- under the line configuration to auto detect the connection type.
! -- To prevent users from establishing an "EXEC session" to the router.
! -- use the command async modem dedicated instead.

peer default ip address pool DIALIN

! -- Clients are assigned addresses from the ip address pool named "DIALIN".

ppp authentication chap
group-range 1 8

! -- Modems/lines 1 to 8 are members of this group async interface.
! -- If you want, for example, only 4 modems for incoming and the rest
! -- for outgoing then configure the group range for any set of
! -- four consecutive modems in the module.
! -- Note: this range must be included within the line configuration below.

!
ip local pool DIALIN 10.1.1.1 10.1.1.10

! -- IP address pool for dialin clients.

ip classless
ip route 0.0.0.0 0.0.0.0 20.20.20.100
ip http server
ip pim bidir-enable
!
!
dialer-list 1 protocol ip permit

! -- Specifies all IP traffic as interesting. Interesting traffic
! -- specifies the packets that should reset the idle timer.
! -- This is applied to interface Group-Async 1 using dialer-group 1.
! -- Note: The specified dialer-list number must be the same as the
! -- dialer-group number; in this example, defined to be "1".

!
line con 0
password abc
line 1 88

! -- TTY lines for the NM-8AM Modems.
! -- Note the line number range matched the group-range
! -- under the group-async config.

modem InOut

! -- Support incoming and outgoing modem calls.

transport input all
autoselect ppp

! -- Launch PPP if PPP packets are detected. This is used in conjunction
! -- with async mode interactive under the group-async configuration.

flowcontrol hardware
line aux 0
line vty 0 4
loginn
!
!
end

 

 

 
 

关于我们 |   

 招聘信息 |  友情链接 |  版权声明 |  管理中心 |  联系我们

中国思科培训网】- 思科(CISCO) CCNACCNPCCIE 认证培训第一品牌!

地址:北京市海淀区 白石桥-西苑饭店四号楼一层   
培训咨询:010-68345588(多线)   Email:service@ciscochina.com 

 

全 国 各 地 培 训 咨 询

北京:010-68345588 天津:022-62066366  上海:021-51095709
广州:020-61131010  深圳:0755-61283800  西安:029-62291168
南京:025-86871880 武汉:027-51240080  成都:028-66002150
重庆:023-89009811  郑州:0371-67215200   济南:0531-88343600