books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT...

148
! " # $% # &’ () CCNP *+ ,- $. /01 .) 2 3’45 /01 6) $. BSCI Building Scalable Cisco Internetworks 3 789 :; < &’ =$ =>? =@; "9! < A@B C D 6) E#F + "#! &’ G. CCNA H &’ I J K0 .L +$ 4; "!’M 5 J [email protected] .I * N OPPQ R S R T U &’ +V R Building Scalable Cisco Internetworks Student Guide R website Wikipedia R CBT nuggets K5$’ 6W /0% Enhanced Interior Gateway Routing Protocol 2W X 7 6$$ :Y Open Shortest Path First 6$$ :Y 2W X 7 System - to - Intermediate System ) IS - IS ( 2W X 7 6$$ :Y &’ >) =) Z) CCNA VOICE F5 2W X 4 [ 7 http://www.4shared.com/file/74646026/729772c9/arabic_ccna_voice.html?s=1 http://www.boosla.com/showArticle.php?Sec=Net&id=59 http://www.kutub.info/library/open.php?cat=5&book=3232

Transcript of books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT...

Page 1: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����������� �������������

�� ����� �������

����������������������� ��!��������"����#��

���$�% �� ��# �&�'��������()CCNP�*+����,�-��$.��/01��.)���2���3��'45��/01�6�)�$.��BSCI��Building Scalable Cisco Internetworks�3� ���789���:�;���<��&�'���=$�����=>?���

�=�@�;��� ����"�9!���<�A@B�C���D�6)�E#F ����+�"#!�����&�'���G.CCNAH�������

&�'�����I �J�K0����� ���.��L�+$�� ��4;���"!��'��M��5����[email protected]��

�.�I��*NOPPQRSRTU

��&�'����+�V ��

��R�Building Scalable Cisco Internetworks Student Guide��R�website�Wikipedia��R�CBT nuggets��

���K�5$'� 6�W�/0%���

��Enhanced Interior Gateway Routing Protocol��

��2 W�X �7 ���6$�$������:�Y��

Open Shortest Path First

���6$�$������:�Y��2 W�X �7������

System -to-Intermediate System) IS-IS(

��2 W�X �7 ���6$�$������:�Y������

�&�'�������>)�=)�Z )��������

CCNA VOICE

� ����������F��5���2 W�X �����4���[������7 ������

http://www.4shared.com/file/74646026/729772c9/arabic_ccna_voice.html?s=1��http://www.boosla.com/showArticle.php?Sec=Net&id=59��http://www.kutub.info/library/open.php?cat=5&book=3232��

Page 2: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

EIGRP Enhanced Interior Gateway Routing Protocol

�6$�$�����=L�\�4!����EIGRP�6)�������"<�� �-'����KM$�$������� �routing ��)��B)���������������� ��2�)����D��.��K0�� �K������6$�$������G.�J��

��R6)�����B���-'�5��!)�backup routes�������F5���=���>L��F4���A , b ,c�������� b ,c��"<�=$��';5�

network �(f)��������$��"<�X@(�]� ��a , b �������X�@'�5�a �6)�"�)�6$�$��network �(f)�����������^5�_c H���

��R�X`����$#���6$�$������G#�����-��K+��aH��R�6)�����B���-'�5�classless�6)�������"<�routingH��R�"<��(���������Eb�'!�c�-����+�4���3G.���B)������������6�V�M�K���� �"<�*�I4 ���+�4 ���-'�5�

��B)������������6�V�M�"<�� �-'�!���� �78<)�&�� H��R�K�!$� �78<)���-'�5�DISTANCE VECTOR ���LINK STATE���R�72 �6�V�M�KM$�$����� ���2������5�IP, IPv6, IPX and AppleTalk

��Neighbor Table

����������� EIGRP �6��%��3G.�6�)����!��1�������F���6�V�M�K�!����d9���6��1�� ��2�)��5$�'���7��6��%��G.�"<�d9�5��=��%��6��1INTERFACE�5���6)�G.�����7V' �� ��� INTERFACE��

��

��

��

�� ���INTERFACE NEXT-HOP ROUTER

SERIAL 0/0������������

SERIAL 1/0 ����������

��

�6$�$�����e�'-5�eigrp�6)�&$��)���-'�5��!�"<�C�BW�KM$�$������"(������multicast�"<���������V'����!��1�� ����L�� +�I��7b�������L�f��'�M�D�6�ip �$.���-'����OOgHPHPHTP�7���$I5��

�6)������ �� +�I��7b�������L�f��'�M�������interface�"���h��5�"<�������V'����!��1��5����H��

Topology Table

�6$�$������!$�5�iG��"!�2��6��%�EIGRP�6)�6��1�$.�TOPOLOGY��$I5�� �F��=$�'5�6��%��G.�

� ��<�4��������7���F �Z5�I��3��%��6�V�����I5�_�78<)�".�� ���!��1��.��D�7���<�4 �^5�_����j�>��� H��

R� Successor�J�6)��SEUCCESSOR�������2 �� �-'�5�iG��^5�@���$.�A '5����6�V������B���D����������6�V����'������1$5��!�6$I!��F4���k�`$'��A ���B ��#'����6�V�������6�)�OSl���

�".���!�2�����$�STO��������$I���A ����$�����'B���STO�������������F���6�V�M������".�=$�'��B �6)��������!�� �G.��SEUCCESSOR�6)�$.�75����m-��=$�5�������3G.�"<���256 �6)�������5��

Feasible Successor ������^5�_����mI<�n������'BM�=?<���4!������������2�<�6�V����*+���������'����iG��m-��������� STO�� �I ����;��"<�7@��Z������������B?'�����!��)�o5$;�������=$�5�

��� �-��D�6$�$������$I5�j�G�EIGRP�6)���-'����METRIC��' M�&�=$����� �-'�M�^5�_�78<)���)���-'�M�"<�6�W�m-��$.SEUCCESSOR�(�$.��������������6�V����^5�_�f��)����V(���&

�B)��H��

Page 3: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��R�Feasible Successor��J�6)��������!�� �$.�BACKUP ROUTE��'���iG���<�`W�m-��$.��

�6�W�m-��^5�_����6�V�M��I9!�� �F��� �-'�SEUCCSSOR6)�������5�m-��G.����Feasible Successor�6)�=L��%�'!�METRIC.�=)�K�1���(������6�V���I5�_�78<)�n���$.�m-��G

�����A , B���B?'����K�!�����7I!������^5�_������#F�����V'����<�����&��' �^5�_����j�>���2 ��K�!�����7I!�"<�D�6�W�m-���I9!�� �F������successor �6$�$������$I���eigrp�75����m-����-'������

Feasible Successor.�=$�����6�V����"��b���m-��$H����

Advertised Distance and Feasible Distance����

Advertised distance����������"'���<������.��a , b �6$�$�����7�49'���$I!�� �F���eigrp��!?<���������������������-'�5hello��������3G.���!��1��.�� ��<�4��������7���$I5��#I5�_����"'���.��

�6)�����85)�����advertised ���������G#<������7�������<�����&��' ��F���advertised

distance�6)�� L��F �Z5�I��3��1�������������<�� �&�(��.���feasible distance�&��' �7 ���"#<������������<����a , b�6)���network ���������V'���b �>)�6)�feasible distance��<�����X�1�".�

���������b 6)���network�����������<��������#��7V'���a , bH���

����

Active and Passive State����

�"��b���m-��������'4 ��*�I'� ���� �"<�������=$�5�� �F�successor�6)���� �"<�=$�5�"<��!?<�passive state ���p�����'5�M��*�I'� �f�`�W�7��=L��F4�����)�75���mB�backup route��"���

�� �-'�5H����)�75���mB����p������ �"<�������=$�5�� �F������backup route ���[���p������ �"<�=$�5��!?<�

�6)������������active stateH�����R6)�6��1�"<�K��@4���3G.�7��X`$���$I5��!?<�Eb�'F��3G.�7��&��' �� �������"#'F5�=L��4��topology

Table �7�;��G.�72 ��#��=$�5��H����

��

Routing table

����

Page 4: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

�6)�6��1��5$���� �/�#'!M��4���Neighbor Table�6)���Topology Table�6)��5$�'���������$I5�routing table6)���������7������C$'�5�6��%��G.��network��#��7������"'�� Advertised��

����������������EIGRP�������������������������������

� ��!�"��#$�"��%�"&%���

��������

� �'(��)*�����

����������+,-)�EIGRP�6$�$�����=L�\�4��=L�Z%5���!��1�������F���6�V����7b�������B�EIGRP���-'�5�multicast���5M�G.���!��1�����\��4'��"<��# �-'�5�"'��7b�������L�X�'�5�"���

�$.OOgHPHPHTP�".�7b�����3G.��J��R�hello�J��6)���-'��^5�_�������7V' ������7����#����q�������7���$I5��������.�multicast��

��#����+���Z�@'5�M��������.�H����

: Update6)�����C$'����������.�� routing table ���[����� �"<��85)�p5��'����������-'�5��r�6)routing table �����5����6)�6$�$��EIGRP�7��5�M��!�"<�KM$�$������� �3��s����e�'-5�

�7�Y�"<�� L��#���5��mI<���[��]�� �"<�M)�p5��'��7b���multicast ���� �"<��)�unicastH�����

Query�J����"��b��mB�6�)��!�I<���� �"<�6$�$�������# �-'�5��������.� successor�3G.�"<��!?<�������7��5�������^5�_������4'�routing���L��B)�network��#��6�V�M��I5�_��I<��(�H��

��Reply�J��6$�$�����^5�_����7�������4'�M���L����%'�M��#�<�=$�5�"'����������.�EIGRP���

�7�Y�"<�=$���unicastH�����

ACK�J� 4`������(���#�����%'�M�����(�p5��'��������=L��������?���������.���#"<�routing tableH�����

�6)��F��t�4��"'��� �W�����\�4'F�Neighbor Table ���Topology Table���Routing

tableH���

Page 5: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��uR�$.�� )�6�)���

R1#show ip route

6)�7���F��t�4���� W�G.routing table�6)��#�<���-'����������"<�*+$1$���eigrp�� �3��s��)��KM$�$������D%F���6$�$������4 ���-'� �iG����5M�Z!�%���eigrp �\� �D ���L���;5�$.���

�6$�$����EIGRPH���R1#show ip eigrp topology

uR�6)��F��t�4���^������ W�routing table 6������-��Eigrp�7��Z!�%���route�\� �� )��%F��p

�X`$����,�-�passive�\� ��)�a �������,�-��active����������%Fsuccessor � �$.���(���#�!�%���6)�+��hop count�6)����(��%F����������G.���L�6$�$���FD ��R�feasible distance�G#�����-���������D��������'; �v�$'!��1$5�=���>L��85)�O�v�$'F��3G.���L�6$�$�����I5�_��1$5��!��%F�������

�6)����(�FD���L�6$�$������ �7����v�$'F��3G.H����

R1#show ip eigrp neighbors

��uR�6$�$�����^5�_�����#����\�4��iG��������=��1��F��t�4���^������ W�eigrp�".�� ��6)interface ��#����7V'���H����

R1#show ip eigrp traffic

uR�6)�7b����+����F��t�4���^������ W�hello���+��������I'��������������6)�7b�Updates���Queries���Replies���Ack����I'�������������7b������85)��D�X`����9�����4'F���+�I��w����"<

�6$�$�����K+��LEIGRP�"(����#����7��F��"'��7�4���x����F��k85��$5��F�����-'��X �������������/�Y�=L�w����H��

���3G#��w����G.��''B)�=L�Z )��7b����n�-���7�Y�7�;��"'��*�$V���

��

��

Page 6: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��EIGRP Metric

�^�����w����"<��Fr�������=L�6$�$�����Eigrp�K���� �������'45�6)�metric ��"����6)�� �7���%5

successor �6)���feasible distance6L�3G.��metric�� �7�������#����� �"<���'4��J����

Bandwidth�J������V��������4��7()�#1$H��Delay�J��6�V�M�"<�+$1$�����B?'�H��

Reliability�J��6)�����B�������'4���.���BW�\�@����L�6$�$������(�7()keepalives��Loading�J��6)�������'4����#1$������V��������1$��7��������(�7()bandwidth�6)�����*+$1$���

interfaceH���MTU�J�F��� �-'� �7I!�*� ���[�)�6$�$�������-'����7IF��"<�� �-'� ��#1$����L���V���� �7I

eigrp H�����

�6)���'4�metric��#��8���$I���r�Eb�'!����-��3G.�����"<�OSl� �"<��%��F�����I��3G.�6�B+q���$I5��r�� +�I��KM+�4��H

Metric = bandwidth (slowest link) + delay (sum of delays) • Delay = sum of the delays in the path, in tens of microseconds, multiplied by 256 • Bandwidth = [107 / (minimum bandwidth link along the path, in kilobits per second)] * 256 • Formula with default K values (K1 = 1, K2 = 0, K3 = 1, K4 = 0, K5 = 0): Metric = [K1 * BW + ((K2 * BW) / (256 – load)) + K3 * delay] • If K5 not equal to 0: Metric = metric * [K5 / (reliability + K4)]

uR�*�I4 ��4<��#!W���+�4���3G.�:�Y�=L�X�@'�����e�W�X ����D�e�4`�/0%��G.�:�Y�=���>L�e�)��6)�K���� �"<�"�s$���"'<�4 ���I�metric �D�I5�@�����&�'��"<�������� ��; �Student GuideH���

����

Implementing and Verifying EIGRP

����� ����� ��������J%��G.�"<�� �)�^��@'���$IF��/0Eigrp�D�5��F����5$�'���$IF��$�D��X`��X

��w�����"(��������7��!�"���"��`$��7�YH��

�����

Page 7: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

TQOHTly.1.1 /24 S1/0 Router 1��TQOHTlyHOHT /24 S1/1 Router 1��

TzOH{PHOSgHOSg /24 F0/0 Router 1��

TQOHTly.1.2 /24 S1/0 Router 2��10.1.2.254 /24 F0/0 Router 2��

TQOHTlyHOHO /24 S1/0 Router {

10.1.2.253 /24 F0/0 Router {

��uR�6$�$��������+������7��F��iG��$5��F����7�Y���<��#|5�k�`$��7�Y��F5����1$5�Eigrp��F5����1$5�

�+��{�������D�����T�������B����B+����;��7V' ��D�������O���{�n9!�"<�����'; �����;�TPHTHOHP�����FII ��F!L��%!�j�G��backup route�������6�V�M��!�I<��F!L���� �"<�O����;����L�6$�$��X�@'�!��F!?<�

������^5�_�����#F������';��{�n�4�����H��

uRjF��5��)��X`��loopback interface���������V'���*0#1W�� �M���T �� W��+�I���@����<��G��,�-�j��

����������� ���� ���������

����������������� ���������������������������

����������� ������uR�������D����������6$B������$IF��M�)1 ���L���������)���['���$IF���r��BBR�"����V'B�

Backbone router��������['���$IF���rO���L�R2��������{����LR3�H��uR��7������-��K+��a�X`$���$IF����!�rinterface����W�"<�+$1$���6��%��Z� �����H��uR����������6$B������$IF���2��r�T�"��'��� W����'���H��

BBR(config)#router eigrp 1�����R�6$�$�������-'�F���F!L���������-���^������ W�eigrp��������"�5�iG���(���� )��������5�� �$.��

Autonomous system number��(��� ����'BM�jF���<���4 ��(�����I �}����'!)��T���L�lSS{S������m��F��iG���BW�������"<��48��=)�Z%5��3���'B���}�(�iG���(���G.������D��(���G.��x��>���

�6$�$������$I���"'��K��������$�% �+����eigrp �7�$'�����7�����#4advertising��)�=��L��)�����,�-��6��%����;!routing table����,�-��H��

uR�����`$'��*�$V��"<�*+$1$���K��������������'��K+��a�X`$���F�(��F!L��4 �7�-'F�<�6�2 ��BBR (config) #router eigrp 1��R1 (config) #router eigrp 1

BBR (config) #router eigrp 2��R2 (config) #router eigrp 2

����

�~�)����(�X`$���F�(��I������ �W�"<Autonomous system number "��������BBR��������R1����(����T�~�)����(�X`$���F�(��r��Autonomous system number������"��BBR��������R2

����I���O������j�G��BBR���������FrM�X �6�V�����=$�����6)�6+��'���$I��routing table update

������������������FrM�X R1��������R2�6)�6+��'��$ $I5�=L�$4�@'�5����routing table update����4���$�V'5�=L�$4�@'�5����X�@����H��

��

Page 8: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�� W�X`���4���4���7��F�<������BBR (config) #router eigrp 1��

��uR,�-��� W�X`$���$IF���$'!�6���v�6)��)�interface�7�4���$I��=L��5���iG��advertising��������

BBR (config-router) #network 192.168.1.0

uR��)�v�$'!�6�)�X`$���F�(�^������ W�"<�interface�7�4���$IF��advertising�v�$'!��.)�3G.�������4����#84�5�K������m�����$I'��"'��v�$'F���#!W�D�6$�$������G.��I�����F�(���������eigrp�A� �

��F4`���F!L�C�!���F<�K0������ip����,�B�class C�6)��I5�@��7�4!��F��$��>� ������classless���G.�=$�5�=)��5�!��F���6)ip�����,�Bclass A�6)�����<�4!�� �X`$���$IF��wildcard-mask��

�6)��wildcard-mask)�w$�4 �$.�\�4!������6subnet mask�6)�=���>L��F4���subnet mask�����,�-�class A��$.OSSHPHPHP�6)�=$���<�wildcard-mask�$.�PHOSSHOSSHOSS��

uR�6)�=$�5�=)��!+�)�>L�^�����X`$������6�2 �ip �^������TQOHTlyHTHP���L�X����class A

�"��'��� W�X`$���$IF�����

BBR (config-router) #network 192.168.1.0 0.255.255.255 ����

�*��VI��}���$.�n���G.������D�6)�=)�t�'9F�<interface�6)�P�P��serial�������,�-���BBR

���Og�TPHTPHTHT6)����interface �6)�FastEthernet 0/0���5M����Og�TPHTTHTHO�X`$���F�(��r����������,�-��K+��aBBR�6$�$�������-'����eigrp����"��'���

����

BBR (config) #router eigrp 1��BBR (config-router) #network 10.10.1.0

uR������=)�=$�'���%�'F��BBR�G.�=)��I'4���ip �� �class A�7�4���$I��<�advertising�7 �����������-��v�$'F�TPHPHPHP�6$�$������x��j�>��eigrp �6)���������*0� �3�F��auto-summary

��.��6)�� �� �7��I'���$I�routing table �������7��5�M����������,�B�"����/+)�j5���=$�5�"�����5$���/���)routing table���L�jF �7B���=����3��['���$I���^������(���72 ��(���%5�� �F4<��1�3�������

TPHPHPHP����7�4��j!��%'��j�G���class A�� �7���interface f0/0���interface s0/0

�7�������(advertising �6)�7B+��#��routing table�&$�@���n���j�>��H��uR� )�X`$���$IF��j�G����

BBR (config-router) #no auto-summary

����uR�6)�X5�$'���$I���� W�G.�routing table�v�$'F��X5�$'���������$I��<��.�5�������TPHTPHTHP��

$���$IF��������5�������6)�X`wildcard-mask�6)�=$�5�"���ip �6)�7B+�class C

�5�!����H��BBR (config-router) #network 10.10.1.0 0.0.0.255

��uR�6)�����B��!��>��F!)����� auto-summary �GB?F���}($��n9!�"<�Z����*0� ��#!)��#F����G!�=)�Z%�<

�6)�����B��# �I��"'��*0����������2 ) auto-summary�� �=$�'�����B+����Y�j5���=���>)�6�2 �{�vlan�"��'�����#��(���=����TzOH{PHTHP�D�TzOH{PHOHP�D�TzOH{PH{HP�D��7B+����;��class C�"�����

�7�4�����-��K+��a�X`$���$I!advertising�����'��� �W����'����$IF�����B������;��3G#������

Router (config-router) #network 172.30.1.0��Router (config-router) #network 172.30.2.0

Router (config-router) #network 172.30.3.0

Page 9: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR��#%��"<�iG���BW���������L�}�.>�>L�� )���'�'��iG��� W����'��"<���$@����I5�@��".�3G.�}!������'�������I����#%��"<��%�'F��=)��%'������I���"�H��

R2 # show ip eigrp topology

IP-EIGRP Topology Table for AS 3����

Codes: P - Passive, a - Active, U - Update, Q - Query, R - ReplyD���������r - Reply status��

��P 192.168.1.0/24, 1 successors, FD is 20512000��

Via Connected, Serial1/0��P 172.30.0.0/16, 1 successors, FD is 20514560��

Via 192.168.1.1 (20514560/28160), Serial1/0����

��%�'!��F���#|5�������=)��%!�M�)��%�'F��C�!�����IP-EIGRP Topology Table for AS 3����AS 3���#��+$VI���Autonomous system number�� ��2�)��F5���=���>L��Autonomous

system number#|5�3�%'������j��%�'!�� ��2�)�H��R�6)�0 ����!�r�p �X`$�����,�-���passive����������p��5�M��*�I'� ���� �"<�������=)��.�F4 ��

�6)�t�45��!)��%F����!�r����;��3G.���L�7�$���C�B)ip ����,�-�� s1/0�������%!��r�1 successors���75����1$5�M��mI<�*� ������b��������1$5��!�C�6)����(��%!��r��#�feasible distance���

R�7�4����(��!)��%F���.W����2��r�auto-summary�7B+��#F4`��"'��K���;����(�)�7���ip $.��� �����TzOH{PHPHP�6)�����B���-'���%�'!�}!���3G.���auto-summary���!�X8!�=)�������� �=�����

VF'������-��K+��a)�7B+��@���n9!�6)�Z�eigrpH�����uR�6)�3G.�}!���>)������ip�� ��2�)�������B�interface�6)�����B�=$�'�<��auto-summary��

�6)�3G.��;F���$I����!W�*��1�}���interfaces���<�&$s� ���s�G.���D�3G.�7���e($5�iG��� W���$.�����-�H��

��BBR (config-router) #no auto-summary

uR���7��F��>L��� �7����������'��K+��a�X`$��=M)��$IF���F5���iG��"��`$'��7�;���{�X ����������(�K+��a�\�'BH��

��BBR (config) #router eigrp 1

BBR (config-router) #network 192.168.1.0��BBR (config-router) #network 192.168.2.0

BBR (config-router) #network 172.30.254.0��

R2 (config) #router eigrp 1

R2 (config-router) #network 10.0.0.0

R2 (config-router) #network 192.168.1.0

R3 (config) #router eigrp 1��R3 (config-router) #network 10.0.0.0��R3 (config-router) #network 192.168.2.0

Page 10: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�����7��7B+�K+��a�3G.�X`���4���������3G.��5���K�#�������7��=L��%'������

�DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 192.168.1.2 (Serial1/0) is up

new adjacency

uR���L�=M)�Z.GF��BBR router �"��'��� W�Z'�!�������

BBR # show ip eigrp neighbors

����uR��!��1�� ���Fr)�����\�4���!)��%F��TQOHTlyHT.2���TQOHTlyHOHO��

��

����uR�6)��� ������;���=)��%F�������ip address 10.0.0.0 �6�V���I5�_�� ��2�)�2 successors

�6)�Z �����������L�&�.G��^5�_�������;��3G.���L�6$�$�����5��F4��ip ��TQOHTlyHTHO �����)��Z ���^5�@��^5�_ip ��TQOHTlyHOHO �6)��I5�_�".�3G.��backup routeH���

��

����

Page 11: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�^������ W�� ��%F��show ip route����;����L�&�.G�����-'����^5�@��=)�10.0.0.0���5M�$.���(��Z ��192.168.1.2�$.����75����^5�@����TQOHTlyHOHO���

��I�����*�$V����� +�I��*�$V��=��(����

����uR����;����L�&�.G���^5�@��=)�d �!�TPHPHPHP�k��)��6)�"<�mI<�� ��^5�_���routing table

�$.�TQOHTlyHOHO�D�6)�Z ���"!�2��^5�@���#|5����>�������� ip�TQOHTlyHTHO�6)�7B+����Routing table�6)��%�'!�"<��!�|!�>)�������topology table���5M�=)��%'���TQOHTlyHTHO��6)�$.���#��+$1$ backup routeH��

��

��uRG.�"<�Z������6)���['���F�(��F!)���['��bandwidth �6)�7B+��serial interface 1/0�� �TOy���L�

TPOg�6)����(�� ����)��#'��(�}���?<�serial interface 1/1������!��I �7�4����������(�j�G����K�!�����7IF��"��b���^5�@�)�=$������#F �� ���'-����5����� �'�����I5�@�successors

��6)��%!��FF�ip�6)�"<�+$1$ ��BW�topology table����� �-'�5��!W�j�>��feasible successors����

R �6$�$��������b�����K+��a�X`��� ��F�#'!�=)��4��=M)eigrp�.��C�B)��� � ���L�7I'F!�����

Page 12: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

network-Ip default����uR������=)��F`�<�>L�BBR�����}!�'!���6�V!)��5���interface serial 1/2�74%!�=)��5�!��R2 ,R3

����������� �}!�'!M�� �B�$ �-'�5BBR�D��G.�X`$���$IF�<� W)�ip default-network

���������BBR�6)���-'�����eigrp��$I���R2,R3�&�.G��X�@'�5����B�� �iG��^5�@������\�4'�����}!�'!M���LH��

��uR�� W���ip default-network$.���7B+�� ���-'� �=)��F`�<�>q<�������i)���L���BW�7�����72�5�

����������-�����;�BBR���L�&�.G��+�)�google.com�6)�=)�\�4!���F<�ip �71$1�X($���,�-���6)���L�&�.G�����������$I��<����;��7B+�+$1$ ���s����)ip6���,�-�� default network�6�����

�6)�G.���ipD�6)�"��m����:�Y�=���G.��ip default-network����uR�6)����������7B�!�=)��4��BBR+��)�X`$���$IF��K�6)�����serial 1/2}!�'!M�c�- �����!�"�����

��BBR (config) #interface s1/2��BBR (config-if) #ip address 4.2.2.2 255.0.0.0

BBR (config-if) #bandwidth 256��BBR (config-if) #clock rate 250000

��uR�"�����-��K+��a�X`��� ��F�#'!�=M)�serial interface 1/2

uR�"�����-��K+��a�X`$�����L�=M)�7I'FF��ip default-network����

BBR (config) #ip default-network 4.2.2.0

uR�6)��-�!�}!���>L��.���\$�������' �=M)��1$5�ios������-����%��\$����5�(������7�4��iG���������5$�'����(�������=Lstatic route7�;��G#����

��ip route 0.0.0.0 0.0.0.0 Serial1/2

���6)��-�!�}!���>L�� Lios�*+$1$ �K+��a�3G.�C�������25� ���

uR�6)�7B+�K+��a�3G.�X8!�\$����!�2��*$@-��eigrp�����

�BBR (config-router) #network 0.0.0.0����uR���������3G.��#��L�}�.>�K������"(���=)���?'!�*��BW�*$@-��".�3G.��D� )�^5�_����j�>���

��R2#show ip route��

��uR��'<�`)�����@���G.�=)��%F�����

D* 4.2.2.0/8 [90/15610] via 192.168.1.1 00:56:44 , serial interface 1/2

uR�� �����uF4����%F��6)�$.��!�����������G.�k�Y�������!�� last resort�7������)���BW�7��W�}!�'!M������B)�X($ �C��)�71$1�X($���G.���L�&�.G�����BH����

��

Page 13: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����uR�72���>� ���%�'F��3G.�:�Y����]��'!�\$��=M)��Jshow ip eigrp neighbors

R�\� �H�D��6)�\� HG��Z������(��72�5���!��1�������������<�\�4��iH��R�address�D���BW�������=$F����<�C�!��R�interface�D��6)�$.�interface ��BW���������7V'5����B�� �iG�����R�hold uptime�D����������V��"���������3�|'F5�iG��}($��$.�hello���V�����>)����BW�������� �

�G.�6�B��������3G.� �-'�5�������V<����������G#��^5�@��G.�=)���'45�\$��}($���R�SRTT (Smoothed round trip time)���RTO (retransmission timeout)���iG��}($��$.�

�#����+����|'F5��������6���L��F��Z��5�D��������2�<routing update table���L�������� �7�������L�c�'����r��B)������6)�� )��#���I'������!)����?'����#����+�RTO�6$�$��������3�|'F5�iG��}($��$#<�

����?'�������ACK��#���I'������������3G.�=)�H��R�\� �Q�D�queue�eV��"��4�����)��D�6$I����#����L��'5�"���eV��"<��|'F��"'��7b�����+���$.�

��2�)���L��(���G.�+>�>L��!)�$�������F'B���� ��1$5��!?<��9��� congestion problem might

exist�D���#����L��'5�7b�����1$5�M�>)��9��C���5��(���G.�=���>L�H��R�Seq num (sequence number)�D��7b�����B)�72�5�iG���(���$.�update, query, or reply

packet��BW�������� ��#���I'�����H��

�����uR=M)��72���>� ���%�'F��3G.�:�Y����]��'!�\$���J show ip route eigrp

uR�6)�t�45�� W�G.��ip route�6$�$�����6�B�� ��#����\�4'�����"'��eigrp�X�@'�5������C�� ���K���;��3G.���L�&�.G�H��

uR�6)�\� ���L����F����� L�D^5�_�������;��3G.�����\�4'������!��F45�$#<�6)� eigrp

uR�������.���#����\�4'F��*�5�1�������F5����1$5�NULL0�V'-�����������:�Y��#��������3G.��������;��3G.�"<����; �]� �>)172.30.0.0���L����;��3G.������4'��������7�����<��#�V<�����

����;��3G.���L�&�.G���C�B)�^5�_��1$5�=���>)���4'���C�BW�K������^5�_��1$5�M�������V' ��#!W�7�������!��85)����#��L�&�.G����B)summary ����;��3G#��H��

��

��

Page 14: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�72���>� ���%�'F��3G.�:�Y����]��'!�\$��=M)��Jshow ip protocols

R6)�7��t�45�� W�G.� dynamic routing protocols running on the router��!��F4���$������7��t�45M$�K�� �F5+��I5�@��7�4��"'����B)��������L�&�.G���7b����C�B)���_����p����i)���

���uR�6)����(�C�!�=L��F.�X�@'�!�metric ��4 ���G'!�"�����-'����.��������G.��# �-'�5�"'��S,$B���

��.�K1 ,K2,K3,K4,K5��Bandwidth�J�#1$������V��������4��7()H��

Delay�J�1$�����B?'��6�V�M�"<�+$H��Reliability�J��6)�����B�������'4���.���BW�\�@����L�6$�$������(�7()keepalives��

Loading�J��6)�������'4����#1$������V��������1$��7��������(�7()bandwidth�6)�����*+$1$���interfaceH���

MTU�J�� ��#1$����L���V���� �7IF��� �-'� �7I!�*� ���[�)�6$�$�������-'����7IF��"<�� �-'eigrp H���

uR������� )�EIGRP maximum hopcount 100��4���#��L�6$�$��X�@'�5����Y��V()�=)��F4'<��TPP�7�45�=M�j�>��4�������H��

R�EIGRP maximum metric variance 1������� L�variance 1�� ��^5�_���-'�5��!)��F4������;��3G.���L�&�.G��successors���

R�Maximum path: 4�J���F�4 ����Y���L�&�.G���� ��V(?����-'�5�\$���!)��F4'<g�mI<���_�����

����uR72���>� ���%�'F��3G.�:�Y����]��'!�\$��=M)�J show ip eigrp interfaces��

Interface�J��6)�$.�interface �4'5�iG��7�6$�$����������eigrp

Peers �J���=��%��+���6)�G.�^5�_�����#��6�V�M��'5��5Ginterface

Xmit Queue Un/Reliable�J��7����=L��|'F��"'��7b�����+����Pacing Time Un/Reliable�J��6)�G.�^5�_�����#����L��'5�=L��|'F��"'��7b����interface

Multicast Flow Timer�J��G.�^5�_����������6���L��'������B�iG��}($�6)interface

�6)��I5�@���#����L�^5�_����multicast��Pending Routes�J�6)�+��routes��������7B+��#4`���'���"'����

��

Page 15: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����uR72���>� ���%�'F��3G.�:�Y����]��'!�\$��=M)�J show ip eigrp topology��

