Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/0xaryan/NetworkLab
Browse files Browse the repository at this point in the history
  • Loading branch information
avestura committed Jul 25, 2020
2 parents 13e824d + 76f902e commit be020e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/source/About/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This is a simple documentation for Network Lab course of `University of Guilan`_
.. _University of Guilan: https://guilan.ac.ir
.. _Aryan Ebrahimpour: https://avestura.dev


==================
Contributions
==================
Expand All @@ -26,4 +27,4 @@ link on top of each page to improve these pages.

You may need `Sphinx`_ docs if you are not familiar with reStucturedText.

.. _Sphinx: http://www.sphinx-doc.org
.. _Sphinx: http://www.sphinx-doc.org
8 changes: 4 additions & 4 deletions docs/source/Fundamentals/Basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ Config do ping x.x.x.x ``do ping 192.16
Save or Show configs
^^^^^^^^^^^^^^^^^^^^^
If you are in **Normal** mode, simply type ``show running-config`` to show the current config, and
``save running-config startup-config`` to save the commands for next start.
``copy running-config startup-config`` to save the configs for next start.

If you are in **Config** mode, put a ``do`` prefix before those commands::

R1# ping 192.168.1.1
R1# show running-config
R1# save running-config startup-config
R1# copy running-config startup-config

R1(config)# do ping 192.168.1.1
R1(config)# do show running-config
R1(config)# do save running-config startup-config
R1(config)# do copy running-config startup-config

^^^^^^^^^^^^^^^^^
Config interfaces
Expand Down Expand Up @@ -117,4 +117,4 @@ ping x.x.x.x Pings an IP address ``ping 192.168.1
save Saves the configs of the VPC ``save``
ip x.x.x.x/y z.z.z.z Sets IP, Subnet mask and Gateway ``ip 192.168.1.2/24 192.168.1.1``
ip dhcp Gets the IP from DHCP server ``ip dhcp``
=========================== ================================= ==================================
=========================== ================================= ==================================
5 changes: 4 additions & 1 deletion docs/source/RoutingAlgorithms/OSPF.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Configuration
^^^^^^^^^^^^^^^^^^^
.. note:: Becuase configuration of the interfaces and VPCs IPs are similar to the previous projects,
I simply just write the routing codes.

.. warning:: The area number of the backbone area should be lower than others,
it won't work otherwise. In this project it is area 0.

-------------------------
Routers config
Expand Down Expand Up @@ -76,4 +79,4 @@ Routers config
View Connection details
-------------------------

Use ``sh ip route`` and ``sh ip protocol`` to see the routes and connection details.
Use ``sh ip route`` and ``sh ip protocol`` to see the routes and connection details.

0 comments on commit be020e1

Please sign in to comment.