电脑技术学习

AS5300配置实例

dn001

  xx53a#sh run
  
  Building configuration...
  
  Current configuration:
  
  !
  
  version 12.0
  
  service timestamps debug uptime
  
  service timestamps log uptime
  
  service passWord-encryption
  
  !
  
  hostname xx53a
  
  !
  
  aaa new-model
  
  aaa authentication login default local
  
  aaa authentication login xxlogin group radius
  
  aaa authentication ppp default local
  
  aaa authentication ppp xxdialin local group radius
  
  enable secret 5 $1$VqVj$nAFgXleo5lie4JSC2td9X.
  
  enable password 7 083645401D1615
  
  !
  
  username cisco password 7 03135205120031
  
  username xxadmin password 7 110E03061F1705
  
  username x126DDRcisco password 7 0611062F5841190D161443595F
  
  username x226DDRcisco password 7 00131A0810541B121C221D1C5A
  
  username x326DDRcisco password 7 0611062F5841190D161443595F
  
  username x426DDRcisco password 7 095B47070D0A0706180F557878
  
  username cisco26 password 7 02110D551F091F731A
  
  spe 1/0 1/2
  
  firmware location mica-modem-pw.2.6.2.0.bin
  
  spe 1/3 1/9
  
  firmware location system:/UCode/mica_port_firmware
  
  spe 2/0 2/6
  
  firmware location mica-modem-pw.2.6.2.0.bin
  
  spe 2/7 2/9
  
  firmware location system:/ucode/mica_port_firmware
  
  !
  
  !
  
  resource-pool disable
  
  !
  
  !
  
  !
  
  !
  
  !
  
  modem answer delay 1
  
  modem country mica china
  
  ip subnet-zero
  
  no ip domain-lookup
  
  !
  
  !
  
  !
  
  controller E1 0
  
  framing NO-CRC4
  
  clock source line primary
  
  ds0-group 0 timeslots 1-15,17-30 type r2-digital r2-compelled
  
  cas-custom 0
  
  unused-abcd 0 1 1 1
  
  country china
  
  answer-signal group-b 1
  
  dnis-digits min 1 max 7
  
  !
  
  controller E1 1
  
  clock source line secondary 1
  
  !
  
  controller E1 2
  
  clock source line secondary 2
  
  !
  
  controller E1 3
  
  clock source line secondary 3
  
  !
  
  process-max-time 200
  
  !
  
  interface Loopback0
  
  ip address 100.237.140.1 255.255.255.0
  
  no ip directed-broadcast
  
  !
  
  interface Ethernet0
  
  ip address 100.237.139.132 255.255.255.128
  
  no ip directed-broadcast
  
  no ip proxy-arp
  
  !
  
  interface Serial0
  
  no ip address
  
  no ip directed-broadcast
  
  shutdown
  
  no fair-queue
  
  clockrate 2015232
  
  !
  
  interface Serial1
  
  no ip address
  
  no ip directed-broadcast
  
  shutdown
  
  no fair-queue
  
  clockrate 2015232
  
  !
  
  interface Serial2
  
  no ip address
  
  no ip directed-broadcast
  
  shutdown
  
  no fair-queue
  
  clockrate 2015232
  
  !
  
  interface Serial3
  
  no ip address
  
  no ip directed-broadcast
  
  shutdown
  
  no fair-queue
  
  clockrate 2015232
  
  !
  
  interface FastEthernet0
  
  ip address 100.237.139.28 255.255.255.128
  
  ip Access-group 10 out
  
  no ip directed-broadcast
  
  no ip proxy-arp
  
  !
  
  interface Group-Async0
  
  physical-layer async
  
  no ip address
  
  no ip directed-broadcast
  
  no group-range
  
  !
  
  interface Group-Async1
  
  ip unnumbered Loopback0
  
  no ip directed-broadcast
  
  encapsulation ppp
  
  no ip mroute-cache
  
  dialer in-band
  
  dialer map ip 100.237.140.2 name x126DDRcisco
  
  dialer map ip 100.237.140.3 name x226DDRcisco
  
  dialer map ip 100.237.140.4 name x326DDRcisco
  
  dialer map ip 100.237.140.5 name x426DDRcisco
  
  dialer map ip 100.237.140.8 name cisco26
  
  async default routing
  
  async mode interactive
  
  peer default ip address pool wt
  
  no fair-queue
  
  ppp authentication pap chap callin xxdialin
  
  no ppp chap wait
  
  group-range 1 120
  
  !
  
  ip local pool wt 100.237.140.32 100.237.140.95
  
  no ip http server
  
  ip classless
  
  !
  
  access-list 10 permit 100.237.139.252
  
  access-list 20 permit 100.237.139.0 0.0.0.255
  
  snmp-server engineID local 00000009020000024BA3A772
  
  snmp-server community public RO
  
  snmp-server community private RW
  
  radius-server host 100.237.139.252 auth-port 1645 acct-port 1646
  
  radius-server host 100.237.139.251 auth-port 1645 acct-port 1646
  
  radius-server key radius
  
  !
  
  line con 0
  
  transport input none
  
  line 1 120
  
  autoselect during-login
  
  autoselect ppp
  
  modem InOut
  
  modem autoconfigure type mica
  
  rotary 1
  
  autocommand ppp
  
  transport preferred pad telnet rlogin udptn
  
  transport input all
  
  transport output pad telnet rlogin udptn
  
  autohangup
  
  line aux 0
  
  line vty 0 4
  
  access-class 20 in
  
  password 7 095B47070D0A07
  
  !
  
  end