Passive (P)�J��p��!�M��}��r��4`������I����#%��"<�iG��������=)��F4�����;���&�.G���C�B)���_����7���� )�3���=L�Z%5�iG��\����$.���4 �7�4��"'�ip

Active (A)�J����L�6$�$��6���!��#��L�6$�$��6�����"'�����;��=L��F4�router��B)��)�"����B)�^5�_��#��L�7V���

Update (U)�J��6)�G.�=)��F4��ip ��1$5�=���>L��.����(��)��25��������(���B)�^5�@��6$�$�����|'!�#��L�6$�$����Query (Q)�J����;��3G.���L�&�.G����B)�^5�_������4'�M��'5��!)��F4����

Reply (R) status�J����;��3G.������4'��������7��)��(�������+��6���L��'5��!��F4����Stuck-in-active (SIA) status�J����.���=)��5���M�}!)��������3G.��6$�$���7�����1$5�M��!��F4���.

����;��3G.���LH����

����uR72���>� ���%�'F��3G.�:�Y����]��'!�\$��=M)��Jshow ip eigrp traffic

�� �7��� ��#���I'�����#����L����"'��7b�����+���72���".hello ,update ,queries ,replies , ack��

Page 16: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

Configuring Advanced EIGRP Options ��

uR� Route Summarization�J��� ��2�)��#�����B+����Y��F5���=���>Lvlan�+����#��=$�5�ip address��72 TQOHTlyHTHP���TQOHTlyHOHP���TQOHTlyH{HP���TQOHTlyHgHP��

�6)�3G.���-'�����$I��� �F�ip�6)�7B+�eigrp�6)�=)��%'��routing table����Y�} �(�G���1�3������X`$��$������7����.��*0����3G.summarization�7B+��#���K�#�5M�3G.�X��%��C�ip 72 �� ����

OT�TQOHTlyHPHP�H����R��% �j5���=$�����!�$��������Y�6$I��j�>�/���&���W���routing table�7����� �F������[��

������update for routing table[����������% �=L��%'��C�BW�K��������t�'9F�<�j�>���s�����6)�n9!��5����1$5��B)�������1$5��!ip�72 ��B)���(���� �)�������;�������TQOHTlyHTPHP��

����;��3G.���L�&�.G���B)������C��5�5�� �F�����; �]�������������3G.�"<H���7�4���$I!�� �F��summarization�"��ip������X`������!��%F���F�4 ����;��,�B�null0��XF���"'�

�]�� loop�������n9F����V' ��#!)��� �"<����;��3G.���L�6$�$����B)�^5�_����p����"<�H����uR�7����'5�e���summarization��#F���Fr����"'��72 �K�#�5M�� ���$%�����R�7����5���iG����5M�7�����'����$I��M�)�summarization ��(���=�� �e�8���r����iG�'5��e�'B��

�"��'��6�2���72 ��9��3�F����5M��TQOHTly.P.0��

R����Y�7���,�-���(����!W�j�>����(�W�"<���[��3�F���1$5�iG���9V����['��}�(��!)��%F��vlan

R��B)�3�F��eI5�iG���(���&������$I!���!�r�vlan �$.��TQOHTlyHgHP��R����(���G.�&�� ��/�V(L�7�4���$I!��2��r��� �75$�'��^5�_������binary to decimal �j�>��"��6)�

oct��['����<��'5�iG����BW�7�(���128 64 32 16 8 4 2 1

0 0 0 0 0 0 0 1 = 1

0 0 0 0 0 0 1 0 = 2

0 0 0 0 0 0 1 1 = 3

0 0 0 0 0 1 0 0 = 4

uR"(���X�%���$I!��r��� W�=$������#���4'��}�(��(���#1�'�!�M�"'����(�W�����%�'F����TOy�lg�{O�Tl�y�OgP�6)����'���F��>L�����mask �7������iG����5M�G#��,�-����

OSSHOSSHOgPHP��uR�6)�X`$���$IF���5)��2��r�ip�6)���mask ����,�-���D�6)�}������5M�G.�X`$���$IF�interface

�iG�������7�4!��F��iG��6�2����4 ��!��G��>L�����;��3G#��7V'!����B������

����

Page 17: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�6)�interface�6)�G.�X`$���$IF��iG��summarization�6)�K��$��$.��'���serial interface

"'���������FrM��#����7�$ ���

BBR(config-subif)#encapsulation dot1Q 1���BBR(config-subif)#ip address 172.30.1.1 255.255.255.0��

��BBR(config-subif)#encapsulation dot1Q 2��BBR(config-subif)#ip address 172.30.2.1 255.255.255.0��

��BBR(config-subif)#encapsulation dot1Q 3��BBR(config-subif)#ip address 172.30.3.1 255.255.255.0��

��BBR(config-subif)#encapsulation dot1Q 4��BBR(config-subif)#ip address 172.30.4.1 255.255.255.0��

��uR���5M�G#�����-��K�������7�4���$IF��=M)���

128 64 32 16 8 4 2 1

0 0 0 0 0 0 0 1 = 1

0 0 0 0 0 0 1 0 = 2

0 0 0 0 0 0 1 1 = 3

0 0 0 0 0 1 0 0 = 4

TOy�lg�{O�Tl�y���OgP����F5���=$�����!��%�'F��ip�TzOH{PHPHP�6)���mask�$.����,�-��OSSHOSSHOgPHP��

��uR�7���<�`L��4��7�;��$.�G.�� ip�7B+��'<�`q���F�(�"'��eigrp 1

��BBR(config-router)#network 172.30.1.0 0.0.0.255

BBR(config-router)#network 172.30.2.0 0.0.0.255

BBR(config-router)#network 172.30.3.0 0.0.0.255

BBR(config-router)#network 172.30.4.0 0.0.0.255����

uR���L�&�.G�����$IF���2��r�6)�eigrp 1����'���� )�no auto- summary��

BBR(config)#router eigrp 1

BBR(config-router)#no auto-summary

��uRC�B)�*� ��#��6�V�M�K+��)������(��r��#��7V' ��.�� �7��7V9����(�������=L�d �F������

�� )�Z'�!�=L��F����Z%5�no auto-summary�������V' ������7��7B+�����

R2(config)#router eigrp 1

R2(config-router)#no auto-summary����

R3(config)#router eigrp 1

R3(config-router)#no auto-summary��

Page 18: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����

uR��$IF��=M)��������L�&�.G����BBR�����6$B����serial interface 1/0�X`$���$I!��r�� W�,�-����Summarization��

R ����'��7�(�7�;���*�$��X`$���$(?��j�>�7�(������ W�3�4�������

7�(����

����uR$.��|F���G.�7�I5�"����4��1�3�|'F!�iG��� W�����

BBR(config-if)# ip summary-address eigrp 1 172.30.0.0 255.255.240.0����

uR�� W�X`���4���ip summary-address6)��(��X8!�=L�Z%5��F!L��%F�� Autonomous system

number�6)����,�-��eigrp�� ��2�)�v�F��=���>L���4��=L�Z%5��autonomous sys num

����;��������G.�m�����F�(��F!L��4 �t�'9F�<����1a�����(���G#��C�B)�*� �� W�G.�X`��j����Z%��������^5�_����C�B)serial�7�4���F�(��eigrp 2�7����=L��5���M�j!��������I'4����B)��(���C�

�7���=���������3G.�K�#�5M���$�% Summarization��$�%���3G#����

Page 19: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����

�4���

��./����(�0���12%3�"3��45��R3���6"�789����-#��1*:��show ip route

;�,�"���6"�<=����!*:��!96�>�3����?-��@����9��+A-'����0��Summarization���./���B*�"��A�-!�"�C���4���2:���:��4��DA�����%��E-��-��DA������F�!%�����

R2#clear ip routeu�

uR�6)�k�����$I���� W�G.��routing table ��F�(�iG��p5��'��C���"���*�5�1�C�B)��5$������5�I�����H��

Load Balancing Across Equal Paths����uR=M)��6�2���"<�*+$1$ �"'��72 ����Y�j5���=���>L��1���.�� )�������'F��H������

����

Page 20: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR����;����L�6$�$�����I5�_��1$5��!)�C�!�����TPHTHOHP������7.�������router 1�� �7����-'�5��*�$V��3G.��4 �t�4'�F��j�>��������1���������;��3G.���L�&�.G�����I5�@���

BBR # show ip route

uR�mI<�� ��^5�_���-'�5�������=L��%F��successors ���L�&�.G����TPHPHPHP�$.��TQOHTlyHOHO���6)�n9!��#���������FrM�=L�C�!���!�FD�7������FrM���-'�5�M�>����>L�Load Balancing��

��#F���H���6�� W�X5�$��7�4���$IF����!load balancing����j�>����'��$������� W�^5�_��

Variance�6$�$������K+��L�}���X`$5�� W�G.��eigrp���BBR(config)#router eigrp 1��BBR(config-router)#variance 2��

���������X�@'�����I5�@��3G#�BBR�7���load balancing�6)���'��$������serial�1�����F��������;����L�������C�6���aTPHPHPHP��

uR�� )�variance�� �78<)�^5�_��1$5���������;��3G.���L�&�.G�����I5�_�j5���=���>L��!������b�(���2 ����!�7�4���$I�<���5���' �$�����������9V!���L��������X@I���$I5��!?<�^5�@��� �� �Z����"!�2�

{JT��b01�6���q���$I5���^5�@������"(����/0%��6���L��r�^5�_�6�)�^5�_���������Z����j�>��"!�2����I5�@��7���4��C����bandwidth���

uR��(��� )�O���L���-'��X�@'�!��}($��n9!�"<���I5�@����-'�!�=L��5�!����I5�_��F5����F!)��F45�$#<�l�����;��3G.���L�6$�$�����_��

uR� ��2�)�j5�����F�4 ����;��6�V��j5���=$�5�=L����5��!�� ��|�!�=L�Z%5���������L�6$�$�����I5�_��6$�$�����=M�j�>���x�@��}���)�6���a�"<�������=L��%�����@��7�����B?����(�����;��3G.eigrp

�6���q���$I5�� �F�packet��'����mB�����Sl��'����mB�����7��5�� �F����s�$����T��%� �H������

EIGRP Bandwidth Use Across WAN Links

uR�m�����$I!�� �F�����#���$��^5�_�����B)�������������point-to-point�6)�=?<��bandwidth���6�V�M�G.���L�7 ������*�$%� �=$���� �-'����D������j5���=���>)��F4��A��������$�� �B

��I5�@�point-to-point�6�V�M���������OSl�3G.�n9F���#F���K�!�����7I!�=$���<���!�2��"<�$������������

��uR�6�V��f$!�j5���=���>)������point-to-multipoint��#�������$ �=$���� �-'����������=?<��

�i���'���shared�D�������j5���=���>L�6�2 A�����$�� �g�K�����B,C,E,D��".��#��6�V�M�������T��%� ��D�6$�$������$I��<eigrp�6)�X5�$'��T���F4���K�����X��W������%� �����=$���������7OSl�

�$�������uR�6)�������5�� �$.�p��2��f$F��hybrid�m���mB��1$5�$.��point-to-point�7V' ��B)�m���mB���

��B)������point-to-multipoint��������$`$��)��'�����7 �45�m���7���F.���H����

Page 21: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

Configuring EIGRP Authentication ����uR����4'!�\$��w����G.�"<�������7��������������X`��^5�_�����������5�� ���9�"������!�

��B)��������7������6�V�M�D���-'����I5�@��3G.�MD5 authentication����

MD5 authentication is supported by: – OSPF – RIPv2 – BGP

EIGRP�R�����

�6)�������9�MD5 authentication�6)���Simple password authentication�����

�6)�"<����������=$��simple password authentication����\�4��clear text���s�=$����F4����6)�X �7�����=$����*�9; packet6)�X ������L������9;'��j<�:�'9 ��5$�'���������$I5��packet��

I��@' �*�9;��j<�:�'9 �����������=L���?'�������7��I����������$I5���!�r��������7�I5�k����=���>L��r�����������7�I'�5�M��5���iG��*�9;��j<�:�'9 �����������^��@5�M�=���>L�H��

���6)���-'������9;'�MD5 authentication��������$I5��r�*�9;��j<�:�'9 ��������������'B����$I!�

)���|!�"<��#��B+L��K�!$����3G.���-'�������������9;'����#�D��BW���������L��������6���q���$I5��r

���9;'��j<�:�'9 �=����D�����������=$�5���BW���������L�^��@ �*�9Y�j<�:�'9 ������=$�5��BW��������BW�����������*+$1$ �"'������r�� ����D�*�9;��j<�:�'9 �����������n9!�������1$5������7��=)�����

+��1$5��<���I'����������d<��5��!W��BW���|F��� ���!� )��2�)���|F��G.���������7B+��#����L���L�"���������7B+�� ���������H��

��uR���-'����L����F����MD5 authentication�6)����\�45�� ���|F��G.�"<��1$5�chain key���

(��:�'9 �7����k���9���� ��������1$5��!��F4���=L�������� �6�2���7����������<���-'�5���4 �}��������-'�!Cisco 1��(��*�9;��j<�:�'9 �����������{P�*����{�72 �C�B)�����������-'�!��r��$#Y�

CIA�*����*�9Y�j<�:�'9 ��{��'5�"����G�.���BW�*�9;��j<�:�'9 �����������*� �/�#'!��4���$#Y���K+��a�3G.���-'��}($��n9F��K������7������}($��� 0��m�`�Z%5�7���'�D���-'����j�>�

�6$�$����NTP�(network time protocol )�7B+�}($��m�`�� �B����;��"<�� ���������I5�p��������;�H��

��

Authentication5Configuring MD uR���9;'����|!���-'�M�M�)�MD5�6$�$�����X �eigrp�Z%5�L=���9;'��K+��L�X`���4���!�\�4!�

�������1$5�M��BW��������������9;����|!�+$1��j�>���������FrM�����6�V�M�X@(��'5�\$�������������BW������������#IV����r�6�W������������#48'��"'��K+��a���!��85)�Z%5����9;'��j<�:�'9

+��a�3G.���������j�>�����$@���"<�K�<�� ��1��>L���*��������*��[V��\���������� �"#<�K���<�7�4��\$��iG��}($������� H��

��uR�� ��2�)�j5����1$5�=���>L���!�r�interface serial�������9;'��X`$���$I��=L�K+�)���interface��

�����K+��a�3G.�X`�������interface��B)��D���6$B���Z%5�j�G���6)��interface������X8'��iG���K+��aH��

Page 22: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����

1- R0 (config) # interface serial 0/0

2- R0 (config-if) # ip authentication mode eigrp 1 md5

3- R0 (config-if) # ip authentication key-chain eigrp 1 Cisco

uR�6)�K+��L�����j�B�5�\$��6�W�� ��M�)�serialr���9;'����|!���-'�����$I5�\$��"!�2��� W���!�����MD5�6$�$���������K+��a�3G.�X`���$I����eigrp�:�'9 ���-'�����$I5�\$��p��2��� W��2��r�

�����iG����9;'��j<Cisco

R0(config)#key chain Cisco�Rg��

S- R0(config-keychain)#key 1

l- R0(config-keychain-key)#key-string dragon

z- R0(config-keychain-key)# accept-lifetime 11:49:00 Feb 3 2009 infinite

y- R0(config-keychain-key)#�send-lifetime 11:49:00 Feb 3 2009 infinite

uR�� )�X����� W�global������k���9����������5$�'���$I5�\$��Cisco���uR\$��n �-��� W���������3G.�7B+�:�'9 �6�)��5$�'���$I5���uR�����������������X85�w+����� W�dragon���uR��$I5�X������ W� ������X`$��}�(��(��:�'9���G.���-'����<�)��5�\$��iG��}($���5���X`$�

infinite>��:�'9���G#��7 �4'����<�"#'F���}(���1$5�M��!��������6$()�"����}(��+����=L����5��!W�j������������)�:�'9���G#��7 �4'����<�"#'F5���4 ��

uR6)�������9;'��X`��h���X`$���$I���� �2��� W�packets ��#����L��'5�\$��"'���H����uR�j�>���BW�������X �6�V�M�X@(�����!��������%��\$�������6�)�����K+��a�3G.�X`���4��

�+$1$����9;'����|!����uR��BW������������#4`���K+��a�3G.�� ��-�!�GB?���$IF��j�G���H����uR�����������}($��m�`�� ���?'��=L�Z%5�j�G���K+��a�3G.�6��4'��h���}(���5��'���F�(��F!L��%!�

�� )�6�B�� �j�>��6�W��*- R0 # Clock set 1:40:00 3 feb 2009

uR($��m�8�����+�B��!�����6�W����������'B����$IF�����;��7B+�*+$1$���K������"(�������}����;�NTP�� )�6�B�� �j�>����

��R0(config) # NTP master�Ru��

*- R1(config) # NTP server 192.168.1.1 = ����Ba�j�>���BW�����������X`$5�� W�G.���$.�=$F4��G.��!�������������;��7B+�}($��m�`����6$x�������

��

Page 23: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�7�4���$I5�\$���+�I��� W�debug��BW���������L��#����q���������$I5�"'��7b�������L���-'�����6$�$����eigrp

*- R0 # debug eigrp packets

uR�K+��L�X`$���I�����*�$V��md5 authentication K������� ���������

����

uR�� )�K�1�- �k`$���I�����*�$V��debug eigrp packets���

Page 24: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

Using EIGRP in an Enterprise Network �����uR�#F �����;��7B+�K�!�����7I!�*+$1�"<����'��"'��K�r����� ���2���v�F.���uR�m�����$@B�+����K������+�������;���% ���uR�6)��% �����routing table+$1$��������7��7B+�*��uR�F�4 ����Y���L�6$�$���75���^5�_����p����"<�������3GB?5�iG��}($����uR���;��7B+�K�!�����7I!�/+)�����&�%5a����r�!�\$���#F ���#��4'!�\$��*�5�1�K+��L�v�F.�j�G�����

�����������#1�7(��f��)�*�$V����5���7b�������p���������

EIGRP Queries uR�F�4 ����Y����6�V�M�X@IF5��� ���5���7b�������������p�����9������]��'!�\$��/0%��G.�"<�����

R C�BW�X($���� ?��"��b���m����mB��I95�� �F����4'��������6���q���������$I5��R �6)route ���� �"<�=M)�K�I<�"'��active#����L�6$�$����B)�7�������p�������$I5��!W��\�

+$I9��

R �6)�"<�*+$1$���K������7����L���4'��7b����6���q���������$I5neighbors table

*+$I9������;����L�6$�$����B)�7���������4'�����������R �7b����6���q���F ���4'�����������$I�<���4'���������#��7�����K������� ��%5����>L

�K��������L���4'���4'�M�7�)��F ���)�iG����������� ������V'����R �6���q���$I�<���$�@������;����L�6$�$����B)�7�����#F ���4'�M����"'��K������� ��1��>L

���;��7B+�K�;'!�"'����4'�M�7b����7��e(���'5���BW���������L�+�������

��uR�6$�$�����=)�����eigrp������'45��&$��)�advanced distance vector protocol ��$I5��!?<�

���4'��7b����6���q���L����6����������V'���K���;��� ��I<�>L�C�BW�K������backup

route�����uR��#F����4'�M��'5�"'�����;�)������������3G.��<��going active���4'����� �"<��#!L��F4���

����p���route�75�������uR�7V' �"'��K��������L���4'��7b����7��5������7����4'�M�7b����� ��9����]����j�G���

�*+$I9������;�)������4'�5�"����#�����uR�j�>��C�BW�K��������L��#����L��'5�"'����4'�M�7b����������9B���9���7 �o(�F!�\$���F.�

������ )�^5�_���stub����uR#���������=$�5�� �F���!�� W�G.��#���$I5�"'����T�������7V' �O�������I95�� �F4<�T�\�_�C�

��������L���4'��������6���q���$I5�� �F���!�<��#��7V' �"'��K���;��� O������=�<�O�p�������$I5��6)�7B+routing table$I5��!?<����;��3G.���L�^5�_��%5����>L���5���"'���6$I5�+��������6���q���

���������LT����;��3G.���L�75���^5�_��5����1$5�M��!�����

Page 25: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���!��1���L���#����q���������$I5�"'����4'�M�7b����7�Y�k`$��� +�I��*�$V������

uR�� W������-��K+��a�X`$���stub��6$�$������K+��L�����6$B������$I!�\$�eigrp

��BBR(config)#router eigrp 1��BBR(config-router)# eigrp stub��

��uR������� ���4'��������6��I'�����������$I5�� �F��������3G.�"<�jF ���$�@���K+��a�7��".�3G.

�6)�7B+�p�������������$I��<��F�4 ����Y���L�6$�$���^5�_����p������B)summery route��>L���5���*+$1$�����;��3G.���L��B)�^5�_�i�F���1$5�M�6$I��������7��5�\$���.�%5������

�*+$VI������;����L�6$�$���^5�_��5����!������������6���q���$I5�\$���!?<��#��^5�_��1��>L�H����uR�6)��.���I�����#F���Fr�����(�����;���3G.�7���C�B)��I5�_��1$5�summarization���

�6)���� ��<�summarization�6)�7B+�p�������$I5�������=?<�routing table��5���"'��>L��F �Z�_��� ����Y������4'�MH��

��

Graceful Shutdown��uR�6$�$�����:�Y�"<�/01��B)�G.�eigrp�6)�����B��graceful shutdown��� ���^�[���F4���)��F���

��AY�"<��FF5+�� �n���$.���� ���7'I������F4������Cisco ������=$�5�� �F���!�}��(�T��������O��6$�$�������-'�������V' eigrp�6$�$�����^�[�����;�����6$x����w�F#�����(��eigrp����������T�

������=?<O�6����$I5�\$��graceful shutdown�����������4'��7b����6���L�\�I5L�$.��T��4��j�>���6)�"#'F5�=Lhold time-���6���,�update routing table�����������4'��������6���q���$I�<�T���

�����T��4���Z�%'�5�M�gP�������$I5���Fr�O������������)����goodbye ��������L��T�\�I5q���$I5������;��6�[YL�� ������j�>�����L���4'��7b����6���LH��

������

Page 26: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

OSPF��Open Shortest Path First

������ ����� �������uR�6$�$�������'45�ospf�f��9��*+�4' ���-8��K���;��"<���-'�5�� �����s�$.��*�I4���KM$�$������ �

�f$!�� �6$�$�����$.�link-state�$.��BW�6$�$��������IS-IS�����B�$ �-'�5�=��$F��=G.�link-

state����5�=L����5�^5�_�7����L����(�X85��_�����$.��=L�t�'9!���BW���������L�]��'5�"����Router 1����7V' �Router 2�}����^5�_����interface 1 GB�6$�$������$I�<�ospf����(�X`$��

����^5�@��G.T�6$�$������#485�"'�����I����(�������ospf�������^5�_�78<)���'4�<�^5�@��G.���L����4���"<�7(�^5�_���'45����I��K����������bandwidth and speed�.

uR�6$I�������Cisco�6$�$�����K0�� �link-state".���R���;��7B+�K��['����45�������%'�M���R���;��7B+���[��]��5�� �F��M)�p5����������7��5�M���R�7��{P�� �-'������@��"<�K��['���<�4���p5����������6���L�����$I5��I�(+�����uR5���$ILink-state routing protocols���4��7�;��"<���[��mI<�]� �>L�p5����������6���q��

����;��topologyD��� �F����"<���[��]��5router 1������6���q���$I5������V'������;����2 ������;��3G.�"<�]� ���[��v�F.�=L�$��45�"����!��1�7����L�link-state advertisement (LSA)

��uR�6�2���7��������$.����['��G.��BW���#%��7�I'�5�� �F���router 2�K�!�����*���(�]��'���$I5��!?<�

��������5���"'�link-state database (LSDB)����������B)������7V' �=���>L���O�=?<�router 2

���L�3G.�p5��'��������6���q���$I5router 3�$.��$I5�"����2 ���5���K�!�����*���(�]��'���BWH����uR�6$�$�������-'�!�� �F��������7B+��1$��"'��K�!�����*���(��ospf�������'45�iG��link-state��

�6)��.��'4!���F�4 ��#1���L�&�.G�����@��78<)����'B����6�W�6$x����".routing table

����'B��'5��#��B�� �"'���.�(SPF) ��Shortest Path First������uR�6$�$�������'45�ospf�6$�$���������link-state�6)�����\�4'F��j�G���{��#!$�5�"'��6��1�

�6$�$����link-state�������7B+�H����uR�T���=��%�)�6��1�Neighbor table�����85)�\�45�$.��adjacency database�iG��6��%��$.��

�6)�K�!��������C$'�5neighbors �7�����@�����router�H�����uR�O��R�Topology table�������L���;5�$.���LSDB���������V'B�link-state database�$.��

��!��1�6�B�� �j�>���������#����\�4'�����"'��K���;��7������C$'�5�iG��6��%�H����uR�{��R�Routing table�����'<�4 �6�B�� �=$���iG��6��%��$.��6)�LSDB�78<)�����C$'�5�$.��

�&�.G�����@���L��F�4 ��#1�H����

Page 27: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����

uR�6$�$��������]��'!��/�Y�=)�� �F���IS-IS���'45��!W�6��1��r�2��3G.������85)�$.�C$'�5��!?<��6$�$����������BW�$.link-state�.

��uR�6$�$��������]��'!�� �F���!L�\�4!�=L�Z%5�ospf$�$������G.�=?<��� ��!��1���I5�=L�7895�6

�^_�F ���L���$ area�6)��% �7��I'��j�>��routing table �6)��% �X�@������LSDB ����]��'!�\$�����2�)�*�$V��k`$!�"����F � )�*�$V��3G.�X8F���������5�(�^_�F���3G.H��

����uR�� �7��=L��I�����*�$V��"<�C�!�router 3���router 2�7��router����area������������B��I@F �

�������V' ���FrMrouter 1�"<�+$1$���$.��area 0���������"'���backbone area

�i�I9��+$�4�����Y��)�����b������;��"��4�����)�D���1��|9�!�=L�Z%5��$#9���G.�H����uR�������$I5�"���O���������6�V�M���T������=?<�O�1�7B+��|F�����$I5�\$���6)�6�LSDB�C�5�"���

������=?<�j�G���M��)�+$1$ �������G.�=���>LO��$I5�j�G���!��1�7�����|����<�4 ���L���� ��1� �"<��������5�6��1�=$�'�adjacency database�]��'��"<��������K��I��G-'5����B�� �6��1�$.��

!?<�+$1$ ���5����>L���+$1$ �=���>L�������G.���L�$.�����L�6$�$���C�B)���_����p����"<��|F5���6$�$��������,�B�6��1ospf���

��uR�6)�7b����6�B�� ��NLSA�Ulink-state-advertisement ��5G���!��1�� ��<�4����������$I5��

��#����V'���K���;�����$ H����uR���������$I5������7�������L�6$�$���^5�_�78<)���L�6$�$������-���6�B�� �j�>���.�VI5�"'���#%��

Dijkstra’s algorithm�����71���.��'������� ��I5�_��.��Dijkstra����*�$��3G.����

Page 28: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Edsger Dijkstra��

��uR��!?<��.�5�5�"'�����;���)��#%���^5�_�78<)���L�6$�$����������������4��3G#�������7���$I5�=L��4���

�6)��5$�'���$I5routing table��!��1�� ���$ �� ������#`�4���$I5��������-��H����uR�6$�$�������-'�5������7��link-state�6����2�)��'#5��!?<�topology�=)�Z )�"'������;�������-��

��#����V'���K���;��\�45����!��1���L��|F�����$I5������7���F4������;��������7�;���������.�$�)����v�F.�=���>L������������$V��������C���=$�5�j�G���������G.�7V' ���������;��3G.�"<��B)��

��#��7V' ���#F �/01�$.�"'�����;��7�;��7 �Y��D�78<)�>�-����(�"�?5��F.���<�7 ������4��7�;��G#����.�VI5�"'���#%����L�6$�$�������5�"���^5�_��

��uR�6$�$�����e�'-5��link-state ��$�$������6�distance vector�"<�=)�p� ��@IF��3G.�"<�

�6$�$����distance vector�6)�������'45������7��=?<�routing table �"<������3��1�����#���5�"'���6$�$����link-state����(�G-'5�iG��$.���5����1$��"'�����;�����4��7�;��������'45������7��=?<

�6$�$���^5�_�78<)���$ �� ���L�����

OSPF Area Structure����uR�6$�$�����/�F���I5�_�������'!�\$��/0%��G.�"<�ospf �6)���L�area's����'F����#�F�5�"'��^_�F���

��.����# ��I@F ���area 0�6)����\�4��"'���backbone area����\�4��"'���C�BW�^_�F�������Nonbackbone areaH���

��uR�%������F�������������������4�������I��������=?<���[V�����;��Dijkstra calculations��#!?<�

�6)�7b����=$���\$����@�����������.�5�!�"'���#%����L�6$�$���^5�_�78<)����'B�����#�������LSA������7��(��.+����D�6)�� �*�����������#�<��1$5�"'���*������K���;��"<router's����������7�

�=$�'�<�^5�_�78<)����'BM�������������4�������I��=?<��.�5�5�"'���#%����L�6$�$���*��2����5�����_�6)�7b����+���=$�5�\$���6$_)�}(��GB?��\$���*�I4 (LSA)�link-state advertisement��

�6$�$�����=?<�j�G���������.+��OSPF�L�*������K���;��3G.���I��=)�7895��^_�F ��AREA'SH���

uR�^_�F���� ����$!�v�F.�area's

RT�R�Regular area�J�F����.������������ �-'������<�7V'5�"'���I@�6�2 �����1$5�������j5���=���>L�+��O�interface���T�interface serial���T�interface fast Ethernet�6)�=?<�serial interface�

)�������7V' �=$�5�\$��6)�������Binterface fast Ethernet����7V' �=$�5�\$��switch��.���6)�6�)�� ��I@F���3G.���� �-'�������7V' �iG�interface fast Ethernet�".��� �-'������L�

����*�������I@F��Regular area����-�����B������;�������-��K�!������#������"'���I@F����.��-'�������� ���

��RO�R�Transit area�J��K�!������#�<������.���B)�������6�V�M����������# �-'�5�"'���I@F����.�

�6$�$�����������-�OSPF�6)�7b����72 �LSA���LSDBH������uR��6$�$������#��I5�"'��^_�F���".�3G.�OSPF����Y�6$I���Cisco�6)��I@F ����I��78<W�� ��!)���

Transit area�����#�B+�K������+����505�M��I@F �7��^_�F �*�����L�SP�router����

Page 29: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�6$�$�������+�"�?5��F.�� ��OSPF�6)��I@F ���(�"���Transit area�Z���'�������� �^_�F �*�����L��"��'���

��uRT�R�i�I9��+$�4���I@F �backbone area��(���I@F����.��P�K���������Router's�=$���"'��

�6)����������I@F���3G.�"<�*+$1$ backbone router's�����uRO�R�6)��I@F �������.)�7I��M��.����!�2���I@F���backbone area�6)��I@F �".�area border

router's��#�<�=$�5�"'���I@F����.��router �6)��I@F ���'I@F ����7V' �backbone�C�B)��I@F �����������Nonbackbone area�����b����[��^_�F���� (ABR) area border router's��

��uR{�R�6)��I@F �Nonbackbone area�*����#���I@F �=$����.���Router's����V' ��5�#F��"<��#F����

6)�7�$�����6$x����$.����2�)��)�mI<�� �������packet's�6)��I@F ���L��#�����-��BBA����

����

