PDA

View Full Version : نمونه کانفیگ روتر



edris60
دوشنبه 09 مرداد 1385, 11:29 صبح
سلام دوستان

یک نمونه کانفیگ روتر Cisco2611 میخوام
ممنون میشم کمکم کنین
با تشکر فراوان

Identifier
دوشنبه 09 مرداد 1385, 12:10 عصر
Current configuration : 2041 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname Router
!
aaa new-model
!
!
aaa authentication login LocalLogin local
aaa authentication ppp default group radius local
aaa authorization network default group radius local if-authenticated
aaa accounting update newinfo
aaa accounting network default start-stop group radius
aaa session-id common
enable password 7 0
!
username admin password 7 0
ip subnet-zero
!
!
no ip domain-lookup
ip name-server 195.146.32.1
ip name-server 195.146.32.2
ip name-server 192.9.9.3
!
!
!
!
interface Loopback0
ip address XXX.XXX.XXX.XXX 255.255.255.252
shutdown
!
interface FastEthernet0/0
ip address XXX.XXX.XXX.XXX 255.255.255.240 secondary
ip address XXX.XXX.XXX.XXX 255.255.255.240
ip nat inside
speed auto
full-duplex
!
interface Serial0/0
ip unnumbered FastEthernet0/0
ip nat outside
encapsulation ppp
no cdp enable
!
interface Group-Async1
ip unnumbered FastEthernet0/0
ip nat inside
encapsulation ppp
ip tcp header-compression passive
no ip mroute-cache
async mode interactive
peer default ip address pool Global
no fair-queue
ppp authentication pap chap
group-range 33 48
!
ip local pool Global XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
ip nat pool natpool XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX netmask 255.255.255.252
ip nat inside source list 101 interface FastEthernet0/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0
no ip http server
ip pim bidir-enable
!
ip radius source-interface FastEthernet0/0
!
access-list 2 permit XXX.XXX.XXX.XXX 0.0.0.255
access-list 101 permit ip XXX.XXX.XXX.XXX 0.0.0.255 any
access-list 101 permit ip XXX.XXX.XXX.XXX 0.0.0.31 any
radius-server host XXX.XXX.XXX.XXX auth-port 1645 acct-port 1646
radius-server retransmit 3
!
line con 0
line 33 48
session-timeout 10
modem InOut
modem autoconfigure discovery
transport input all
autoselect during-login
autoselect ppp
stopbits 1
flowcontrol hardware
line aux 0
line vty 0 4
login authentication LocalLogin
!
!
end


کانفیگ فوق صرفا جهت آشنایی ارائه شد و نسبت به شرایط بایستی Optimize شود.


موفق باشید.

edris60
چهارشنبه 11 مرداد 1385, 07:49 صبح
سلام آقای ذوالقدری
همیشه راهنمائیهای شما برام کارگشا بوده
خیلی از لطفتون سپاسگزارم

امیدوارم بتونم جبران کنم ، لااقل با دعای خیر