免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1284 | 回复: 0
打印 上一主题 下一主题

[安装配置] 配置 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-01 12:50 |只看该作者 |倒序浏览
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#dir
Router(config)#di
Router(config)#dialer-li
Router(config)#dialer-list ?
    Dialer group number
Router(config)#dialer-list 1 ?
  protocol  Permit or Deny based on protocols
Router(config)#dialer-list 1 pro
Router(config)#dialer-list 1 protocol ?
  appletalk         AppleTalk
  bridge            Bridging
  clns              OSI Connectionless Network Service
  clns_es           CLNS End System
  clns_is           CLNS Intermediate System
  decnet            DECnet
  decnet_node       DECnet node
  decnet_router-L1  DECnet router L1
  decnet_router-L2  DECnet router L2
  hpr               HPR
  ip                IP
  ipx               Novell IPX
  llc2              LLC2
  netbios           NETBIOS
  vines             Banyan Vines
  xns               XNS
Router(config)#dialer-list 1 protocol ip ?
  deny    Deny specified protocol
  list    Add access list to dialer list
  permit  Permit specified protocol
Router(config)#dialer-list 1 protocol ip pe
Router(config)#dialer-list 1 protocol ip permit
Router(config)#inet
Router(config)#inter
Router(config)#interface b
Router(config)#interface br
Router(config)#interface brI 0
Router(config-if)#di
Router(config-if)#dialer-g
Router(config-if)#dialer-group ?
    Dialer list number
Router(config-if)#dialer-group 1
Router(config-if)#exit
Router(config)#dri
Router(config)#di
Router(config)#dialer-m
Router(config)#dialer?
dialer  dialer-list
Router(config)#dialer ?
  dnis        Configure dialer DNIS command
  watch-list  Dialer watch list
Router(config)#interf
Router(config)#interface bri0
Router(config-if)#dir
Router(config-if)#d
Router(config-if)#di
Router(config-if)#dialer?
dialer  dialer-group
Router(config-if)#dialer ?
  callback-secure        Enable callback security
  enable-timeout         Set length of time an interface stays down before it
                         is available for dialing
  fast-idle              Set idle time before disconnecting line with an
                         unusually high level of contention
  hold-queue             Configure output hold queue
  idle-timeout           Specify idle timeout before disconnecting line
  load-threshold         Specify threshold for placing additional calls
  map                    Define multiple dial-on-demand numbers
  pool-member            Specify dialer pool membership
  priority               Specify priority for use in dialer group
  redial                 Configure redial for this interface
  rotary-group           Add to a dialer rotary group
  snapshot               Enable snapshot address for dialer profile
  string                 Specify telephone number to be passed to DCE device
  vpdn                   Enable vpdn dial
  wait-for-carrier-time  How long the router will wait for carrier
  watch-disable          Time to wait before bringing down watched route link
  watch-group            Assign interface to dialer-watch-list
Router(config-if)#dialer map ip ?
  A.B.C.D  Protocol specific address
Router(config-if)#dialer map ip 10.1.0.2 ?
  WORD           Dialer string
  broadcast      Broadcasts should be forwarded to this address
  class          dialer map class
  modem-script   Specify regular expression to select modem dialing script
  name           Map to a host
  spc            Semi Permanent Connections
  speed          Set dialer speed
  system-script  Specify regular expression to select system dialing script
Router(config-if)#dialer map ip 10.1.0.2 name routerB ?
  WORD           Dialer string
  broadcast      Broadcasts should be forwarded to this address
  class          dialer map class
  modem-script   Specify regular expression to select modem dialing script
  name           Map to a host
  spc            Semi Permanent Connections
  speed          Set dialer speed
  system-script  Specify regular expression to select system dialing script
  