uR(�9��k`$���I�����*�$V����I@F���3G.�7B+�K�����������^_�F������uR�6)�7b����+���7I5����I'��G#���LSA�6)��% �7I5��routing table����uR����Y�6$I���Cisco���I'��G.��b$<������RT�R�6)�7b����+���7�I5LSA���;��7B+���RO�R�6)�������=$��summarization �7#�)���R{�R�6)�6��1�p5�����k��V��7#�5�LSDB��

Page 30: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��OSPF Adjacency Databases��

��uR�=��%��6��1���L�������/�;!L���9������]��'F����I��G.�"<�H Adjacency Databases��

��

����uR�6$�$�������-'���#�<��'5���� �C�"<�link-state protocol����3��1�������������(�4��?;F��

������7 ����^5�_J��RT�R���q�������7���$I5��������6hello packets�� �f$!�C�^5�_����*�Y�� ��#��7V' �$.�� �7����L�

�6)interface's��#���5�"'���D�+��������6��I'�����$I5��rhello packets�^5�_����j�>��3��1�� ����-'�multicast address

��RO�R�6)�7b����6+�����4��hello�7V' �iG��������=)���?'���������7���$I5��n9!�"<�����

�6)����,�-����I��� �AS� �6)�$.�� ��F<����F!L��I'������,�-��autonomous system (AS)6) EIGRP���-'�F���F.���������� process-id�,$-��n9!����$.����

��R{�R�6)�6+��'�������7���$I5��I�����K$@-��/�#!L��4��LSDB�7����?'5�"����BW�������X �������-���������@�� ��.�� �7�����K� $�4���7��\�45��!�����;��7B+�+$1$ �AY�7��\�45��!��BW�� ����

�=���>L�router 1�6)�� ��.GB?���$I5�3�F������������Y����� $�4 ��VIF5�LSDB�������-��

Router 2�������}����K� $�4���6+�������=$�5�j�G���synchronize�+$1$ ������7����������;��7B+������������3G.������full adjacency��

��

uR��.��*�5�1�K������K��V'B�*���C�!��I�����*�$V��"<�ABR ,DR,BDR

uR�� +�I���VI��h�I!�=)�Z%5�K���@V���3G.��#9!�"����H��

Page 31: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

R���(�router 1�X`$��router2�7B+�+$1$ ��'!)����6�(��r�=��%��6��1�7B+�area 0 5)������7V' ��8area 1��VF'��}�(��I��j�G���j�0�� �ABR – area border router����6$x������ $��}!?<�j�G����

���L�j�����-���I@F���� �������C�6���Lrouter 1�7��74%��=)�j���������b����I@F���"<�+$1$���6��1�6+����^5�_����6�?��M�)�]�� �=$�5�=?���I@F���3G.�7B+�� �LSDB�=$����' ��4���������F���

��#84��� ���!����F��"'��6��%��7��D�"!�2��0�����6�F'��j�G��DR - designated router

��uR���(�=)��4��router 2 ����; �"��]� �>q<�"�9!�� ���_��' ��-�!�i�F��=$�5�=)��5�)�6�(���#���3G#��

����B?����I<�"!�� �ZVF5BDR- backup designated router�����uR�}���)�j�G���area 1���_��' ��-�!��F ��1$5���#�����"����]��' ��#��ABR,DR,BDR

��

Calculating the OSPF Metric

uR�Edsger Dijkstra�J����6$���$������# �-'���5�"��'����������������+�4���&�����������$��.�G��.OSPF�"��<�

��.�5�5�"'���#%����L�&�.G���^5�_�78<)����'BH����uR�^5�_�7���9����X`$���$I5��F�(������.��Cost��.�5�5�"'���#%����L����$5�=)����5��5�����

��

����

State Data Structures-Link����

uR�6)����������]��'F����I��G.�"<�link-state updates (LSUs)������7����?'5��#��B�� �"'���]��5�����������C�BW�*0#1W���������7��=L���[���#��H��

��uR�������7��LSA – link state advertisement��.����<�"#'F���+�� �}(���#���{P�j�>��4���I�(+�

�6)�7b����6+��'���$I5LSA���[��]� �>L��*+$1��}�0���!��%��������7.�\�45�"����!��1�������F����������7�I'�)��6���q���$I5�K�V��3G.���<LSU��link state update �p5��'��G.�X`$���$I5��r��

�������-��K�!�����*���(�7B+LSDB��������

Page 32: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

OSPF Packet Types

uR�6$�$�����OSPF��5���S�3G.�����\�4'!�\$����!��1�������F�������=$�5�"����# �-'�5�7b����

��/�Y�=)�7�V9'����7b����H����TR hello��OR database description (DBD)��{R link-state request (LSR)��gR link-state update (LSU)��SR link-state acknowledgement (LSAck)����uR�6$�$������#���5�������7��OSPF�����C$'����B)��������L�ip address, ospf version

Router-id , area number , checksum , authentication type ����uR7b�������-����+�"�?5��r���RT�R�������hello�6$�$�����=$�5�� �F��7����ospf��$ �� �e;'�5�"������,�-��=��%��6��1���

��5�%����������L��#���5���#<�45��5G��=��%��7���6��1��#�B���=$���H����RO�R�������Data (for DBD packet)�K�!�����*���(�����C$'����������.��LSDB��������#���5��

���!��1���L������85)�C$'����6�?��M�)��r�� ��#F���K� $�4���=$���"�router-id�I��������\�4'F������=?<��V'-�����router-id��(���j������K� $�4 ��#���1$5�j�����-����V-;���(�@����(��72 �

���-'�5�j�G���C�B)�*��9 �K� $�4 ���(�@��router-id�4����#84��K������0����"<�����R{�R�Data (for LSR packet)�J������C$'����������.�LSU-link state update��

�������2 ����_�iG��p5��'������C$'����F4��T������� �O�]��5�"���LSDB�6)�7B+�e�85��)�routing table�����5�1���1���

��Rg�R�Data (for LSU packet)�J�$ ��������"'��K�25��'��7������C$'����������.��6)�6��1�"<�*+$1

LSDB�6)�p5��'���$I5�"�����4 ������7B+�routing table �������-������RS�R�Data (for LSAck packet)�J��iG����������L�p5��'�����6?��iG��������� �7�����������.�

(���=��%��6��1�p5���������������K�!�����6��I'������!�������5�"���p5��'��7��)�K�!�����*���H����

Establishing OSPF Neighbor Adjacencies������uR�6)�6��1�"<�^��@���� 0��]��5�����-��7b�����3G.��'��=L��4��LSDB�C�6+����^5�_����j�>��

�������� � ���L�$�����5��#%��=$�5�*+$1$ �K�25���TWO-WAY state���^5�_����7b������#��$�+��'5�"'���I5�@�����L�f��'�Mip address 224.0.0.5 �f$!�� �$.��

multicast�C�B)��� � ���L�7I'F!�H����uR�Router-id�J������C$'�5������7�interface�7����interface ip address�C���L����(�"����

�K+��)�"<�X`$����GB?������������+$1$ �n�<�'!OSPF�6)�".�k�V���������I5�@��router-id���2 �6)�3G.�v�F��=���>)�6ip address �� ��2�)�������$`$ �interface�D�TQOHTlyHTHO���TPHPHPHT��

����'B��'5�\$�TQOHTlyHTHO�6)�$.�k�V5�"���router-id�6)��F�(�������router-id�0��5�� �$.�1���# ��.�������� ��2�)�����*+$1$ ����I��n9!�=$���=)�Z%5��<��4����#84��K�������#!W��

�6)�K+��L�"<���-'��OSPF���

Page 33: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�j5���=���>L�*�5�<���� ��1$5������loop interface�n�<�'!M����(�� ��2�)��)�7(��'��(�������������6)�k�V5��!?<�����������*+$1$��Router-id�j5���=���>)�6�2 �interface serial 192.168.1.2

�j5���loop interface 10.0.0.1�6)�k�V5��!?<�Router-id�6)�6�B�� ��router-id�6)����'B��'5�

DR and BDR�����uR�Hello and dead intervals ��J�������6���L�����������$I5hello�7��TP����>L��3��1���L�"!$r�

��4�����Z�%'�5g�}� ���%��G.���'45�KM��� �����uR�initial state (init)�J�5�"'���������.��6��1�"<�����5�1���1�X`������$I5�� �F���������#�<�=$�

�=��%�����uR�������6��I'����6���L��'5�=)��4���hello�6)�6+��'��� $I5��BW�������� �router-id��

���� �"<�$��V5��I�����7b�������-��6��I'���6���L��'5�=)��4��TWO-WAY state

��uR��7 ����3G.��'��=)��4����6)����'B����I���DR,BDR ����������3G.�������full state�������C�

�^��@'������ ����6�������(�4����DR,BDR��(���master-slave��6���F4��DR�������6���q���$I5��6)���L�p5��'�BDR����L�X�'�5�=)�������H��

��uR��['��Z ����������$I5����;��"<���[��C�]��5�� �F���������6���q��LSU�&������������L�

�0����DR��������������^5�_����j�>��p5��'��G.��#�V5����"'��C�BW�K������7����L�7��5�=)���LSU�������������+�������[���#��]� �"'��K�������$I5��r�LSUack�6��1�� 0���^��@'��� $I5��r����

LSDB����6���=)����?'5�"����#F�����r�� �K��H����

Verifying Packet Flow

uR��� )�6�B�� ���������L���� �7�I'����7����"'��7b�����3G.���(� ����]��'F����I��G.�"<���

debug ip ospf packet���

���6$�$�����K+��L�"<�7B�!������F<�^�I��MOSPF�7����#�L����6�W�6$x����$.�� W�G.�������4��

�7b�����6$�$������G.��# �-'�5�"'�����

Page 34: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

Configuring OSPF Routing

uR�6$�$�����K+��L�X`��"<������W�h+�������4'F��w����G.�6�B��OSPF���R�E �!�����-'�F��7#�)�:�;��=$�5�"����packet tracer 5��R�+�����-'�!��2 router ���FrM�7VF����router�'�F���r�h��FrM�6�B+q���6)�n9!�"<������

process-id ��I@F��)��n9!��area���

uR������7��7B+�X8F��K+��a�� ��50���e�8!�"����O�loop back interface

Router 0 – loop back interface 10.0.0.1 – 11.0.0.2

Router 1- loop back interface 128.0.0.1 – 129.0.0.2

*- R0(config) # router ospf 1 = �'�F���F!L��������6$I5�� W�G.h���6$�$�����K+��L�X`��"<� �AS �6)��(��X8!�=L�Z%5��F.�� ��OSPF �

*- R0 (config – router ) # Network 192.168.1.0 0.0.0.255 area 0

uR��#������Y��F5����F!L��������6$I5�^������ W�TQOHTlyHTHP�6)���wild mask �-���#��,��PHPHPHOSS��I@F���"<�*+$1$ �".����P� area

��*- R0 (config – router ) # Network 10.0.0.0 0.255.255.255 area 0

*- R0 (config – router ) # Network 11.0.0.0 0.255.255.255 area 0

uR���'��;��X`$���F�(��(���I������5� W�"<�TP���TT�6��wild mask#��,�-����PHOSSHOSSHOSS����I@F���7B+���'��;������.��;!��'5�\$��P��

��*- R1(config) # router ospf 1��*- R1 (config – router ) # Network 192.168.1.0 0.0.0.255 area 0

*- R1 (config – router ) # Network 128.0.0.0 0.255.255.255 area 0

*- R1 (config – router ) # Network 129.0.0.0 0.255.255.255 area 0

��uR�6$�$���������-��K+��a��F4`���(�=$�!��I������ �W���-'����ospf�7B+�router 1

��uR��.��� �)�*����I������ �W�"<��F �-'���I����R�router ospf �6)��(��X`$���F�(��r�process-id��R��ip address����;��=$F��$.����R�wildcard-mask �6)�w$�4 �$.���subnet mask

R�area-id ����;��3G.��#��"�'F'��"'���I@F����(��$.������uR�6$�$������G#��K+��L�6�)��F4`���(�=$�!���@�����K+��a�3G#���D�"<�����'��� �W���-'�F�

��#F���F25� �6��_�"'���r�2��6��%���*�.�; H����

Page 35: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����

*- R0 # show ip ospf neighbor

uR���������,�-��=��%��6��1��#|5�^������ W�P��(router 0)�neighbor table���R�6)�=L��%!�^������ W�� �neighbor id�6)�$.�ip�6)����,�-��loop back interface��R�6)�C�!��r�ip address�6)����,�-��neighbor router�6)�C�!��state6)���� �"<�$.���full��

������C�!���!�%��BDR�����uR�������-��K�!�����*���(��#|5�"��'��� W�(router 0)���

*- R0 # show ip ospf database

��uR�6)�=L��I�����*�$V��"<�C�!��router-id �$.�ip address�6)����,�B�loop back interface

�����+$1$��Router 0�TTHPHPHO�6)�C�!��r�process id 1����uR��I@F���/0%��C�!�j�>��4��area 0�7���=L�C�F��^_�F���+�4'��� �F����#��*+$1$���K���;��C�!��

���#�<�*+$1$ �*0#1)��I@F ��uR�6)����,�-��/0%��C�!�j�>��4��link-state������C�!���I@F���3G.�"<���#%��X`����age��.��

���������4�����BLSA���������(��C�!��r�SEQ��(��C�!��r�checksum ����

����

uR����,�-��/0%���F��t�45�^������ W�ospf interface

*- R0 # show ip ospf interface

uR�6)�=)�C�!�ip address ��<�+$1$ ��!��%!��r�n�<�'!M�G#��,�-��area 0���R�6)�C�!��r�process ID 1�6)�C�!��r�Router ID 11.0.0.2�f$!�=L�C�!���6�V�MBROADCAST���R�6)���#1�$.��4`��=L�C�!��DR��R�6)�C�!��r�BDR� - �router id 129.0.0.2���ip address����,�-��192.168.1.1

R�� �7�����,�-��}($��C�!��rhello ,dead ,wait��!�2����Z��5�G.�7�����

Page 36: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��Configuring OSPF for Multiple Areas��

��

����uR�6�2���"<��6$�$������K+��L�X`$���F�(�^����ospf�+�4��O�routers ��I@F���n9!�"<������area

uR�6$�$�������-'�����$I!�\$��6�2���G.�"<������ospf�^_�F �K�4�������area 0 ,area 1, area 2

R�+����!�F��S�routers������

��uR�^_�F���\�'B��s���!�C�F��6�2���G.�"<�areas ������6)�7��X�@'�5�routers�4���$�V'5�=L���

�6)��x��j�>�process-id�6)���['���$IF��j�>�� ���?'!�=L��4���� ��process-id �� �"#'F!�=L��4���������� � �6�)H

uR�6$�$���������-��K+��a�X`$���$IF��=M)�ospf�����router 0

*- R0(config)#router ospf 1

*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0

*-R0(config-router)#network 183.168.1.0 0.0.0.255 area 0

uR���L�=M)�7I'F!�router 1��*- R1(config)#router ospf 1

*-R1(config-router)#network 183.168.1.0 0.0.0.255 area 0

*-R1(config-router)#network 183.168.2.0 0.0.0.255 area 2

Area IP address terfaceIn��Router

0 TQOHTlyHTHT��F0/0��Router 0

P��Ty{HTlyHTHT��F0/1��Router 0

P��Ty{HTlyHTHO��F0/1 Router 1

O��Ty{HTlyHOHT��F0/0 Router 1

O��Ty{HTlyHOHO��F0/0 Router 3

P��TQOHTlyHTHO��F0/0 Router 2

T��TQOHTlyHOHT��F0/1 Router 2

T��TQOHTlyHOHO��F0/1 Router 4

Page 37: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���L�=M)�7I'F!�router 3��*- R3(config)#router ospf 1

*-R3(config-router)#network 183.168.2.0 0.0.0.255 area 2

uR���L�=M)�7I'F!�router 2��*- R2(config)#router ospf 1

*-R2(config-router)#network 192.168.1.0 0.0.0.255 area 0

*-R2(config-router)#network 192.168.2.0 0.0.0.255 area 1

uR���L�=M)�7I'F!�router 4��*- R4(config)#router ospf 1

*-R4(config-router)#network 192.168.2.0 0.0.0.255 area 1 ��

uR�����6$B�����=M)��$IF��K������7������ ����K+��a�X`��� ��F�#'!�=L��4��router 1��.�;!�"����.�� ��!��1���

����

uR��.��!��1�=L��%F��router 0 ��� router 3 �6)�C�F���state�7������-��router ��������Z!�1�=)��%F�state �7���#�<��1$5�"'��������router��(full)��� ����#F����(�4��=L��F45�G.��

�������85)��%F���*�I'� �DR�� �7��=L�\�4!�j�G����router 0���router 3���.�advertising�� Router�������G.�=L��%F���(router 1)�$.�BDR�$.�������G.�=L�\�4!�e��������ABR

Area border router ���uR�����6$B������$IF��Router 0�"��'��� W�Z'�!��r���

*-R0 # show ip ospf border-routers

��uR�=L��%F��ip address�� �7���,�-��router 1���router 2��������!�%���+$1$ �ABR��

��I@F��������!�%��area 0�=L��%F���router-id�X�@'��"����5��5�3��['��}�(��!)�Z����j�>��e�'- ���������7��0�����

uR�����"��'��� W����'���=M)��$IF��router 0�6)��.�;!�"���$.��ospf routing table����

*-R0#show ip route ospf

����uR�� �7����L�6$�$��X�@'�5�������G.�=)��%F��area 0���area 2���L�6$�$��X�@'�5��!�����Router 3���Ty{HTlyHOHO �^5�_����router 1��TyQHTlyHTHO��uR���L�6$�$��X�@'�5��!L��%F���router 4 �"<�+$1$���area 1�^5�_����router 2

Page 38: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�X�@'�5�iG��� ������O �router �$IF������������6$B�����O�6)��.�;!��routing table

�������-���*-R2#show ip route ospf

��uR�=L��%F��router 2���L�6$�$��X�@'�5�area 0���area 1���area 2

uR�����6$B������$IF��router 4��.�;!��routing table��*- R4#show ip route ospf

uR�=L��%F��router 4$�$��X�@'�5���I@F�����L�6O� area 2,���L�6$�$��X�@'�5��!��router 3

��uR�����6$B������$IF��=M)�router 3����,�-���@���/�[�q���$I!��r�router ospf 1

�e�8!���router ospf 2�����6$B������$I!��r�router 1�������-�����;��/�[�q���$I!��r�Ty{HTlyHOHP ��<�`q���$I!��r�router ospf 2 ����;��e�8!��Ty{HTlyHOHP��

��*- R3(config)#router ospf 1

*- R3(config-router)#no network 183.168.2.0 0.0.0.255 area 2

*- R3(config)#router ospf 2

*- R3(config-router)#network 183.168.2.0 0.0.0.255 area 2

*-R1(config)#router ospf 1

R1(config-router)#no network 183.168.2.0 0.0.0.255 area 2�Ru��R1(config)#router ospf 2Ru��R1(config-router)#network 183.168.2.0 0.0.0.255 area 2�Ru��

��uR�E �!����=L�Z�������; �}r� �K+��a�7���4`��=L��4��packet tracerK��`?<��k'<��^�s���L�

����/���#��router 1���router 3����5�)����F��K��������� �k`$���.��� +�I��*�$V����.�;��=L���� �k`$���=��%�����p������t��9'�state��� � �� ��#��I'!��.�;F<��� � �7��"<�2way���L�

��� � full state

��

����

Page 39: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

�uR���L�6�I'!M����$I!�=M)�router 3�6)��.�;!��routing table �������-��H��*- R3#sh ip route

uR�6$�$������K��@4 �C��1$5�M��!��%F��ospf6��%��7B+��7B+�K��@4 ��%F���FF������Ospf neighbor���L��F�B+�>L������router 0����Y������4��e($���I<�j�G���183.168.2.0�C�������s�C�B)��I@F router 1��<�`q���F�(�>L���router 5 �����$�������router 3F��*�Y�� ��=L��%

router 1������������G.������45�router 0�\$���k��V��^_�F������I��$.�G.��AY��F����45�����74%!�e����/�Y�=L���5�(���4'!router 0 ���s�C�B)��I5�@�������^_�F���3G.������45�process-id

��

id-Router uR�Router-id�J��B��(������$.�=$�5��5+�4��KM����"<����,interface �������������

������������1$5�=���>q<interface fast Ethernet 0/0�����ip address 192.168.1.1

����)�$.�ip address�k�V5��!?<�����������+$1$ �router-id��uR�j5���=���>L������loop back interface���������������ip address 10.0.0.1

�=$���<router-id���R�+��!�"����router-id�������-��K+��a�X`���F��ospf�� W�X`$���$IF�������������'�2!���

�K+��L�7B+�"��'�ospf��uR�X`$���$IF��loop back interface �����router 1�X`$���$IF���r�ip address�G#��,�-��

�� �-'�!��n�<�'!Mrouter-id

R1(config)#router ospf 2Ru

*-R1(config-router)#router-id 10.0.0.1

��uR�� ��2�)�����������=���>L�process-id�7���$I���process-id ����)�GB?��ip address

����,�B��1$ interface �����������+$1$ ���R �+����F5���=���>L��F4��O�loop back interface�TQOHTlyHTHT���TQOHTlyHTHO��

��$I��ospf 1B?���GTQOHTlyHTHO��$I����r����W��(����!W�ospf 2�GB?��TQOHTlyHTHT���j5���=���>L�loop back interface 1�6�)�3GB?��<�mI<�process-id�"!�r��process-id

����)�GB?���$I��ip address�i?��,�B�interface�����������+$1$ �������uR�6$I���Cisco�=L�Router-id'��� �F���!?����9 ��/�F��������=$�LSDB��link state data

base�D��6)�=?<router-id�7��e�$5��!?����95��K�!�����*���(�3G.�7B+�=$�5�router

�7��process-id��#' $�4 �7 ����D��(���#���#!?<�j�����-����V-;���(�@���72 ��!�7�(�� ��F�(����������-��K�!�����7���#�<�=$�5�����'5�M�,�B�j��

R ����Y�6$I������Cisco�7���7895��!)�process-id��#��=$�5�=L�loop back interface

�6)�X`$���$I�ip address�� �-'������,�-��router-id���R6)��x��j�>�loop back interface�72 �7��; ���<�]��5�M�protocol down�\�@��X�@'�5��

�����4���$I5�=L��BWping�6)�G.�����ip address�j��7V' ��!�� ���?'�������

Page 40: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

Verifying OSPF Operation

uR�� �)�7����-'�F��/0%��G.�"<�show�6$�$�����������-��ospf

*- show ip protocols

��uRt�45��!������#���@������K� $�4���������������� �-'����KM$�$������7��t�45�� W�G.���

�6)��metric �-'����������G#����V'���K���;�������*- R0 # show ip protocols

��uR�� W�show ip route ospf�t�45�ospf route�n9!���-'���"'��C�BW�K���;��t�45��

k����C�BW�K���;����6�V�M�=?����?'����I5�_��� )��!������#��L�6$�$����_��6$�$�������*- R1#show ip route ospf

uR��� W�show ip ospf interface�6)�7��t�45�� W�G.�interfaces�6$�$�����"<���-'���"'����

Ospf��������,�-��}($��+���t�45��!������hello�6)�t�45��process-id�I@F �7������-�����\� �=?<�C�!�����O��F45�ospf�C�!��IA��F4���interareaC�B)��I@F �� ��!�C���

��� )�6)����F��[110/2]��TTP�������B�administrative distance ospf��(��� )�O�6)����,�B�$#<�cost

*- R0#show ip ospf interface����

����

Page 41: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�� W�show ip ospf neighbor �C�������#����\�4'�����iG��=��%��t�45��interface���������\�4'�

*- R0#show ip ospf neighbor

uR�� W�G.���L�e�8!�=L����5�����show ip ospf neighbor detail���V9���2�)�K�!�����#|5�\$���

�=��%��K�!��������*- R0#show ip ospf neighbor detail

��

OSPF Network Types

��uR���F�4 �K+��L�K���;��3G.�� �f$!�7�����K���;�������"<�KM�V�M�� �f$!)��r�r��1$5��j�>

��#F���e�'-��"'��K+��a�".�� ��f$!W�3G.�7����x�������\�4'F��f$!W�3G.�� �f$!�7��\��|��>����H��

R�".�f$!W�3G.���J��TR�point-to-point �J��mI<��������Fr���<�=$�5�iG��6�V�M�f$!�$.���OR�Broadcast�J�����B������;��f$!�72 �$.�Ethernet��<�=$�5���*0#1)�� ���2��+���Router's

{R�nonbroadcast multiaccess (NBMA)�J��� ���2��+�����<�=$�5�iG��K���;��f$!�$.������B�XF�5�6�V�M�f$!�=$�5��K�����broadcast����Y�72 �ATM , frame relay,X.25

Page 42: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

point– To –Point

��

uR*0#1)�\�4'���'5�K���;��� �f$F��G.�"<��Router��L�f��'�M�^5�_�����4����#84����������OOgHPHPHS�ip address�6$�$������F�[Y�=$�!�� �F��G.��4�_��ospf���L��1� ��1$��M�f$F��G.��<��

����'BDR , BDR�$.�+�4���x��j�>��O�� L��#F���6�V�M�f$!�=$�5�����s����#��L��1� ��<������PPP�)���High level Data link control (HDLC)

Multiaccess Broadcast Network

uR�*0#1)�� ������+���v�F.�=$�5�K���;��� �f$F��G.�"<�Router's���#1��$I5�j�G���Router�

�=$�5�=L���'-��DR��6)����'B���BDR���#1��$I5��r�DR Router�����4�����I����synchronization

*+$1$���K�!�������$(���L�7��7B+�Router�(LSDB)

uR���#1��$I5��DR Router�7b����6���q�����I����LSA�K�!�������$(���LSDB�*0#1)�7����L�router's���#1�6)�� �W�K�25��'��7��6���L��'5��������;������BDR Router�6�)�]�� �=$�5�"���

���#1�"<����; �}r� �>L�Z����j�>��6�?�DR���#1��!�� �7�5�BDR

��uR�� �7���#���$I5�"'����#����DR , BDR�".�J��TR���#1�7���$I5�router �������6���q��LSA�� �7����L�DR,BDR���#1��$I5��r��mI<�DR��I��@���

�6)�7�LSDB�6)�*0#1)�7������*+$1$���router's ��4����#84����L��I��@ ��I����' �H����OR�6)���#1���?'5DR�6)��I��@ �� �LSA$����6)�*0#1)�X��1�����*+$1router's�]�� �XF�5��' �

�6)�"<����; routing ����uR����.)��4 ���G'!�"����LSA�6)��#����\�4��iG��=��%��7��K��� ���<�+$1$ �=$�5�6��1�$#<�

Router���� �7��Z!�%��=$�5��Cost���uR�6��1���!�r�LSDB�7���1$��=�� ���<�=$�5�6��1�$.��router �C���L����"�'F5��I@F ip address

����,�-� ���Router-id�=$�'5��r�� ��routing table 6��%��3G.�� ���

Page 43: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

Selecting the DR and BDR

uR���#1����'B���9���:�Y��'����F.�DR���BDR���9������]��'!�����F!)�^�����/0%��� ���4!��F���

����'BDR , BDR���#1�=)�����Fr���������Router�"<�+$1$���Area 0�k�V5�(ABR)

Area border router�*0#1)���L�]��'������� $��6$x����=$�5�$.��Router�"<�*+$1$���

Area 0 ����'B��'5�e���$.�6���������DR,BDR

��uR�6$�$�����K+��)�X`���F��ospf���#1�����Router��#'��(���`�'<����(�X85��!?<�T���

Priority 1.������'B��'5��#���)��������'BM��'5��@I!�6�)�3GDR,BDR���(��"���Z �����#%��<���(priority )��!)�����3���'B��'5�DR����(�"���Z ���"!�r���#%���(priority)��!)�����3���'B��'5�

BDR���uR�*0#1)�K�����>L�Router ����(�"<�priority����'B��'�<�DR����#1�"���w��)��������(�Z ���

Router-id����(�"���"!�r�Z ������'B��'5����Router-id��!�����BDR

����uR���#1�Router ����(�=$���iG��priority��9��C�����NP�U�3���'B��'5�M��!?<DR,BDR��'5������

��'����DRother����uR���#1�X`�����>L�Router�"<����)����(����priority=�� ��4`���'5�M��!?<��DR , BDR��

���#1�7V<��'5��' �0�����G.���L����-'!��'5�M�DR��!�� �7�5��r�BDR�iG����#%��G.����'B��$I5��r���!�������4`����BDR���

��uR���#1�7�5�e���BDR�=�� �DR���#1����'B��'5�� �F����DR���#1��5�0'���$I5��F�4 �*� �7���!?<�

BDR����,�-��p5��'�����LSA��>q<��6)���#1�=?<���4 �}(��6�B��������3G.�6���L��'5��BDR�����#1�"<����; ��r� ��!�t�'95DR�p5����"<�7��; �]����M�"����!�� �GB?���$I�<�LSA ���LSDB���

����;��7B+�*+$1$���C�BW�*0#1����.�5�G���'5�"'�������;��7B+����uR��4���#F��]��'!����"'�������W��@IF����$.���F��]��'!���!�iG�����;��f$!�$.���Multiaccess Broadcast Network�*0#1)�7���x����M�G#���#'���������Router

���-'��ip address 224.0.0.5�f$!�� �$.�\�4!������multicast ip addresses

�6)�G.���-'���ip address ��#F���Fr����"'��7b�����7��6���L���6��I'��"<�7b����72��Hello , LSA, LSU, LSDBack��'5�M��+�I��f$F��$.��K���;��� �f$!��1$5��!)�j�>��4��\�4F����

�7b�����3G.�6+����"<�&$��W�G.���-'�����uR�6)����(���['��,�-��� W�����=M)�\�4'F�priority���#1�����Router�}���X`$5�� W�G.���

interface!�=L��5�!�iG�����`�'<M��'��(���[T�j�>�� �"������(���L���uR�v�F��=���>L�6�2 �{�*0#1)�router's�( A,B,C)���#1�router A�X �m��� �Router's

(B,C)�^5�_����interface fast Ethernet 0/0 (B) ���interface fast Ethernet 0/1

���#1�X Router C��� B A C

��

Page 44: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��uR�=L��5�!����#1�=$�5Router C�$.�DR�J������6$B������$IF�Router C�����7B�!��r�

Interface fast Ethernet 0/1 ����(���[5�iG��� W����'����$I!��r��priority������

Interface fast Ethernet 0/1�$.�k�V5�"���state DR

��Router(config)#interface FastEthernet 0/1

Router(config-if)#ip ospf priority 10

uR�]� �iG����['���4 �t�4'�F��� W�G.�X`�����=L��4����

����

uR������Z!�%���%F��State DR ������priority 10

�#��L��4�!�"'���%�'F��3G.�������

NBMA Network nonbroadcast multiaccess

�� uR�����B����5�M�K���;��� �f$F��G.�multicast��uR� �F���6�V�M�f$!�������'45�K���;��� �f$F��G.�=L���4!�=L�Z%5�f$F��G.����]��'!�

Frame relay , ATM, x.25

uR�6�V�M�� �f$F��G.�"<�K+��a�� ����$!��1$5�point –to–point ����Point–to–multipoint���"<�/$�frame relay ��)�ATM���

uR�6)�f$!)�=L�\�4!�=)�Z%5��topology ��#F�<�e�'-��fully mesh����partial mesh

��star topology

��

Page 45: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR��9�'- �K+��L�����1$5�3��>����f$!�7����J��R�6)�f$!)�������'F��topology �&�'���� �/0%��G.����p5����7#�5�"�����TR�full-mesh topology�J��*0#1)�7����<�=$�5Router'sG.���4����#84��X ����$ ��� �f$F��

�=$�5�=L�Z%5��f$F��G.�"<�����2������s����+��'���$@-����1?���9����=L�p� ��9��'�����s�KM�V�M

DR ,BDR�*0#1)�7������$ �Router's����;��7B+�H����OR�partial-mesh topology�J��4����#84��X ����$ �*0#1W�7��}����=L�p� �m�'- �G.��<���

/01�=$�5�p� ���#%��7�$ �Router�7I���F.���4����#84��X ����$ �*0#1W�"(�����mI<�� ���� �f$!��9��'���

��{R�star topology�J��v�F.�=$�5�f$F��G.��<�center point �6)�*0#1)�7���#��7V'5�Router's

�v�F.�=$�5�M�DR,BDR�����������hub-and-spoke

uR0%��G.�"<�����b������;������6$�$�����=L��F��]��'F��iG��/OSPF���$ �� �e;'�5�=L����5�M����-'����������(�����Z�����!��1�� multicast �e($���G.�X �7 �4'����9�����4'!�\$�����

��

OSPF over Frame Relay Configuration Options

uR�K+��)����]��'!�� �F��OSPF over frame relay���G'!�=L�Z%5�K+��a�� ����$!��1$5��!��

Point – to – point���L��1� ��1$5�M��F.��DR,BDR����'��Z%5��!����;��������ip address

