电脑技术学习

Cisco2610C的配置实例

dn001

  version 11.2
  service udp-small-servers
  service tcp-small-servers
  !
  hostname 2610C
  !
  enable secret cisco
  !
  ip subnet-zero
  no ip domain-lookup
  !
  
  ip address-pool local
  
  isdn switch-type basic-net3
  
  interface Ethernet0
  ip address 10.2.0.11 255.255.0.0
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  frame-relay lmi-type ansi
  !
  interface Serial0.1 point-to-point
  description Frame Relay to bluestudy1
  ip unnumbered Ethernet0
  frame-relay interface-dlci 10
  !
  interface Serial0.2 point-to-point
  description Frame Relay to bluestudy2
  ip unnumbered Ethernet0
  frame-relay interface-dlci 11
  !
  
  interface BRI1/0
  
  no ip address
  
  shutdown
  
  isdn switch-type basic-net3
  
  !
  
  interface BRI1/1
  
  ip address 192.168.3.1 255.255.255.240
  
  encapsulation ppp
  
  timeout absolute 60 0
  
  dialer idle-timeout 3600
  
  dialer-group 1
  
  isdn switch-type basic-net3
  
  peer default ip address pool default
  
  ppp authentication chap pap callin
  
  !
  
  interface BRI1/2
  
  no ip address
  
  encapsulation ppp
  
  shutdown
  
  isdn switch-type basic-net3
  
  !
  
  interface BRI1/3
  
  no ip address
  
  encapsulation ppp
  
  shutdown
  
  isdn switch-type basic-net3
  
  no peer default ip address
  
  !
  
  ip local pool default 192.168.3.3 192.168.3.14
  
  ip http server
  ip classless
  ip route 192.168.5.0 255.255.255.0 serial0.1
  ip route 192.168.4.0 255.255.255.0 serial0.2
  
  ip route 0.0.0.0 0.0.0.0 10.2.0.1
  !
  
  Access-list 1 permit any
  
  dialer-list 1 protocol ip list 1
  
  line con 0
  passWord console
  login
  line aux 0
  line vty 0 4
  password telnet
  login
  !
  end