Now in a previous video we configured HSP between switch one and switch two.
Previous to that video, we configured trunk links, access ports and spanning tree, and we enhance
the convergence timers of these devices to improve the way that the network handles failures and the
utilization of uplinks.
In this video, we're going to enable AGP on switch one and switch two as well as on router three.
Now this HSR pirata doesn't actually exist.
It's only shown in the topology to show you that HSP is configured between switch one and switch two,
so don't let it confuse you.
The router is actually turned off.
It's only here as an icon.
It's not actually connected to any devices in the topology at all.
So we're going to enable IGP on switch one, switch two and router three and then advertise a default
route from router three to these two switches.
In a subsequent video, I'll enable network address translation on router three so that these devices,
especially the router one and router two devices acting as PCs can access the Internet.
So let's get started on switch one tap enable confetti router and here I can select various routing
protocols.
I'm going to select IGP.
I need to specify an autonomous system number.
If the autonomous system number is not the same, the riders won't automatically exchange routes with
each other.
So before I go any further, do show IP protocols.
I can see that IGP is being configured, but we're not advertising any networks at the moment.
I need to advertise networks using the network command, so as an example, I could simply enter network
ten .0.0.0.
And that will enable IAP on all interfaces in the ten network.
So do show IP protocols.
Now shows me that your job is routing for networks ten.
The runner ID is this and ERP is enabled on these interfaces.
So do show IP job interfaces shows me that airdrop is enabled on VLAN one, VLAN ten and VLAN 20.
If I removed the network command and did that command again, so do show IP IP interfaces.
I would see that ERP is not enabled on any interfaces, which means no networks will be advertised.
And Ian GOP will not form neighbour relationships with any devices on any interfaces.
So Network ten again, your job is now enabled on VLAN one, ten and 20.
And to make it easy, I'll just go back to privilege mode.
So show IP IP.
We've already seen the interfaces and there they are.
Other options available include neighbors.
At the moment there are no IGP neighbors because I haven't enabled Ethiopian any other devices.
I can look at the topologies that show IP, IGP topology.
The routes that are going to be advertised in IGP include 10.1, 10.0, slash 24, 10.1 10 to 2024 as
well as 10.1 100.0 slash.
24 show.
Run.
Pipe.
Section drop.
This is the GOP configuration that we've done.
Now, as a rule of thumb, you're going to want to use the note auto summary command to disable automatic
summarization.
In the video I showed you a problem with automatic summarization and the same will happen with the IRP.
It's good practice to disable automatic summarization in ERP.
So SHO run pipe section ERP.
All we've done is use the network command and disable automatic summarization.
Now on this device, automatic summarization in ERPs, disabled by default.
So notice automatic summarization disabled.
Now let's prove that by doing a similar configuration on switch two.
So rather ERP 100 Network 10.02020.
Do show IP protocol just before I press enter notice.
Neighbor relationships have been formed between switch two and switch one on VLAN one.
VLAN ten and VLAN 20.
But do show IP protocols shows me that automatic summarization is disabled.
This will be dependent on the version of iOS that you're using.
Switch two is routing for Network ten and is getting information from switch one on VLAN ten.
VLAN 20 and VLAN one.
Back on switch one.
Previously we were routing for Network ten.
But we didn't have any routing information sources.
Now, however, we've got neighbor relationships on VLAN one, VLAN ten and VLAN 20.
So show IP protocols.
Shows me that we've got these sources of routing information.
Show IP.
IP neighbors.
So show IPR GOP neighbors.
Shows us that we have three neighbouring relationships.
So a neighbour relationship is established on every VLAN show IP route.
At the moment we don't see any IGP routes in the routing table, so there are no DY entries because
both these routers are connected physically to all networks in this topology.
But let's enable IGP on router three and then we'll advertise a route into the topology.