���#1�=$F�Router�K+��L�7B+���%��OSPF��uR�E �!�������j�>���F��]��'!�f$!�7�����%'���$IF��GNS3�������'F���star topology

�X`$���!W�}($��Z�s�K���;���|4 �"<��b�����

����

uR��5��#1�X`$��}�(��I��Router�����#���$'��}�(��r�cloud��<$���.��pvc�"<��# �-'�F��"'���m��������-'���F���!��.���#�`$!�=L��5�!�"'��,$-���<$���#!)frame relay

�6$�$�����X�@'�5�MOSPF��!��1�e;'�5�=L�H��uR��a�X`$��=M)��$IF����������-��K+interface serial 0/0�����R0

*-R0(config)# interface serial 0/0��R0(config-if)#ip address 192.168.1.1 255.255.255.0Ru��R0(config-if)#no shutdownRu��R0(config-if)#encapsulation frame-relay�Ru��

*-R0(config-if)#frame-relay map ip 192.168.1.2 101

��uR��������-��K+��a�X`$��=M)��$IF��interface serial 0/0�����R1����

*-R1(config)# interface serial 0/0��R1(config-if)#ip address 192.168.1.2 255.255.255.0Ru��R1(config-if)#no shutdownRu��R1(config-if)#encapsulation frame-relay�Ru��

*-R1(config-if)#frame-relay map ip 192.168.1.1 202

Page 46: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��uR��5$�'���$IF���r�loop back interface ���FrM�����Router's���#1�R0������=$����

TyOHTlyHTHT������r�R1������=$����172.30.1.1����R�����6$B�����=M)��$IF��Router 0�K+��L�X`$���$I!��r�OSPF�]�����>� �C�!����

��*-R0(config)#router ospf 1

*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-R0(config-router)#network 182.168.1.0 0.0.0.255 area 0

uR�����6$B������$IF��=M)�Router 1������-��K+��a�X8!��������

*-R0(config)#router ospf 1

*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-R0(config-router)#network 172.30.1.0 0.0.0.255 area 0

��uR��5�1�AY�������'!�����1��5+���K+��a�7��=M)���L�H��uR�=)��%!���������Router 0 ��)�Router 1�6��1�"<��#84������\�4'�����Neighbor

uR�����B���-'��X�@'�!�M��F!L�Z�����broadcast F���F!L�7������\�4'���$IRouter 0��.�� ����L�\�4'���$IF����!��1Router 1��!��1��.�� ���

uR�����6$B������$IF��Router 0"��'��� W�^5�_�����!��1��.�� ����6$I!����*-R0(config-router)# neighbor 192.168.1.2

��uR�����6$B������$IF���r�Router 1� W�^5�_�����!��1��.�� ����6$I!���"��'����

*-R1(config-router)# neighbor 192.168.1.1

��uR��%F��^������ W��<�`)��4�������4���F�(��F!L�Z����j�>����5��#%�������� ����(�4��}����!��

unicast�� �M����multicast�����������\�4'�����j�G����ospf^5�_�����5��#%���������6�V�M���|!Frame-relay����6�V�M�f$!���-'��Point-to-point��

��

��������

Page 47: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���.��#F���F��������$!��1$5��!?<�\�4!�����point-to-point���'B���L�c�'�5�M��!���F���Fr�����I�����DR��)�BDR���

uR��1$5�g�*�$V��"<�k`$���6��%��"<�*+$1$ ��.��C�B)�f$!)���R����Y�� �(�f$!)��r�r�Cisco�$!���#F5$�'�������� ��#'!$����RFC���

��uR� )�7��,$B���� W�f$!�+�����I�����*�$V����uR�+����=L����5�j!�$.���F��]��'F��� )��1$5�priority +��!�=L����5���=��%��� ���1�7������-����

Cost��#�����-����R0(config-router)# neighbor 192.168.1.2 priority 0Ru��R0(config-router)# neighbor 192.168.1.2 cost 1�Ru��

uR�6)�=L�+��!�� �F��priority = 0 �6)�G.�=L�6$I!�j�G�<�router�k�V5����BDR�=��R0�6)�$.�DR

����'B�XF�!�j�G��BDR����;��3G.��x��j�>��point-to-point���L�c�'���M�BDR�����������������DROTHER���

��������������

Page 48: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Multipoint Configuration-to-OSPF over Frame Relay Point�� uR�������-��K+��a�X`����9������]��'F����I��G.�"<�Point-to-multipoint�����

Point-to-multipoint nonbroadcastH���uR����]��'5���I��G.��star topology ���topology�partial mesh�K+��a�3G.���-'����9����

K���;��3G.�X ��uR1$5�M���6)���L����'B��F.��DR��)�BDR���'�M�"<��.���'B�K���� �X`$���1� ��1$5�M�G����uR�� ������+���c�'�5�M��!�f$F��G.�K0�� �� �PVC�7���� �4����$I5��sub interface��!�����

interface�f$F��G.�"<�����G��7I'� �Point-to-multipoint���[��=L�c�'���M�subnet�-���7�����interface�6�2���7��������sub interface s0/0/0.1 = ip address 192.168.1.1

Sub interface s0/0/0.2 = ip address 192.168.1.2�"<������G�.��Point-to-point�����[!�=L�Z%5subnet�7������-��interface���

��

����uR�6$�$������-5�iG��/0%��OSPF �F���!�/0%��G.�"<����-'�!��point-to-multipoint���

�6$�$�����X OSPF��5��5��I5�@��j!��1�\�4����L�c�'���M�j!�$.�static�^5�_�����LSA���LSU��=��%��\�;'���'5Neighbor ��I5�@��Automatic�^5�_�����hello message��

��uR����5�AY���<���-'�!�=L����5�f$F��G.�=)�����virtual link���B��.���"<�=$����partial mesh

�j5���=���>L��_������.�{�*0#1)�Routers�6�)�X�@'����"�$'����������$ �router���L�]��'5�=L�����B)Router�,�B�w�+�"<��I5�@��3G.�:�;F������Y�� ����7�$ ��!?����

���uR���-'�5�f$F��G.�=L�����multicast*0#1W�����7b�����6+����"<���uR�($'���������6��I'�����,�-��}hello�$.�{P�� �'��������� �"<�}� ���%��G.���'45�����!�r�

������hello�6�B�TOP��!�r���uR���� �"<point-to-point���������'�M�}($��+���=$�5�hello�6�B�OP���!�r�����

R ���L����F����� )Point-To-Multipoint non-broadcast����;��,�B�$.��Cisco�"<��F!?<��=��%��e5�4����L��1� Neighbor��5��5��I5�@��Static�

R �����"����6�2����$IF��=M)Point-To-Multipoint�E �!���^5�_����j�>��

Packet Tracer 5��5��#1�+���X`$���$IF��Router's���Cloudm���mB���-'�!�"�����Frame relayF��"'��K+��a�7�����6��1�X`$���$(?��6�2���"<��# �-'���

��Pvc Ip address��interface Router

Tl��TQOHTlyHTHT��Serial 0/0/0 R0

��TzOH{THPHT��Loop back 1 R0

Tz��TQOHTlyHTHO��Serial 0/0/0 R1

��TzOHOyHPHT��Loop back 1 R1

Page 49: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��uR�����6$B�����=M)��$IF��R0�'�!��hK+��a�X`��"<���

��*-R0(config)#interface serial 0/0/0 multipoint��*-R0(config-if)#ip address 192.168.1.1 255.255.255.0

*-R0(config-if)#no shutdown

*-R0(config-if)#clock rate 9600

*-R0(config-if)#encapsulation frame-relay

*-R0(config-if)#frame-relay map ip 192.168.1.2 16 broadcast

*-R0(config-if)#ip ospf network point-to-multipoint

uR�� )���<�`L�����@��6�)�"<�multipoint�*0#1)�����6�V�M�f$!�+��!�"���Router���� )��<�`q���F�(���!�rmap ip �6)�����pvc��#��L�Z.G��"'��"(�'���@I!�+��!�"���Packets

uR�6$�$�����7����I5�_�+��5�$.��� )��B)��<�`q���F�(���!�r�Ospf�6)�G.�����interface

�=$�'��Point-To-Multipoint�����uR�7b����7���^I�5�iG��i������ W��OSPF�� )�$.�*��1��I5�@��broadcast�Z!�%��\�8���

��@�map ip�=��%������\�4'���'���j�G���neighbor �E#!�X�'5�� W�G#���!W�j�>��multicast�*0#1)�X�@'���j�G����Router's�7b�����X��1�6+�����D=M)��$IF��K+��a�X`$����������-�loop back interface 1�����Router 0��

*-R0(config)#interface loopback 1��*-R0(config)#no shutdown

*-R0(config-if)#ip address 172.31.0.1 255.255.255.0

���u�R�6$�$�����K+��)�X`$��=M)��$IF��OSPF�����R0����

*-R0(config)#router ospf 1

*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0

*-R0(config-router)#network 172.31.0.0 0.0.0.255 area 0

��uR��������-��K+��a�X`$���$IF��=M)�Router 1

���*-R1(config)#interface serial 0/0/0 multipoint��*-R1(config-if)#ip address 192.168.1.2 255.255.255.0

*-R1(config-if)#no shutdown

*-R1(config-if)#clock rate 9600

*-R1(config-if)#encapsulation frame-relay

*-R1(config-if)#frame-relay map ip 192.168.1.1 17 broadcast

*-R1(config-if)#ip ospf network point-to-multipoint

*-R0(config)#interface loopback 1��*-R0(config)#no shutdown

*-R0(config-if)#ip address 172.28.0.1 255.255.255.0

��*-R0(config)#router ospf 1

*-R0(config-router)#network 192.168.1.0 0.0.0.255 area 0

*-R0(config-router)#network 172.28.0.0 0.0.0.255 area 0

Page 50: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���(��|'!)�������#��AY�=��%��6��1�"<��%��=)�"<�7%4'��M�K+��a�7��X`$���$I��=)��4������ W����'����(��r�}($���4��GB?���(�4��3G.��x�show ip ospf neighbor}����(�4��=)��%'�����

��#�����-���������state Full��uR�����6$B�����=M)��$IF��R1`L��6$B������ )��<�priority �7B+�serial 0/0/0��'5�M��' �

��!)�����3���'BBDR���*-R1(config-if)#ip ospf priority 0

����uR����(���['���F�(�=)��4��priority�����R1�� ��'�� ���[��}���BDR���L�DRother���uR�6)����,�-��6��%��C�!�=L�$.����[��/01��F���I��routing�����R0��

����uRM)�$.��"I�'���/0%����L�7I'F!�=K+��a�������-��Point-To-Multipoint Nonbroadcast

���.���5� )�"<�^�����f$F�����f$F��G.�K+��)�e�'-�J��TR�=��%��e5�4���'5�=)�Z%5Neighbor��5��5��I5�@��Static

*-R0(config-router)# neighbor 192.168.1.2

OR�-'�5�f$F��G.����Y�*0#1)�X �mI<��Cisco�'BM���\������X8!��F!L��F.�Cisco��'-!�=L��4����Map ip ���������,�-����5M�X8!���BW��$I!����'B�������� Cisco�7B+���['���$I!��r���

Ospf���L�non-broadcast����

R0(config-if)#frame-relay map ip 192.168.1.2 16 Cisco�Ru��*-R0(config-if)#ip ospf network non-broadcast��

Page 51: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��

Using Subinterfaces in OSPF over Frame Relay

Configuration

uR���p5������)��F����I��G.�"<��sub interface��� �7��X ��# �-'���Point-To-Point

��Point-To-Multipoint��D���I!�=)����5serial interface���I@F ����()�*�����L�Logical����=?<�G#��interface serial�� ��2�)������m��!�=)�X�@'�!�����I���4��RouterH���

uR�"<�*+$1$ �}!���"'��7��;����4��7 ��������split horizon���vectorRdistance���f$F��G.�X ��X ��# �-'�!�=L����5�"'��K���'BM�k`$������'��*�$V�sub interface

��

����uR�k`$��Cisco����,�B��(����'-!�=L�Z%5��!�sub interface�� � 1 ��(��=$������5� ��4��)����L���

�6)sub interface���uR��b�VB�k`$���Multipoint���k��5��!�j����'B���ip address���[����L�c�'���=L�=������

�6)subnet�6)�������-��sub interface��uR��b�VB�k`$���Point-To-Point�7����!)�sub interface���'-!�=L�Z%5�ip address

�� subnet��9�'- ���uR����Y�k`$������Cisco�=���/$��K���'BM�3G.�X �=)�Multipoint��)�Point-To-Point

�$.�"`�'<M�X`$��=?<Non-broadcast���uR�f$!�X �7�4��� �F���!)�6$I������Point-To-Point���L����'B��1$5�M�DR��)�BDR��uR��f$!�"<�=)�k`$���85)�Point-To-Point�=��%��\�4����L�c�'���M�Neighbor�5��5��I5�@����

�f$F��"<�����Point-To-Multipoint��5��5��I5�@��=��%��e5�4��Z%5�����

�������B�� +�I��*�$V�Point-To-Point sub interface����

����uR�7���=)�*�$V��"<�C�!���subnet �RSub Interface � ��9�'- ��

Page 52: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�^�����6�2�������"����^��@'��=M)��$IF��*�$V��������`$���K�!�����n9F�����

Area PVC��Ip address interface��Router

P��TPT��TQOHTlyHTHT S0/0.1 RA

P��TPO��TQOHTlyHOHT��S0/0.2 RA

P����TzOHOQHTHT��Loop 1 RA

P��OPO��TQOHTlyHTHO��S0/0.1 RB

P����TzOH{PHTHT��Loop 1 RB

P��OP{��TQOHTlyHOHO��S0/0.1 RC

P����TzOH{THTHT��Loop 1 RC

����uRE �!�������"��4��^��@'�����$IF���S�packet tracer��|4 �^��@��X�@'�!�E �!����G.�=)��������

���2 W���������

����uR�����6$B������$IF��M�)�Router A������K+��a�X`$���$I!��r�H��

��*-RA(config)#interface serial 0/0/0��*-RA(config-if)#encapsulation frame-relay��*-RA(config-if)#no shutdown��

uR�7�[;'���$I5�^������ W�serial interface 0/0/0

uR�6)����B?���$I5��r�interface���|F���F ��1��-��7b������e��[��7����'����!)�Frame-relay

uR����� W�G.�=������=$���=L�X�@'��sub interface's����

*-RA(config)#interface serial 0/0/0.1 point-to-point��*-RA(config-subif)#ip address 192.168.1.1 255.255.255.0��*-RA(config-subif)#frame-relay interface-dlci 101��*-RA(config-subif)#ip ospf network point-to-point��

uR�W���$�% ���I������ �J��R�6)�G.�=L�+��5�� )�6�)�sub interface���|F��7�45�Point-To-Point��L�=$�5�=)�Z%5�=)��F45�G.����

�7�sub interface���subnet�������B��R�6)��F4`����!�r�ip address �6)����,�-��serial interface

R�p��2��� W���6)��(��+��5DLCI3�!�*� �6�)�� W�G.��^��������� W�7�Y�e�'B)��F.�����6)����,�B��!WSub Interface�mI<�N(frame-relay interface dlci 101��

R�6$�$�����=)�+��5���BW�� W�OSPF���|F��7�45�point-to-point

Page 53: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

*-RA(config)#interface serial 0/0/0.2 point-to-point��*-RA(config-subif)#ip address 192.168.2.1 255.255.255.0��*-RA(config-subif)#frame-relay interface-dlci 102��*-RA(config-subif)#ip ospf network point-to-point��

��uR�������B��.���I������ �W���$�% �sub interface 0/0/0.2�serial

*-RA(config)#interface loopback 1��*-RA(config-if)#ip address 172.29.1.1 255.255.255.0��

��uR�K+��)����,�B�^������ W�loop back interface�����Router A��

*-RA(config)#router ospf 1��*-RA(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-RA(config-router)#network 192.168.2.0 0.0.0.255 area 0��*-RA(config-router)#network 172.29.1.0 0.0.0.255 area 0��

��uR��I������ �W��6$�$�����������-��K+��a�".OSPF���uR�����6$B������$I!�=M)�Router B������-��K+��a�X`$���$I!������

*-RB(config)#interface serial 0/0/0��*-RB(config-if)#encapsulation frame-relay��*-RB(config-if)#no shutdown��

��*-RB(config)#interface serial 0/0/0.1 point-to-point��*-RB(config-subif)#ip address 192.168.1.2 255.255.255.0��*-RB(config-subif)#frame-relay interface-dlci 202��*-RB(config-subif)#ip ospf network point-to-point��

��*-RB(config)#interface loopback 1��*-RB(config-if)#ip address 172.30.1.1 255.255.255.0��

��*-RB(config)#router ospf 1��*-RB(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-RB(config-router)#network 172.30.1.0 0.0.0.255 area 0��

��uR�����6$B������$I!�=M)�Router C�������-��K+��a�X8!����

��*-RC(config)#interface serial 0/0/0��*-RC(config-if)#encapsulation frame-relay��*-RC(config-if)#no shutdown��

��*-RC(config-if)#interface serial 0/0/0.1 point-to-point��*-RC(config-subif)#ip address 192.168.2.2 255.255.255.0��*-RC(config-subif)#frame-relay interface-dlci 203��*-RC(config-subif)#ip ospf network point-to-point��

��*-RC(config)#interface loopback 1��*-RC(config-if)#ip address 172.31.1.1 255.255.255.0��

��

Page 54: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

*-RC(config)#router ospf 1��*-RC(config-router)#network 192.168.2.0 0.0.0.255 area 0��*-RC(config-router)#network 172.31.1.0 0.0.0.255 area 0

uR�������=L��%'���}����(��#F����(�4��=)��%'��*0#1)��r�2�������#���K+��a�X`��� �/�#'!M��4����(�4���#�<�"'�State Full��%������BDR��)�DR�f$F��G.��x����#��L��'(���"<�c�'�5�M��

uR�f�@'�)�e���]� �>� �k`$��"'��� �W����'����$IF��=M)�Router C����L�]��'5�=)Router B

R�� ?���� ?��)��F���

-show ip ospf neighbor

uR�=)��%!�Router C�C$��C�5�M�Router A�=��%��6��1�"<�Neighbor table��uR��1$5�M��!)��2�)�k`$!�"���DR��)�BDR"��'��� W����'����$IF������

-show ip ospf neighbor detail

��R�6)�=)��%F�DR���BDR����9�)��#�!�%��PHPHPHP��uR�� W�"!�2��iG��\�4��e���k`$5�Router C�����Router B��$.���

-show ip route ospf

uR�=)��%F��Router C��(���� ������;����L�6$�$��X�@'�5�TzOHOQHTHP���TzOH{PHTHP����j�>���^5�_Router A��(��Z ���192.168.1.1Z5�I����%��$.�����L�Router C��

uR�/0%��G.�� �/�#'!M����G�.�����L��+�I��w����"<�7I'FF�Point-To-Multipoint ��

Page 55: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

Multipoint Sub interface ��uR�����\�4'F����I��G.�"<��Multipoint interface

uR�,$B�� ��Point-To-Multipoint�=��%��e5�4��Z%5��!�$.�Neighbor��5��5��I5�@��Static�����|!�Z����j�>�Non-broadcast

uR�6)����'B��'5��!)��DR���BDR�����

����

uR�=)��%F���I�����*�$V���<��Router A����7���{�*0#1)�Router's�(A,B,C)=)��%!�����Router C , D������5+$1$ �sub interface�$.��� ��s0/0/0.2�=)��%!��Router C

��Router D�6)�n9!�"<�subnet �G.���6)�,$B��Multipoint���R�=)��%!��s0/0/0.1�$.���$!�Point-To-Point���uR�*�$V��3G.�����"��4��6�2���^��@'���=>?���$IF����uR�E �!�����-'�F���GNS3�6�2���G.�^��@��"<�����

Area PVC��Ip address interface��Router

P��Tl��TQOHTlyHTHT S0/0/0.1 RA

P��Tz�Ty��TQOHTlyHOHT��S0/0/0.2 RA

P����TzOHOy.1.1��Loop 1 RA

P��{P��TQOHTlyHTHO��S0/0/0 RB��P����TzO.39.1.1��Loop 1 RB

P��gP��TQOHTlyHO.O��S0/0/0 RC

P����TzOH{P.1.1��Loop 1 RC

P��SP��TQOHTlyHOH{��S0/0/0 RD

P����TzOH{THTHT��Loop 1 RD

Page 56: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���-'�!����6�2���G.�"<�Sub interface�*0#1)�����Router B , C , D

uR�����K+��a�X`$���� ?��h�'�F��Router A����

*-RA(config)#interface serial 0/0��*-RA(config-if)#no shutdown���*-RA(config-if)#encapsulation frame-relay

��uR�6)�7�[;'���F�(��I�����K+��a�"<�serial interface�e��['��f$!�X`$���F�(��r�encapsulation

���$!frame-relay�����

*-RA(config)#interface serial 0/0.1 point-to-point

*-RA(config-subif)#ip address 192.168.1.1 255.255.255.0��*-RA(config-subif)#frame-relay interface-dlci 16��*-RA(config-subif)#ip ospf network point-to-point

uR��F�(�^�����/0%��"<��6)��5$�'�sub interface 0.1�X`$���F�(��ip addressX`$���F�(��r����DLCI�6�V�M�f$!��!�'B��Point-To-Point�=��%��e5�4��c�'�!�����F�(������Neighbor

�6�V�M�� �f$F��G#�p-To-p

��*-RA(config)#interface serial 0/0.2 multipoint��*-RA(config-subif)#ip address 192.168.2.1 255.255.255.0��*-RA(config-subif)#frame-relay interface-dlci 17��*-RA(config-subif)#frame-relay interface-dlci 18��*-RA(config-subif)#ip ospf network point-to-multipoint

uR��5$�'���F�(��I�����K+��a�"<�sub interface 0.2�X`$���F�(��r�ip addressB��r����,����6)���(�)�X`$���F�(DLCI�� �7������-��RC���RD$.��6�V�M�f$!����B?���F�(��r���

P-To-Multipoint�����

*-RA(config)#router ospf 1��*-RA(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-RA(config-router)#network 192.168.2.0 0.0.0.255 area 0��*-RA(config-router)#network 172.28.1.0 0.0.0.255 area 0��*-RA(config-router)#neighbor 192.168.2.2��*-RA(config-router)#neighbor 192.168.2.3

uR��I�����K+��a�"<���6$�$�����������-��K+��a�X`$���F�(OSPF�X`$���F�(��r�ip address

�=��%�������-�Neighbor�� �7���RD���RC�6�V�M�f$!��x��j�>��P-To-Multipoint

��*-RA(config)#interface loopback 1��*-RA(config-if)#ip address 172.28.1.1 255.255.255.0

uR��5$�'���F�(��I�����K+��a�"<�loop back interface�����uR���#1�7������-��K+��a�X`$���$IF��� +�I��K+��a�"<�Router��=$�!�=L�=�����

Sub interface��

Page 57: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���#1�������-��K+��a�Router B

*-RB(config)#interface serial 0/0��*-RB(config-if)#ip address 192.168.1.2 255.255.255.0��*-RB(config-if)#encapsulation frame-relay��*-RB(config-if)#frame-relay map ip 192.168.1.1 30 broadcast��*-RB(config-if)#ip ospf priority 0��*-RB(config-if)#ip ospf network point-to-point��*-RB(config-if)#no shutdown��

��*-RB(config)#interface loopback 1��*-RB(config-if)#ip address 172.39.1.1 255.255.255.0��

��*-RB(config)#router ospf 1��*-RB(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-RB(config-router)#network 172.39.1.0 0.0.0.255 area 0

uR���#1�������-��K+��a�Router C

*-RC(config)#interface serial 0/0��*-RC(config-if)#ip address 192.168.2.2 255.255.255.0��*-RC(config-if)#encapsulation frame-relay��*-RC(config-if)#frame-relay map ip 192.168.2.1 40 broadcast��*-RC(config-if)#ip ospf network point-to-multipoint��*-RC(config-if)#ip ospf priority 0��*-RC(config-if)#no shutdown��

��*-RC(config)#interface loopback 1��*-RC(config-if)#ip address 172.30.1.1 255.255.255.0��

��*-RC(config)#router ospf 1��*-RC(config-router)#network 192.168.2.0 0.0.0.255 area 0��*-RC(config-router)#network 172.30.1.0 0.0.0.255 area 0

uR���#1�������-��K+��a�Router D

*-RD(config)#interface serial 0/0��*-RD(config-if)#ip address 192.168.2.3 255.255.255.0��*-RD(config-if)#encapsulation frame-relay��*-RD(config-if)#frame-relay map ip 192.168.2.1 50 broadcast��*-RD(config-if)#ip ospf network point-to-multipoint��*-RD(config-if)#ip ospf priority 0��*-RD(config-if)#no shutdown��

��*-RD(config)#interface loopback 1��*-RD(config-if)#ip address 172.31.1.1 255.255.255.0��

��*-RD(config)#router ospf 1��*-RD(config-router)#network 192.168.2.0 0.0.0.255 area 0��*-RD(config-router)#network 172.31.1.0 0.0.0.255 area 0

Page 58: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR� �W��4���4 �t�4'�!�=M)���}��'���(��#F����(�4��=L��%F��K+��a�7��X`���4����uR�'�!��h�� W���show ip ospf neighbor

���

����uR�*�$V��"<��%!��=)RA�������=)��:�%F��C�BW�*0#1W�������F����(�4��}���State full

��1$5�M��!�DR , BDR�������uR�2��� W��"!show ip route��

����uR�=)��%!�RA�K���Y��r�2����L�&�.G�����@��7���5����1$5�����uR�p��2��� W�show ip ospf database��

����uR�=)��%!�RA��5����K���Y��r�2��\�45�Router-id���#1�7���Router

Page 59: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�$.�X����� W�show ip ospf interface��

����uR�7����� ��%!�serial sub interface��(����� �-'�5�iG��6�V�M�f$!��Router-id

uR���#1���L�=M)�7I'F!�RDK���Y�� ����L�7V5�=L�X�@'�5�>� �C�!�"�������uR�� )�6�?��h�'�F��show ip ospf neighbor

��uR�� )�"!�r�show ip route

����uR�=)��%!�RD�����'��K���Y��r�2����L�Z.G5�=)�X�@'�5�172.28.0.0 ���TzOH{THPHP���TzOH{PHPHP �

�^5�_���RA

Page 60: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��uR�$.�p��2��� W�show ip ospf database��

������uR�=)��%!�RD�n9!��5���Database�����*+$1$���RA�=L���L�X1��j�>��*0#1W�"(���j�G���RA��

�6)����*0#1W�7��+�G5�iG��$.Data base�����uR�=)�$.��/01��B)���L�7V!��F.���L��7��C���=L�X�@'���K���Y��r�2��=)��:�%F���#������������;��3G.

*��1��I5�@���#b01)����������uR�6$�$�����K+��)�� ��B)�/01���L�7I'F!�=)�7�(��9�`)�=)�Z%5�iG����BW�/0%��ospf�� �F���!)�$.�

�6�V��f$!�j5���=$��point-to-point �����#1��1$5����2 �*0#1)��r�r�������e�8!�=L�Z%5��#F���m���Ip route6�2���7����������B)���L���#1�� �&�.G���I5�_�����1$5����

Router a ����7V' �router b , c���#1��router c�C�5�=)�X�@'�5�Router b������V'������;�������L��1� �"<���F<����L�Z.G5�e���C��5�M����� ��@�routing�=)�X�@'�5�e�����4'5�"�������L�Z.G5

�^5�_�C������(Frame-relay map ip 192.168.3.1 19 broadcast)�p� �=)�TQOHTlyH{HT �6)�$.�ip address

����,�-�router b������DLCI����,�B�$.�Router A�=L�Z����j�>��router c����mI<�7V' �dlci��(��TQ��

��uR�$�����"<�/01�Z4�)�$.��/0%��G.�� ��F�#'!��F.���L����6$ospfm�����7#��w����=$�5�=L��F��)�����

Page 61: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��Point Mode-to-debug Output for Point

��uR�������*/�(���9�������\�4'F��w����G.�"<�debug�����R�� )�^5�_�����debug ip ospf adj��

����uR�=)�C�!�=L�X�@'�!�Router A�/�F����$I5�LSA ��I@F�����P� area�X`$���$I5��r�router-id

�r�� �K�!����*���(���'�5�192.168.1.2�Database description����uR��� � �"<�}���)��(�4��=L�C�!��r�2 way�6+��'��$ $I5���database���R��3��+�\�����#1�7��=)�C�!�slave , master�=)�p� �p-To-P��#�<��1$5�M�DR ,BDR

R���7b�����7��6+����C���=L�X�@'���� W�G.�6�B�� �C�B)���L��� � �� ��#��I'!(state)

R ��!��1�����\�4'5�e���C�!�neighbor�6�B�� �serial interface

Page 62: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

State Advertisements-Link ��uR�w����G.����.)���?���F.�� ����#��4'!�"'��/��Y�����%���$#9���� ��.)��1$5�M����.�9���X8!��.�

�.��w����G#�������W���*��%��e����6$�$�������# �-'�5�"'��K�!�����*���(�/�F���'5�e����<�4 ��#����'���$I!�e�����K�!�����*���(�"<�*+$1$������;���X�''!H��

��uR����.��#F��]��'F���5G������b����� $#9���link state database (LSDB)�����link state advertisement (LSA)����uR4'F��w����G.��<���".�� ���virtual link ���OSPF router types����

�$.�� �Back bone router���area border router (ABR)�����autonomous system boundary router (ASBR) �����OSPF LSDB overload protection�6)�"<���[!�=)�X�@'�!�e�����metric�� �-'����H����

OSPF Router Types

uRM����Z�s)�"<�K�6$�$�������-'�!�=)�X�@'�!�OSPF��50��X ������*��[V��K���;��"<���$#��7���

�*0#1)�+��Router'sV5�K���;���50��������������r��3G.������Z��'5�������7 �4'���% �k�J������TR�������K����4��*�2�����#���'5�"'��CPU���#%��,�-��RouterK������78<)�&�����j�>���"'��

�C�B)���L����Y�� �&�.G����# �-'�5����OR��% �����Routing table���-'������Z����routing summarization��`��?<���-'�����

(default)���#1�7��e�B�=$���"'��K���;��+���=?<�router��1������6��%���% �k�V�<�*��2��H����{R��% ����LSDB table$5�6��%��G.�=)�Z�������<��1Network topologyN��*0#1)���K���;��7�

Router's�U������K�!�����*���(��% �k�V�<����;��"<�*+$%��H����uR���L�K���;��3G.����I��Z%5�7��;���3G.�Z�����AREA'S�^_�F ��D��I@F �7��k�V��p���area�

���#���I5�@���#4 �7 �4'����*�+�������(�6+��'���$I���I@F �7����C�BW�^_�F���X �K� $�4��H����

��

Page 63: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

OSPF Hierarchical Routing����

uR�" �#��"%5��'����|F��$.�� �hierarchical���

��uR�^_�F ���L����;��7V9���$I��� �F��area's���K�!�����*���(�72 �*0#1W�����K�!�����6+������'�5�

����;��"<�*+$1$���K�25��'��-��7��;���7I������C�B)�^_�F �� ��������1�������5��I@F���n9!�� �p5��'��=���>)(internal)����5�C�B)��I@F �� ���)�p5��'��=���>L����

(interarea)����B���^_�F����)��H����uR�"%5��'����|F��G.�7�45�e���J��TR�"<����; �v�F.�=$�5�=)�]��5�� �F��LINK����; ��#�<�]��5�up and down�"<����I@F T�=?<��2 �

��I@F���"<�*+$1$���*0#1WO��#��75���^5�_���%5�"���C�B)�*� �K�������K+��W����I����$ $I5�M�"<��#F������04 ��#!W�K�25��'�����7��5���['��G#���F4�����#%��mI<�C�B)��I@F �H��

OR��n9!�"<�*+$1$���*0#1W��#���$I��*��2��K���� ��1$5�M��M����5+�4��K�������mI<��#84��X ��I@F����^_�F���"<�*+$1$���K��['��&�� �7��'�H��

{R��% �7I��Routing table���-'�)�X ��� $���I@F���7B+�summarization �>L���2�)��%���7I5���I@F �7B+��F�4 ����Y��;!������!+�)T��I@F ���L��2 �O������.�;F���$I!�M� �=$����n9!�7B+��<��4

���I@F���D�7�4���$I!��.�;F!�=)��!+�)�>L��)summarization��#�% �=$�5�j�G����.�;F���$I!���#�����[�H��

gR�7b�����% �7I5LSU��I@F���n9!�7B+�7|���#!L�p� �area�����

Types of OSPF Routers����uR��#���Z� ��#'������VI5������*0#1W�f$!?���F45�M�=$F4����#���$I��"'��H��TR�internal router�J��7��=$���"'��*0#1W��.�interface's�=$�������;��n9!�7B+��#�����-��

LSDB��I@F���n9!�� ��#!W�j�>���4����#84��X ��I��@ �H��ORBack bone router�J���#��=$�5�"'��*0#1W��.�interface��I@F�����7V' �P�area�X �7 �4���

$�����6$�ospf��I@F���n9!�� �*0#1)��#!?��H��{RABR router�J��*0#1)�".��router's�� ��2�)��#��=$�5�"'��interface��I@F �� ��2�?��7V' �

�C�B)��I@F ���L�]��'���5���� �F�����I@F���3G#���5�#F���@I!�$.���#%��G.�=$�5��I@F �7��=)�p�����7I!������$x����*0#1W�".�=$���C�B)���L��I@F �� �K�!����D�7�4���$I��summarization���L�

routing table���L��#�IF���$I���C�B)�K���Y�� ��#5$'�5�������#�����-��back bone router

��$I5��rback bone router�"(�����L��#�IF��ABR's

gR�ASRB router �J��� �7()�n����#��=$�5�iG����#%��$.�interface ���6$�$����������=$�5������6$�$�����X ��B)ospf����Y�����KM$�$������6+�����'5����B�� ��OSPF��BW�6$�$��������

�n�4����H��

Page 64: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���#%��=$�5�=)����5�router����7���=$�5�=)���������<�f$!�� ��2�)�� $����Back bone router�����C�B)��I@F���7��������s��B)�6$�$����ospf�����=$��<�ABR,ASBR��

uR���#1�=$�5�=)�������� �router������V9F����#'F5����#���I@F �7����I@F �� ��2�?��7���� $���C�BWH��

��

������

OSPF Virtual Links����

����uR����.$��K��$���J�+���j5���=���>L�w����G.�=$F��$.�G.{�*0#1)�Router��

R1 ���R2���R3#1W�3G.�����������$ �$!$�5�=L�Z%5�M���M�)��F�4 ��I5�@���4 ����$ �*0area 0

�7���=$�5�=)�Z%5���!�rrouter �+���7(W�����T�loop back interface�����ip �"(������e�'- ���9�'- ��I@F �"<�=$�5��*0#1Wanother area�� )���s���-'�!�=)�X�@'�!����������3G.�"<�virtual

link ���6)�3G.�X�@'���"�loop back interface��#84��C���=)���R��F �-'������"<�Z�����area 0��4����#84�������=)�Z%5��I@F���3G#�����$���*0#1W�=)�$.�

�"<�*+$1$���*0#1W�7���$.�G.�j�>���s��*0#1W�3G#���5�#F���@I!���'4���#!W��#�����$���K���;�����I@F��P�(area 0)���

R���#1��1$5��!)�t�'9!�Z����7��$'��"<�^@F���G.��F �-'��"<�Z������router�"<�area 2

����7�$ ��rrouter����7V' ��B)�area 1 and area 0��<�����area0���#1�v�F.�router��B)����.���'I@F ����7�$ area 1 and area 2���#%��7V' �j�>��4���r�router �"<�area 2��

��

Page 65: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR����Y�6$I��Cisco�6��3G.�=)�virtual link��9�'-���^_�F���"<�*+$1$���K�!����������=L��#��+�� ��*0#1)���L��#84����router��@I!�����$��� ��2�)�}�����5�iG��^9F��72 �� W�G.��#�<���-'��"'��

��5�#F���@I!���L�7V5�"���01� ��)��$��� ��2�)�}���� ���5��r��5����$#9���$.�G.���.�5�������"'�����Y��5���iG� Cisco ���`$��=)��

��uR�����7���^��@'���� ?���$IF���virtual link�E �!�������gns3

��

��Area Ip address interface��Router

T��TQOHTlyHTHO��S0/0 R1

O��TzOHOyHTHT��Loop 1 R1

T��TQOHTlyHTHT��S0/0 R3

T��TQOHTlyHOHT��S0/1 R3

T��TQOHTlyHOHO��S0/0 R2

O��TzOHOQHTHT��Loop 1 R2

uR�������-��K+��a�X`$���$IF��M�)�Router 1���*-R1(config)#interface s0/0

*-R1(config-if)#ip address 192.168.1.2 255.255.255.0

*-R1(config-if)#no shutdown

*-R1(config-if)#clock rate 9600

��*-R1(config)#interface loopback 1

*-R1(config-if)#ip address 172.28.1.1 255.255.255.0

*-R1(config)#router ospf 1

*-R1(config-router)#router-id 172.28.1.1

*-R1(config-router)#network 192.168.1.0 0.0.0.255 area 1

*-R1(config-router)#network 172.28.1.0 0.0.0.255 area 2

*-R1(config-router)#area 1 virtual-link 172.29.1.1

uRX`$���F�(��I�����K+��a�"<��� �7������-��K+��a�interface s0/0���loop back 1

�6$�$�����������-��K+��a�X`$���F�(��rospf�5�%��� W�G.���� �7�(�� ��#�����F<�4���#�������

*-R1(config-router)#area 1 virtual-link 172.29.1.1

�Z �����#%��X ����.�������7�4���$I����!?����#%���6$I5�� W�G.router-id��(��TzOHOQHTHT����I@F���6�B�� �j�>�T�area�X`��Z%5�Z����j�G���router-id�6$�$�����K+��)�7B+�ospf

��$I���� W�G#��R1#!��|'F5��r�^9F��\�_�6�)��5$�'����'5�����

Page 66: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�������-��K+��a�X`����!�2��*$@-��R3��*-R1(config)#interface s0/0

*-R1(config-if)#ip address 192.168.1.1 255.255.255.0

*-R1(config-if)#no shutdown

*-R1(config-if)#clock rate 9600

��*-R1(config)#interface s0/1

*-R1(config-if)#ip address 192.168.2.1 255.255.255.0

*-R1(config-if)#no shutdown

*-R1(config-if)#clock rate 9600

��

*-R1(config)#router ospf 1

*-R1(config-router)#network 192.168.1.0 0.0.0.255 area 1

*-R1(config-router)#network 192.168.2.0 0.0.0.255 area 1

��uR�K+��)�X`���F��d �!�router 3��5$�'���I!�����F!L�virtual link�� �����=)�Z%5��!)�Z�����

�i0#1�������+��'���K�!��������BRouter��'��;������\�4���!��%F��/�#'!M��F��j�G�����TzOHOyHTHT���TzOHOQHTHT��

��uR�������-��K+��a�X`$���$IF��=M)�Router 2

��*-R1(config)#interface s0/0

*-R1(config-if)#ip address 192.168.2.2 255.255.255.0

*-R1(config-if)#no shutdown

*-R1(config-if)#clock rate 9600

��*-R1(config)#interface loopback 1

*-R1(config-if)#ip address 172.29.1.1 255.255.255.0

*-R1(config)#router ospf 1

*-R1(config-router)#router-id 172.29.1.1

*-R1(config-router)#network 192.168.2.0 0.0.0.255 area 1

*-R1(config-router)#network 172.29.1.0 0.0.0.255 area 2

*-R1(config-router)#area 1 virtual-link 172.28.1.1

��uR����#1�����*��BW�K+��a�X`$��Router 2�=)�Z%5��^9F��"<�_��5$���� ��F�#'!�=$�!�=)���4!��

�6L�X`�Router-id�6)��5$���"<�w��W��% �$.�virtual-link���L���;5�iG��$.��!W��5��#%�������7B+����L���;5��!W�j�>��^9F���5$���"<��BW�\�@�database�������-��Router 3��

Page 67: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��uR�� )�6�B�� �j�>��*0#1W������%�'F��*�.�;����$IF��=M)�show ip route��

��

uR�6)�Z!�%���%!�route�������-��TzOHOyHTHT���TzOHOQHTHT �����IA���F4���.��

ospf inter area���s�C�B)�^_�F �� �C�area 1

��uR����,�B�� )��1$5���!�r�virtual-link�$.��show ip ospf virtual-link

uR��5��������!)��F.��%!��router-id�r��(�4���4 ��''��iG����#��B�� ������"'���I@F������area 1

�6)���interface �6�V�M�f$!�����#��B�� �c�-5�"'��p-to-p��(�4���#�<�"'�����������state/full ����7b�����K+��packet interval time���

��uR�K+��)�� �"#'F!��F.��virtual-link�K+��a�m���� ��.����

I'F!�=)�7�(������� )�=)�6$()�=)�Z%5��B)�w�+���L�7virtual-link�6)���['5�M�router-id�)���num�area �*0#1)�+����2����# Router��(���=$�5�"�����#��B�� ������"'���virtual-link

����^�����6�2���=)��F`�'<�>q<S�*0#1)�router�=$�!�=)��5�!��n9F<�V-link�=)�Z%�<��5��#1�����.)���4!����$#% ����

TR�router-id����,�-��Router��(�4���4 �=$�F��iG���BW���OR��#��7V' ��I@F �i)�"<interface serial��#��B�� ���5�"'���I@F���Z��<��(�4�������=$�'��"'��

�6)interface serial��I@F����(�����'����$IF��H����

Page 68: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��OSPF LSA Types��

��uR��/0%��G.�"<����'F���������-���9�'-���f$!W��LSA����Y�6$I���Cisco�=)�LSA�"<���Y)�

�������-��K�%���� ��#b�F�LSDB�������-��K�!�����*���I�����B�K�%��"#<�LSDB�C$'�����������-��f$!W�������'F������B��I@F ����K�!�����)��� ������;��������B�K�!��������K�%���3G.��

LSA����

����uR��:�Y�������'F��f$!W��(��� �T��(����L�S�����TR�Router LSAs�J����#1�7�Router���I@F ����7V' area��5$�'���$I5��2�)��)�*� ����

Link Advertisement���� ��#�<���G5�link state���7V�'���^_��F����)��I@F������K�!������#��7V'�����#���L�K� $�4���3G.��;F���$I5��rF ��*+�� ���F�4 ��I@H��

�f$!)�7���LSA�v�F.�=$�5��9�'-��� 20-byte LSA headers����D�����,��-��7�I���G�.�"�<��$�G �=$�5��6�W�f$F���Router-ID�� ��

��OR Network LSAs�J��7��5�iG����#%����# �DR��$I5��5$�'��Link advertisement�*0#1)�7�����

Router��+$��1$ �=$�����"��'����������V��'�����������I@F���"��<�K��� $�4���3G��.��;��F���$��I5����r����F�4 ����I@F �"��<�*�7%���6�W�7I���=$�5��*0#1W�3G.��#���1$'��LSA���<��$�G �ip address����,�-��DR��

��uR�ABRs��5$���'���$��I��summery link advertisement���f$��!�7��������#��m��������^_���F�����,���-��

���(��f$F�����,�B{�L�^5�@��e�$5����6)���K���;�route��#�����-���D�����e��$�����<��$�I5�X�����f$F��*0#1)���L�^5�@�ASBRs�6)���route���#�����-����

R�6)�p��2��f$F�����,�-��7I���"<��$�G �=$�5��link-state ID*+$VI������;�����,�-����R�X����f$F�����,�-��7I���"<��$�G �=$�5��Router-id�,�-�����ASBR

uR��I@F �7B+�K� $�4���3G.��;F�����$F���5G.��$I��backbone area�����SR�n �-��f$F��autonomous system external LSAs�J��*0#1)��$I�ASBRs��5$�'����

Autonomous system�������B�external link advertisement ���@��e��$���#�<�=$�5�����*0#1)���LRouter ��C�BW�^_�F���7����L�K� $�4���3G.��;F����$I5��r�C�BW�^_�F���"<�*+$1$���

�^_�F������� STUB ���

Page 69: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

'���$V��X`$���$(?�f$!W�3G.�� �f$!�7��7���k`$��"����

���� �6�W�f$F��=)�k`$���I�����*�$V�LSA�n9!�7B+���+�����'5����L�C�4'��M��mI<�*� $���I@F��

�^_�F���BWC��*0#1)�����7b�����3G.�6+�����'5�Router���9!����K�!����X`$����#1�7���$I5����#�<�=$�5�C�BW�*0#1W�X ��#�+����Router-id���������-��ip address���,�-����

RRR��

���*�$V��� �"!�2��f$F��=)�k`$����!�2�LSA�����#1�7���$I5router��)�K���;�����K�!����X`$��

��;��*0#1)�".�� ���#��7V'����Router��#��X85����#��7V'���C�BW�subnet mask�7���$I5��r�router�6���q����L�7b�����3G.�DR���L��.�;F��$.��$I5��r�"(���*0#1)�router's�M���I@F���n9!�"<�

�^_�F ���L��#���5C�B)���

Page 70: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

���� �p��2��f$F�LSA�����I@F������K� $�4 �����C$'�5����L��������3G.�7������#��L�6$�$��K�!��

�*0#1)ABR������#�+�����'5��ABRs��85)��#�B���=$����mI<�route summarized����K�!�����AS

��RRR��

�����s�C�BW�KM$�$����������4����*�$V�ospf�7B+��#�+�����'5��AS�� $��(Autonomous

system ) �*0#1)������#�+�����'5��ABR���ASB

Page 71: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

�������� �-��*�$V�LSA�� ���?��"'��AS�*0#1)�^5�_�����.�;!��'5��e�'- �ASBR��

���(�)�7��7B+��.�;!��'5�AS��#�B���=$�5����9�'-���Router-id����,�-��ASBR������RRR����

uR�=L�Z%5����b�<��w����G.�7�% ��'5�"���*+$1$���K�!�����*���(�=$���7b�����3G.�=)���4!���#1�7B+�Router��".�7.����$ �� ����;��e�������3������"'���.�point-to-point��)�point-to-

multipoint���#��L�7V5�e������1��-��C�BW�^_�F���".�� ���#���1$' �$.�"'���I@F���".�� ����*0#1)�����7b�����3G.�6+�����'5��Router$1$������;�����AY�7����4'��"�����#�<�*+H��

���#1�7B+�� W�G.����'����$IF��7b�����3G.��%�'!�C�!�"���Router�� W�G.��F��t�4����

Database���#%�������-������Router A # show ip ospf database

��uR�7B+�*+$1$���K�!�����7��t�4���$I5�� W�G.����#1�7B+�K�!�����*���(Router��.�;!�=L�$1��

�72 ��#84��X ��@��' �K�!�����%F��7�V9'����� W�G.��%�'!Router-id�#��m������K���;��".�� ����� W�G.��%�'!�"<�*��<��K� $�4 ��%F���#��*+$1$���*0#1W�".�� ���I@F �7�����K�!�����%F���r��

��

Page 72: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

�f$!�k`$��"'��K� �4�Route ��

����

�k`$���I�����*�$V�!�"'��\�����7��Z!�%���.�.�;Route�7B+�Routing table��R �\� O����,�B�$.��Route��I@F���n9!�7B+�� �in the same area

R �\� IA�$.��Route �n9!�"<�������I@F���c��B�� �AS

R �\� E1���E2����,�B�$.��Route�6)�c��B�� ������AS�

��

Page 73: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

OSPF Route Summarization�����uR�9�����4'F��w����G.�"<��7����Route Summarization�*�b�<��Summarization7�I5��!�".���

�� �� Routing Table�*� ������m[8��7�IF<�j�G���CPU���#1��$I5�� �F��Router�&��' ����C�B)��I@F ���L�&�.G���5�5�� �F������5�iG�������H��

uR�� )�X`����9����85)���4'F���Default Route�6$�$�����"<�OSPF

uR�6)��$#9 ��summarization �� ��2�)�X��%��$.��_����7���routemI<�� ���@��"<��#��B+a���uR�7b������;'!�� �7�I5��!�$.�3�b$<�� ��LSA�K������p5����������-��LSAU���uR�6)��% �� �7�I5�����routing table �K�!�����*���(���LSDB��

uR���.���IY���L�w����G.���IF5�Route Summarization For interarea And external ����uR�6)��$#9 �Route summarization for inter area

R��$I5����#1Router ABR���(���6��I'����(ip Addressing)�K���;����,�-���Network����$������#1�7�� Router��������-���I@F���n9!�� �7�4���$I5��rsummarization�Y�7���������� �������

�72 ������' ��I5�@����(�'��=$�5�=)�$.��� $��&$�@��192.168.1.0 , 192.168.2.0 , 192.168.3.0��G�.�H��

R���#1��$I5��r�ABR�3G.�6���q��Route�7����4��summarization���L�BBR��Back bone routerH�

��uR�6)��$#9 �Route summarization for external area

R���=$���� �F��I@F �v�F�area���#1��#��=$�5��I@F���3G.��Router���s�6$�$�������-'�5�Ospf

�������3G.�"<�=$�����I@F���3G.����6$x����������=?<ASBR����#����$I�����#%��G.�

Route summarization���L��#����q���$I5��r��I@F���3G#��,�-��BBR

Back bone router3G.�"<���$I5�� �F��������BBR�*0#1)��5G['��ABR�K�25��'��3G.��#|'������#�!�%���� E1��)�E2�c��B�� ���I@F���c��B�� �K������3G.�=)�����7��+�G.��AS

��

��uR�=L�k`$���I�����*�$V��ip addressing�7��������(�'��"<�����''���route summarization

�}��2��^5�_����j�>���#��6)subnet mask���

Page 74: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

��P���OSSHOSSHOSSHP�

��O���OSSHOSSHOSgHP�

��g���OSSHOSSHOSOHP�

��y���OSSHOSSHOgyHP�

��Tl���OSSHOSSHOgPHP�

��{O���OSSHOSSHOOgHP�

��lg���OSSHOSSHTQOHP�

��TOy���OSSHOSSHTOyHP�

���OSS���OSSHOSSHPHP����

uR�6)����'B�������j����7#�5�^�����6��%��subnet mask�7�4��j ��(��F��summarization

R�6$I������YCisco�6$�$�����=)�OSPF��9�'-���K������6�B��'� ��^5�_�6$_��4 �7��5����6)sub net mask�7���,�-��Route�� �-'���F��7 �4'��7#��6$�$�����$.��Classless

����5�$#<VLSM��R�variable-length subnetH���R�85)�6$I��M$�$�����e������!)��K�72 �RIP V1���IGRP�����B���-'���M�VLSM

�7���X�@'���M�KM$�$�����"#<Route summarization��#������

Configuring OSPF Route Summarization����

����R�u��-'����$#��C� �k`$���I�����*�$V��� )�Route Summarization�� W�G.�������2 )�3G.���

��$IF�������"����^��@'�����

*-Router(config-router)#area 1 range 192.168.0.0 255.255.224.0��Router(config-router)#summary-address 192.168.0.0 255.255.224.0Ru��

��uR�*0#1)������#4`��Z%5�� �W�3G.�=)���4!�=)�Z%5�� �W�3G.�X`$���$I!�=)�7�(������Router

���#����$I��"'�ABR�0#1)��)�ASBR�7����'5�"���j�>��Route summarization

�6)�3G.��;!��'5��*� $���I@F���7B+�*+$1$���*0#1W�7��route��I@F���7B+�P�area

Page 75: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR���I������ �W�:�Y���*-Router(config-router)#area 1 range 192.168.0.0 255.255.224.0��

R�Area id�J�����,�-���(���$.�7�4���$I'��"'���I@F�summarization�#����R�rang address�J���!$F4����$�% �$.ip addressing�"'���7�4���$I'�summarization�#����R�mask�J��6)�$.sub net mask���[V����#����$I���iG��ip addressing� ���@��"<��#@[`����R�advertise�J��� )�$.�i���'B���k��5�j�G.��;F���3G.�=)�\�4!�=)�Z%5�������@[`��4���5�%���@��

���`�'<M����I��".default�� W�G#����R�not-advertise�J�����;��3G.��;!��5�!�M��F��>)�� W�G.�X8!��R�cost�J��6)�G.����(�$.�ip route�85)�i���'B�� )�$.������uR�� W�:�Y�J��

�Router(config-router)#summary-address 192.168.0.0 255.255.224.0Ru����R��summary-address�J��6)�$.�ip address�7����5�!�iG��summarization�����R�mask�J��6)�$.�sub net mask���[V����#����$I���iG��ip addressing� ���@��"<��@[`����R�not-advertise�J����;��3G.��;!��5�!�M��F��>)��48!�i���'B�� )�$.������uR�� +�I��*�$V������"����^��@��6�2���=M)��$IF��H����

����

��

Page 76: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR��E �!�������6�2���G#���$IF�GNS3��"��'��6��%��"<�*�1$���72 �K+��a�n9!�X`$���$IF��J�����

Area Ip address interface Router

P��TPHPHPHT��S0/0 R0

P��TPHPHPHO��S0/1 R0

P��TPHPHPH{��S0/0 R1

T��

Create from

192.168.1.1

continue to

192.168.4.1

Loop back 1-2-3-4 R1

P��TPHPHPHg��S0/0 R2

��

Create from

172.31.1.1

continue to

172.31.4.1��

Loop back 1-2-3-4 R2

��uR��������-��K+��a�X`$��=M)��$IF��Router 0

*- R0(config)# Router ospf 1

*- R0(config-router)#network 10.0.0.0 0.0.0.255 area 0

��uR��������-��K+��a�X`$��=M)��$IF��Router 1��

*- R1(config)# Router ospf 1

*- R1(config-router)#network 10.0.0.0 0.0.0.255 area 0

*- R1(config-router)#network 192.168.1.1 0.0.0.255 area 1

*- R1(config-router)#network 192.168.2.1 0.0.0.255 area 1

*- R1(config-router)#network 192.168.3.1 0.0.0.255 area 1

*- R1(config-router)#network 192.168.4.1 0.0.0.255 area 1

uR��������-��K+��a�X`$��=M)��$IF��Router 1��*- R2(config)# Router ospf 1

*- R2(config-router)#network 10.0.0.0 0.0.0.255 area 0

*- R2(config-router)#network 172.31.1.1 0.0.0.255 area 1

*- R2(config-router)#network 172.31.2.1 0.0.0.255 area 1

*- R2(config-router)#network 172.31.3.1 0.0.0.255 area 1

*- R2(config-router)#network 172.31.4.1 0.0.0.255 area 1

uR��� )�X`��=����������I�����K+��a�X`$���F�(��I�Route summarization��9��C�!��' ����� W�X`���4���

��uR�� )����'���=M)��$(?��show ip route�X`��7�(��$V��C�!��*0#1)��r�2������� W��

Page 77: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

R0��

��R1

R2

��

Page 78: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR��6)�=)��$V��"<�C�!Routing table�Y���L����F����*������mI<��#����{�*0#1)�Router's���j�>�� ����)����Y�X �6����$.���<H��

R �6)�Z!�%��C�!Route�"'��\�� ��I@F���n9!�c��B�� �IA�C�B)�^_�F �� ��#!)��F4��3G.��H��uR��%���G.�7��I'���$I���iG��i������ W�X`$��=M)��$IF������

*- R1(config-router)# area 1 range 192.168.0.0 255.255.224.0

*- R2(config-router)# area 1 range 17231.0.0 255.255.224.0

��uR�� W�X`���4���%�'F��=M)�C�F����

R0

��R1

R2

��

Page 79: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�� )��F4`��=)��4���F!)�C�!�route summarization�6)�7B+��5�1��@���5$�������!)�Routing

table�����7V' �$.��interface�����null0�<�����L�������6���L��'5�� �F���!)�$.��@���G.�*�b��Router�6)���$�% �c��B������network��#��7������"'��summarization�������3G.���I�L��'5���

Drop�XF ��'5�"���j�>��loop�D�����;�������4'��������6���L����>L�j�>�����6�2 TzOH{THSHP

�������3G.��I��@ ��'5�\$���!?<��I�q���$I����.�%5����� �F�����#%���#���5�"'��K���;���������������drop��$I5������C�]� �XF�5�j�G����#F����4'�5�"����B)���#1���L����������1$'�loop

Route Summarization Configuration at ASBR

uR���L�7I'FF��=M)�Route summarization�*0#1)�����ASBRG'�����*0#1)�=)�*��ASBR����2�)��)��I@F ������V' �*0#1)�".one area or more���s��B)�6$�$�����7�����ospf72 ���

RIP��)�EIGRP��(��7����=$����AS�e�'- �H��uR� )�$.��C�B)�w��+�"<��2�)������\�4'F���FF�����5�1�� )���-'�F��6�2���G.��<����

redistributed������;!�*+��q���$I5�$.��72 �C�BW�KM$�$��RIP�6$�$��������Y�7B+��.�;!�����OSPF�H���

uR�E �!���X �������3G.�����"����6�2 �^��@'���$IF���/�Y�=)�GNS3H���uR��5��#1�X`$���$IF��*�$V��"<�k`������$.��Router7V' ���BW���#%������#84��X ����V' ���

��I@F���X P�areaH�����

Area Ip address interface Router

T��TzOHTlHlgHT��S0/0 R1

2 (AS 2) ��Loop 1to 4 from

172.16.1.1 to

172.16.4.1

R1

T��TzOHTlHlgHO��S0/0 R2

T�� Loop 1

192.168.1.1 ��R2

��

Page 80: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��uR��$IF��=M)�������-��K+��a�X`$��R1�� )�X`$���$I!����M�)������Route summarization

��*-R1(config)#router ospf 1

*-R1(config-router)#network 172.16.64.T 0.0.0.0 area 1

*-R1(config-router)#redistribute rip subnets

*-R1(config)#router rip

*-R1(config-router)#version 2

*-R1(config-router)#network 172.16.1.0

*-R1(config-router)#network 172.16.2.0

*-R1(config-router)#network 172.16.3.0

*-R1(config-router)#network 172.16.4.0

uR���L�=M)�7I'FF��R2

��*-R2(config)#router ospf 1

*-R2(config-router)#network 172.16.64.2 0.0.0.0 area 1

*-R2(config-router)#network 192.168.1.0 0.0.0.255 area 1����

����

uR�*�$V��"<�C�!��=)R2��� ���?��"'�����;��7�I'�5R1�6$�$�����^5�_����j�>��ospf����$.�f$!�=)��E2��6$�$�������s��B)�6$�$�����f$!��!)��F4���.�OSPF7�4���I!�����F!)�C�!��FF������

Route summarization�=M)�X`$���$IF��� )�6)�summarization

*- R1(config-router)#summary-address 172.16.0.0 255.255.224.0

uR�6)�� )�X`���4��*�$V��*�.�;����$IF��=M)�summarization�=L�C�F���R1=$���(�������\�45�� interface Null0�]�� �XF�5�"����'9������loop �*0#1)�����Router

Page 81: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR������ W�X`���%�'!�3G.�R1��5$����null0

��

����uR�� )�X`���4���%�'F��Route summarization��% ��.�;F��Routing table�����R2

����

uR�6)�7��m[`�����!)�C�!�network�mI<�� ���@����L�H���

Page 82: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Default Route in OSPF����

uR�G.�"<��*�b�<���4'F��w���Default Route�"��b���0�����"<�}!�'!�mB�j5���=���>L���4!������.����Z�����"<��1� �M��!?<��#��7�4��"'����������mB���-'�'��f��9��7��=���f�<�7��"<�}!�'!�mB�

�� )�^5�_����j�>��"��b���0�����"<�+$1$���}!�'!MDefault Route

uR����Y�6$I��Cisco�6$�$�����=)�OSPF��� )���-'�!�=)�Z%5��!)�default-information originate

��;!��'5�"���j�>�Default Route�������I@F �7B+�Default area�+�I��w����"<��#����\�4'F��������;!��'5�"�����'I5�_��1$5��!)�Default Route�*0#1)�����Router��5�B��H��

uR��;!��.���5+�4���I5�@���.���I5�_�6�)�Route 0.0.0.0��^5�_����ip route �� )�$.��static

uR�� )���-'����.���I5�_�"!�r�default-information originate�������X`��X �always���� )����'��������� �"<�j�>�ip route��I5�@��static�72 �ip route 0.0.0.0 0.0.0.0 3.5.2.2

������X`$���always�7�[;���5���j!���� �"<��85)�router��!�������4 �default route

��1$5�=���/$��6$ W�� �6� �C�"<default route�M��)���uR��5��X �����'��� �W�� )���-'�����5���'B�� �)��.��� W�n9!��R�always �J���;!�".��#��b�<default route��}!�'!�mB�v�F.���5����=���' ����1a����uR� W�X �����'��� �W�� )���-'�����5�"��b�����5���'B�� �)��.����

��

Page 83: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����uR��I�����*�$V��"<�C�!���'5��!)����������alwaysj5���=���>L��!)���������5�� W�G.�=)��.����

Default route �7����ip 0.0.0.0�e�8��=L��5���j!)���default route �7����C�B)�THTHTHT����)�"`�'<M�^5�@��=L�p� ���#���3G.�����v�������� W�G.�=?<default route7B���"'����

5�@���;F���*�Y�� ��I5�@��".���`�'<��IPHPHPHP������X`��=��always�����v�������� W�G.�X ��7B���=)default route�6$�$�����7B+�C�B)�ospf�7�����#F����ip address�72 ��B)�THTHTHT��

�����

��uR��F5����1$5��!)��I�����*�$V��"<�C�!�2 internet provider �D������!���I �7���K+��L�X`���

��� �B���FrM���Router�7�������9�'- ���(�X`������Router���-'���'5�"���

Provider A�X`���'5�=)���"��b���� �-����I �$.��!)�����provider B��'5�"_��' �mB�=$�5�"����]�� ��F��� �-'��6)����(�\�'B�C�!��"��b���� �-����I �X ����; metric�=L�����#1�7��"<�

����I��78<W�".�7(W��

Page 84: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR��$IF��=M)�6)�����6�2 �^��@'��default route�E �!�����-'����Packet Tracer 5�e�)�7������������ )��1$5�Malways �i+�4��X`$����-'�F��j�G��E �!���������H��

��

������uR*0#1W�����K+��a�X`$��=M)��$IF����

*- R0(config)#interface serial 0/0/0

*- R0(config-if)#ip address 192.168.1.1 255.255.255.0

*- R0(config-if)#clock rate 9600

*- R0(config-if)#no shutdown

*- R0(config)#interface fastEthernet 0/0

*- R0(config-if)#ip address 10.0.0.1 255.255.255.0

*- R0(config-if)#no shutdown

*- R0(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0�

*- R0(config)#router ospf 1

*- R0(config-router)#network 192.168.1.1 0.0.0.0 area 1

*- R0(config-router)#network 10.0.0.0 0.0.0.255 area 1

*- R0(config-router)#default-information originate

*- R1(config)#interface serial 0/0/0

*- R1(config-if)#ip address 192.168.1.2 255.255.255.0

*- R1(config-if)#clock rate 9600

*- R1(config-if)#no shutdown

*- R1(config)#interface fastEthernet 0/0

*- R1(config-if)#ip address 11.0.0.1 255.255.255.0

*- R1(config)#router ospf 1

*- R1(config-router)#network 192.168.1.2 0.0.0.0 area 1

*- R1(config-router)#network 11.0.0.0 0.0.0.255 area 1

��uR���FrM�����K+��a�X`$���F�(�=)��4��Router�$V�����%�'F��*�.�;����$IF����

Page 85: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����uR� W��%�'!��I�����*�$V��"<�C�!���

*- R0(config-router)#default-information originate

��uR��<�`L�����!��TQOHTlyHTHT�$.�=$�5�"���router����6$x����default route�=)�C�!����

Gateway of last is 192.168.1.1 to network 0.0.0.0�X8!�=L�&$�@���$.�G.��gateway�������6$B���^5�_�����%�'F��� ���?'��jF��5���.�5�!�"'�����;��pc0�'����� )���tracert ��?'�����

���-'�5���#%��=)TQOHTlyHTHT��!)�����default route�����

����uR�=)�C�!�R0��<�`q����(��(�gateway��@���<�`L�����(�����,�-��static�6)��B)�"<�table��

Page 86: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Configuring OSPF Special

Area Types ���uR��� ����� ���������J�6$�$������$I5OSPF�e5�4'���.��K���� ��r�2���F�4 �^_�F ��

STUB area������totally stub area������not so stubby areaH��� uR���-'��� �\�#����stub areas��I ����;'!�� �����=L�$.��7b���LSA7��I����I@F �7��7B+���

�� �� LSDB�� �� �7��I���Routing table��I@F �7��7B+�H��R����Y�6$I��Cisco��!L����-'���#@@B�"<�$485�=L�����K���;��"��V �����Z%5stub areas��

�X�$'������v��������#������;��/+)�� ������^_�F���3G.��x�H���R���������V'B�not so stubby area = NSSA

��Configuring OSPF Area Types��

��uR����]��'5�/0%��G.��^_�F OSPF��9�'-���J��R�standard area �R�back bone area���stub area���totally stub area��R�NSSA����

����

uR�7b����� ����I'���iG��f$F��Z� ������I@F �7��e��$'���$IF��LSA�����TRstandard area �J��7b����f$!)�7��7�I���I@F���3G.LSA�72 �Link state update����

Route summarized ���. External Route

��OR�back bone area�J��C�BW�^_�F���7���#��7V'5�"'������b����I@F���".��I@F���3G.�D��

��I@F����������area 0�D����I@F���3G.�"<�^_�F�������7b�����7��6+�����'5��D�f$!)�7��7�I���I@F ��.��7b���LSA packetH���

��{R�stub area�J��7�I��M��I@F���3G.External route������� ��72 �C�BW�KM$�$RIP�N��7�I��M

�6$�$�����C$�OSPF�U��72 �e�'- ���|!���L�]��'���I@F���3G.�K+�)�>L�rip���-'����#!?<���Default route 0.0.0.0�����#��$5�iG��$.��ABR���L�]��'�����6$x�����KM$�$��������^_�F

��I@F���3G.���9�'-�����#1�����C$'���=L����5�MASBR�6)���#1�=$�5�=L�C$��ABR��85)�$.�ASBR�}($��n9!�"<H���

Page 87: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

gR�totally stub area�J��7�I��M��I@F���3G.External route�72 �C�BW�KM$�$������� �RIP�N��M�6$�$�����C$��7�I�OSPF�U��72 �e�'- ���|!���L�]��'���I@F���3G.�K+�)�>L�rip���-'����#!?<���

Default route 0.0.0.0�7�I��M��85)��.��summary Route������C$'���=L����5�M��I@F���3G.���#1ASBR�6)���#1�=$�5�=L�C$��ABR��85)�$.�ASBR}($��n9!�"<�H���

��SR�NSSA�J��7b����7�I���I@F���3G.LSA�C$'������ �z�,$B��4���8���I@F���3G.�stub area

� � totally stub area�I@F���3G.��X�@'��������C$'���=)�ASBR�mI<�H����

����

��uR�stub and totally stub areas�J��7�I��M�^_�F���3G.External Route����\�4��"'�����

LSA type 5�7b����LSA��(��f$F��� �S��D���#!)������I@F���e5�4�����5stub area�)���Totally stub area�����'��K�9�$���}I��_�>)�J��

��TR �_�v�F.�C�BW�^_�F�����L�]��'�����I@F���3G.�� �c��-���mI<�� ��^5(ABR)�=$�5�=L��)�

��I@F���3G.���L�c��- �*���v�F.�D���#1��#�<��1��>LABR���;�������� ��� ��2�)��)�� ��+�C�BW�^_�F�����L�6$�$��X�@'���M��I@F���3G.�"<�*+$1$���*0#1W�7��=L�����������=�

)�*0#1W�3G.�C��D��I@F���c��B�"'��K�#%����L�6$�$���^5�_�78<)���72 ����'BH����OR �*0#1)�7��=$�5�=)�Z%5Router's�7B+�*+$1$���stub area��#!)������#95�4���'5�=)�stub

���#1��85)��C�BW�*0#1W�������#F����(�4�����$I��=L�7�(ABR��!�����\�45�=L�Z%5�stubH�����{R M�*0#1)��1$5�ASBR�I@F���3G.�7B+���

��gR �".�3G.�=$���M�=)back bone area 0

��SR ����1$5�M�=)virtual link�����*0#1)��Routers ��

Page 88: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Configuring Stub Areas

����

�u��I@F���3G.�K�9�$ �J��% �� �7�I���I@F���3G.LSDB�7��I����L�C+�5�iG����I@F���3G.�7B+����#1�����m[8�CPU���RAM���#1�7B+�Router�D��7���<���'5external route����\�4��"'����

�7b����� �n �-��f$F�LSA�(LSA type 5)N����s�C�BW�KM$�$������7���<���'5OSPFU�����uR��������'��Routing�^5�_�����I@F���3G.�"<�default route 0.0.0.0�D����#1�+�)�>LRouter�

=)��I@F���3G.�7B+���-'�5��!?<�C�B)����Y���L�]��'5�default route���L�K�!�����3G.���1$'���$I5�����#1ABR Router��% �7��I����������5��� �C�BW�^_�F�����L�]��'�����6$x����$.��Routing

table�*0#1)�7B+�Router��I@F���3G.�"<�*+$1$���H����uR��I@F ���-'���'5��stub area��� �"<��hup-and – spoke topology�"��b���0�������� ��72 �

�3�5�5�iG��7�<�f��9��"(����<�4�������1� �M�f�<�7�<�f��9��"(���default route�"��b���0�������L��f��9��"(��������$�����6$x����$.�"��b���0������H��

��

��

Page 89: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR!�=)�Z%5�iG��,�-��� W�C�!��I�����*�$V��"<���5�!��I@F �"<�*+$1$���*0#1W�7B+��48���L��#�5$��stub area�� W�G.�=)�6$()�=)�Z%5������area area-id stub ��I@F ����,�-��$.�

stub�������<�`q���F�(�>L�� L�no summary���L��I@F���3G.�6$�'��j�G�<�� W�"(�����L�totally stub�� Area��6$���XF�5�� W�G.��x�summary route�*0#1)���L�routers���I@F�����<�*��� �Z%5�G�

�}!���>L��.�5���"'� stub ��)totally stub�����uR����(�72�5�$#<�"!�2��� W�� )�default route���`�'<M����I�����I@F���3G.�7B+��;F'��"'��

�C����T�H����

����uR�^��@������6�2 ��I�����*�$V��"<�C�!�stub area�� )��<�`L�����!)�C�!��area 2 stub�75$�'��

��5+����I@F �� ��I@F���3G.standard area���L�stub area

��uR�����"����6�2 �^��@'���$IF������$!stub area���totally stub area�E �!�����-'������

GNS3H�������

��

Page 90: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��Area Ip address interface Router

P��TQyHPHTHO��Loop back 1 BBR

P TQOHTlyHTHT��S0/0/0 BBR

P��TQOHTlyHTHO��S0/0/0 ABR

O��TzOH{PHTHT S0/0/1 ABR

O��TzOH{PHTHO��S0/0/0 R2

O��TOyHTHTHS��Loop back 1 R2

��uR�����6$B�����=M)��$IF��BBR����������'��K+��a�X`$���$I!�H��

��*-BBR(config)#interface loopback 1��*-BBR(config-if)#ip address 198.0.1.2 255.255.255.0��

��*-BBR(config)#interface serial 0/0��*-BBR(config-if)#ip address 192.168.1.1 255.255.255.0��*-BBR(config-if)#clock rate 9600��*-BBR(config-if)#no shutdown��

��*-BBR(config)#router rip���*-BBR(config-router)#network 198.0.1.2��

��*-BBR(config)#router ospf 1��*-BBR(config-router)#router-id 1.1.1.1��*-BBR(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-BBR(config-router)#redistribute rip subnets

uR�7B+�����'��K+��a�X`$��Router BBR�G.�=M)�k��)�Router �6$�$������5���OSPF�����6$�$���rip�D������K+��a�X`$��=M)��$IF�Router ABRH�����

*-ARB(config)#interface serial 0/0��*-ARB(config-if)#ip address 192.168.1.2 255.255.255.0��*-ARB(config-if)#clock rate 9600��*-ARB(config-if)#no shutdown��

��*-ARB(config)#interface serial 0/1��*-ARB(config-if)#ip address 172.30.1.1 255.255.255.0��*-ARB(config-if)#clock rate 9600��*-ARB(config-if)#no shutdown��

��*-ARB(config)#router ospf 1��*-ABR(config-router)#router-id 2.2.2.2��*-ARB(config-router)#network 192.168.1.0 0.0.0.255 area 0��*-ARB(config-router)#network 172.30.1.0 0.0.0.255 area 2��*-ARB(config-router)#area 2 stub

��uR��@��X`$���$I!�M�=)�78<)�area 2 stub�����Router ABR���R2�=)�C�!��' �rip routing�

���L�7V�R2�� )��@��X`���4����9��C�!��:�%F��area 2 stub ����

Page 91: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�����K+��a�X`$��=M)��$IF��R2

��*-R2(config)#interface serial 0/0��*-R2(config-if)#ip address 172.30.1.2 255.255.255.0��*-R2(config-if)#clock rate 9600��*-R2(config-if)#no shutdown��

��*-R2(config)#interface loopback 1��*-R2(config-if)#ip address 128.1.1.5 255.255.255.0��

��*-R2(config)#router ospf 1��*-R2(config-router)#router-id 3.3.3.3��*-R2(config-router)#network 172.30.1.0 0.0.0.255 area 2��*-R2(config-router)#network 128.1.1.0 0.0.0.255 area 2��*-R2(config-router)#area 2 stub

uR�=M)��%�'F��*�.�;����$IF��"'���F�����#��)�� )�X`��7�(��.�.�;F��7�(������area 2 stub

��

����

uR�� )��%�'!��I�����*�$V��"<�show ip route�=)��F���#|���rip route���L�7V��ABR�:�%!�7�����.�;F��� +�I��*�$V���<�R2�3G.����L�7V��$.��rip route�X`$���$I!�=�7�(�� +�I��*�$V��3G.��

�� )area 2 stub �� �7������ABR , R2����

��uR�I�����*�$V��"<�C�!��=)�R2����L�7V��external route�� +�I��*�$V��"<�=M)��.�;F��:�%!�7���

�3G.�=)external route��#!�� �X`$5��"9'-'��default route���L�router ABR75$����%�'!�j�>����Area 2 ���L�stub areaH���

Page 92: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����uR�� )��F���#|5��I�����*�$V��"<�default Route 0.0.0.0 via 172.30.1.1�75$����%�'!�j�>��

area 2���L�stub area

uuR���#1�7��75$����'5�=)�Z%5�Router�"<�*+$1$ �AREA 2���L�stub#����\�4'���'5�"�����:�%F�����#1�X ABR�� )�X`$���F�(�� �F���!W�j�>��area 2 stub �*0#1W�"(���������#F����(�4���I<�����

��I@F���7B+�*+$1$��O�'��"��������#1�����:�%F���(�4��6��'��ABR��I@F���3G.�7B+�*0#1W�"(�����7B+�*0#1W�7��7� $��Z%5area 2���L�stubH���

��Configuring Totally Stubby Areas

����

����

uR���L�=M)�7I'FF��Totally stubby areas�D��7�I5�M��I@F���3G.�7B+��!)��I�����*�$V��"<�C�!���#�<external Route���summary Route��% �7I5���Routing table�=)�Z%5����I@F���3G.�7B+�

���#!)������I@F���3G.�7B+�*+$1$���*0#1W�7��e5�4���'5Totally stub�e5�4���'5�=)�Z%5�j�G�����ABR��I@F���3G.�=L�����Totally stub�*0#1)�����mI<��V'I��K+��a�3G.�=)�C�!���Cisco

RoutersH���uR�� )�X`���4��Totally stubby area�@���<�`L�����I@F���3G.�7B+�*+$1$���*0#1W�=)��%!���

Default route ���#1�7��7B+�Router���L���;5��I@F���3G.�"<�+$1$ �ABR Router��

Page 93: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��uR�� )��I�����*�$V��"<�C�!�Totally stubby������mI<�e�8!�C�!�����$.���no-summary��"<

��I@F ����I@F���3G.������ W���<�$.�G.��� W��B)stub�����uR�=)�C�F��� +�I��*�$V��"<�Summary Route��I@F�����L�7V��area stub��$I!�=)�7�(�j�>��

���L��#�5$�'�Totally stubby area�^�����6�2�������7��F����D�� ��2�)�X`$���$(?�network����7B+BBR Router�8!�����L��#9rip network��

��*-BBR(config)#interface loopback 2��*-BBR(config-if)#ip address 198.0.2.1 255.255.255.0��

��*-BBR(config)#interface loopback 3��*-BBR(config-if)#ip address 198.0.3.1 255.255.255.0��

��*-BBR(config)#router rip��*-BBR(config-router)#network 198.0.2.1��*-BBR(config-router)#network 198.0.3.1��

��*-BBR(config)#router ospf 1��*-BBR(config-router)#summary-address 198.0.0.0 255.255.252.0��

��uR��<�`q���F�(��I�����K+��a�"<� 2 loop back interface���#1���L�BBR���L���#'<�`q���F�(��r���

Rip network�7�4���F�(��r�Route summarization�K���;����$�% �3G.���L�����

����uR�=)��I�����*�$V��"<�C�!�R2�7�I'�5�summary Route��I@F���75$�'��=M)��$IF��O�I@F ���L���

Totally stubby area���

Page 94: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

*-ABR(config)#router ospf 1��*-ABR(config-router)#area 2 stub no-summary��

��*-R2(config)#router ospf 1��*-R2(config-router)#area 2 stub no-summary��

��uR�� )��<�`q���F�(��I�����K+��a�"<�no-summary�� W�"(�����L�area 2 stub��'5�"���j�>��

���L��#�5$��Totally stubby area�7�I��M�external route�7�I��M���route summarization

��R���!�� +�I��*�$V��"<��.�;F����<���external route���summery route

��

����

uR�� )�=)��I�����*�$V��"<�C�!�Totally stubby area�:�%F��7�45�����

����uR���#1�� ��2�)�+$1������6�2 �C�!��I�����*�$V��"<�ABR�7�89'������!)�C�!���I@F���n9!�7B+�

���#1�7�������(�9'���ABR Router�� )�^5�_����j�>��area 1 default-cost X�p� �X����(�".�cost�}!���������cost�$.�G.�=���������7()�Router ABR�]�����' �� �-'���'���iG����78<W�$.�

��I@F�����-'�'<����; ���T�area���#1�ABR����I��Z ����BW����W�H��

Page 95: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Configuring NSSAs

uR�f$F��G.��<�`)����NSSA areas���-'�'��72 ��b��@��KM����"<���;!IGRP��)�RIP��I@F �7B+�

��F�4 ���#1�^5�_����j�>�Router ���-'�5�IGRP or RIP����7V' �$.���Router�7B+�+$1$ ���I@F NSSA��;F���$I�����#%��G.�=�<�j�G���LSA type 7���#1���L�ABR����x��j�>LSA type 5��

��I@F���3G.�7B+��.��;'!�f$F� (external route)�7�Y������;F��j�G��LSA type 7���r��$I5�ABR��"I�I����#��Y���L��#�+��q�LSA Type 5���L��.�;!��back bone area 0���

��uR��I@F���3G.���'4��nssa area�����m���(stub area and Totally stubby area)���#1��$I5�

ABR6���q�� Default route ��I@F ���L�nssa �M�����external route�D��e��$���'5nssa�7B+�

Routing table��7�;��G.����O N2 or O N1 (N means NSSA)�����

����

uR��K+��L����,�-��� W�=?<�*�$V��"<�C�!����nssa �$.�(area area-id nssa)�<�`q���F�(�>L����� )no-summary���L��I@F���3G.�6$�''��(NSSA Totally stubby area)����B�K+��a�3G.��

�*0#1?�Cisco router��mI<H��

Page 96: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����

uR�E �!�����-'����*�$V��3G.�����"����6�2 �^��@'���$IF���Packet TracerH�����

���75$����.�;F�����B�� �iG��� W���-'�F��*�$V��"<��F�����K+��a�X`$���$I!�=)��4�LSA type

7���L�LSA type 5��� show ip ospf databaseRu��

��uR�� )���-'�F���85)�����9���.�;F��*0#1)��r�2������� W�G.���-'�F��show ip route�.�;!�"�����

External routeH�����uR�=)�� +�I��*�$V��"<��.�;F��LSA type 7 �7B+��.�;!��'5���I@F��T area ��x��j�>�LSA type

5��9���.�;F����I@F���3G.�7B+���$F� ����L��#�5$����LSA type 5��I@F���7B+�P�area back

bone��I@F ��#!W�j�>��standard area�f$!)�X��1�7�I��LSAH�

Page 97: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

����uR��.�;F��� +�I��*�$V��"<�routing table ���#%�������-��NSSA���-��K��V'BM��.�;!�"�����

��I@F����NSSA�".��F�(������O N1 or N2

��uR)�C�!������6��I'���'5��!external route ��#!)�����OSPF NSSA external type 2��#Fx���

�6$�$�����������Bospf�n����Rip�7�I'����#!)��I@F���3G.�����6��' M����j�G���ospf����uR�� +�I��*�$V��"<��.�;F��ospf database���#%�������-��NSSA���

��uR�C�!������75$�������!type 7 as link states���L�type 5 link states����

Page 98: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

uR�� +�I��*�$V��"<��.�;F��ip route���#%����,�-��A0�"<�+$1$ �$.��back bone area�"'�����#!)��FI9�standard area�"<�*+$1$���Xb�8���f$!)�X��1�7�I������7��"<�*+$1$���*�����I@F���72 �

7��7�I���I@F���3G.��85)����4��7��7b������ �f$!�C��<���M��^_�F���7��� ���?��"'��7b�����H����

����uR�7�I'����#!)�=M)�C�!�external route�"<��.�;F���k��V���#��Y���L��#�+��L�����!��k����7�;��

�� +�I��*�$V�database ���#%��G#�����-������

����

��uR�7�I'����#!)�C�!�type 5 external route��7�;���f$!�� �7b����C���L�+$1��M��k��LSA type

7��I@F���f$!�� �&$�@���$.�G.�NSSA��5��'���$I���#!)�external route�#!)������#'I@F �7B+���Type 7 LSA���#1���L�7V���' �ABR��.���5��r���I�I����#��$����L��#�5$�'����#%��G.��$I5��r�

��I@F ���LP�area�"I�I����#��;��H���

Page 99: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

Configuring OSPF

Authentication

uRw����G.�"<�*0#1W�3G.�������������^5�_����j�>���F�0#1)��5������$I!�e�����x�;�����4'F����uR�6$�$�����7B+�� �-'��������K������ �=��$!�v�F.�OPSF���TR�clear password�J���5�����f$!)�� �f$!�C�����1$5�M�f$F��G.��=�������������6���q���$I5��!?<

�7�4���F�(�>L����������\�;'��7#�5����9;�sniffing�6L���L�packet ����I'�������������send

receive packet���OR�Message Digest 5 (MD5) password�J���I5�@���9; �=$�5�f$F��G.�MD5�X�'�����5�M��

��<��������������uR+��a�X`��=L��6$�$�����"<��������������-��KOSPFZ%�<��#���$IF��"'��K+��a�7#�)�� ���

�K+��L�}����#4`$���$I!�K+��a�3G.�=)���4!�=Linterface���#1�m�����$IF��iG��Router

����B)���#%�QQ���� interface�$.�m����"<�� �-'�!�iG��serial interface������X`���FF��5��)����K+��L�7B+��ospf area��=>q����@��3G.�� �7��C�F���H����

����

uR�6��I'���6���L��F��send / receive packet�f$!)�� �f$!�C�� �LSA�}!���/$��LSAu����)LSADB�6L�� �f$!�C�packet�6$�$�����=�<�ospf�����4���$I5�authenticate7��"<��������

���-'�5�����I�������2 Wospf���-'�!���!�����F!L�Z����j�>���I5�@��3G.�authentication mode

���-'�!�����F!W�j�>�password key7�I'����iG����#%��=�<�����������-'�����F�(�>L���������6)packet�������^��@�����������#���1$5����I'�����������=)�� ���?'������������9���$I���

�5���*+$1$����<����$I�����[����#F ��5)�"<��1��>L�������#4�'5�iG����9;'���I5�_�n9!�^��@���#!)����7�����������3G.Drop��������3G#��H��

���

Page 100: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

Configuring Simple Password Authentication

uR�'�F��h�f$F����clear password�����

��uR����,�-��� W�=)��I�����*�$V��"<�C�!��clear password�$.�����

passwordkey - Ip ospf authentication-*

��uR������72 �����<�`L�C��x��C�B)�K�<�`L�=����� �-'�F��iG��� W�$.�G.��message-digest�

�f$!���L���$��MD5����uR�}����4`���'5�=L�� )�� W�G.���#�<�X8!�=L����5���!�� ��1$5��!�C�!��interface�4`���'5��)���

�7B+ospf configuration�^��@'5�=L�Z%5��!W���!������5G.�������'-!�=L�Z%5��F!L���4!�=L�Z%5�������*0#1)�7�Router���������X`��=�� �����9;'��"<�� �-'�����I5�@�������������� �7��"<���

uR����Y�6$I������Cisco�7B+����������X`$�����-��K+��a�=L�area configuration�7���-���"'��*0#1WIOS����L�� �"����#��,�-��TOHP�H��

��

��

Page 101: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR��I�����*�$V��"<�*+$1$���72 �^5�@��3G.�����"����6�2 �^��@'���$IF���E �!�����-'������Packet tracer H���

��uR��$IF��=M)���#1�������-��K+��a�X`$��R1

*-R1(config)#interface serial 0/0/0��*-R1(config-if)#ip address 192.168.1.101 255.255.255.0

*-R1(config-if)#clock rate 9600

*-R1(config-if)#no shutdown

*-R1(config-if)#ip ospf authentication

*-R1(config-if)#ip ospf authentication-key melshare

*-R1(config)#interface loopback 1

*-R1(config-if)#ip address 10.1.1.1 255.255.255.0

*-R1(config)#router ospf 1

*-R1(config-router)#network 192.168.1.0 0.0.0.255 area 0

*-R1(config-router)#network 10.1.1.0 0.0.0.255 area 0

��uR�������-��K+��a�X`$��=M)��$IF��R2

*-R2(config)#interface serial 0/0/0

*-R2(config-if)#ip address 192.168.1.102 255.255.255.0

*-R2(config-if)#clock rate 9600

*-R2(config-if)#no shutdown

*-R2(config-if)#ip ospf authentication

*-R2(config-if)#ip ospf authentication-key melshare

*-R2(config)#interface loopback 1

*-R2(config-if)#ip address 10.2.2.2 255.255.255.0

*-R2(config)#router ospf 1

*-R2(config-router)#network 192.168.1.0 0.0.0.255 area 0

*-R2(config-router)#network 10.2.2.0 0.0.0.255 area 0����uR�� )��4 �&�%!�=)�Z )�show ip ospf neighbor������ �R1���L�R2L�X8!�=L�7�(�������K+��

authentication�^��@������Z����j�>��=��%���#|5�M��!��%F��authentication

��

����uR��%�'!�3G.����������� )R1#debug ip ospf events����

��|!�"<�^��@�������1$5��!�6$I���5G����������1$5��!�C�!�Authentication�=L��85)�6$I���R2��f$F����-'�5PF����-'�!���!���f$TH���

Page 102: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�f$F��$.�� �P�f$F��$.�� ��T�f$F��=L�".����1a���P���|!��1$5�M��!�authentication

�f$F��� LT���|!��1$5��!��F4'<�authentication������uR��$(?��=M)����$!��I��@���6)�authentication �X`���5��#%������K+��a�����������R2����

����uR%�'F��=M)�C�!���������I5�@���'5�6��I'�M���6���a�=������V���H����

Authentication5 Configuring MD����uR�"!�2��f$F����L�6�I'!M���=M)��$IF��MD5��9;'���$I5��!�p� �� �-'���2�W����!� )��2�W�$.����

�6$�$�����������-����������ospf�������"<��#�B�5��hashing H�����

����

uR!�����e�'-5��F����� W����'���I5�_��I�����*�$V��"<�C�clear text� ��2�)�X`��jF��5��!�"<���Key-id�� �+���=$�'���$I'<������������['��"F ��6��1�X8��=L����5��2�<��key-idn9!�������

Interface�"��'��72 �H��*-R2(config)#interface serial 0/0/0��*-R2(config-if)#ip address 192.168.1.102 255.255.255.0

*-R2(config-if)#ip ospf authentication message-digest

*- R2(config-if)#ip ospf message-digest-key 1 md5 melshare

*- R2(config-if)#ip ospf message-digest-key 2 md5 ccnp

��uR�^��@��=)�Z%5�R1�K+��a�n9F���D�������=L���'4F����melshare�=M)��$IF����5�(���������

��25� ��#'<�`q���F�(�"'�������������-'�!���5��#%������� ��#<G��ccnp�� �F�����; �]�������j�G������5�I�����������\G����$I!H��

Page 103: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�K+��)��I5�_����'����$(?��=M)�MD5^��@'��C�B)��I5�_��+�I��6�2���"<���-'�F���FF������MD5�74%F���authentication�6)�K+��L�����area ���

uR�6$�$�����"<�K+��a�7#�)�� ������������#��� W����'���I5�_�ospf����

*-R2(config)#interface serial 0/0/0��*-R2(config-if)#ip ospf authentication message-digest

*- R2(config-if)#ip ospf message-digest-key 1 md5 melshare����uR�^��@'���$IF��^�����6�2���n9!�����K+��a�Z%5�M�)����������'��=)�� +�I���$@���\G����$I!�

�� �7������� R1 and R2 ����

*-R2(config-if)#no ip ospf authentication message-digest

*-R2(config-if)#no ip ospf message-digest-key 1 md5 melshare

��*-R1(config-if)#no ip ospf authentication��*-R1(config-if)#no ip ospf authentication-key melshare

��uRK+��a�X`$��7I'F!�=M)��*�5�%���D�����K+��a�X`$���$IF�R2�7b�����.�;!�"���M�)�debug��

������#|'��"'�R1

��*-R2(config)#router ospf 1��*-R2(config-router)#area 0 authentication message-digest

uR�� �7b�����6��I'��"<�A@B��1$5��!��5G�'���������F���#|���I�����*�$V��"<�TQOHTlyHTHTPO�����|!�=)��.�authentication�e�'- �H��

uR�����'��� �W�� �7����-'��j��4<�7b�����3G.�*�.�; �K+�)�>L�J��*-R1#debug ip ospf events��*-R1#debug ip ospf adj

uR��������-��� �W�".�3G.��Troubleshooting���uR�=M)�n9!�X`$���$(?��K+��a�����R1�]��5�� ��.�;!������

*-R1(config)#router ospf 1��*-R1(config-router)#area 0 authentication message-digest

Page 104: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��uR:�%F�����6�V�M�=)�=M)�C�!��&$�@���$.�G.�������

uuR�6$�$������ �/�#'!M����������OSPFK0������ ���2������6$�$������G.�=)�\�'�)�=)�Z%5������5�#Y�� �&�I5�� ��F �GB)�=M)���L��!���#��7�45�"'���b�V-����K0�����*�2������4'5�� �7���#�5��

��L�7I'FF�������������F�����F �/�#'!����=>?���B)�6$�$�����Ruu��

Page 105: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��IS Protocol-The IS����

uR��� ����� ���������J�6$�$��������+�"<�h�'�!IS-IS����L���V'B�$.��D��Intermediate System-to-System Protocol�D��6$�$�����n��?����IS-IS�"<�� �-'���'5�"���

��$ �7�(�� �� �-'���'5�"�����*������K���;��}!�'!M�� �B�"ISP�D��� �6$�$������G.�/�;!L�����7�( (ISO) International Organization for Standardization�mI<��V- �6$�$������G.�

*0#1)������ �-'���'5�"��� Routers�w��+���$�% �� ��#'4���"'��K� $�4�����`�� ����CBT nuggets����6$�$������G.�=)�ip addressing����e�'- �TCP/IP�G.�/�;!L�����I�<�

�6$�$�����7�(�6$�$�����TCP/IP�� �6���� �-'���'5�=L�t�'9���� �=����TCP/IP��!$F��"<��}!�'!M�D�� �-'����$#������\�4'F�����%��6$�$������G.�����\�4'F���/�Y�=�H��

��uR�6$�$�����K0�� �� �IS-IS��!�X�@'�5 �4'���X �7(VLSM) variable length subnet

masking�D��6$�$����IS-IS�������'45�iG����BW���"!�2��6$�$������$.�Link state���-'�5�j�G�����I5�_SPF) short path firstH�U��

��uR�intermediate system ���#1�$.�Router�H�(IS-IS) Intermediate System-to-System

Protocol

��

����

uR��6$�$�����K0�� �� IS-IS��=������5������@��&�� �������K��2������6$�$������G.�*��(�$.�}!�'!M�� �B�"��$ �7�(�� �� �-'����C�BW�KM$�$������� �M����$���� �-'��t�'9���� ISP

$�������;'!���6$�$������G#���� ����5�+��#5����5G����FI'����I�������6$�OSPF�=)�� ��s��������6$�$����IS-IS�6$�$�����7�(��b�;!L����OSPF���6$�$������G.���-'��"<���FI'��*�2��������

�6$�$������G#���� �����#'5�+;'!��6$�$�����OSPF�;'!�� ��2�)���6$�$�����IS-IS�������

��

Page 106: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR��������V'B�IS�".�intermediate system[�����F4�����m��5�iG��m��$����#%��$.�����4������#%���F.��VI5����#84�������'��YRouter�mI<�H��

u�R��6$�$�������-'�5�IS-IS�n<����Connectionless Network Service�(CLNS)��I5�_�"<���!$F4�ip addressing ����#1�����\�4'���'5��#I5�_�����Router�/�;!L��<����

Link state Database (LSDB)�D��6$�$�������'45�j�G��IS-IS�$.�(IGP) interior gateway

protocol�D��"<���-'�5�6$�$������!W�j�>�Routing���uR�6$�$�����IS-IS���-'�5�Layer 3 protocol�� � OSI model��!$F4��"<�j�>�ip addressing����

����

uR�Connectionless Network Protocol (CLNP)�D�$�$������$.�� �-'���'5�"�����-'����6$�$������$.��K�!�����7I!���x�4��"<6�� �B���(�iG��(CLNS)��!$F4��� �B���I��"'���D��� �B�=L��F4��

��!$F4�CLNS�6$�$����������#����"<���'4��CLNPH�����

����

uR�6$�$�����IS-IS�������'45�iG��"!�2��6$�$������$.�dynamic link-state���"<������Routing ��uR�6$�$�����IS-IS�72 �$.�OSPF�^_�F ���L����;�����I��������'45��DIS-IS allows the routing

domain to be partitioned into areasH���uR�6$�$�������-'�5�IS-IS�������Hello packet�6+�����'5�"�������!��1�����\�4'��"<�LSDB���

�^5�_����j�>�link-state information��D���-'���'5link-state packets (LSPs)�n9!�7B+���I@F���6+�����'5�"��LSDBH���

uR�6+�����\��4���'5�=L��4��LSDB�*0#1)�����Routers �*0#1)��$I���#84��X �Routers7�[;'������� ��$BSPF��N�Dijkstra’s SPF algorithm�U���!��I �6�B�� �^5�_�78<)����'B��'5������@

�7B���*+$1$���K�����LSDBH�����

Page 107: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR��6$�$������$I5IS-IS����I'��AS autonomous system�=�5$'� ���L�level 1 and level 2����uR�Level 1 �J���������$.��6�W�C$'���Routing�*0#1)�����]����"'��Routers�n9!�"<�*+$1$���

��I@F��D����G.�"<�*+$1$���*0#1W��$I��*0#1W�����\�4'����C$'ES (end system-pc)�\�4'�����*0#1)����Routers��)�(ISs)�D���/�F����$I��j�>��4���rRouting table���#F �7����L�6$�$����D�7�

�*0#1)Routers��I@F����(��n9!��#��6�W�C$'����"<�*+$1$���same area address�D�������Routing+$1$���*0#1W����������V-���/0%��7B+�p����^5�_�����'5��I@F���n9!�"<�*

Routing table�^5�_�����#'<�4 ��'5���I@F���n9!�"<�*+$1$���*0#1W���System ID����'B��'5������(�7(����iG��^5�@�Lowest costH���

��uR�Level 2�J��*0#1)�7��"!�2��C$'���Routers���C$'����G.�"<�*+$1$����*0#1)�����\��4'�����$I

Routers��6�W�C$'����"<�=$���"'�����#'I@F �n9!�"<�*+$1$����/�F������$I���rRouting table���#�����B�D�*0#1)�����\�4'�����$I5��rRouters�^_�F �"<�=$���"'����"!�2��C$'����"<�*+$1$���

��C�B)�D���-'�����$I���rarea address destination N���I@F���=$F��U�����4���$I��"��Routing���� �-'�M�^5�_����(�7(����'B����$I���lowest cost pathH���

��

����

uR��6$�$������$I5IS-IS�*0#1)�Routers���L�{��������'��"���f$!)�Routing ��#F���.����

Level 1�J��*0#1)Router�K��������4'���$I��6�W�C$'����� �Paths����#'I@F �n9!�"<�*+$1$����B����I@F����)��#����V'����I@F���mI<�C�B)��I@F �C����AY���4��M���mI<��(intra-area)H���

��uR�Level 2�J��*0#1)Routers��4����#84���^_�F�������"'��K��������4'���$I��"!�2��C$'����� �

�mI<(inter-area)�D�(backbone Routers)H�����uR�Level 1-2�J��*0#1)Routers�=�5$'����"<�=$���"'���"'��K������7����4'���$I��"!�2����6�W

����B���^_�F�����^_�F������Learn all paths between (inter-area) and (intra-area)�����L��5��� �*0#1W�3G.�ABR�6$�$�����"<�� �-'����OSPFH���

��uR��"'��K�����m������*0#1)���Routers�"!�2��C$'����"<�Level 2 routers�"<�"'��*0#1W���

�"!�2����6�W�=�5$'���Level 1-2 Routers���������Backbone���

Page 108: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����uR�6$�$�����K0�� �� ��IS-IS�����4���$I5�=)�X�@'�5��!)�Routing��9�'- �KM$�$�������-'������

�6$�$�����=?<IS-IS�� �B���-'�5�CLNS�*0#1)��!$F��"<�Routers�(ip addressing)�"<�=)��� ����$������*0#1)PC�6$�$�������-'���TCP/IP�*0#1W��!$F��"<�(ip addressing)�6$�$�������

IS-IS�����4���$I5�=)���$#��7���X�@'�5�Routing ���#���3G#���$I�������?������!W��#F���H����uR���6$�$������$I5IS-IS$���� ���X`tag�����Route �������-��CLNP����K�!�����#4 ��85����

Ip address������;����,�-��sub net mask��������'��"����#��,�-���Routing ������72 ��#F�����Encapsulating �D��6$�$�����X�@'�5�j�G��IS-IS�����4���$I5�=)�Routing�������F���OSPF�7���

���$#��D�����X�@'�5�6$�$IS-IS�=)�����4���$I5�ip routing��)�CLNS routing�����uR�6$�$�������-'�5�IS-IS�*0#1)�����K�!�����7IF�����,�B�6$�$�����Routers�$.����

protocol data units (PDUs)�*0#1)�����K�!�����*���(���K�25��'��7IF���$I5�$.��Routers�Z!�%���7IF���$I5��!)ip address��D�'�5�6$�$�������-IS-IS���data link layer���L���������I'��frames�

���#����L�H����

����

uR��6$�$�������-'�!�� �F�IS-IS�� ����$!���-'�����$IF���F!L���4!�=)�Z%5�IP addressing

�� �-'�F��f$!"<�\�4��*0#1)�Routers �mI<��D�\�4��"<�� �-'�F���B)�f$!�interface�*+$1$�������Routers���"'����#1�72 ���1��-��K���;���#��7�$ �=$�5�Router ����B���K���;�����B)���

NetworkH���

Page 109: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR��!$F4���@B�w��!�=)�Z%5�ip addressing ���$�% ����'B��F���F�'5��' ��ip address����' ����7���� ����'!��' route summarization�.

uR�������=)�\�4!�����Route summarization�K�������% �� �7�I5�possessing�����cpu ��"<�+$1$��router�H��

��

����

uR�6$�$������IS-IS���-'�5�metric ����I��TP�7������interfaces�����*+$1$���Router��������5��5��5��I5�@�����I��3G.���[����D�6)�"�����(��V()��metric�".�l{ ��#4`�����5����(�"����.��H����

����

uR�The End System-to-Intermediate System (ES-IS) protocol�J�6$�$�������-'�5��IS-IS���#%��k��5�"���,$V- �6$�$�����Router (IS)���$��������#1���(ES)�����$<�4'5�=L�

�6$�$�����$.���4����#84�(ES-IS)�6$�$������G.�k��5������;������\�4'������$��������#%�-��������H��

Page 110: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR���$������*0#1)�\�4��(hosts)�7B+�OSI model����(ES)��)�end system�D�ES-IS�6$x����$.����$������*0#1)�� �7��\�4����(ES)�*0#1)�����Router (IS)H���

��uR��$I5�ES-IS�����'����#�����J��TR��I@F������e5�4'���$I5�(area-prefix) ���$������*0#1)���L��OR5��*0#1)�������$������*0#1)�\�4'���$IRouters

{R����;�������-��K������\�4'���$I5�����uR���$������*0#1)��$I��ES�������6���q��End System Hellos (ESHs)���L�ip address ��,�-����*0#1)�Routers�$��45�"���*0#1)���L��.+$1�����Routers (ISs)�D��*0#1)�X�'���RouterL����

������(ESHs)����;������*+$1$���*0#1W����\�4��"����D�*0#1)��$I��Routers��K� $�4 �6���q��7b����7B+����;��"<��#5���*+$1$���*0#1W���(LSP)H���

��uR�*0#1)��$I���r�Routers�������6���q��(ISHs)�Intermediate System Hellos�*0#1)���L�

���$�����ES5���*+$1$���"������;�����#��.+$1�����\�4���D�*0#1)�X�'��ESs�7b�������L�ISHs����'-����b$;���I5�@��ISs�����7b�����7��6���q���$I��"���N�K�!����U�D���#1��5�5�� �F�ES�=)��]��'5

���#1���LES���#1�&�(���L��.�5�5�"'��K�!�����6���q���$I5��!�<��B)�Router����;������+$1$ ���������-�H����uR�*0#1)���-'���Routers�6$�$�����IS-IS�7b����6+����"<�hello (IIHs)�'���"���h�����\�4'��"<�

��4����#84��X �� 0'����#84�H��

Page 111: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��

����uR��6$�$�������I5�IS-IS�������Routing��.��f$!)��4��)���L�J����

Level 0 Routing�J��'��h�������6�)�Routing (ES-IS)� �F���e;'�5�ES�&�(�IS����j�>������7b������L�f��'�M�^5�_ISH packets�H��

��IS-IS Level 1 Routing�J��7�IS ���ES��I@F���n9!�"<��5+$1$ �area���#1��$I5�IS���9��

packet���#1�� ��#��'��"'��ES�6)��<�4���destination���� �78<)����'B����$I5��r����L�Z.G'��"'����Best path��6)������7��5�\$�packet�>L�=�����=���iG��7��'�����L�"<���#1��$I����I@F���n9!�

IS��#����q����L��<�4 ����j�>��+������#%��ip address����,�-��ES�6�B�� ������\�4'�������7b������L�f��'�MESHsH���

���IS-IS Level 2 Routing�J��I@F ���L��#1$ ��������}!���>L��$I�<�C�B)�level 1 IS�3G.�6���q��

���L�������Level 1-2 IS �D�����������4��3G.Level 2 Routing�D����L��#����q���$I5��rLevel 2 IS�����L�7V��=)���L��.��� ��������7����Level 1-2+������I@F���"<�3�D���<�4 �^5�_����j�>�

System ID��I@F�����,�-��H����

Level 3 Routing�J�������Routing��9�'-���^_�F�������deferent domains����5�

Level 3 Routing�D����|!)�����7b������5�����'5�����4��3G.�AS��9�'-���H����

Page 112: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

IS to OSPF-Comparing IS����

uR������!��I �IS-IS���OSPF��#84�����;��"'����IF�����#F���\�'BM���I!�������!��I���3G.�H����

����

uR�".����;'����I!��\�'B��#F����1$5�=)�� ��2�)�KM$�$�����3G.�����&��I���1$5�J����

TR ��������'45���#<Link-state���OR �����B�$���5VLSM

{R �7b�����;!�"<�=$#��;'5LSA�7b������� �����<�"#'F��iG��}($�����D�� 0�����;��LSDB�

gR �K���� ���������$ �-'�5SPF�%5L�"<��K������78<)�+

SR �}!�'!M�� �B�"��$ �7�(�� �$ �-'�5��X�$'��K��������*������K���;��"<�$ �-'�5�ISP

lR �*��������������;��7B+���['��K������$��$'�5�=)�$4�@'�5

��

��

Page 113: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�6$�$�������-'����OSPF��I@F�����^_�F���7��7�$��=)�Z%�<�^_�F������I��"<�P����j�>��5�_�*0#1)�^ABR�����4���$I!�j�G���Route summarization�*0#1W�3G.���������

����uR�6$�$�����"<�IS-IS�7��=$�5�Router (IS)�^5�_����X�$'�����5��mI<�*� ���I@F ���L���'F ���

�*0#1)�7��$��� )IS��4����#84��X �"!�2����6�W�C$'����� �Level 1-2 IS�7��$��^5�_�����)���*0#1)��IS level 1-2�*0#1?��IS �mI<�"!�2��C$'����� �Level 2 IS �D���2�)�X�$'��X�@'�!�j�G��

����;���% �"<�H����

����uR�6$�$������������9��IS-IS�6$�$�������OSPF*+$1$ ��#F����*��[��H��R�6$�$�����$I5�OSPF�6���q��LSAs�*��2�������*��[����% q���H�6$�$������ )IS-IS�$�I<��6���q��

�*� ��������"<������*� ���4<+��#���K��['�LSPH���R�6$�$�������-'�5�OSPF���|!�IP address������IS-IS���|!���-'�5�CLNSH���R��6$�$����IS-IS�"����-'��7(�CPU����,�-��Router

Page 114: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

R�6$�$�����X�@'�5��IS-IS���-'�5�=)�IPV6���$#��7������������

������uR�������789���6$�$�������'-��=)�KOSPF�6$�$��������IS-IS��#5����5G����FI'��*�2���j�>��

�6$�$���������� ����5�+OSPF�6$�$���������Fb�(������4��������*��������4Y��5���6$�$������G.���

OSPF�72 �*�2���^_�F������I��&$��)���-'�5��!�<�standard area-stub area�F���� ��.��s���^_�6$�$�����"<���'I@F �C$���1$5�M��!�C�F���FF�����#�����F<�4��"'�IS-IS���$#������\�4'F���

�6$�$������G.�K+��LH��

Page 115: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��

IS Routing-Performing IS

Operations

��uR�6$�$���������\�4'��"<�/01��.)�$.�/0%��G.�IS-IS����,�-��/0%��$.���!$F4�

ip addressing�-���6$�$��������,IS-IS�7�Y�:�;F���Packet /0%��G.�"<��b01)�7���H�����uR��� ����� ���������J�6$�$�����=)��B)���|!�C���sIS-IS$.�����,�B���|!��!$F4��"<���-'�5���

(CLNS) connectionless network service �D��� �-��3G.���-'�5�"���������|F��G.��x��j�>��C���s��B)�6$�$�����D���#1�=���>L��' �Router (IS)�������"<�� �-'�F��iG��Routing��$I5�M������4�Routing���L�mI<�M)�ip address���-'�5�=)�Z%5��!?<�CLNS

��N��$�� uu�UR��������G!�� �F��ip addressing�6$�$������VI!��F.���F<�TCP/IP�72 �192.168.1.1

)��B� �C�F���FF�����$.��$@���48���4��\�4F��� ��)��!$F4��7�Y�=49.0001.0000.0c12.3456.00

D���F�����'!�� �7�-'!��' �j�>�Ruu����uR�6$�$�������-'�!�� �F��CLNS���#1��!$F��"<�Router���#1�\�45���-'����=$F4��=?<�Router�

�7����L�=$F��X`$���$I!�M�����interface���#1�����+$1$ �Router (IS)H�����uR�6$�$������$I5�� �F��CLNS���#1���L�=$F��X`$��Router�������������4��3G.�=�<���

(NSAPs) network service access points�D�����$.�G.�ip addressing�6$�$�����"<�IS-IS

NSAP = TCP/IP�D��=)�����ip address ���L���I �g�����/01�7���/01)�OCT�PHPHPHP �=?<��NSAP���L���I �S/01)���

��uR�NSEL�J��$.NSAP SELECTOR�=$F4��"<���BW�/0%��$.��PP�=$F4��G.�=)�6$I5�$.�

���#%��,�BRouter�����uR�NSAP����&$'� �hexadecimal ���L���I �$.��20 byte�����uR�$.�� �\�4'��h�'�F��/0%��G.�"<����_�h�I��j!)��4;���^�I��M�NSAP���NETF4������!$

CLNS�6$�$�����"<�IS-ISH���NSAP Addresses

Page 116: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR��CLNS – connectionless network service�J��!$F4����#����$I5�iG��6$�$������$.�G.����!$F4���$I!�� �F�� ���#1Router (IS)�����������#���3G#<�NSAP address���|!��F.�e�'-5�����|!�����F.��!$F4�IP address +�4���X`$���$I!��F!?<�C�BW���|!W�"9<�iip address�7����L���

Interface���#1�����+$1$ �Router�6$�$�����"<������IS-IS�X85�NSAP�����mI<�� ��=$F���)����#1Router�G.��NSAP�"��'��� �7��e5�4'���$I5�H��

� ���

����

uR�6$�$�����"<��!$F4��IS-IS���-'����NSAP����RL�=$F4����I5����{��I@F���=$F�����,�B�/01�/01)�Area address���,�B�"!�2��/01�����

System id ���#1�=$F��Router (IS)����,�B�p��2��/0%����NSEL�=���>L���#%��f$!��)�Router ��B)���#1��)�H��

����uR�=)��I�����F�(�NSAP���L���I �{�3G.��K������/01)��r�2��3G.�e5�4������/01)�".�K��������

The authority and format identifier (AFI)���initial domain identifier (IDI)����initial domain part (IDP)���

��uR�����<�4!�� ��)�K���������!$F4����,�-��/0%��=$�5��=)��"�5�� �������9�M�����

Private ip address��(���h��5�=)�gQ�G.�"<��#���$.�G.���=)�/0%�NSAP�Z%5�� �-'�F��iG����(���h��5�=LgQ�������5�/0%��G.��AFI�

��

��u�R���2 )�� ��NSAP���(�)���-'������5� W�f�<���*�������������<��4�����C�BW�gzHPPPl�"<�

��#�����-���!$F4��������H����uR�$.�=$F4��"<�6�W�/0%���gQHPPPT@F���=$F��72�5�$.����)��IArea id��b01���L���I �$.������

AFI 49����W�/0%����PPPT�G.�=)��F45�G.��Router ��(���I@F �"<�+$1$ �T�area��(��=$F��}���gQ private ip �� �=$� �$.��T{�byte�����

Page 117: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�"!�2��/0%��system ID�� �=$� �$.��l�byte�$.��0000.0c11.1111�G.��=$F��$.�Router� ����5��X8!�=)��2NSAP���#%��,�-��Router (IS)�72 ���

��gQHPPPTHTTTTHTTTTHTTTTHPP�h�I!����NSAP�"��'����gQHPPPT����I@F���=$F��$.���

��TTTTHTTTTHTTT�=$F��$.�Router (IS)���BW�/0%����NSEL���#1�G.�=)�����7��+�Router �

�C������'��(PP�C���5�$.���NT byte (

��uR�/01��B)�NSEL�C������'��(�=$���=)�Z%5�P���#1�����X`$5�� �F���'��(�G.��Router (IS)

��

����uR���-'��jF��5��!�/01��.)���MAC address ����,�B�serial interface�$.�=$�5�"���

System ID����,�-���H����uR���L���IF�������4���!$F4���I5�_�=?<�\�4!�����{��!$F4��� �f$!)�Public ip address range

- privet ip address range�special uses ip address range����uR���|F �� �(�j�G��ISO�"<��!$F4����I�����NSAP��(��=$!�I��Z� �j�>��f$!)���L���

ISO 10589 standard�".�f$!W�3G.����H������

������

Page 118: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

����

��uR�*0#1)�7��=$�5�=)�Z%5��!)�*�$V��3G.�"<��#���/0%��Router (IS)�=)��I@F���n9!�"<��5+$1$���

���#1�\�4'5�=)��9�5�G.���_����7����I@F���=$F��n9!��#��=$�5Router��I@F�������area id���#��+$1$���D���#1��5�5�� �F�Router (IS)�����4���$I5�=)�RoutingN��'I@F �c��B�������6���L�U��!?<

���L��#����q���$I5Level 2 ISH�����

��uR�Level 1 intra-area routing is based on system IDs��J��K������� �6�W�C$'���

Routing�*0#1)�����=$�5�$.��Routers (ISs)�*� $���I@F���n9!�7B+�� ��D���#1�7�Router

(IS)����=$�5�=)�Z%5�*� $���I@F���n9!�"<�System ID �7���,�-��Router (IS)�+�9F ��e�'- ��C$'� ����Domain���

��uR�Level 2 Routing�J��*0#1W�7�Routers (ISs)��#84������\�4'��"!�2��C$'����"<�*+$1$���

�^5�_���area Id��85)��D����=$�5�=)�Z%5�j�G��system id �C$'� �����e�'- �Domain �����H����

Page 119: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uuR�=)�*���(��.)���area id . system id. NSEL ���)�����iG��$.���������$I���Routing

R �+�)�>q<IS ���L�]��'5��=)�IS�=������area id �=$�5��!�<��I@F���n9!�� �Level 1 Routing�

��NET Addresses��

��

����

uR��"<�/01��1$5��!)��I�����Fr�������NSAP�������5�NSEL�C������'��(�=$����P��(��$.��������X`$5�� �F���'��(�=)��F�(����#%��f$!�k`$5���#1�Router�C���5�P�$.�G.��NET

R ����(�X`���'5NET�7B+�LSP�*0#1)���L�7�����ISs�7B+�DomainH�����

����

��uR�subnetwork point of attachment (SNPA)�J��*0#1)�m����$I!�� �F�Router�^5�_����

Wan������5�1�\�4���1$5��!?<�SNAP���#1���L�*��Ya�"<���-'�5�Router �����9!�������(�9'������*+$1$���C�BW�*0#1WWan�D��72 Real ip ���#%��,�-��Router �� ��D����������-'���j�G��

�� Mac address���sub interface��)�system id��)�NET���L����������3G.�}�)��5)�� �0����"�������Y������1$'���5)WAN H���

Page 120: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

IS Routing Levels-IS

��uR��I��G.�"<��� ��9�'-���f$!)��r�2�����]��'F��Routing�6$�$�����7B+�IS-ISH�����

����

uR�K������� �f$!)��r�2������Fr�����Routing�6$�$�����X �IS-IS�X ��2�)�:$`$�����'F���F.��������$V���k�`$�H��

uR�Level 1 Routing�J��*0#1)�����=$�5IS�mI<�^@F���7B+������(inter area)��uR�Level 1-2 Routing�J��*0#1)�����=$�5IS���#1)���6�W�C$'����� �IS Level 1-2�+�)�>L�j�>��

���#1IS���#%<�C�B)��I@F ���L�]��'5�=L�IS level 1-2�72 �ABR�^_�F�����L�]��'�����6$x����$.��C�BWH��

uR�Level 2 Routing�J��*0#1)�����=$�5IS level 1-2 �*0#1)���IS level 2�*0#1)�".��

Back bone ��<�4��iG��7�<�NSAP�*0#1?��,�-��IS level 1-2�j�>��"�������4���$I��Routing��^_�F��������

uR��B)�*0#1)�7��$'���$I��=)����5�j!)�$.�/01�IS level 1-2���L�c�'���=L�=�+��4����#84��X �Level 2 IS��x��j�>��IS level 1-2 �=)�X�@'����_����7����j�>���#84������\�4'��#!W�����C$'���

�K0�� Level 1 ���Level 2

uR�k`$������'��*�$V���F!L�7��$'���F�(�Level 1-2 ����Level 2 �����uR�7��$��k`$���#����"'��*�$V��Level 1-2�4����#84��X ���

����

Page 121: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

Level 1-2 with level 2��

��

Level 1-2 with level 1-2

��

Page 122: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

and Interarea Addressing and RoutingArea -Intra

uR����]��'!�/0%��G.�"<�intra-area ���inter area�R� �����$I!�e��addressing���������

RoutingH�����

����uR��6$�$�����IS-IS�K����4��X��1�X�'5�$.�OSI model�=)�C�!�j�G���addressing��������,�-��

�7�Yhexadecimal b01�6�)�=)��%!�������"<�NSAP address��I@F���=$F4��,�B�$.��area id

�� �=$�'5�Tl�byteH�����uR�6$�$�����IS-IS���-'�5�system id�������"<�intra routing�K������C�Routing�n9!�7B+�

��I@F��>q<�}!���packet���L�Z.G��IS��I@F���n9!�� ��D�\�'BM����84��X ��I@F���=$F��^��@'�<�"<�"<����5�=$F4�system id�K������j�G����Routing��I@F���n9!�� ��^5�_����=$��system id

uR�6$�$�����IS-IS�K����4���$I5�Routing�^5�_����C�B)�^_�F ���L�Area id�D���=�5���^5�_�N��#�����"'��K�����Packet�U��"��'����=$�5H����R�Z.G��packet�� �(level 1 IS)���L�(level 1-2 IS)��x��j�>��(level 1-2 IS)�� �7��\�4��

(level 2 IS)��#F �7��6+��'5�=L�Z%�<�n�4������LSDB�7�Y�����\�4'���'5�"����5���"'��Topology

��#F �/01�$.�"'��*���������;�������-�(intra-area)

uR�� )�(level 1 IS)��\�4��mI<�"#<�(inter-area )�mI<��I@F����)���#���1$��"'�TopologyH�����

��uR���$I5�� �F��ES (end host)���L�]��'����ES (end system)�6���q���$I5��!?<��B)�Packet���L�

�&�()IS�level 1��$I�<����IS����L�Z.G'��"'��=$F4������\�4'����Packet��!��I����$I5�M�)�area –

id����,�-��Packet��I@F���n9!�� �}!���>q<�����p�������$I5system id�7B+�database����-�����(Level 1 database)�6���q���$I5��r�Packet ����L�H��

Page 123: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�"<�+$1$���=$F4��=���>L���!�2��������Packet (NSAP)�D��^��@5�Marea id�������-���n9!��$I�<��I@F��level 1 IS��^5�_���default Route��5����D�6���q�Packet���L�Level 1-2 IS

�7B+�p�������$I�<Level 2 database������*+$1$��IS level 1-2��^��@��}!���>q<� ���$I5��5���#����q����L�level 1-2 IS�>L���$I5�^��@��M�}!����#����q����L�Level 2 IS (back bone)H���

��

����

uR��6�2 R7���L�]��'���5�5�R9��!��I����$I�<�area id ��7B+��5���� �^��@��M��#!)��%�<database

�7B+�p�������$I�<database��5���"'��(R7)���L�^5�_�78<)��%5�"���R5�f$!�� ��!W��level 1-2 IS

��R ��$I5R5�7B+�p������level 1 database��!��I����$I5���area id��$I�<��.�%5��<��5���"'��

�7B+�p�����topology database level 2 database���5���"'����L�^5�_�78<)��%��R9������p�������$I�<system id�6�B�� �^5�_�78<)�=L��%5��R3���L�7V���49.00CC

��R3 -�7B+��'!��I����$I�<�3�%5��<��5���=$F4���!��I����$I5�Level 2 topology database

�6�B�^5�_�78<)�=L��%���������-�R1�������3G.��<��R3���-'�5�M�system id ������p����"<���I@F���=$F����-'�5area id�49.00CC��

��R�R1�7B+��5���=$F4���!��I����$I5�Level 2 topology database�7V5�"���^5�_�78<)���'-5�"���

��L�����L��������6���q���$I�<��I@F���3G.R8�����

R R8<��5���=$F4��^��@5��I@F���=$F��=L��%5��7B+�p�������$I�Level 1 topology

database�D����L�7V5�"���^5�_�78<)��%��R9�

��uR��������#���'��"'���I5�@��k`$5���1�6�2 �G.�Routing�6$�$�����7B+�IS-IS���

Page 124: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

IS PDUs-IS ��uR��6$�$��������]��'!�� �F�IS-IS�".�� ���4!�=L�Z%5�PDU�D������\�4'!�"���PDU�$.�� ����

��I �7��I��"#<�C�BW�KM$�$������"<��#�LSAH�����uR�\�45�OSI model�6$�$�����"<�K�!�����*� ��IS-IS��#!)�����PDU�D��6)�\�45�frame�����

��#!)data-link PDUs�D���85)�\�45�packet (or datagram, in the IP environment)����#!)����Network PDUH���

����uR��L�6�2 �*�$V��"<�C�!�� �f$!)��r�2����PDU�7�Y�$.�G.��encapsulation ��#��,�-��

���#1�� �c�-��� �F�Router (is)�D��]��'5�� �F��7����"'��K�!�����7�IS-IS���ES-IS

��#9��[���'5encapsulation �D���7�Y�����k�V��data-link frameH�����uR�����4���$I!�� �F��Routing�����IS-IS��)�ES-IS�D�<7B+�*�Y�� �K�!�����X`���'5��!���

data link layer frameD�H�����uR�PDU�IS-IS�����C$'�5�variable-length fields �N��'��(���[' �7I �U���[���'5�7I���G.�

�������5��7I���G.�7B+�"'��K�!�����f$!�w��)������'��(TVL�����

��

Page 125: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR��������'!�=M)���PDU �72 ��.��packet�LSA<��6$�$�����"ospf ��#'9����f$!�n9F���$I��H��R�� �f$!)��4��)��1$5��PDU��#F�����'F���H����

Hello PDU�J���4����#84�������#�$!)�7������;��"<�*+$1$���*0#1W�\�4���������.�D����$I5�� �F�ES�������6���q��hello���#1���L�Router (IS)���#���=$�5�ES hello (ESH)

�D�� �F����#1�7��5Router (IS)�������hello���L�ES��#���=$�5���Intermediate System Hello (ISH)�D����#1�7��5�� �F�Router ���L���#1�Router�������

hello���#���=$�5IIHH�����

LSP�J��X5�$'���$I���������3G.link-state information ��������B�K�!������-'����������.��K�����paths���#1��#��7�$���Router

��Partial sequence number PDU (PSNP)J�����K�!������'���'5�� �F����-'����������.��

�����������;�acknowledge��I!�+$1$��K�!�����6���L�*+��L�Z�_��'5�� �F���85)���-'����.���#�<�of link-state information�request missing pieces���

��Complete sequence number PDU (CSNP)�J��� 0���)�Z�_��'5�� �F����-'����������.�

LSDB����#1�� Router (IS)�H�����

State Packets-Link����uR���#1���-'�5�e���:�;5�/0%��G.�Router (IS)�7b����LSPs�H����

��uR���#1��$I5�IS�7B+����e��$��X`$��LSP������8'5LSP header���TLV�V'B�$.���������L����

variable-length fields�H��uR�C$'���LSP header�����J��TR�������f$!�PDU���������% �����OR�LSP ID�

{R�LSP sequence number �J����; ��#���1$5�M��:�%F�����������'������!)����?���������.���g���'�M�"I�'�����:�'���}($����� �����'���������LSP(�������������� ���/�#'!�}H�������

��

Page 126: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�6$I �C$'���TVL�� �7������J��T����� ��!��1��.�� Routers (ISs)�D��/�F����$I5�"���j�>�network topology

O���� ��!��1��.�� �ES

{���������B�K�!����Authentication information��5�� �����$I��"'��routing updates��g�������C$'����ip address����;��"<���#1�C����,�-��>L���-'�5�� ��#�<��1$5�=���ip V4

��

�����uR�������C$'���LSP�7��� ��(������sequence numbers�����#��k��5��(���G.��H��R���#1�=L�Router����;������p5�����B)��5����D�]� ���-'�5��!�LSP���R�*0#1W�"�����;��+$1������� ��#'5�� �����;��"<�*+$1$������uR�3G.�sequence number �������"<�*+$1$���LSP���#1������Router LSP��'�5�=L�� ���

��#'��(���������'��>q<���5�(�K� $�4 T�����C$'����������3G.�=�<��K�!���LSP ��5�(�����uR��� �����<�"#'F����4 �}(���1$5�=�������LSA���'4���)�p5��'���|'F5��}#'!��(�4��3G.�=L��

����,�B���4 �}(���1$�<LSP��'��(��1200���!�r��H������

��

Page 127: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�7��LSP���#1����#��"'�����;�����K� $�4 �����C$'���Router��.�;F����(�iG���D���6$I �7B+�*+$1$ �=$���K� $�4���3G.�TLV�}���*+$1$ �=$���"'���LSP header D���

���L���;5�TVL��������Code, Length, Value (CLV).�6$I �/�F�����x�.���TVL��#��k�����6$�$�������L�k��5�iG��$.�G.���9�'- ���(�7���=)���IS-IS�7B+�7��5�=L�PDU� �7����

IPV4 ���IPV6���$#��7�����#F �7��X �7 �4'�������k��5��H������

IS in NBMA Networks-Implementing IS����

uR:�;���$IF����I��G.�"<��6$�$�����IS-IS�"<�Nonbroadcast Multiple Access

Network�D��$.�� ����]��'F��Designated Intermediate System (DIS)��

������uR�6$�$�����"<�K���;��� �mI<����$!��1$5�IS-IS���.��Broadcast ���point-to-point���

�6$�$�����7�����9���:�;���$IF�IS-IS�/�Y�=L���#F �7��"<��H����uR�������J�������������9����4!����broadcast �� point-to-point��:�;���$IF�broadcast

R�6$�$�����"<��!)���4!��F���ospf���#����$I5���#1��1$5�ABR ( area boarder router )

�C�BW�^_�F�����L�]��'�����6$x�������5�#F���@I!�$.�=$�5�=L��'�# �$.�inert-area�����-'�5�j�G�IS-IS���#1�Router (IS)�7�(�� ��F�(�����$.��C�BW�^_�F�����L�]��'5�=L��'�# �=$���

�$.�� ��$#9 �j5���=$�5�=L�7�(�� ��F���Fr����� �� �������� �"!�2����6�W�=�5$'����� �=$�5�=L�Z%5

Level 1-2 ISFF�����k�`$���2�)�*�$V���F��]��'F����D1����5����#IS�^_�F�����]��'�����6$x��������C�BWDesignated IS (DIS)���6+��������LSDB level 1�7B+�"<�*+$1$���*0#1W�7��X �

�^5�_����j�>��*� $���I@F��IIH�� 0���'5�j�G���synchronize�*0#1)�X��1�ISs level 1��#1�X ���DIS�^5�_����*0#1W�3G.�m�����$I!�����s��LAN interface�&$��)���-'�!���F<�j�G���

broadcast�7b������L�f��'���'5�������3G.�"<��!�\�4!������IIH (IS-IS hello)��^5�_���multicast�H��

��uR�m����"<�&$��)���-'�!��F��>L�Point-To-point����Y�����m������-'�!�j�G����F<�Wan

�"<��1$5��85)�wan ����,�B���#1�(DIS).���=$�5�=�� W�Z�s�"<�$IS level 2�G.�� ���5����>L���=$�5�=L���� �C$'���IS level 1-2���

Page 128: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

������uR��I�����*�$V�����]��'F���D��=)�M�)��!)�C�!DIS���#1�$.�Router (IS)C$'����� ���

Level 1-2 ISH���uR�$.�� �Level 1-2 IS�J����#1�$.Router (IS)����$(�� ����$!��5����K�!�����

2 kind of database�D���#F��6$x� �$.�"'���I@F������,�B�6�W�f$F�area 1�D��5���=$�5���LSDB�X �� 0'������4���$I5���I@F���3G#�����-��"(���*0#1W�I����' ��'I@F �n9!�"<�*+$1$�����

Database�7��X ��I��@ �*0#1WH���uR�������B�K�!����*���(���!�r�Level 2 ��#�<��1$5��.��next hob���#1��)�Router IS�iG�����7V' �

��I@F �"<�*�Y�� C�B)����85)���1��-�����;������� ���*�$���5���Wan�"'���#F �/01�$.���uR�=L���4!�=)�Z%5��Interface�iG�����7V' �LAN area ��)��I@F���"'��Z%5�=$�5��#��+$1$ �$.�

�� ��!�3�5��'���$I!�=L�C$'���6�W�^��@'��/01�"<��F��]��'F��� )�^5�_����j�>��"��4�H���uR��85)��interface�iG��3$'� ��5��'���$I!���1��-�����;�����@��5�Level 2���uR����'B��'5�DIS�^5�_����level highest priority�� ��� ��2�)��1$5�=���>L��Router�n9!�"<�

�C$'����n9!��#����I@F��Level 1-2�6$�$������$I5�e��<��IS-IS�k�V5��#5)����'B���#F���7�89'������DIS�D�����'B�^5�_����j�>���I�����F�(����Router����(�"���Z ���priority�*0#1)�7�������

Router����(�n9!��#��priority (64)���`�'<����(��.��default�3G.�� �789!�=L��!+�)�>L�j�G����*0#1W����(�X`$���$I!�=L�Z%5��4����#84����priority�/0%��"<��I5�@��3G.�����\�4'F����5��5��"��4��H��

