Changes between Version 29 and Version 30 of ipv6v4config


Ignore:
Timestamp:
May 18, 2017, 7:05:08 AM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ipv6v4config

    v29 v30  
    134134
    135135'''Note''' : Hostname is different in each device
     136
     137=== Recover from a forgotten password ===
     138This is one of our favorite situations. In some cases one student might change a password on a device and then not be in class after they have done this. Or, a student does not use the suggested class password and forgets what they typed. Or, a student makes a typo while configuring a device's password and save the configuration and exits from the console.
     139
     140This recovery method simulates what you would do on an actual Cisco router with a console cable were this to happen.
     141
     142First go to dynagen and type:
     143{{{
     144=> confreg <DEVICE NAME> 0x2142
     145}}}
     1460x2142 is the default register on cisco devices to tell the router to ignore the saved config, but not lose the configuration.
     147
     148Next connect to your device via the console. That is telnet to localhost on the correct port for the device.
     149{{{
     150telnet localhost <PORT OF THE DEVICE>
     151}}}
     152You will see something like this. Press ENTER as requested:
     153{{{
     154Would you like to enter the initial configuration dialog? [yes/no]:
     155}}}
     156Answer '''no''' to the above question and you will see a bunch of informational text. Press ENTER one more time and you will arrive to the device prompt:
     157{{{
     158Router>
     159}}}
     160Now go in to administrative mode with enable
     161{{{
     162Router> en
     163}}}
     164If you do:
     165{{{
     166Router# show run
     167}}}
     168Now you can set your enable password (Or you can add any config). An example of this would look like:
     169{{{
     170Router# conf t
     171Router(config)#service password-en
     172Router(config)#service password-encryption
     173Routerconfig)#enable secret <CLASS PASSWORD>
     174Router(config)#exit
     175Router#wr mem
     176}}}
     177Now exit from the Telnet session:
     178{{{
     179ctrl-]
     180telnet> quit
     181}}}
     182Now return to the dynagen prompt and do:
     183{{{
     184=> confreg <DEVICE NAME>0x2102
     185=> reload DEVICE NAME>
     186}}}
     187And test that your new user and password are working as expected using telnet again to the correct port on localhost or telnet directly to the router's IP address if one has been set.
     188
     189If ssh access had been configured you may need to reconfigure that as well at this point.
    136190
    137191=== Network Configurations ===
     
    708762 - type '''wireshark''' and press enter
    709763 - On the wireshark interface select the '''enp0s3''' interface and click '''Capture packets''' button
    710  - You will see plenty of broadcast packets
     764 - You will see plenty of broadcast packets. They will look like following
     765{{{
     766NO      Time            Source                  Destination     Protocol        Length  Info
     7679       0.579325000     00:fe:c9:3e:13:a0       Broadcast       ARP             60      Who has x.x.x.x?  Tell y.y.y.y
     768}}}