mercoledì 16 ottobre 2013

configurazione Cisco 857W

Configurazione Base Cisco 857W


Ho voluto usare un Cisco 857W perché molto affidabile. Tuttavia, la configurazione è un po' difficile su Cisco IOS, e lo strumento grafico di configurazione fornito con il router è inaccessibile, così la linea di comando e l'unico modo per configurare. Sta di fatto che questa è un impostazione base, che voglio rendere disponibile per facilitare il lavoro a chi si trova davanti per la prima volta con questo dispositivo.

::::::Configurazione::::::

Niente [parentesi quadre] dovete fornire voi i dati.
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname [name of your router]
!
boot-start-marker
boot-end-marker
!
enable password [your enable password]
!
username [username] privilege 15 password 0 [password]
no aaa new-model
ip subnet-zero
ip dhcp excluded-address 192.168.0.1 192.168.0.4
!
ip dhcp pool sdm-pool1
   network 192.168.0.1 255.255.255.0
   domain-name [dns domain name]
   dns-server [isp dns server 1] [isp dns server 2] 
   default-router 192.168.0.1 
!
!
ip cef
ip name-server [isp dns server 1]
ip name-server [isp dns server 2]
no ftp-server write-enable
!
!
!
! 
!
bridge irb
!
!
interface ATM0
 no ip address
 no atm ilmi-keepalive
 dsl operating-mode ansi-dmt
!
interface ATM0.1 point-to-point
 logging event subif-link-status
 pvc 0/38 
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
 !
!
interface FastEthernet0
 no ip address
!
interface FastEthernet1
 no ip address
!
interface FastEthernet2
 no ip address
!
interface FastEthernet3
 no ip address
!
interface Dot11Radio0
 no ip address
 !
 encryption mode ciphers tkip 
 
  ssid [your wireless ssid]
    authentication open 
    authentication key-management wpa
    guest-mode
    wpa-psk ascii 0 [your wpa-psk key]
 !
 speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
 station-role root
 bridge-group 1
 bridge-group 1 spanning-disabled
!
interface Vlan1
 no ip address
 bridge-group 1
!
interface Dialer0
 ip address negotiated
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 logging event subif-link-status
 dialer pool 1
 dialer-group 1
 ppp authentication pap chap callin
 ppp chap hostname [your ISP username] 
 ppp chap password 0 [your ISP password]
 ppp pap sent-username [your ISP username] password 0 [your ISP password]
 hold-queue 224 in
!
interface BVI1
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
!
no ip http server
ip http authentication local
no ip http secure-server
ip nat pool pool1 192.168.0.0 192.168.1.0 netmask 0.0.0.255
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source list 102 interface Dialer0 overload
!
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 102 permit ip 0.0.0.0 255.255.255.0 any
dialer-list 1 protocol ip permit
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
 no modem enable
 transport preferred all
 transport output all
line aux 0
 transport preferred all
 transport output all
line vty 0 4
 privilege level 15
 login local
 transport preferred all
 transport input ssh
 transport output all
!
scheduler max-task-time 5000
end

0 commenti:

Posta un commento