Cisco IOS general config

Go Back
Braindump Index
Braindump Home


undebug all

!
service timestamps debug uptime
service timestamps log datetime localtime show-timezone
service password-encryption
!
hostname router
!
enable secret 5 $1$encryptedmd5
!
username ian password 7 hashedpassword
clock timezone EST -5
clock summer-time EDT recurring
ip subnet-zero
no ip source-route
ip cef
!
!
ip domain-list mrzesty.net
ip domain-name mrzesty.net
ip name-server 10.10.10.41
!
no ip bootp server
!
!
!
interface Ethernet1/0
 description local lan-connection
 ip address 10.10.10.1 255.255.255.0
 no ip directed-broadcast
 no ip redirects
 no ip proxy-arp
 ip route-cache same-interface
 hold-queue 4096 in
 hold-queue 4096 out
!
ip classless
no ip http server
ip as-path access-list 5 deny .*
!
no logging buffered
no logging console
no logging monitor
logging facility local6
logging 10.1.1.1
!
no cdp run
!
line vty 0 4
 exec-timeout 20 0
 login local
!
scheduler allocate 3000 1000
ntp server 10.10.10.2
!
end



Set NAT translation based on outbound path:

ip nat inside source static 10.10.11.99 216.187.69.99 route-map peer1map
ip nat inside source static 10.10.11.99 209.202.125.165 route-map telusmap

route-map telusmap permit 10
 match interface FastEthernet2/0
 set ip next-hop 66.203.192.233
!
route-map peer1map permit 10
 match interface FastEthernet1/0
 set ip next-hop 216.187.69.217

You may want to look here for something called ciscoconfd that will automatically grab config changes and RCS them for you.

Last modified: Wednesday, December 31 1969 @ 19:00 EST
Google
WWW braindump.MrZesty.net
© Ian Samuel, 2012
http://braindump.MrZesty.net