uR��1$5�M�DR���)�BDR�6$�$�����"<�IS-IS�"<��1$5�����OSPF�7������j�G��*0#1W�7���synchronize���#1�X �DIS

uR��1$5�M�ASBR��6$�$�����"<IS-ISH������uR�iG��� W�7�Y��"<����'5priority�J�isis priority number-value [level-1 | level-2]. ��

����(��priority �� �)����P���L�TOzH�

Page 129: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR�����F.�]��'F��Level 2 IS����

����uR�Level 2 IS�J�".�Backbone�6$�$�����"<�IS-IS������C$'���database����mI<����B���

Level 2 ISs�=)��F�(����<�Level 1-2 ISs��������B�K�!����*���(��#�Level 1 and 2 �7 �4'��"#<����X level 2 database and level 2 interface

�����uR�72 �>L�+�)�R1���L�]��'5�=L�R4��$I5�=L�Z%5�6���q��PDU���L�M1�7B+�p�������$I5��r�

Database �]��'��� �F���!�7�(�� ��F�(��������-��inter-area'�<��#84��X ��(����!��I�����p���������I@F��area id��%5�=)��4��M1�78<)���L�^5�_�R4���-'��^5�_����� ��$B��K���� ��SPF��$I�<���6���q��PDU����L���

��uR�����=L�Z%5�Level 2 IS�*0#1W�"'��C$'� �� ��#����V' �Level 1-2 IS�K�!�����*���(����

�������-�level 2 database $����' ������� ���*�$���.�F��=wan�"'���#����V' �����uR�v�F.�=$�5�=L�7895�2 Router level 2 IS�7��7�$��=L�Z%5���#F ���_��' ��-�!�v�F.�=$�5��' �

*0#1W��BW��' ���FrM���>L���#%��7�45���.� �"<�7@��]� �"!�2����;��"<�7@��]��5�=L�=�������6$�$������F.�0��'5�IS-IS�������;��7B+�K��['��&�4�'�������

���*� ���b0%��3G.����]��'!�=L�Z%5�=��C�B)�7�Y��6$�$������G.�7�������$V���F5���=$�5��' �

����;�"'��*� ��#F��]��'F����#��7�45�C�B)��I5�@���2�)�/0%��K�I��@��"<�:$`��"��4��6$I5������>�'�W�7��=)�� ��1�/01W�k`$���^9'���/0%��"<��#84��X �Z����"��4�H���

Page 130: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

LSP and IIH Levels����

uR�7b����f$!)����]��'F��/0%��G.�"<�LSP and IIH�� �7��"<�LAN (broadcast) �����Point-To-Point �����

����

uR�Level 1 and Level 2 LSP�J����#1�7�IS�� ����$!���-'�����$I5�LSP , IIH�f$!�7V9���$I5�����7b�����3G.���L�mI<�7V��7b�����3G.��1$5��!�p�����#84��Level 1 IS��L�7V��mI<�7b��������

Level 2 ISH�����uR��$I5�IS Route��5$�'��Pseudo��$I5�� �F���!��F4��������3G.�DIS��;F����

link-state information ����B������;�����K�!����X`$���$I�<�level 1 ���1��-�����;������)���Level 2 �3G.��%'���5)���L�Z� �LSP�7B+����;���:�Y�X`$���$I�<�code�����pseudo code �

�7�Y�k`$��*�$��3G.���% ����[��7�Y�����$.�pseudo code�����

����uR�7B+�&$'� �$.�� ��#9!�=L��F �&$�@ �n���pseudo code�".��'�# ���'�# �".�� �\�4!������

�7B+�"'��K� $�4���:�Ylink state information (LSP)���uR����Y�"<�LAN�=$�������s��intra-area��$I5�DIS (IS)��;F��LSP�*0#1)�� ��!��1�����IS�

��#F���7b�����3G.�$�+��'5�IIH PDUs�� 0���'5��' �(synchronization)�C$'� �����j�>���#F�����Level 1 IS���

Page 131: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR���#1��$I5�DIS (IS)�7b����f$!�7V9��IIH PDUs������#45�$���ISs�^5�_�����!��1�area-id�>q<���(�IS��'I@F �n9!�� �6���q��������LSP PDU���L�DIS��$I�<�DIS��!��I���area-id������-����"����I@F �� �������3G.�7.���45�C�B)�������-��K�!�����*���(�"<��#|9����$I�<�Level 1 database

f$!�n9F���#����+������$I5��r��������IIH PDUs�C$'� �� �level 1 is���#84������\�4'���'5��7b����6+����IIH , LSP , PSNP , CSNP���

R�=����}!���>L�� )�area-id�� �7b�����3G.�=L�0��'�����$I�<��F��e�'- �level 2 is��#4 �7 �4'�����$I5���C$'� �����������I������I5�@��n9F�IS�O�level ���

����

uR�Level 1 and Level 2 IIH�J��7b���IIH (IS-IS hello)*0#1)������#�+�����'5�"'��7b�����".���Routers�=��1�k�V����#84������\�4'��"���neighbors�6+������ ����� $I5��r�LSDB���

�7���#�+�����'5�7b�����3G.�TP�"!$r��}($��G.���[�����5�����N���kVF5�M�U����3G.�6+�����'5����7b��^5�_multicasts to a multicast���'������'���"<�j�>���Level 1 and level 2�D�����B��1$5���

Hold time �*����{P���������'���'5����=����!�r�hello���V<������%��G.���'45�*�'9��3G.�"<�H����uR�7b����6+�����'5�hello PDUs���� �"<��Point-To-Pint�^5�_����unicast address����

Point Topologies-to-Comparing Broadcast and Point

uR�������!��I �C�!��I�����*�$V��"<broadcast���point-to-point��8�����

����;��f$!"'��f$!�7���#�<���-'�5��D}($��+���D��������B���+�4 pseudo code�D�5)���-'�5�DIS����7b����f$!Hello

Page 132: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

chronizationLSDB Syn����

uR�K�!�������$(�� 0�����]��'F��/0%��G.�"<�LSDB synchronizationH�����

����uR�p5��'���������update�6$�$�����7B+�IS-IS�7b�����;!������$I��link state information

LSPs�7B+�domainH������uR���#1��$I5��������Router IS�������6��I'����LSP;!��3��1�� ����� ��!��1���L�C�B)�*� ��.�

��F ��������3G.�6��I'�����iG����%�H����uR�f$!�� �7b�����level 1 �7B+��.�;!��'5�intra-area �f$!�� �7b��������level 27B+��.�;!��'5���

Back bone area�����uR���#1�7��IS�7b�����5$�'���$I5�LSP�������-�������)��'5�7b�����3G.�system id ����,�-����

Router (is)��#F5$�'����(�iG���D�������7������X`$���rfragment number starting at 0�)��5��� ���(�'�P�7I �"<��4`�����5��(��"�����L���(�'��7���>L��TVL�� �C�B)�*� ���(�'��)��5�P��

���uR���#1��$I5�IS-IS��(�9'��LSDB�������-��level 1�*���(�����������-��K�!����Level 2

uR���'���� � �LSP PDU�J����'�5�� �F�IS�������LSP PDU���9���$I5�PDU^5�_���������<checksum�����������(���G.��!��I����$I5���'�����������(���B)����7�������(������(�D��

�������C��<����$I5�LSP��#��:$�����}($��K�4��H��

Page 133: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

onizationLSDB Synchr����

����uR�6$�$�������-'�5�IS-IS������� Sequence number PDUs (SNPs)�J�6$���� ���?'5�"��

������LSPs�K�!�����*���(�k��V'���$I5�"����LSDB�D����.��������3G.�� ����$!�v�F.��CSNP and PSNP�D��� �7��"<����$F���5G.���-'�5�Broadcast , point-to-point

��uR7b�����CSNPs and PSNPs ��J�7�Y�n9!�$ �-'�5frame�7b�����3G.�"<��1$5�����

summarized LSP information�D���������=L����$F���5G.�������9���CNSP����C$'�����summaries of all LSPs in the LSDB�K�!�����*���I�������C$'������D�������� )PSNP�C$'���

�����subset of LSP entries�� ���[��/01��LSDB��������x��j�>��PSNP�/01�mI<��F��7������ LSDBH�����uR�7b����CSNP���PSNP�"!�2���)�6�W�C$'����"<�/$����-'���Level 1 or level 2 IS��uR�6$�$������$I5�IS-IS�7b����6+����CNSP��I��@����$I5�"���LSDB���#1���Router ���# �Z ���

DIS��$I5�iG��$.�����;��"<�*0#1W�X��1�X �6+��'��H����uR�7b����7����CSNP��I5�@��multicast �"<�7��*�'<�6�B�TP�"!$r��C$'� ����LAN��' ���?'5�

DIS�I��@ �*0#1W�X��1�=L�H����uR�7b������-'���'5�PSNP�J��6��I'��"<�A@B�+$1����� �"<C� L�K�9� �CSNP��$I5��DIS�

��#��_�� ���L��#����q�H����uR���� �"<�point-to-point�J��7b����6+�����'5CSNP�=$���� �F��LINK up�6+�����'5��LSDB

�C$'� ����DIS�C$'����� ������Level 1-2 or level 2 IS with level 1-2 isH�����

Page 134: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

����

uR��7b����6+�����'5CSNP���#1�����DIS�"<�*+$1$���*0#1W�7���LANC$'� �����/$����Level 1 or Level 1-2 IS��^5�_�����#�+�����'5�multicast�6+�����'5��LSDB�#'I��@ ��'5��' ���

�*0#1W�7�����H����

����uR�6+�����'5�CSNP�C$'� �����Point-To-Point�=$���� �F���.��mI<�*� ��*� �Link up��4���

�7b����6+�����'5�j�>LSP�����\�4'���'5��' �network topology�I!��1��>L����'5�/01�C�"<��7b����6+����Z�_PSNP�H���

Page 135: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

����

uR�7b����6+�����'5�IIH PDU�C$'� �����LAN�*0#1)��$I�������IS�7b���������(�9'����IS level 1

�7b����IS level 2�=)�p���level 1-2 IS�D���9�'- �K�!����*���(�"<�7b������ �f$!�7��X`$���$I5��������C$'� �Z� H��

Page 136: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��g Basic IntegratedConfigurin

IS-IS����

uR�4 �X@I��7��X85�iG��6$�$������"<�"��4��/0%����L�7V!�����������������*�$V��k`$5�"����6$�$������H��

����

IS in a CLNS Environment-Integrated IS�� uR���-'�!�=)�Z%5��!)�k`$5�/0%��G.�CLNS addressing���#1�=���>L��' �Router5������mI<��$I

������ip routingH�������

����uR�/0%��G.�"<�����Y�:�;�Cisco���#��'��"<�Student Guide����4���$I5�C0��,�-��/0%��=)���

���#1�e5�4�Router (IS)���#1����+��5�iG����Router�$.��#��+$1$ �$.�"'���I@F�����NET

(49.0001.1111.1111.1111.00)�#1�e5�4'��mI<�$.���Route������interfaces�����*+$1$������#1Router���L�c�'���ip address��5��#1�m���72 ��#'9��$���$I��"���Routers���#84��X �D��

�6$�$�����=)�� ���?'!��F.�IS-IS�X �7�45�ip addressing�*���)��I5�@���D�Z%5��!)��85)�&�'���6$I5��XI5��5)�+��!�=)interface �-'�F��iG�����D�X �7�45�$.�7.level 1 IS��)�level 2 IS���

��)level 1-2 IS��D�6$�$�������-'�����B)�6$�$�����C���-'��"<��#�����9��$.�G.�IS-ISH�����uR�*0#1W�\�4���'5�ISs�^5�_�����4����#84��X �(hello protocol data unit PDUs)��j�>��4����

���#1��$I5IS�7�[;'��SPF ��"����&������$INET addressH�����uR���#1�7���$I5�j�>��4��IS��!��I���NET address�G.�=���>)��5��'���$I5�"��������\�4'�����iG��

��'I@F �n9!�� ���#%�same area��9�'- ��I@F �� �=���>L��)�H����uR���#1��$I5�IS �C$'� �� �level 1-2�6���q��default Route�*0#1)�"(�����L�ISs�"<�*+$1$���

��'I@F �n9!same AREA�"'��C$'����� �level 1�3G.�\�4��j�G���*0#1W�7V��=)�X�@'���e������L*0#1W�^_�F���"<�*+$1$���C�BWH���

Page 137: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��

����uR��� 0���6+�����'5�=)��4�LSDB���#1�7���$I5�IS�� ��)������\�4'�����^5�_�7����L�K���� �X`$��

�����<�4!metric for each path�^5�_�78<)����'B����$I5��r�best path�&�(���L�Level 1-2 IS

��uR���#1�7���$I5�IS�C$'����� �=���>L���$!�����\�4'�����T��)�O��)�T�RO��$I5�w��W�G.������

���-'���LSDB�C$'����� �=���>q<�ORT�7V9���$I5�LSDB�����(���L��D����,�B���(Level 1

�,�B���(����Level 2H�����

����uR�6$�$�����d9'�5�IS-IS����ip address�������7B+�link-state packets (LSPs)�D��3G.�7 �45�

�=$F���#!)�����������ES (end-system)(PC)�D��p5����j�G��Routing table��#F������# ����������b01���'4�partial route calculation (PRC) �72 �}�����6+���LSDBH���

��uR�partial route calculation (PRC) ���� �78<)��5��'���$I5���L�G.�ip address�&$�@���

����L�6$�$�H���

Page 138: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

IS-Configuring Integrated IS������

�� )�7��X ��# �-'�!�"'��� �W�:�;!��6$�$������������������2 ?���$IF��7�(�� ��!+$4�����H��uR��m����6�2����$IF��M�)���5��#1���-'����6$�$��������Router����)���2 )���L�7I'F!��r�mI<�H��uR�E �!�����-'�����$IF��GNS3H�����

����

uR��5��#1���-'�����$IF��Routers�"��'��6��%��"<�*+$1$���K�!�������#����X8!��mI<�J����

IS-IS NET address Ip address��interface Router

gQHPPPTHTTTTHTTTTHTTTTHPP��TQOHTlyHTHT��S0/0 IS0

gQHPPPOHOOOOHOOOOHOOOOHPP��TQOHTlyHTHO��S0/0 IS1

��uR���#1�����6$B������$IF��=M)�P�IS������K+��a�X`���H����

*- IS0(config)#interface serial 0/0

*- IS0(config-if)#ip address 192.168.1.1 255.255.255.0

*- IS0(config-if)#no shutdown

*- IS0(config-if)#clock rate 9600

*- IS0(config-if)#ip router isis

uR$.���5�1�mI<�� ��� )�C$���%!�����I�����K+��a�"<���*- IS0(config-if)#ip router isis

��uR�� W�G.���-'��:�Y��J�=)�7�(�� ��!��>����Net address���#1�\�45�IS�"<���-'�5�M��mI<�

�\�4�interfaces�X`$���F�(�w��W�G.�������# �-'���'���"'��ip address��L����interface S0/0�6$�$�������-5�"���^������ W�X`$���F�(��r�IS-IS�6)�G.�=)�interface��$IF��

�6$�$�����X �� �-'���IS-IS���#1�����=$�5�=)�������� ��!W�G.��Router���-'� ��B)�6$�$������6$�$�������sIS-IS�6$�$�����K0�� �� �� W�G.��IS-IS�+��5��!W�interfaces��4 �7�4'��"'��H��

��uR�����6$B������$IF����!�r�router configuration �6$�$�����7[;!�"���IS-ISH���

��*- IS0(config)#router isis

*- IS0(config-router)#net 49.0001.1111.1111.1111.00

*- IS0(config-router)#is-type level-1-2

uR��I������ �W���$�% �:�Y��J��F �-'���I������ �W�"<{��.��*�5�1�� �)�J��*- IS0(config)#router isis

��uR���#1���L�6$I5�^������ W�Router�6$�$�������-'�����$IF���F!L�IS-IS

��

Page 139: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

*- IS0(config-router)#net 49.0001.1111.1111.1111.00

��uR�^������ W��J�6$�$�����=)�7�(�� ��!��>����IS-IS���-'�5�CLNS��!$F4��������"<�

�=)��CLNS���-'���net address�$.�G.��net address� �7��+��5�iG����R�$.�7.�=$F4��G.�XI5��5)����,�-��/0%��M�)�privet range or public rangeN�gQU��R/0%����!�r��+��5�iG��,�-��area-id �$.�NPPPTU��I@F���"<��!�C�!��T�area

R�+��5�iG��/0%���2��r�system-id�$.�(1111.1111.1111)���R�G.�7 � �f$!�+��5�iG��/0%���4���net address���#1�=���>L�Router��)�PC�$.�NPP�U�/0%��G.�

��9��C���5���b+����uR�X`��=L�C�!�net address��X`���'5�� �����s���@�������#�������Mac address�/0%��"<��

����,�-�system-idH�����uR�$.����BW�� W���

*- IS0(config-router)#is-type level-1-2

����uR�+��5�iG��� W�$.�G.��level���#%��,�-��C$'����Router��$I!�e���C�B)���2 )�"<�C�F���

�C$'� ��5��'�level�7���interface �D��C$'� ��5��'���F�(��F!L��F.�C�!�level 1-2�G.���L�Router

uR�=M)���#1�����6$B������$IF��IS 1 ����������'��K+��a�X`$���$I!��H����

*- IS0(config)#interface serial 0/0

*- IS0(config-if)#ip address 192.168.1.2 255.255.255.0

*- IS0(config-if)#no shutdown

*- IS0(config-if)#clock rate 9600

*- IS0(config-if)#ip router isis

��*- IS0(config)#router isis

*- IS0(config-router)#net 49.0002.2222.2222.2222.00

*- IS0(config-router)#is-type level-1-2

����uR�(�mI<��I������ �W�"<�*��2��K��['���I!�����F!)�C�!���I@F�����['���Farea-id���system-id

��4�_�interface S0/0 ipH�����R��=��1��.�� �e;'�!�"�������'��� �W���-'����=M)��$IF�neighbor���#1�IS 0���-'����� W���

�$.�J

IS0#show clns neighborsRu����uR������7��"<���-'����72 �C+���� )��!�^������ W�"<�C�!���������[�����mI<�KM$�$ip�������clns

����������6$x����$.�net addressingH�����

����uR������1�\�;'������!��I�����*�$V��"<�C�!��$.������IS1�6�B�� ������\�4'������interface���

S0/0�m����I5�_�6�B�� ������\�4'������!L���HDLC\���M������j�G���I!�����F!L�X �����>����Z������I5�@��3G.���#�)���

Page 140: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

����� �C�!state "up"�+���C�!��hold time 21���!�r��D���-'����6$�$�������IS-ISH�����uR��b�VB���#�q���$I���"��'��� W�interface serial 0/0�6$�$�����"<�� �-'�����F�(�iG��IS-IS

��*-IS0#show clns interface serial 0/0

��

����

uR�$.���-'����6$�$������=L�C�!�IS-IS�=��circuit type :level 1-2�*�b���f$!�$.�circuit����f$!����,�B�$.��I��������\�4'F��� )�$.interface�C$'� �+��!�=L���������<���9!�interface

�C$'����� �=���>LT��)�O��)�TRO H����uR�C�!��system-id����iG����%�����,�-���G.�6�B�� ������\�4'�interface���uR�C�!��metric�������G#�����-����TP����uR���-'����6$�$������������-��7���9'���.�;!�"���"��'��� W���-'�F��IS-IS

��*- IS0#show clns protocol

��

����

uR���#1������ �-'�����b�V-��7���I�����*�$V��"<��.�;!�Router�C�!��system-id

1111.1111.1111.00�D��C�!�area-id 49.0001�6)�C�!���interface �6$�$�����7�(�� ���-'����IS-IS�$.��serial 0/0�D��C$'����C�!�level�iG����#1�� �-'�5�Router���level-1-2

Page 141: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�C$'� ��.�;!�"���"��'��� W���-'�F��database�-'������6$�$������"<�H����

*- IS0#show isis database����

����uR����#1��$I5�e���$.���#F��p5����6�_�"'����#���/��YW�� �AY��I�����*�$V��"<��.�;!��

Router���I��LSDB��b01���L������,�B�h01�level 1 LSP���level 2 LSP���uR��85)��%!�LSP seq num�J���� �����<��'5����B�� �iG���(���$.�LSP1�".�7.���5�(��)�*�5���

�"�������(�����(� ��#!)��%!��D��%!�hold time H�����uR��.�;!�"���"��'��� W���-'�F��topology�6$�$������������-��J����

*- IS0#show isis topology

��uR���(�����!��I�����*�$V��"<��.�;!�topology�����(���L��D����,�B���(level 1���,�B���(�����

Level 2H�����uR����,�-��� W�$.������������ �-'���'5�� )��.)���L�"�?!�=M)�routing tableH�����

*- IS0#show clns route

��

����uR��I�����*�$V��"<��.�;!�routing table �6$�$������������-��H��

Page 142: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�����6$B�����=M)��$IF��IS 1��<�`q���$I!��loop back interface 1 and 2�#��X8!����Ip address 172.30.1.1 2 255.255.255.0���ip address 172.30.2.1 255.255.255.0

*- IS1(config)#interface loopback 1

*- IS1(config-if)#ip address 172.30.1.1 255.255.255.0

*- IS1(config-if)#ip router isis

*- IS1(config-if)#interface loopback 2

*- IS1(config-if)#ip address 172.30.2.1 255.255.255.0��*- IS1(config-if)#ip router isis

��uR���-'����,�-��� W���F!�M�=L�Z%5�interface�6$�$�����7B+�IS-IS����uR�����6$B�����=M)��$IF��IS 1������� W��%�'!��.�;!��H����

����uR�X`������!��%!�loop back interfaces+��7Brouting tableH�����uR���L�=M)�Z.GF��IS 0��.�;!��routing table�������-��H����

����

uR��$#������!��%!�route���L���;��*�5�1��loop back interfaces�f$!�� ��#!L��iL2���IS-IS

Level 2��9�'- ��I@F �� ���?���#!)�j�>��F4 ��H��

Page 143: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR��<�`q���$IF��loop back interface 3 and 4���#1�����IS 1� )���-'�!��' ���Route summarization ��<�`q���$IF��loop back interface�"�5�����J��

��*- IS1(config)#interface loopback 3

*- IS1(config-if)#ip address 172.30.3.1 255.255.255.0

*- IS1(config-if)#ip router isis

*- IS1(config-if)#interface loopback 4

*- IS1(config-if)#ip address 172.30.4.1 255.255.255.0��*- IS1(config-if)#ip router isis

����uR���#1������<�`a��4��=M)��$IF��IS 0��.�;!�"���routing table�7�(�summarization

��uR�X`$��=M)��$IF��route summarization�6$�$�����K+��L�7B+�� �j�>��IS-IS������ ��

IS 1H�����

*-IS1(config-router)#summary-address 172.30.0.0 255.255.0.0

uR�"<�� �-'�!�iG��� W�n9!��!�C�!�route summarization�B)�6$�$�����C�"<��\�'B����F!L����-'�!sub net mask�� �6���wild maskH���

��uR����L�=M)�Z.GF��IS 0��%�'F���.�;!�"���H����

����uR��7�������!��%!summarization:�%F��H�����uR���-'�!�j�>�� �������2 )���L�7I'F!�� �F���' ���4 �7 �4'��7#��6$�$������=L��!�.�Y��F!)�=M)��I'��

�7#��6$�$������G.�X �7 �4'��=)��%F������*0#1)�+����#�<H��

Page 144: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�*����3G.���-'�F����B)�6�2 ���L�=M)�7I'FF��{�*0#1)�Routers�6�2���G.�"<���1�0��!�=)�$1���&�'���� �6�W�/0%������''-!�/0%��G.�"<�6�2 ��B)��!WH��

u�R�E �!�����-'�F��GNS3H�����

������uR6��%��"<�*+$1$���K�!�������-'�����$IF��7�(�� ��!+$4����������

IS-IS NET address Ip address��interface Router

gQHPPPTHPPPP.0000.0001.00��TQOHTlyHTHO��TzOH{PHTHT���TzOH{PHOHT��TzOH{PH{HT��

S0/0

Loop 1

Loop 2

Loop 3

IS0

gQHPPPTHPPPPHPPPPHPPPOHPP��TQOHTlyHTHT��TyPHTlPHTHT��

S0/0

S0/1

IS1

gQHPPPOHPPPPHPPPPHPPP{HPP��TyPHTlPHTHO��S0/0 IS2

����uR���#1�����6$B������$IF��=M)�IS0�a�X`$���$I!��������K+�HIS0 level 1

��*-IS0(config)#router isis��*-IS0(config-router)#net 49.0001.0000.0000.0001.00��*-IS0(config-router)#is-type level-1��

��*-IS0(config)#interface serial 0/0��*-IS0(config-if)#ip address 192.168.1.2 255.255.255.0��*-IS0(config-if)#no shutdown��*-IS0(config-if)#clock rate 9600��*-IS0(config-if)#ip router isis��*-IS0(config-if)#isis circuit-type level-1��

��uR�$.��F.�3�!�iG���5�%��� W�isis circuit type�J��f$!�=)�+��5�=)�$.��F ��5�[��� W�G.�LSP

�C$'����� �mI<�".��#4 �7 �4'���'���"'�T�levelH���

Page 145: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

��*-IS0(config)#interface loopback 1��*-IS0(config-if)#ip address 172.30.1.1 255.255.255.0��*-IS0(config-if)#ip router isis��

��*-IS0(config-if)#interface loopback 2��*-IS0(config-if)#ip address 172.30.2.1 255.255.255.0��*-IS0(config-if)#ip router isis��

��*-IS0(config-if)#interface loopback 3��*-IS0(config-if)#ip address 172.30.3.1 255.255.255.0��*-IS0(config-if)#ip router isis��

��uR�����6$B������$IF��=M)�IS1K+��a�X8!���������-���DIS level 1-2�����

*-IS1(config)#router isis��*-IS1(config-router)#net 49.0001.0000.0000.0002.00��*-IS1(config-router)#is-type level-1-2��

��*-IS1(config)#interface serial 0/0��*-IS1(config-if)#ip address 192.168.1.1 255.255.255.0��*-IS1(config-if)#clock rate 9600��*-IS1(config-if)#no shutdown��*-IS1(config-if)#ip router isis��*-IS1(config-if)#isis circuit-type level-1��

uR�=L��2�)��F��k8'5�K+��a�� �^�����/0%��"<�interface s0/0�f$!�circuit7I!��'���������7b���LSP�C$'����� �T�level�j�>��mI<��!W�C$'����� �7b����7I!���L��1� �M�O��I@F���3G.���L�

��I@F���"<��1$5�M��!)�p� T�area�C$��isC$'����� ��T�D������� W�G.�X`������!�d �!interface�6$�$������K+��L�7B+�n����H��

��*-IS1(config)#interface serial 0/1��*-IS1(config-if)#ip address 180.160.1.1 255.255.255.0��*-IS1(config-if)#clock rate 9600��*-IS1(config-if)#no shutdown��*-IS1(config-if)#ip router isis��*-IS1(config-if)#isis circuit-type level-2-only

��uR�e5�4�����/0%��G.�"<�serial 0/1�7b����6+�����'����!�level 2 only��!W�j�>��interface�7V'���

���IS level 2 only�6������L��1� ��<�LSP�� �level��B)�H����

Page 146: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR�������-��K+��a�X`$��=M)��$IF��IS2���IS 2 level 2 only �

��*-IS2(config)#router isis��*-IS2(config-router)#net 49.0002.0000.0000.0003.00��*-IS2(config-router)#is-type level-2��

��*-IS2(config)#interface serial 0/0��*-IS2(config-if)#ip address 180.160.1.2 255.255.255.0��*-IS2(config-if)#clock rate 9600��*-IS2(config-if)#no shutdown��*-IS2(config-if)#ip router isis��*-IS2(config-if)#isis circuit-type level-2-only

uR�^_�F�����*0#1W������(�4��k`$��"'��� �W�t�4'����=M)��$IF��K+��a�X`$���F�(�=L��4��H����uR�� W���-'����=M)��$IF����

*-show clns route

��uR�=)�C�!�IS0��.���#��7V'����I@F���+��5�=)�X�@'�5�49.0001

��uR������ �IS0� W���-'�����$IF����

*-show ip route

��

����uR��I �����!)��F��k8'5��F.�IS0����default route�^5�_����IS1�C$'����� ��!W�M�)�TRO level �

��!W���!�rDIS �� ��� $��c�-�����'45����I@FPPPT�area�C�BW�^_�F���"(�����L�H����uR�� W���-'�F���2��r���

- show isis database

��

����

uR��5��������!)�C�!�=)�X�@'�!��F.�� �LSDB�C$'����� �k�V���' �Level 1�C$'����!�C�!��mI<�����LSP�mI<�6�W�C$'����� ���

Page 147: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

���

uR���L�&�.G����=M)��$IF��IS1�� W���-'�!����- show clns neighbors

����

uR�C�5�=L�X�@'�5��!�C�!��F.�� �IS2 and IS0�7���5��'����(��!���interface�� ��������\�4'������G.�����7V' interface��#���'���$I���"'��7b�����C$'� ��5��'��7�(�� ��F�(�����w��W�G.������

�G.����interfaceH�����uR������ ��85)�IS1 � W���-'�F����

�-show ip route

��uR�=)�C�!�IS0�7��6�V5L����loop back interfaces���L�7V�����#F5$�'���F�(�"'��IS1:�%F������uR������ �IS1� W���-'�F����

-show isis database

����

uR�=)�C�!�IS1�C$'����� ��!W�T�RO level �}��I!��(�LSDB��b01���L����C$'�5�/01�7������mI<����,�-��C$'����K� $�4 H��

��uR���L�=M)�7I'FF��IS2�C$'����� �$.��O�mI<�

��uR� W���-'�����$IF����

- show isis database

����uR�=)�C�!�LSDB�������-��IS2�C$'����� �".�O�mI<�level 2 H���

Page 148: books.moswrat.comBuilding Scalable Cisco Internetworks Student Guide R Wikipedia website R CBT nuggets R 6W / 0% K 5$’˙ Enhanced Interior Gateway Routing Protocol 2 W X 7 6 $$ ˆ

��

uR������ �IS2� W���-'�����$IF������-show ip route

��

����uR�F.�� ��=)�C�!�IS2�7��7�I'�5�Route������ �IS1�:�%F��H����������

���&�'��� �6�W�/0%��� �"#'F!��F.���L��

��

CCNP��

BSCI ����

&�'���� �"!�2��/0%��"<����!��/�Y�=)���:�;��"<�}I<��=$�)�=)�$1�)����

&�'���/01)�7��"<����4����!����������!�4'�M�������

����� �"!���G��=L�$1���b��+�k����

��4;��K0����� ���.��L�+$�� ����

[email protected]

��&�'����+�V ��

��R�Building Scalable Cisco Internetworks Student GuideR��

R�website�WikipediaR��R�CBT nuggetsR��

��� ����������

���������������������� ��!"�#$��� ����������

�%�&�'����(��) *�+���,��-�.����

(13-4-2009)