cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
972
Views
0
Helpful
1
Replies

Sample Router Configuration for Beginners

Good day,

I am very in need of help to come up this particular configuration in my Cisco 1941 Series using SecureCRT 7.1.

Can any one help me the step by step command in this configuration below.

 

History of the problem: Yesterday our internet connection works perfectly fine, not until today our internet connection was lost. I check the modem(ISP) using PPOE in another laptop and it seems no problem, there is an internet connection on the modem. Now i check the router using console cable and it seems the previous configuration has gone and i dont know why. And now all our pc are having yellow tag and unable to access the internet.

 

By the way, I'm very newbie in cisco networking, the configuration was past down to the last IT here in our company. Im grateful to see your help.

Thank you

 

 

Current configuration : 2520 bytes
!
! Last configuration change at 04:27:26 UTC Thu Sep 3 2020
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
!
!
!
ip dhcp excluded-address 172.16.0.64 172.16.0.70
!
ip dhcp pool SERVER-VLAN10
network 172.16.0.64 255.255.255.224
default-router 172.16.0.94
dns-server 8.8.8.8
!
ip dhcp pool VLAN20
network 172.16.1.64 255.255.255.224
default-router 172.16.1.94
dns-server 8.8.8.8
!
ip dhcp pool VLAN30
network 172.16.2.0 255.255.255.0
default-router 172.16.2.1
dns-server 8.8.8.8
!
!
!
no ipv6 cef
multilink bundle-name authenticated
!
!
!
license udi pid CISCO1941/K9 sn XXXXXXXX
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 10
!
interface GigabitEthernet0/1
no ip address
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/1.10
encapsulation dot1Q 10
ip address 172.16.0.94 255.255.255.224
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.20
encapsulation dot1Q 20
ip address 172.16.1.94 255.255.255.240
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.30
encapsulation dot1Q 30
ip address 172.16.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 10
ppp authentication pap callin
ppp pap sent-username 000000000 password 0 000000000
ppp ipcp route default
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source list 2 interface Dialer1 overload
ip nat inside source list 3 interface Dialer1 overload
!
access-list 1 permit 172.16.0.64 0.0.0.31
access-list 2 permit 172.16.1.80 0.0.0.15
access-list 3 permit 172.16.2.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
password xxxxxxx
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password xxxxxxx
login
transport input all
line vty 5 14
password xxxxxxx
login
transport input all
!
scheduler allocate 20000 1000
!
end

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

Since you mentioned all working and suddenly you lost config on the router,  please confirm, is the router rebooted due to power loss ?

show version gives you uptime also config register information.

 

further testing :

 

configure the router back as expected to work, make sure you write the configuration 

also, verify config register (config-register 0x2102 ) as per the below document.

 

https://www.cisco.com/c/en/us/support/docs/routers/2500-series-routers/6201-lose-config-6201.html

 

reload and see if the config intact with out loss?

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: