E TWORK E R S
CCNP Enterprise
ENARSI (Route) course
Lab guide
Prepared by:
Eng. Ahmed Nabil
(DoN)
Lab1: OSPF Single area
Lab2: OSPF Multiple areas
Lab 3: OSPF totally stub area
Apply the next tasks on the shown topology on white
board
Task 1 - Basic Configuration:
If router starts in setup mode (asking Y/N questions),
this dialogue means router have no saved
configuration, skip that part by answering no or
pressing CTRL/C to start the exec modes.
>enable
#configure terminal
(config)#hostname PxRx
(config)#enable secret cisco
(config)#line vty 0 15
(config-line)#no login
! this command will make no need for login password
while others are logging by telnet to your router
(others will enter to your user mode directly without
being asked for login password)!
Apply the next tasks on the shown topology on
white board
Task 2: Interface Activation
>enable
#conf t
(config)#interface Serial | ehternet
(config-if)#ip address ip mask
(config-if)#no shutdown
(config-if)#clock rate 64000
……… this command for point to point serial DCE only
(config)#interface Loopback 0
(config-if)#ip address 192.168.P.R 255.255.255.255
Task 2: Troubleshooting:
#show ip interface brief
#show cdp neighbors
#show cdp neighbors detail
#show ip protocols … display active routing protocols
#show ip route ……. display routing table
Task 3 configuring OSPF in single area:
(config)#router ospf process id
(config-router)#network network wild card mask area 0
Please include all interfaces and loopback also in OSPF conf.
…. Repeat this command as far as needed
…. Best wild card mask is inverting subnet mask
(255 – subnet mask)
For example subnet mask /24 = 255.255.255.0 , so best W.C.M is
0.0.0.255
For example subnet mask /28 = 255.255.255.240, so best W.C.M
is 0.0.0.15
So (config-router)#network 192.168.1.0 0.0.0.15
Will match all interfaces having IPs from 192.168.1.0 till
192.168.1.15
So (config-router)#network 192.168.1.16 0.0.0.15
Will match all interfaces having IPs from 192.168.1.16 till
192.168.1.31
So (config-router)#network 192.168.1.32 0.0.0.15
Will match all interfaces having IPs from 192.168.1.32 till
192.168.1.47
So (config-router)#network 192.168.1.48 0.0.0.15
Will match all interfaces having IPs from 192.168.1.48 till
192.168.1.63
Task 4: Troubleshooting OSPF single area:
#show ip protocols
…. Check network commands
….. Check gateways (RID of routers that started OSPF in
your area)
#show ip ospf neighbor
….. Check RID of neighbors
…… check neighbors states (Full/DR , Full/BDR,
Full/Drother , 2way/Drother , Full/- (the – means no
elections as p2p)
Notice Drother will reach full state with DR/BDR only and
2way state with Drothers.
#show ip ospf interface
….. Check: process id
area id
priority
state (my router state)
hello/dead interval
network mode (point o point, broadcast, non
broadcast, …..)
adjacent with ….
# show ip route
O 192.168.p.32/28 [110/764] via 10.1.1.1 , S0/0
OSPF Admin. distance Accumulated cost
Next hop
intra area
#show ip ospf database
….. This command displays the database description (summary)
Route Link (Type 1 LSA)
Link id (32 bit) Advertising RID (32 bit) seq# checksum link count
Number of type 1 LSAs is number of routers
Net Link (Type 2 LSA)
Link id (32 bit) Advertising RID (32 bit) seq# checksum link count
IP of winning interface
Number of type 2 LSAs is number of DRs
# show ip ospf database router
… displays Type 1 LSA details
#show ip ospf database network
…. Displays Type 2 LSA details
Task 5: OSPF in multiple areas:
Each pod will be in a separate area
Example: pod 1 = area 1
pod 2 = area 2
pod x = area x
core = area 0
Interfaces between core and PxRy also in area 0
…first remove ospf of task 3
(config)#no router ospf process id
…. Reconfigure new OSPF multi areas
(config)#router ospf process id
(config-router)#network network wild card mask area P
Don’t forget Interfaces between core and PxRy also in area 0
#show ip route
O 192.168.p.32/28 [110/764] via 10.1.1.1 , S0/0
OIA 192.168.p……….
Inter-area (route from another area)
# show ip ospf database
…. Notice less data base type 1 and 2 LSAs, but new type 3
LSA appears, but type 3 LSA information is not that big
(called summary LSA), but still other areas are reachable.
#show ip ospf border routers
…… check ABRs
Task 6: Configure totally stub area:
On all routers except ABR:
(config)#router ospf process id
(config-router)#area p stub
On ABR:
(config)#router ospf process id
(config-router)#area p stub no-summary
#show ip route
O 192.168.p.32/28 …….
O*IA 0.0.0.0/0 …..
Only routes inside my area plus default route
#show ip ospf database
notice all type 3 LSA have been replaced by 0.0.0.0 LSA
#ping IP in another area
…. Successful ping with very small details
Lab4: Redistribution
Apply the next tasks on the shown topology on
white board
Task 1: Basic configuration
>enable
#conf t
(config)#hostname PxRx
(config)#enable secret cisco
(config)#line vty 0 4
(Config-line)#no login
(Config-line)#privilege level 15
(config)#interface
(config-if)#ip address ip mask
(config-if)#no shutdown
(config-if)#clock rate 64000
……… this command for point to point serial DCE only
(config)#interface Loopback 0
(config-if)#ip address 192.168.P.R 255.255.255.255
Task 2: Troubleshooting:
#show ip interface brief
#show cdp neighbors
Task 3: Manipulating multiple routing protocols
Run OSPF on core 1 and Core 2 in area 0 and process 1.
(config)#router ospf 1
(config-router)#network network wild card mask area 0
Run EIGPR on each pod internal routers (as shown on
white board toplogy) , where each pod is a different AS.
Pod 1 = AS 1
Pod 2= AS 2
Pod 3 = AS 3
Pod 4= AS 4
(config)#router eigrp AS number
(config-router)#network ip of interface
(config-router)#no auto-summary
Run Both OSPF and EIGRP On
(P1R2,P1R3,P2R3,P3R2,P3R3,P4R3) as shown on topology
Task 4: Redistribution
On routers running both OSPF and EIGRP
(config)#router ospf 1
(config-router)#redistribute eigrp P subnets
(config)#router eigrp p
(config-router)#redistribute ospf 1 metric 10000 100 255 1 1500
Task 5: Troubleshooting OSPF single area:
#show ip route
Notice DEX and OE2 entries
#show ip ospf neighbor
#show ip eigrp neighbor
#show ip ospf database
! Notice type 5 LSA !
#show ip eigrp topology
Lab5: BGP
Apply the next tasks on the shown topology on
white board
Task 1: Basic configuration
>enable
#conf t
(config)#hostname PxRx
(config)#enable secret cisco
(config)#line vty 0 4
(Config-line)#login local
! Login local makes access using local database (local
configured username and password)
(config)#username lab password cisco
(config)#interface
(config-if)#ip address ip mask
(config-if)#no shutdown
(config-if)#clock rate 64000
……… this command for point to point serial DCE only
(config)#interface Loopback 0
(config-if)#ip address 192.168.P.R 255.255.255.255
Task 2: Troubleshooting:
#show ip interface brief
#show cdp neighbors
Task 3: Run IGP inside AS internal routers
Run OSPF on core 1 and Core 2 in area 0 and process 1.
(config)#router ospf 1
(config-router)#network network wild card mask area 0
Run EIGPR on each pod internal routers (as shown on
white board toplogy) , where each pod is a different AS.
Pod 1 = AS 1
Pod 2= AS 2
Pod 3 = AS 3
Pod 4= AS 4
(config)#router eigrp AS number
(config-router)#network ip of interface
(config-router)#no auto-summary
Task 4: run BGP
Run BGP between loopbacks of Neighboring Internal and
external routers.
(config)#router bgp AS#
(config-router)#neighbor ip of neighbor loopback remote-as
neighbor AS #
(config-router)#neighbor ip of neigbor loopback update-source
loopback 0
! That command is needed for neighboring with loopback!
For EBGP neighbor:
(config)#ip route ip of neighbor loopback 255.255.255.255 serial
! This command needed to make neighbor loopback reachbale!
(config-router)#neighbor ip of neigbor loopback ebgp-multihop
! This command make ebgp neighbor is reached using TTL 255
instead of the default TTL 1 !
For all routers: (advertise networks in BGP table)
(config-router)#network network mask mask
Task 5: Troubleshoot BGP
#show ip bgp summary
#show ip BGP
#show ip route