典型电话拨号上网配置

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

电话拨号

version xx.x

service timestamps debug datetime msec

service timestamps log datetime msec

service passWord-encryption

no service udp-small-servers

no service tcp-small-servers

!

hostname NAS

!

aaa new-model

aaa authentication login console enable

aaa authentication login vty tacacs+

aaa authentication login dialin tacacs+

aaa authentication ppp default tacacs+

aaa authentication ppp dialin if-needed tacacs+

enable secret cisco

!

async-bootp dns-server 10.1.3.1 10.1.3.2

isdn switch-type PRimary-5ess

!

controller T1 0

framing esf

clock source line primary

linecode b8zs

pri-group timeslots 1-24

!

controller T1 1

framing esf

clock source line secondary

linecode b8zs

pri-group timeslots 1-24

!

interface Loopback0

ip address 10.1.2.254 255.255.255.0

!

interface Ethernet0

ip address 10.1.1.10 255.255.255.0

ip summary address eigrp 10 10.1.2.0 255.255.255.0

!

interface Serial0

no ip address

shutdown

!

interface Serial1

no ip address

shutdown

!

interface Serial0:23

no ip address

encapsulation ppp

isdn incoming-voice modem

!

interface Serial1:23

no ip address

isdn incoming-voice modem

!

interface Group-Async1

ip unnumbered Loopback0

encapsulation ppp

async mode interactive

peer default ip address pool dialin_pool

no cdp enable

ppp authentication chap pap dialin

group-range 1 48

!

router eigrp 10

network 10.0.0.0

passive-interface Dialer0

no auto-summary

!

ip local pool dialin_pool 10.1.2.1 10.1.2.50

ip default-gateway 10.1.1.1

ip classless

!

dialer-list 1 protocol ip permit

!

line con 0

login authentication console

line 1 48

autoselect ppp

autoselect during-login

login authentication dialin

modem DialIn

!

line aux 0

login authentication console

line vty 0 4

login authentication vty

transport input telnet rlogin

!

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航