2014年7月2日水曜日

Cisco800/803 ISDN/INS ダイアルアップコンフィグサンプル

RouterA#show run
Building configuration...

Current configuration : 1802 bytes
!
version 12.2
no service pad
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname RouterA
!
logging buffered 4096 debugging
enable secret 5 cisco
!
username usera password cisco
clock timezone JST 9
ip subnet-zero
!
no ip domain-lookup
isdn switch-type ntt
!
!
!
interface Ethernet0
 description ### DATA-LAN ###
 ip address 10.10.9.129 255.255.255.128
 ip nat inside
!
interface BRI0
 description ### ISDN-Line 0xx-xxx-xxx ###
 ip address 10.10.0.1 255.255.255.248
 ip broadcast-address 10.10.0.7
 ip access-group 100 out
 ip nat outside
 encapsulation ppp
 no keepalive
 dialer idle-timeout 180
 dialer map ip 10.10.0.3 name usera 03xxxxxxx:11111
 dialer-group 1
 isdn switch-type ntt
 isdn answer1 :11111
 no cdp enable
 ppp authentication chap
 ppp chap hostname RouterA
 ppp chap password cisco
!
ip nat inside source static 192.168.1.101 10.10.0.2
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.9.130
ip route 10.10.0.4 255.255.255.255 10.10.0.3
ip route 10.10.0.5 255.255.255.255 10.10.0.3
ip route 10.10.0.6 255.255.255.255 10.10.0.3
!
logging 192.168.10.11
access-list 100 remark To_ISDN_121011
access-list 100 permit ip any 10.0.0.0 0.255.255.255
access-list 100 permit ip any 172.16.0.0 0.15.255.255
access-list 100 permit ip any 192.168.0.0 0.0.255.255
access-list 100 deny   ip any any
dialer-list 1 protocol ip permit
snmp-server community public RO
snmp-server community private RO
snmp-server host 192.168.1.2 public
snmp-server host 192.168.1.6 public
snmp-server host 192.168.1.9 public
!
line con 0
 exec-timeout 0 0
 stopbits 1
line vty 0 4
 exec-timeout 15 0
 password cisco
 login
!
!
end

RouterA#

0 件のコメント:

GoogleAD