中心路由器 ! service timestamps debug uptime service timestamps log uptime service passWord-encryption no service tcp-small-servers no service udp-small-servers ! hostname Cisco2620
! enable password aa username 1720 password cisco ! no ip name-server ! isdn switch-type PRimary-net5 ! ip subnet-zero no ip domain-lookup ip routing ! controller E1 1/0 framing no-crc4 linecode hdb3 pri-group timeslots 1-31 ! controller E1 1/1 framing no-crc4 linecode hdb3 pri-group timeslots 1-31 !
interface FastEthernet 0/0 ip add 10.1.1.1 255.255.255.0 ! interface loopback 0 ip add 10.1.2.1 255.255.255.0 ! interface Serial 1/0:15 encapsulation ppp ip unnumbered loopback 0 ppp authentication chap callin ppp chap host 2620 peer default ip address dhcp dhcp_pool ppp multi-link dialer-group 1 ! interface Serial 1/1:15 encapsulation ppp ip unnumbered loopback 0 ppp authentication chap callin ppp chap host 2620 peer default ip address dhcp dhcp_pool ppp multi-link dialer-group 1
! dialer-list 1 protocol ip permit ! router rip net 10.0.0.0 passive-interface default no passive-interface fastethernet 0/0 ! ip local pool dhcp_ppol 10.2.1.10 10.1.2.70 ip classless no ip http server snmp-server community public RO no snmp-server location no snmp-server contact ! line console 0 exec-timeout 0 0 password hh login ! line vty 0 4 password hh login ! end
执法站路由器配置 ! service timestamps debug uptime service timestamps log uptime service password-encryption no service tcp-small-servers no service udp-small-servers ! hostname Cisco1720 ! enable password jjjj username 2620 password cisco ! no ip name-server ! isdn switch-type basic-nwnet3 ! ip subnet-zero no ip domain-lookup ip routing ! ! interface FastEthernet 0 ip add 192.168.0.1 255.255.255.0 ip nat inside ! interface BRI 0 ip address negotiation isdn switch-type basic-net3 encapsulation ppp ppp authentication chap ppp chap host 1720 dialer string 12345678 ip nat outside ! dialer-list 1 protocol ip permit ! ip nat inside source-list 1 interface bri 0 overload ! access-list 1 permit any ip classless no ip http server snmp-server community public RO no snmp-server location no snmp-server contact ! line console 0 exec-timeout 0 0 password jj login ! line vty 0 4 password jj login ! end