Skip to content

Network Ninja

The Long Road to Cisco

  • Home
  • About
  • Legal Disclaimer
  • Archives

Less
More
Trim
Untrim
« Older
Home
Loading
Newer »

Tag Archive for 'configuration'

Open Shortest Path First – OSPF Fundamentals – Checking or Troubleshooting OSPF Troubleshooting

Published
by
Deon Botha
on June 12, 2009
in BSCI, BSCI Notes, Concepts and Constructs, Debug and Show
. 0 Comments

I’m using a Simulator and sometimes output differs from what it should be (which is happening more and more often). Make the best out of the explanations when things differ (I’ve used verbatim examples where the simulator just came up blank with output).

All the below is to test if OSPF is functioning properly and has been configured correctly.

Base the output (for examples that worked) on the show commands on the below OSPF Configuration.

Working from a functional configuration on a single router, Router_1 will be the DR on Fe1/0 unless another device on that segment has a priority greater than 100. The link attached to Fe1/0 has a cost of 1. The cost on Fe2/0 has been changed to 10.

The Config

Router_1(config)#router ospf 100
Router_1(config-router)#network 192.168.0.0 0.0.255.255 area 3
Router_1(config-router)#exit
Router_1(config)#interface Ethernet 0/0
Router_1(config-if)#ip address 192.168.16.1 255.255.255.240
Router_1(config-if)#ip ospf priority 100
Router_1(config-if)#exit
Router_1(config)#interface Ethernet 0/1
Router_1(config-if)#ip address 192.168.16.15 255.255.255.240
Router_1(config-if)#ip ospf priority 20
Router_1(config-if)#exit
Router_1(config)#interface Ethernet 0/2
Router_1(config-if)#ip address 192.168.16.30 255.255.255.240
Router_1(config-if)#ip ospf priority 15
Router_1(config-if)#exit
Router_1(config)#interface Ethernet 0/3
Router_1(config-if)#ip address 192.168.16.17 255.255.255.240
Router_1(config-if)#ip ospf cost 10

Checking the Configuration

show command options ospf

As we’ve been through before in previous posts, the show commands are detailed and comprehensive views on the health and status of the network and hardware (there are a gazillion of them and the detail can be overwhelming same with debug commands). To understand the output from the show commands read-on.

The show-ip ospf Command

The show-ip ospf command shows how OSPF is running on a given router.  Output includes the number of times that the SPF routing algorithm has run (indicates the stability of the network). From the previous posts the SPF routing Algorithm runs when there is “instability” on the network (the higher the number of “recalculations” the less stable the network).

Router_2#show ip ospf [process-id]

Output

show ip ospf command output

Explanation

Explanation-Show-ip-ospf

The show ip ospf Database Command

The show ip ospf database command when issued will display the contents of the routers topological database and the different Link State Advertisements (LSAs) that have populated the database (Internal Routers will only display router and network LSAs).

Router_2#show ip ospf database

Output

show ip ospf database

Explanation

Explanation of the show ip ospf database

Show ip ospf interface Command

The show ip ospf interface command shows how OSPF has been configured and how it is working on an interface. This level of detail is excellent to troubleshoot config errors.

Router_2#show ip ospf interface [type number]

The command shows information such as the Designated Router (DR) and Backup Designated Router (BDR), a list of neighbours, and the network type.

Output

show ip ospf interface type number

Explanation

explanation-of-the-show-ip-ospf-interface

There are some things that don’t come up once again on my output. This would be because I am using a simulator when studying and not “real” kit. You can’t really expect the lab to do “Everything” you want but it does a good job of giving you the basic ideas. Use your imagination.

From here on in things are verbatim from the book. The deviations on the Simulator is so GREAT from what it should be (a.k.a a blank output) that I really can’t study from that).

Show ip ospf neighbour Command

The show ip ospf neighbour command shows OSPF neighbours (known neighbours can be viewed using this command).

Router_2#show ip ospf neighbor

Output

Show-ip-ospf-neighbour-output

The command can be made more granular and the neighbours can be viewed in a per-interface method

show-ip-ospf-neighbor-fddi

The command can once again be expanded further to show a deep-dive per interface view in as much detail as possible. Use the command displayed below.

Router_2#show ip ospf neighbor {type number} {neighbour id} [detail]

Output
show-ip-ospf-neighbour-detail

Explanation

explanation-of-the-show-ip-ospf-neighbor

Show ip protocols Command

The show ip protocols command shows the configuration of IP routing protocols configured on the router. The command brings up how protocols were configured and how they interact with one another (updates, interactions, etc). Great for troubleshooting configuration errors and understanding how the network is communicating about routes

Router_2#show ip protocols

Output

output show-ip-protocols

Explanation

show-ip-protocols

Show ip route Command

The show ip route command shows the IP routing table on the router. This particular command shows how the network is known to the router and how the router discovered routes. Most of us know about this one and would have used it many times before. I know I have.

Router_2#show ip route

Debug Commands

A rather dangerous command is debug (this is because it can make a router totally freak out). This is due to the fact that the debug command has the highest process priority and can consume all resources on the router causing the router to freeze up and need a power cycle.

Good practice would be to turn on debug commands for a specific function and then turn off that debug command as soon as the needed information has been gathered.

To turn of all debug commands that could be active on the router:

Router_2#no debug all

The particular commands with relevance to OSPF:

Router_2#debug ip ospf events

This command displays information about OSPF-related events, such as adjacency, flooding information, designated router selection, and SPF calculation.

Router_2#debug ip packet

This command is IP debugging and includes packets received, generated, and forwarded. Fast-Switched packets do not generate messages.

If I added some value to your Cisco Experience with this post please add some value to my studies and leave a comment, question, suggestion, note of thanks or encouragement for me to hurry up and complete my certifications. My reasoning for wanting some interaction is that the last Recruiter said I need CCNP, Juniper and a Specialization track. The LOOOOONG Road to Cisco Indeed. Thanks Deon

Notes and Notices: This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I cannot lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Open Shortest Path First – OSPF Fundamentals – Configuring Options On an Internal Router

Published
by
Deon Botha
on June 5, 2009
in BSCI, BSCI Notes, Certification, Cisco Systems, Concepts and Constructs, Cost and Priority
. 4 Comments

To allow you to tune OSPF on an Internal Router you have the following options available at your disposal:

  • Router ID
  • Loopback interface
  • cost command
  • priority command

Defining the Router ID and Loopback interface

The Router ID (when thinking about OSPF Domains) is used to identify any given Router in the Link State Advertisements (LSAs) in an OSPF Database. A given Router on a network requires an ID (Router ID) to participate in an OSPF Domain.  The Router ID can be assigned/set in one of two fashions:

  • By the administrator (manually assigned)
  • Left to the discretion of the router (automatically assigned by the automatic election process)

In most configurations the Router ID is set by the administrator as this makes it easier to track events, internal documentation, and system-administration remotely or even on the router itself.

Setting the Router ID

The Router ID as discussed previously must be present for a Router to participate in an OSPF Domain. This Router ID can be set in one of two methods:

Setting the Router ID – Method One (Less Preferred)

The OSPF Router ID can be defined using the router-id (background link) command found in IOS.

Using the Router-ID command isn’t always the best idea when combining BGP and OSPF as both technologies employ the same method in electing a Router ID. So manually setting a Router ID (using the Router-id command) for OSPF could cause BGPs Router ID to differ from BGP which causes administration problems as well as could cause other problems at a later stage when combining the two technologies.

Should you still want to change the Router ID using this method anyway the command is:

Router(config)#router ospf
Router(config-if)#router-id ip-address

Dissecting the above when the Router ID has been chosen/assigned using the router-id command, the Router ID is kind of stable and may possibly change (barring a power cycle or a OSPF process reset). This is an important factor because changing the Router ID post (after) configuration could possibly break some OSPF configurations, such as virtual links (which as the name implies don’t exist, and could take some thinking to logically get working again).

Setting the Router ID – Method Two (Preferred)

Should the router-id command not be present/available on the router IOS you are using, and you want a more reliable method (sticky) that spans, the Router ID is automatically elected via:

  • The highest IP Address of a manually created loopback interface.
  • If there is no configured Loopback interface then the Router ID will be the highest IP Address of the first active (on boot-up) physical interface.

I inherently look for the easier easier solution to a problem that will work long term, more work once off doesn’t matter (first off config) the solution must stick and continue working through power outages, reboots and the CEO trying his hand at “setting up” his own hardware, voice being a good example i.e. putting each end point into it’s own vlan thus ensuring QoS while the organization grows (there are limitations in the number of vlans, but I have yet to reach them).

Looking at the top the better method to control the Router ID (using automatic means) is through the use of the Loopback interface IP address. A loopback interface is a virtual interface (duh) that will always be active (cannot flap) and will be the first active interface (*shrug* logic dictates as it becomes the Router-ID, comments as I haven’t tested this out?).

The command to use a loopback is as follows (CCNA topic):

Router(config)#interface loopback inerface-number
Router(config-if)#ip address ip-address subnet-mask

Consider assigning loopbacks a /32 mask 255.255.255.255  (1 end point) to minimize the ip space usage of the virtual interface(s) on the network (use it dont use it). I have come across some places that say that loopbacks wont work with the /32 mask (cant find source again), I will verify once I setup my kit again. In that case use the smallest (/31 or /30).

What I want to take away from this is should the Router ID be chosen/assigned using the loopback interface, the Router ID is stable and wont change. What’s important here is that a Loopback interfaces is NOT a physical interface thus cannot go up and down (flap) and therefore is not as unstable element in the network (i.e. loopback is stable) and thus is more desirable. Even in the event of a power cycle the loopback will once again be the Router ID.

Think about including the Loopback interface in the general network commands even if you aren’t configuring OSPF. This gives you an easy point to ping to should there be a need to troubleshoot (can I reach point A from point B) this should tell you alot about Layer 1 if the interface is un-shut and it has an ip-address.

Changing the COST

The COST metric on a Cisco is calculated as 100,000,000 bps divided by the bandwidth of the interface in bits per seconds. Sometimes when using a fast interface type (FE and GE) or when dealing with inter-vendor situations (Cisco / 3COM / HP) changing the default cost metric becomes a requirement (this is due to  (1) faster link speeds not calculating correctly (2) or the metric equations being different between inter-vendor kit).

The command to change default cost:

Router(config-if)#ip ospf cost cost

The cost variable  is a 16-bit value (0 to 65,535). The lower values being the more preferred costs while higher being less preferred (shown below).

Default Cost in OSPF

As you can see in the above table Fast Ethernet is the “drop off point” (where all things being 1) for the “fast” links (Fast Ethernet and Gigabit Ethernet both equal 1). In this case it would be better to manipulate the default cost so that the Gigabit Ethernet link is preferred over the Fast Ethernet Link. This would mean changing the cost per interface.

