3640 远程接入

2013-11-5不详中国IT实…

CiSCo 3640 with T1 CAS
acc-3640-6a#show running-config
Building configuration...

Current configuration : 1137 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service internal
!
hostname acc-3640-6a
!
logging rate-limit console 10 except errors
!
username dialin password 0 user
! -- 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
! -- the document Implementing the Server-Based AAA Subsystem.
ip subnet-zero
!
no ip finger
no ip domain-lookup
!
async-bootp dns-server 10.98.1.220
! -- Specifies (for async clIEnts) the IP address of domain name server.
async-bootp nbns-server 10.98.1.221
! -- Specifies (for async clIEnts) the IP address of WINS server.
call rsvp-sync
!
controller T1 0/0
! -- T1 Physical interface controller configuration.
! -- Interfaces are addressed as controller slot/port.
! -- In this example, the NM-1CT1-CSU module is in slot 0.
framing esf
! -- Framing for this T1 is Extended Super Frame (ESF).
! -- Obtain this information from the telco.
linecode b8zs
! -- Linecoding for this T1. Obtain this information from the telco.
ds0-group 0 timeslots 1-24 type e&m-immediate-start
! -- CAS T1 with E&M Immediate Start provided by telco.
! -- Verify your signaling type with your local provider. Prior to CiSCo IOS
! -- Software Release 12.0(5)T, this command was known as cas-group.
!
interface Ethernet2/0
ip address 10.98.1.51 255.255.255.0
half-duplex
!
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 Ethernet2/0
encapsulation ppp
dialer in-band
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.
dialer idle-timeout 600
! -- Sets Idle timer to 600 seconds (10 minutes).
async mode dedicated
! -- Allows only PPP dialup. PrEVEnts users from establishing
! -- an "EXEC session" to the router. If the async interface is to answer
! -- different connection types (exec,ppp,slip etc),
! -- use async mode interactive in conjunction with autoselect ppp
! -- under the line configuration to auto detect the connection type.
peer default ip address pool dialin
! -- ClIEnts are assigned addresses from the ip address pool named "dialin".
ppp authentication chap pap
group-range 33 56
! -- Modems 33 through 56 are members of this group async interface.
! -- This range was determined in the section Pre-configuration Tasks.
!
ip local pool dialin 10.98.1.15 10.98.1.39
! -- IP address pool for dialin clIEnts.
ip classless
ip route 0.0.0.0 0.0.0.0 10.98.1.1
no ip http server
!
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".
!
dial-peer cor custom
!
line con 0
transport input none
line 33 56
! -- TTY lines for the NM-24DM Modems.
! -- This line range was determined in the section Pre-configuration Tasks.
modem InOut
! -- Support incoming and outgoing modem calls.
transport input all
line aux 0
line vty 0 4
login
!
end


本文来源:不详 作者:中国IT实…

聚合推荐
声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下