Cisco 2501

Sample configurations

Sample 1

version 11.0
service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname mycisco
!
clock timezone MET 1
clock summer-time MET-DST recurring last Sun Mar 2:00 last Sun Sep 3:00
enable secret 5 $1$1HRx$Ku/0bGr7DbJoO8SkTOGzQ.
enable password 7 1213041A100402
!
!
interface Ethernet0
 ip address 172.20.1.254 255.255.0.0
 no ip directed-broadcast
 no ip proxy-arp
!
interface Serial0
 no ip address
 no ip directed-broadcast
 shutdown
 no fair-queue
!
interface Serial1
 description Frame-relay
 ip address 192.168.1.194 255.255.255.240
 no ip mroute-cache
 encapsulation frame-relay
 no ip route-cache
 bandwidth 512
 frame-relay interface-dlci 31
 frame-relay lmi-type ansi
!
router eigrp 1
 network 192.168.1.0
 network 172.20.0.0
 no auto-summary
!         
ip domain-name ACME.COM
ip name-server 172.20.1.125
ip classless
ip route 0.0.0.0 0.0.0.0 172.20.1.253
ip route 192.168.250.0 255.255.255.0 172.20.1.50
snmp-server community public RO
snmp-server host 172.17.1.3 public
!         
line con 0
 password 7 1044081407181C
 login    
 transport preferred none
line aux 0
 transport input all
line vty 0 4
 exec-timeout 0 0
 password 7 11031808151D05
 login    
 transport preferred none
!         
ntp clock-period 17179771
ntp server 192.168.1.193
end  

Sample 2

#sh runn
Building configuration...
 
Current configuration:
!
version 11.3
service password-encryption
!
hostname fr_rd_uunet
!
enable secret 5 $1$Koe.$1An5rqyCr26qnlvmXYjaW/
enable password 7 01190709590408
!
ip domain-name uu.net
ip name-server 194.98.65.65
ip name-server 194.98.65.165
clock timezone MET 1
clock summer-time MET-DST recurring last Sun Mar 2:00 last Sun Sep 3:00
!
interface Ethernet0
 description Paris R&D
 ip address 100.100.100.254 255.255.255.0
 no ip directed-broadcast
 no ip proxy-arp
!
interface Serial0
 description 256K Link to Uunet
 no ip address
 encapsulation frame-relay IETF
 no ip mroute-cache
 keepalive 12
 no fair-queue
!
interface Serial0.1 point-to-point
 description 256K Link to Uunet
 ip address 194.98.75.81 255.255.255.0
 ip access-group 101 in
 no ip directed-broadcast
 bandwidth 256
 frame-relay interface-dlci 213   
!
interface Serial1
 no ip address
 shutdown
!
interface Serial1.1
!
ip classless
ip route 0.0.0.0 0.0.0.0 194.98.75.254
access-list 101 permit icmp any any
access-list 101 permit tcp any any established
access-list 101 permit tcp any 100.100.100.0 0.0.0.255 eq domain
access-list 101 permit udp any 100.100.100.0 0.0.0.255 eq domain
access-list 101 permit tcp any host 100.100.100.1 eq smtp
access-list 101 permit tcp any host 100.100.100.1 eq pop3
access-list 101 permit tcp any host 100.100.100.1 eq ident
access-list 101 permit tcp any host 100.100.100.2 eq ftp
access-list 101 permit tcp any host 100.100.100.2 eq ftp-data
access-list 101 permit tcp any host 100.100.100.2 eq ident
access-list 101 permit udp any host 100.100.100.2 eq ntp
access-list 101 permit tcp any any gt 1023
access-list 101 permit udp any any gt 1023
!
line con 0
 password 7 141D13060E0B24
 login
line aux 0
line vty 0 4
 password 7 1213041A100402
 login
 transport preferred none
!
ntp server 145.238.2.24
end