Another way to deal with high-bandwidth paths is to change the way a Cisco calculates cost (mess with the equation). We adjust the numerator in the automatic calculation (the Cisco automatic formula) to make some things happen in this case. To do this use the ospf auto-cost reference-bandwidth command on IOS, the default is 100 (Fast Ethernet) adjust it to 1000 (Gigabit Ethernet) and you will “fix” the equation.

Router(config-router)#ospf auto-cost reference-bandwidth reference bandwidth

Two very important NOTES (1) ospf auto-cost reference-bandwidth should be applied to all routers in an area if it is applied at all and the command (2) ip ospf cost overrides the calculated cost calculated by auto-cost reference-bandwidth

Determining the DR with the Priority Command

The hello field includes a priority field (if you can still remember) thus providing a mechanism by which designated router (DR) and backup designated Router (BDR) gets elected.

To be eligible for election, the priority must be a positive integer between 1 and 255 (if the priority is 0 (zero) the router cannot participate in the election process).

The highest priority wins (Cisco Router Default is 1) the election process.

Because the default is 1, to break all ties the Cisco Router ID is used as the deciding factor in the election process (ergo why hard coding the Router ID is a bad idea). The command to adjust priority (interface-by-interface mind you):

Router(config-if)#ip ospf priority number

Notes and Notices: This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I cannot lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

If I added some value to your Cisco Experience with this post please add some value to my studies and leave a comment, question, suggestion, note of thanks or encouragement for me to hurry up and complete my certifications. My reasoning for wanting some interaction is that the last Recruiter said I need CCNP, Juniper and a Specialization track. The LOOOOONG Road to Cisco Indeed. Thanks Deon

Open Shortest Path First – OSPF Fundamentals – Configuring OSPF in a Single Area

Published
by
Deon Botha
on April 9, 2009
in BSCI, BSCI Notes, Certification, Cisco Systems, Concepts and Constructs and OSPF
. 5 Comments

The command requirements for configuring OSPF in a single area is relatively (compared to say other routing protocols) few in number and simple; the implications of the commands are somewhat complicated but need to be understood.

Required Commands for Configuring OSPF WITHIN a Single Area

We are going to configure an OSPF internal router. An Internal router being one with all interfaces that lie within a single area. The sole OSPF function on an internal router is to route within an area.

The Router needs to understand how to participate in the OSPF network:

  • OSPF Process – Declare an OSPF process.
  • Participating interfaces – Identify the interfaces to be used by OSPF.
  • Area – Definitions are done per interface. This discussion assumes that all active interfaces are in the same area.
  • Router ID – A unique 32-bit ID, usually drawn from an interface IP Address.

Enabling the OSPF Routing Protocol

Router(config)#router ospf process-number

In the above the process-number is not globally significant.  It is possible to have more than one process running on a router (although that would be an unusual configuration, but not unheard of) and two OSPF processes could route for different parts of the network. The process number does not have to be the same on every router in the area.

The OSPF Network Command

Once OSPF is turned on (the above command), you must define the interfaces that are to participate in OSPF and the area that they reside in:

Router(config-router)#network network-number wilcard-mask area area-number

NB.Take note of the above command. Many errors occur in configuration with this command, normally due to misapplication of the wildcard-mask parameter, either including too many or too few interfaces in a particular OSPF area.

Similar to other routing protocols like RIP, the network command identifies the interface on which the OSPF process is to be active. Unlike RIP however this command has a wilcard mask that allows it to be very specific. All interfaces that match the network wildcard mask will be active within the given area.

One can apply the network command in different ways, each method will yield different yet similar results.

  • FE 0/0 : 192.168.0.1 / 24
  • FE 0/1 : 192.168.1.1 / 24
  • FE 0/2 : 192.168.2.1 / 24
  • FE 0/3 : 192.168.3.1 / 24
  • S o/1 : 10.10.1.1 / 30
  • s 1/1 : 10.10.2.1 / 30

We can enable OSPF area 0 (zero) on all interfaces with the following command:

Router(config-router)#network 0.0.0.0 255.255.255.255 area 0

When using this approach you may include interfaces inadvertently that you may not want to include (as this is a sweeping statement config line).

The second method would be to break the network into the 10 network and the 192 network, as follows:

Router(config-router)#network 10.0.0.0 0.255.255.255 area 0
Router(config-router)#network 192.168.0.0 0.0.3.255 area 0

This approach gives a little more control over the two different networks (192.x.x.x and 10.x.x.x) splitting them into two config lines.

Another method would be to separately enable OSPF on each interface;

Router(config-router)#network 192.168.0.1 0.0.0.0 area 0
Router(config-router)#network 192.168.1.1 0.0.0.0 area 0
Router(config-router)#network 192.168.2.1 0.0.0.0 area 0
Router(config-router)#network 192.168.3.1 0.0.0.0 area 0
Router(config-router)#network 10.10.1.1 0.0.0.0 area 0
Router(config-router)#network 10.10.2.1 0.0.0.0 area 0

This option is more time consuming to deploy but gives much more control over what interface specifically is included and not included in area 0 (zero) which will enable much more control over the routing process.

All the above achieve the same thing (six interfaces places in area 0 (zero) begin to process OSPF traffic).

The technique that is used should be functional, effective and efficient given the topology and application on the network while still maintaining the ability to be documented thoroughly (Keep It Simple Stupid KISS or as simple as possible, because you might not be the one to always maintain the network).

NB.Be intimately familiar (CCNA) with wildcard masks and the network command to enable OSPF on router interfaces

The area parameter puts the designated interface into an area. A router can have different interfaces in different areas (as mentioned earlier thus making the router an Area Border Routers (ABR)). The area-number is a 32-bit field and format can either be a simple decimal (0, 1, 2, 3, 4) or dotted decimal( 0.0.0.1, 0.0.0.2, 0.0.03, 0.0.0.4). Some implementations of OSPF might only understand one of the formats (keep in mind that some vendors throw the dotted decimal around 0.0.0.1 will become 1.0.0.0), Cisco understands both formats.

After identifying the interfaces on the router that are participating in the OSPF domain, hellos are exchanged, LSAs are sent, and the router inserts itself into the network.

NB.If there are stub networks connected to a OSPF router, it is useful to issue the command redistribute connected subnets. This command includes the connected subnets in OSPF advertisements without actually running OSPF on these routers. A route-map is often used with this command to exclude interfaces that are explicitly configured with OSPF

Next up Internal Router Config in more detail….

Notes and Notices: This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I cannot lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Scalable EIGRP – Scenario One

Published
by
Deon Botha
on September 10, 2008
in BSCI, BSCI Questions, Certification and Cisco Systems
. 0 Comments

Working from the my last couple of EIGRP posts I am going to try and crystallize some of the material found by working through questions found in Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press. The Scenario works from the EIGRP Technology White Paper Sections on Cisco.com

Frame-Relay Example

The above network is experiencing timeouts and network crashes. In addition, EIGRP appears to be losing routes from its routing tables, which is adding to the problem.

  1. What changes to addressing or EIGRP could affect the route drops and network problems? State the configuration commands necessary to activate this solution on Router A.
    Summarization is the keystone to scalable EIGRP operation. Summarization will limit the query range preventing query scoping. This will also prevent the routes in the Topology Table from being SIA, which affects performance.
    Enter Router Mode to Define Routing Protocol
    RouterA(config)#router eigrp 1
    Define EIGRP Network for Routing Protocol
    RouterA(config-router)#network 10.0.0.0
    Disable Auto Summarization
    RouterA(config-router)#no auto-summary
    This is me being strange and clean exiting from the routing protocol sub-section
    RouterA(config-router)#exit
    Enter the Serial Interface where to start defining your Hub on the Hub-and-Spoke Network
    RouterA(config)#interface serial 0/0
    Define summary for this interface
    RouterA(config-if)#ip summary-address eigrp 1 10.1.0.0 255.255.0.0
    RouterA(config-if)#exit
  2. The WAN is a Frame Relay cloud, and Router A is the hub in the hub-and-spoke configuration. Each Virtual Circuit (VC) is 56-kbps. Give commands to configure Router A for EIGRP over this Non-Broadcast Multi-Access (NBMA) Cloud.
    This Cisco.com Configuration Note should explain why the below is done.
    RouterA(config)#interface serial 0/0
    RouterA(config-if)#frame-relay encapsulation
    RouterA(config-if)#bandwidth 168
    RouterA(config-if)#exit
  3. Give the commands to configure Router B for EIGRP over this NBMA cloud.
    RouterA(config)#interface serial 0/0
    RouterA(config-if)#frame-relay encapsulation
    RouterA(config-if)#bandwidth 56
    RouterA(config-if)#exit

Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Scalable EIGRP – bandwidth command on subinterfaces

Published
by
Deon Botha
on September 5, 2008
in BSCI, BSCI Questions, Certification and Cisco Systems
. 0 Comments

Working from the my last couple of EIGRP posts I am going to try and crystallize some of the material found by working through questions found in Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

On what occasion should you consider configuring the bandwidth on subinterfaces?

In multipoint networks where one differing speeds allocated to the Virtual Circuits (VCs), it is easier to manage and maintain the configuration when each VC is logically treated as its own interface or point-to-point link.

In this case the bandwidth command can be configured on each subinterface which will allow different speed VCs while maintaining optimum use of each. The links that have the same configured Committed information rate (CIR) are represented as a single subinterface with a bandwidth that reflects the aggregate CIR of all the circuits.

Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Scalable EIGRP – hybrid multipoint NBMA network

Published
by
Deon Botha
on September 4, 2008
in BSCI, BSCI Questions, CIR, Certification, Cisco Systems, NBMA and VC
. 0 Comments

Working from the my last couple of EIGRP posts I am going to try and crystallize some of the material found by working through questions found in Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

What is the preferred configuration for a hybrid multipoint non-broadcasting multi-access  (NBMA) network when one Virtual Circuit (VC) has a Committed Information Rate (CIR) of 56 kbps and the other five VCs each have a CIR of 256 kbps

The preferred configuration solution for a hybrid multipoint NBMA network in situations where one VC has a lower CIR than the other VC(s) is to configure the lower VC as a point-to-point subinterface using the CIR as the configured bandwidth.

Another subinterface configured as a multipoint interface should be created with the bandwidth equal to aggregate CIR of all other VC(s) (thus in this example 5 x 256 kbps = 1280 kbps).

Alternatively a solution much easier to configure, manage and use would be to each VC as a separate logical interface and configure all of them as point-to-point subinterfaces. The bandwidth command can then be applied to each subinterface which will allow for different speeds to be applied individually to each VC. In this configuration subinterfaces are configured for each VC and the CIR is configured as the bandwidth.

Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Optional Configuration Commands for EIGRP – Verifying EIGRP Operation

Published
by
Deon Botha
on September 2, 2008
in BSCI, BSCI Notes, Certification, Cisco Systems and Troubleshooting
. 0 Comments

The EIGRP show commands are highly detailed and give a comprehensive understanding of the state of the network. Troubleshooting EIGRP should start with the generic routing commands (show ip route and show ip protocols) before jumping into EIGRP-specific troubleshooting.

The show ip eigrp neighbors Command

The show ip eigrp neigbors command shows the Neighbours Table.

Show IP eIGRP Neighbors

The table below explains the command output above

Show IP eIGRP Neighbors table

The show ip eigrp topology Command

The show ip eigrp topology command shows the topology table. This command shows the effect of DUAL. It shows whether the successor or the route is in an active or passive state and if there is a Feasible Successor.

Show ip eigrp topology

The table below explains the command output above

show ip eigrp topology table

The Show ip eigrp traffic Command

The show ip eigrp traffic command shows the EIGRP traffic received and generated by the router.

show ip eigrp traffic

The table below explains the command output above

show ip eigrp traffic table

Troubleshooting EIGRP

There are many mehtods and tools that help one to troubleshoot a network. One of the most benificial tools would be the endless Cisco Documentation available for free at Cisco.com this would be because you can progress and easily eliminate the obvious in a checklist manner.

One of the most frequent troubleshooting techniques would be the use of debug commands, which provide the ability to see traffic and router processes in real time.

That being said debug is a resource hog. If you want to crash a router try debug all. For this reason use only specific feature options and for finite periods of time. When you are done, no debug all or undebug all which will disable debugging

debug EIGRP

Software Study Resources:

The Command Memorizer was originally developed by a CCIE Candidate (David Bombal) for his own use and is now available to anyone who wants to use it.Command Memorizer helped him pass the CCIE Lab on the first attempt, and although I am not a CCIE candidate “officially” I have fiddling with it and finding it useful to test my command line retention and overall progress towards CCIE readiness as I do my current CCNP.The proof will be in the pudding as the Command Memorizer boasts 1000s of commands and hundreds of scenarios to test command line knowledge and retention. It has a section for EIGRP and I also like knowing where I am on my long road to Cisco.Like most study aids / study tools this tool / aid has a specific focus. The Command Memorizer only works when used in conjunction with theoretical backing because you need to know what a command does and how it relates to the technology area. IOW You need to make the connection before you can start drilling actual commands repetitively to get them to start flowing and become second nature.

For a disclosure statement on my relationship with Configure Terminal.

Cisco Press Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Optional Configuration Commands for EIGRP – Tuning EIGRP

Published
by
Deon Botha
on September 2, 2008
in BSCI, BSCI Notes, Bandwidth, Certification, Cisco Systems and Hold Timer
. 0 Comments

Some South African/Anglo-African humour that is making me smile:

“Tune” to talk, especially to talk nonsense (“Are you tuning me?”)

But back to the topic at hand;

One can fine tune the EIGRP process in many ways. The most important of tuning methods would be the summarization of routes and load balancing. Other techniques however do exist and these include the frequency of the hello and hold timers and setting bandwidth.

The trade off to playing with timers would be that by decreasing hello traffic the network will take longer to  notice failures, which in turn will delays convergence.

To go over some stuff from previous posts; EIGRP only sends updates when a new route is advertised or an existing route is withdrawn (changes state to down). A Link failure causes an interface to change state without delay (duh). But when a failed neighbour is not directly connected (on the other side of a Ethernet switch for example), the only way to notice failure would be that no hellos are received. The idea and concept of Neighbourship is important in EIGRP because it alerts the router to topology changes and because the router is responsible to the rest of the network to publicize the lost routes.

When fiddling with timers think about the wider ramifications. In most cases defaults are there for a reason. Instead of improving performance the opposite will most probably happen. (I.E. timers are changed per interface and changing timers on one side of a link and not the other side creates problems with neighbourship that forms and dissolves periodically).

Timer Values are based on the speed of the interface. Because the timers are assumed to be based on this speed, they will usually be the same (Timers are not communicated between neighbours and are not a requirement for neighbourship).

If Router A has a hello interval of 5 seconds and a hold time of 15 seconds (3x hello) and Router B has a hello interval of 30 seconds and a hold time of 90 seconds (3x hello), then the two routers will be neighbours for 15 seconds and then down for 15 seconds.

The Hello Timer

Tuning the Hello Timer directly affect the ability of the EIGRP Process to notice a change in the state of a neighbour. Only after a router’s interface is recognized as being down, or a router has failed to hear from a neighbour after a certain amount of time, does the router declare the neighbour dead and take action to update the Routing Table and neighbours.

For the above stated reasons, use of the

Router(config-if)#ip hello-interval eigrp autonomous-system-number seconds

command is typically used to decrease (AND NOT INCREASE) the amount of time between Hellos to ensure that the network converges QUICKER and not SLOWER (which would be done by INCREASING THE TIME). This however means MORE traffic devoted to EIGRP and more space used by EIGRP.

The defaults are as follows:

  • High Bandwidth links (every 5 seconds)
    • Broadcast Media (Ethernet, Token Ring, FDDI)
    • Point-to-Point Serial Links (PPP or HDLC Leased Circuits, Frame Relay Point-to-Point subinterfaces, and ATM)
    • Point-to-point subinterfaces
    • High Bandwidth (T1/E1 and greater) multipoint circuits (ISDN PRI and Frame Relay)
  • Lower Bandwidth Links (every 60 seconds)
    • Multipoint Circuits (T1/E1 and slower, Frame Relay Multipoint interfaces, ATM multipoint interfaces, and ATM)
    • Switched Virtual Circuits and ISDN BRIs

The Command to set how often hellos are sent to neighbours is applied to an interface and does not affect the ENTIRE EIGRP process:

Router(config)#interface serial 0/0
Router(config-if)#ip hello-interval eigrp autonomous-system-number seconds

To use this in an example we can change the hello timer of a WAN link, that is running on EIGRP AS 1. Doing so will not affect other interfaces running EIGRP AS 1 only this particular WAN link.

Router(config)#interface serial 0/0
Router(config-if)#ip hello-interval eigrp 1 10

The Hold Timer

The Hold Time as talked about here and is how long a router will wait for a hello before pronouncing the neighbour unavailable/dead. By Default the hold time is 3 times the hello time. TAKE NOTE that by changing the hello interval does not automatically change the hold time.

The hold timer for an interface must be changed manually using the following command:

Router(config-if)#ip hold-time eigrp autonomous-system-number seconds

Using this in the same example as above for the Hello time:

Router(config)#interface serial 0/0
Router(config-if)#ip hold-time eigrp 1 30

Authentication

EIGRP support two kinds of Authentication, simple passwords and MD5 hashes.

  • Simple passwords are sent as plain-text and matched to the key on the receiver. Simple passwords are not secure, because any listener can see this traffic and read the key value.
  • Hash keys, sent as MD5 values, are secure because the listener cannot use the value in one transmission to compute the key.

Using MD5 authentication, the router generates a had value for every EIGRP transmission and checks the hash of every received EIGRP packet.

To specify MD5 Authentication:

Router(config)#interface serial 0/0
Router(config-if)#ip authentication mode eigrp autonomous system md5

Once the MD5 authentication is set now comes the key:

Router(config-if)#ip authentication key-chain eigrp autonomous system chain-name

Then the key-chain is configured and the key is specified:

Router(config-if)#key chain chain-name
Router(config-if)#key my-chain
Router(config-keychain-if)#key-string key

An example using the WAN interface from above:

Router(config)#interface serial 0/0
Hello Interval Set
Router(config-if)#ip hello-interval eigrp 1
10
Hold Interval Set
Router(config-if)#ip hold-time eigrp 1 30
MD5 Authentication Set
Router(config-if)#ip authentication mode eigrp 1 md5
MD5 Key Set
Router(config-if)#ip authentication key-chain eigrp 1 My-Chain
MD5 key-chain Set
Router(config-if)#key chain My-Chain
Router(config-if)#key 1
Router(config-keychain-if)#key-string cisco

Authentication results are not shown under show commands. A successful neighbourship means it works. You can however check command process using debug eigrp packets

Optional EIGRP Commands Over a WAN

EIGRP has some design and configuration issues when it comes to the WAN environment. In the WAN one must deal with limited capacity to a greater degree than at other points of the network (For example the LAN). EIGRP is limited in that it restricts its use of bandwidth to NO MORE than 1/2 the link capacity. This is superior to the considerations made by other protocols. Although EIGRP by default is usually sufficient, one might need to make small adjustments at times.

EIGRP Defaults in Bandwidth Utilization
Routers understand link capacity most of the time (MOST being important here). Serial interfaces are however problematic (and the exception to the rule) because they usually attach to a DSU. The router therefore assumes a default speed of 1544 kbps (which is in most cases on the WAN not true).

If the link is actually 56 kbps, then EIGRP would calculate incorrectly and -even limiting itself to 722 kbps -could saturate the link. This could result in dropped EIGRP and data packets because of congestion and dropped data.

The show interface command will allow you to check that the interface bandwidth is accurate. The output shows the configured bandwidth of the link.

Show Interface x

The set bandwidth does not actually affect the speed of the link, but this value is used for routing protocol calculations and load calculations. Using the following command you can set the bandwidth:

Router(config)#interface serial 0/0
Router(config-if)#bandwidth speed-of-line

Configuring Bandwidth over an Non-Broadcast Multi-access (NBMA) Cloud

EIGRP plays well over WANs, including point-to-point and NBMA environments like Frame Relay and ATM. The NBMA topology can include either point-to-point subinterfaces or multipoint interfaces.

Cisco IDs three rules when configuring EIGRP over an NBMA cloud:

  • EIGRP traffic should not exceed the committed information rate (CIR) capacity of the virtual circuit (VC).
  • EIGRP aggregated traffic over all the VCs should not exceed the access line speed of the interface.
  • The bandwidth allocated to EIGRP on each VC must be the in the same directions.

Configuring Bandwidth over a Multipoint Network

In addition to being used in the EIGRP metric, the bandwidth command influences how EIGRP uses NBMA VCs. If a serial line has many VCs in a multipoint configuration, EIGRP will assume that each VC has an even share of the bandwidth. EIGRP will confine itself to using half that share for itself. This won’t work if a 56 kbps link has bandwidth set to 128 kbps because EIGRP will assume 64 kbps is for it’s own use.

The bandwidth command should reflect the access-link speed into the Frame Relay cloud. Your company might have five PVCs from your routers serial interface, each carrying 56 kbps. The access link will need a capacity of 5 * 56 kbps (280 kbps).

Configuring Bandwidth over a Hybrid Multipoint Network

If the multipoint network has different speeds allocated to the VCs, a more complex solution is needed.

  • Take the lowest CIR and multiply it by the total number of circuits. Apply the product (total) as the bandwidth of the physical interface. The problem with this configuration is that EIGRP will underutilize higher bandwidth links.
  • If possible, it is muse easier to configure and manage an environment that has used subinterfaces, where a VC is logically treated as a separate interface. The bandwidth command can be configured on each subinterface, which will allow different speeds on each VC. In this solution, subinterfaces are configured for each VC and the CIR is configured as the bandwidth. This is the preferred solution.

Configuring a Pure Point-to-Point Network

If there are many VCs, there might not be enough bandwidth at the access speed of the interface to support the aggregate EIGRP traffic. The subinterfaces should be configured with a bandwidth that is much lower than the real speed of the circuit. In this case, it is necessary to use the bandwidth-percent command that indicates to EIGRP that it can still function.

The ip bandwidth-percent eigrp command adjusts the percentage of capacity that EIGRP may use FROM THE default 50%. You would use the command because the bandwidth command does not reflect the TRUE speed of the link (The bandwidth command might have been altered to manipulate the routing metric and path selection of a routing protocol).

Router(config)#interface serial 0/0
Router(config-if)#ip bandwidth-percent eigrp autonomous-system-number percent

Software Study Resources:

The Command Memorizer was originally developed by a CCIE Candidate (David Bombal) for his own use and is now available to anyone who wants to use it.Command Memorizer helped him pass the CCIE Lab on the first attempt, and although I am not a CCIE candidate “officially” I have fiddling with it and finding it useful to test my command line retention and overall progress towards CCIE readiness as I do my current CCNP.The proof will be in the pudding as the Command Memorizer boasts 1000s of commands and hundreds of scenarios to test command line knowledge and retention. It has a section for EIGRP and I also like knowing where I am on my long road to Cisco.

Like most study aids / study tools this tool / aid has a specific focus. The Command Memorizer only works when used in conjunction with theoretical backing because you need to know what a command does and how it relates to the technology area. IOW You need to make the connection before you can start drilling actual commands repetitively to get them to start flowing and become second nature.

For a disclosure statement on my relationship with Configure Terminal.

Cisco Press Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Internetworking Technology Handbook – Intro to the Wan

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Optional Configuration Commands for EIGRP – Load Balancing in EIGRP

Published
by
Deon Botha
on September 1, 2008
in BSCI, BSCI Notes, Certification, Cisco Systems and Load Balancing
. 1 Comment

EIGRP automatically load balances across equal-cost path links. You can also configure load balancing proportionally across unequal-cost paths using the variance command.

When variance  anything other than 1, the EIGRP process multiplies the metric of the best path is multiplied by the variance. All paths to the same destination that have metrics less than this products are now included in load balancing. The amount of traffic sent over each link is proportional to the metric for the path.  Alternatively paths with a feasible distance (FD) lower than that of the product (total) are used for load balancing.

The command is as follows:

Router(config)#router eigrp autonomous-system-number
Router(config-router)#network network-number
Router(config-router)#variance multiplier

The multiplier is a whole number between 1-128. The default is 1 which is equal cost path load balancing.

Take note:
-A Variance of two or three will do in most cases. Using higher values could cause EIGRP to start activating old 28.8 modems to load-balance with DS1s.
-Variance should be used with caution with delay-sensitive traffic. A DS1 link takes 8ms to transmit a 1500 B packet while a 256-kbps link takes 47ms. VoIP traffic, if shared over two links would see the difference as 39ms jitter.

To show this in an example for the EIGRP Process in the network from Router A to Router D

EIRGP Metric Topology

What you are looking at has been used before in my notes and comes from the CCNP Book referenced at the bottom of the post. The metric for the top half (Router A-B-C-D) is 4,869,120 and the bottom half (Router  A-E-D) is 6,024,000. If one configured unequal-cost path load balancing on Route B

Router(config)#router eigrp 1
Router(config-router)#network network-number
Router(config-router)#variance 2

The end result is as that because the clockwise metric is about 5 bar (5,000,000), a variance of 2 will balance with paths less than 10 bar (10,000,000). So the resulting unequal cost path load balancing will be that for every 6 packets sent Router A-B-C-D (clockwise), 5 packets will be sent Router A-E-D (anticlockwise).

Only paths that are in the topology table as FDs are eligible to be included in the variance command.

Software Study Resources:

The Command Memorizer was originally developed by a CCIE Candidate (David Bombal) for his own use and is now available to anyone who wants to use it.Command Memorizer helped him pass the CCIE Lab on the first attempt, and although I am not a CCIE candidate “officially” I have fiddling with it and finding it useful to test my command line retention and overall progress towards CCIE readiness as I do my current CCNP.

The proof will be in the pudding as the Command Memorizer boasts 1000s of commands and hundreds of scenarios to test command line knowledge and retention. It has a section for EIGRP and I also like knowing where I am on my long road to Cisco.

Like most study aids / study tools this tool / aid has a specific focus. The Command Memorizer only works when used in conjunction with theoretical backing because you need to know what a command does and how it relates to the technology area. IOW You need to make the connection before you can start drilling actual commands repetitively to get them to start flowing and become second nature.

For a disclosure statement on my relationship with Configure Terminal.

Cisco Press Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Enhanced Interior Gateway Routing Protocol – Optional Configuration Commands for EIGRP – Stub Routers

Published
by
Deon Botha
on September 1, 2008
in BSCI, BSCI Notes, Certification, Cisco Systems and Stub Router
. 0 Comments

From Cisco IOS Release 12.0 is it possible to configure remote routers as an EIGRP Stub Router. A Stub Router in EIGRP networks use EIGRP to send limited information between the STUB and the CORE routers. A Stub router is typically used on routers to minimize processor and CPU utilization (this makes it good for slower / maybe older routers)

A Stub router only has one neighbour, a Distribution layer router. The remote router only needs a default route pointing to the distribution router (everywhere else can be reached via the default route).

Configuring Stub Routers can also assist the rest of the network. Queries are responded to much quicker and convergence occurs much faster. Sometimes queries can cause delays that result in SIA. If Stub configuration is applied, the router responds to queries as inaccessible, thus limiting the scope of the query range and preventing SIA from occurring.

The command for Stub is as follows:

Router(config)#router eigrp autonomous-system-number
Router(config-router)#network network-number
Router(config-router)#eigrp stub

With the table below explaining the options available with the use of the command

Stub Routers

To use the above an example found in the CCNP Book, the below diagram shows a network with 5 stub routers because they have no other networks connected to them and they are each connected to a Distribution layer router.

Stub Router Example

Looking at the situation between Router A and Router B.

  • Router A is the Distribution Layer device for Router B (10.1.100.8);
  • Router B only has one network connected to it (10.1.1.0).

What one would want is that Router B only knows about what is relevant to it (Stub Router) and that the routing table only consists of networks 0.0.0.0 (default gateway), 10.1.100.8 (Distribution Layer Device) and the connected network (10.1.1.0).

Similarly Router A must know about all connected stub routers.

The configuration on Router B would be:

Router(config)#router eigrp 1
Router(config-router)#network 10.0.0.0 255.0.0.0
Router(config-router)#eigrp stub

Software Study Resources:

The Command Memorizer was originally developed by a CCIE Candidate (David Bombal) for his own use and is now available to anyone who wants to use it.Command Memorizer helped him pass the CCIE Lab on the first attempt, and although I am not a CCIE candidate “officially” I have fiddling with it and finding it useful to test my command line retention and overall progress towards CCIE readiness as I do my current CCNP.

The proof will be in the pudding as the Command Memorizer boasts 1000s of commands and hundreds of scenarios to test command line knowledge and retention. It has a section for EIGRP and I also like knowing where I am on my long road to Cisco.

Like most study aids / study tools this tool / aid has a specific focus. The Command Memorizer only works when used in conjunction with theoretical backing because you need to know what a command does and how it relates to the technology area. IOW You need to make the connection before you can start drilling actual commands repetitively to get them to start flowing and become second nature.

For a disclosure statement on my relationship with Configure Terminal.

Cisco Press Resources:

Stewart, B,D., Gough, C (2008). CCNP BSCI Official Exam Certification Guide, Fourth Edition. Indianapolis: Cisco Press.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.


Search

About

You are currently browsing the Network Ninja weblog archives for 'configuration' tag.

Latest

RSS
  • Digital Growth with your Job
  • Open Shortest Path First – OSPF Fundamentals – Scenario
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 13
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 12
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 11
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 10
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 9
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 8
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 7
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 6

Archives

  • June 2009
  • April 2009
  • March 2009
  • February 2009
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Categories

  • 802.11 (7)
  • 802.1Q (1)
  • 802.1X (1)
  • AAA (1)
  • Access Point (7)
  • ACL (4)
  • Addressing (3)
  • Asides (31)
  • auto-summary (3)
  • AutoQoS (1)
  • Bandwidth (2)
  • BCMSN (55)
  • BDR (2)
  • BGP (1)
  • BPDU Filtering (1)
  • BPDU Guard (2)
  • BPDU Root Guard (1)
  • BSCI (67)
  • BSCI Notes (18)
  • BSCI Questions (48)
  • Business (1)
  • Cabling and Equiptment (3)
  • CAM (1)
  • CCDA (1)
  • CDP (1)
  • CEF (1)
  • Certification (123)
  • CIDR (2)
  • CIR (2)
  • Cisco Systems (144)
  • Concepts and Constructs (76)
  • CoS (1)
  • Cost (3)
  • DAI (1)
  • DDNS (1)
  • Debug (2)
  • DHCP Snooping (1)
  • DHCP Spoofing (1)
  • DR (3)
  • DUAL (1)
  • Dynamic ARP Inspection (1)
  • ECNM (5)
  • EIGRP (5)
  • Enterprise Architecture (7)
  • EtherChannel (1)
  • GLBP (1)
  • Hello Timer (2)
  • Hold Timer (2)
  • Hot Standby Router Protocol (1)
  • HSRP (1)
  • IGRP (1)
  • IIN (2)
  • Inter-Vlan Routing (1)
  • Interconnection Technologies (2)
  • IP Source Guard (1)
  • IS-IS (1)
  • ISL (1)
  • LACP (1)
  • Link State Advertisements (2)
  • Load Balancing (2)
  • Loop Guard (1)
  • MAC Address Flooding (1)
  • MLS (1)
  • MSTP (1)
  • NBAR (1)
  • NBMA (1)
  • Off-Topic (12)
  • OSPF (18)
  • PAgP (1)
  • passive-interface (1)
  • PoE (1)
  • Port Security (1)
  • Priority (2)
  • Proxy ARP (1)
  • PVC (1)
  • QoS (2)
  • RIP (1)
  • RIPv2 (1)
  • Root Guard (1)
  • RSTP (1)
  • Show (6)
  • Software (1)
  • SONA (2)
  • SSH (2)
  • STP (5)
  • Stub Router (3)
  • summary-address (1)
  • Support (4)
  • Switch Spoofing (1)
  • TCAM (1)
  • Telnet (2)
  • Troubleshooting (1)
  • Trunk (6)
  • Unidirectional Link Detection (1)
  • VACL (3)
  • VC (1)
  • Vine (20)
  • VLAN (11)
  • VLAN Hopping (1)
  • VLSM (1)
  • VoIP (1)
  • VRRP (1)
  • VTP (4)
  • VTY (1)
  • Wireless (7)


Styled with Sawchuk

Powered by WordPressabc and K21.0-RC7

Entries Feed and Comments Feed

50 queries. 5.9090 seconds.