Router(config-if)#dialer map ip 10.1.0.2 name routerB 12345678
Router(config-if)#exit
Router(config)#int b0
Router(config-if)#exit
Router(config)#int b0
Router(config-if)#di
Router(config-if)#dialer ?
  callback-secure        Enable callback security
  enable-timeout         Set length of time an interface stays down before it
                         is available for dialing
  fast-idle              Set idle time before disconnecting line with an
                         unusually high level of contention
  hold-queue             Configure output hold queue
  idle-timeout           Specify idle timeout before disconnecting line
  load-threshold         Specify threshold for placing additional calls
  map                    Define multiple dial-on-demand numbers
  pool-member            Specify dialer pool membership
  priority               Specify priority for use in dialer group
  redial                 Configure redial for this interface
  rotary-group           Add to a dialer rotary group
  snapshot               Enable snapshot address for dialer profile
  string                 Specify telephone number to be passed to DCE device
  vpdn                   Enable vpdn dial
  wait-for-carrier-time  How long the router will wait for carrier
  watch-disable          Time to wait before bringing down watched route link
  watch-group            Assign interface to dialer-watch-list
Router(config-if)#dialer lo
Router(config-if)#dialer load-threshold ?
    Load threshold to place another call
Router(config-if)#dialer load-threshold 1 ?
  either    Threshold decision based on max of inbound and outbound traffic
  inbound   Threshold decision based on inbound traffic only
  outbound  Threshold decision based on outbound traffic only
  
Router(config-if)#dialer load-threshold 1 in
Router(config-if)#dialer load-threshold 1 inbound
Router(config-if)#exit
Router(config)#int bri0
Router(config-if)#en
Router(config-if)#encapsulation ppp
Router(config-if)#
04:03:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state
to down
04:03:44: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state
to down
Router(config-if)#
Router(config-if)#
Router(config-if)#en
Router(config-if)#ppp au
Router(config-if)#ppp authentication ch
Router(config-if)#ppp authentication chap
Router(config-if)#exit
Router(config)#user
Router(config)#username ?
  WORD  User name
Router(config)#username router
Router(config)#username routerA
Router(config)#username routerA ?
  access-class         Restrict access by access-class
  autocommand          Automatically issue a command after the user logs in
  callback-dialstring  Callback dialstring
  callback-line        Associate a specific line with this callback
  callback-rotary      Associate a rotary group with this callback
  dnis                 Do not require password when obtained via DNIS
  nocallback-verify    Do not require authentication after callback
  noescape             Prevent the user from using an escape character
  nohangup             Do not disconnect after an automatic command
  nopassword           No password is required for the user to log in
  password             Specify the password for the user
  privilege            Set user privilege level
  user-maxlinks        Limit the user's number of inbound links
  
Router(config)#username routerA pa
Router(config)#username routerA password ?
  0     Specifies an UNENCRYPTED password will follow
  7     Specifies a HIDDEN password will follow
  LINE  The UNENCRYPTED (cleartext) user password
Router(config)#username routerA password 123456
Router(config)#p
Router(config)#pa
Router(config)#int bri0
Router(config-if)#pa
Router(config-if)#pap
Router(config-if)#pa
Router(config-if)#pa
Router(config-if)#exit
Router(config)#exit
Router#show
04:05:31: %SYS-5-CONFIG_I: Configured from console by consoledi
BRI0 - dialer type = ISDN
Dial String      Successes   Failures    Last DNIS   Last status
12345678                 0          0    never                   -
0 incoming call(s) have been screened.
0 incoming call(s) rejected for callback.
BRI0:1 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is shutdown
BRI0:2 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is shutdown
Router#
Router#show di
Router#show dialer
BRI0 - dialer type = ISDN
Dial String      Successes   Failures    Last DNIS   Last status
12345678                 0          0    never                   -
0 incoming call(s) have been screened.
0 incoming call(s) rejected for callback.
BRI0:1 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is shutdown
BRI0:2 - dialer type = ISDN
Idle timer (120 secs), Fast idle timer (20 secs)
Wait for carrier (30 secs), Re-enable (15 secs)
Dialer state is shutdown
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#isdn sw
Router(config)#isdn switch-type ba
Router(config)#isdn switch-type basic-net3

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/20503/showart_135106.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP