Saturday, September 1, 2018

Configuring EIGRP Stub Routing

EIGRP defines stub routers as follows: A stub router is a router that should not forward traffic between two remote EIGRP learned subnets.

To accomplish this goal, the engineer configures the stub routers using the eigrp stub command. Stub routers do not advertise EIGRP-learned routes from one neighbor to other EIGRP neighbors. Additionally, and possibly more significantly, nonstub routers note which EIGRP neighbors are stub routers, and the nonstub routers do not send Query messages to the stub routers. This action greatly reduces the scope of Query messages when a route goes active, in addition to preventing the long, circuitous, and possibly harmful route.

The eigrp stub command has several options. When issued simply as eigrp stub , the router uses default parameters, which are the connected and summary options. (Note that Cisco IOS adds these two parameters onto the command as added to the running config.)

Note that stub routers still form neighborships, even in receive-only mode. The stub router simply performs less work and reduces the Query scope because neighbors will not send these routers any Query messages.

Below lists the eigrp stub command options:

* connected: Advertise connected routes but only for interfaces matched with a
network command.

* summary: Advertise auto-summarized or statically configured summary routes.

* static: Advertise static routes, assuming that the redistribute static command is
configured.

* leak-map <name>: Advertise routes (that redistributed Advertise redistributed routes, assuming that redistribution is configured.

* receive-only: Does not advertise any routes. This option cannot be used with any other
option


R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#interface loop0
R1(config-if)#
*Jun 24 08:30:13.423: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#
R1(config-if)#interface serial 2/0
R1(config-if)#ip address 10.2.2.1 255.255.255.252
R1(config-if)#no shut
R1(config-if)#
*Jun 24 08:30:35.843: %LINK-3-UPDOWN: Interface Serial2/0, changed state to up
*Jun 24 08:30:36.859: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R1(config-if)#end
R1#


R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#interface loop0
R2(config-if)#
*Jun 24 08:31:17.199: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip address 10.3.3.1 255.255.255.0
R2(config-if)#
R2(config-if)#interface loop1
R2(config-if)#
*Jun 24 08:31:41.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R2(config-if)#ip address 192.168.1.1 255.255.255.252
R2(config-if)#
R2(config-if)#interface loop2                      
R2(config-if)#
*Jun 24 08:32:04.427: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to up
R2(config-if)#ip address 192.168.2.1 255.255.255.252
R2(config-if)#
R2(config-if)#interface loop3                      
R2(config-if)#
*Jun 24 08:32:13.887: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback3, changed state to up
R2(config-if)#ip address 192.168.3.1 255.255.255.252
R2(config-if)#
R2(config-if)#interface loop4                      
R2(config-if)#                                     
*Jun 24 08:32:28.203: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback4, changed state to up
R2(config-if)#ip address 192.168.4.1 255.255.255.252
R2(config-if)#
R2(config-if)#interface serial 2/0
R2(config-if)#ip address 10.2.2.2 255.255.255.252
R2(config-if)#no shut
R2(config-if)#
*Jun 24 08:32:59.463: %LINK-3-UPDOWN: Interface Serial2/0, changed state to up
R2(config-if)#
*Jun 24 08:33:00.471: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R2(config-if)#do ping 10.2.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/32 ms
R2(config-if)#
R2(config-if)#interface serial 2/1
R2(config-if)#ip address 10.4.4.1 255.255.255.252
R2(config-if)#no shut
R2(config-if)#
*Jun 24 08:33:42.975: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R2(config-if)#
*Jun 24 08:33:43.983: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
R2(config-if)#end
R2#

R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#interface loop0
R3(config-if)#
*Jun 24 08:34:19.135: %LINK-3-UPDOWN: Interface Loopback0, changed state to up
*Jun 24 08:34:20.135: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R3(config-if)#ip address 10.1.5.1 255.255.255.0
R3(config-if)#
R3(config-if)#interface serial 2/1
R3(config-if)#ip address 10.4.4.2 255.255.255.252
R3(config-if)#no shut
R3(config-if)#
*Jun 24 08:34:56.379: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R3(config-if)#
*Jun 24 08:34:57.387: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
R3(config-if)#do ping 10.4.4.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.4.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 20/27/36 ms
R3(config-if)#end
R3#


R1#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down   
FastEthernet1/0            unassigned      YES unset  administratively down down   
FastEthernet1/1            unassigned      YES unset  administratively down down   
Serial2/0                  10.2.2.1        YES manual up                    up     
Serial2/1                  unassigned      YES unset  administratively down down   
Serial2/2                  unassigned      YES unset  administratively down down   
Serial2/3                  unassigned      YES unset  administratively down down   
Loopback0                  10.1.1.1        YES manual up                    up     


R2#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down   
FastEthernet1/0            unassigned      YES unset  administratively down down   
FastEthernet1/1            unassigned      YES unset  administratively down down   
Serial2/0                  10.2.2.2        YES manual up                    up     
Serial2/1                  10.4.4.1        YES manual up                    up     
Serial2/2                  unassigned      YES unset  administratively down down   
Serial2/3                  unassigned      YES unset  administratively down down   
Loopback0                  10.3.3.1        YES manual up                    up     
Loopback1                  192.168.1.1     YES manual up                    up     
Loopback2                  192.168.2.1     YES manual up                    up     
Loopback3                  192.168.3.1     YES manual up                    up     
Loopback4                  192.168.4.1     YES manual up                    up 


R3#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down   
FastEthernet1/0            unassigned      YES unset  administratively down down   
FastEthernet1/1            unassigned      YES unset  administratively down down   
Serial2/0                  unassigned      YES manual administratively down down   
Serial2/1                  10.4.4.2        YES manual up                    up     
Serial2/2                  unassigned      YES unset  administratively down down   
Serial2/3                  unassigned      YES unset  administratively down down   
Loopback0                  10.1.5.1        YES manual up                    up   


R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router eigrp 100
R1(config-router)#network 10.0.0.0


R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router eigrp 100
R2(config-router)#network 10.0.0.0
R2(config-router)#
*Jun 24 08:38:31.183: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is up: new adjacency
R2(config-router)#network 192.168.0.0 0.0.255.255


R1#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   10.2.2.2                Se2/0                    13 00:01:05   52   312  0  4


R1#show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
D        10.3.3.0/24 [90/2297856] via 10.2.2.2, 00:01:11, Serial2/0
D        10.4.4.0/30 [90/2681856] via 10.2.2.2, 00:01:11, Serial2/0
      192.168.1.0/30 is subnetted, 1 subnets
D        192.168.1.0 [90/2297856] via 10.2.2.2, 00:00:53, Serial2/0
      192.168.2.0/30 is subnetted, 1 subnets
D        192.168.2.0 [90/2297856] via 10.2.2.2, 00:00:53, Serial2/0
      192.168.3.0/30 is subnetted, 1 subnets
D        192.168.3.0 [90/2297856] via 10.2.2.2, 00:00:53, Serial2/0
      192.168.4.0/30 is subnetted, 1 subnets
D        192.168.4.0 [90/2297856] via 10.2.2.2, 00:00:53, Serial2/0


R2#conf t
*Jun 24 08:40:20.679: %SYS-5-CONFIG_I: Configured from console by console
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#interface serial 2/0
R2(config-if)#ip summary-address ?
  eigrp  Enhanced Interior Gateway Routing Protocol (EIGRP)
  rip    Routing Information Protocol (RIP)

R2(config-if)#ip summary-address eigrp ?
  <1-65535>  AS number

R2(config-if)#ip summary-address eigrp 100 ?          
  A.B.C.D     Summary IP address
  A.B.C.D/nn  Summary <network>/<length>, e.g. 192.168.0.0/16

R2(config-if)#ip summary-address eigrp 100 192.168.0.0 255.255.248.0
R2(config-if)#
*Jun 24 08:41:23.251: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is resync: summary configured
R2(config-if)#
R2(config-if)#ip route 10.1.5.0 255.255.255.0 10.4.4.2
R2(config)#do ping 10.1.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.5.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/28/68 ms


R2#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   10.2.2.1                Se2/0                    11 00:05:46   52   312  0  7


R1# 
*Jun 24 08:41:23.891: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.2 (Serial2/0) is resync: peer graceful-restart
R1# 
R1#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
C        10.1.1.0/24 is directly connected, Loopback0
L        10.1.1.1/32 is directly connected, Loopback0
C        10.2.2.0/30 is directly connected, Serial2/0
L        10.2.2.1/32 is directly connected, Serial2/0
D        10.3.3.0/24 [90/2297856] via 10.2.2.2, 00:07:26, Serial2/0
D        10.4.4.0/30 [90/2681856] via 10.2.2.2, 00:07:26, Serial2/0
D     192.168.0.0/21 [90/2297856] via 10.2.2.2, 00:04:34, Serial2/0
R1#
R1#ping 10.1.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.5.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#ip route 0.0.0.0 0.0.0.0 10.4.4.1
R3(config)#do ping 10.3.3.1  
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/19/24 ms


R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router eigrp 100
R2(config-router)#?
Router configuration commands:
  address-family       Enter Address Family command mode
  auto-summary         Enable automatic network number summarization
  bfd                  BFD configuration commands
  default              Set a command to its defaults
  default-information  Control distribution of default information
  default-metric       Set metric of redistributed routes
  distance             Define an administrative distance
  distribute-list      Filter entries in eigrp updates
  eigrp                EIGRP specific commands
  exit                 Exit from routing protocol configuration mode
  maximum-paths        Forward packets over multiple paths
  metric               Modify metrics and parameters for advertisement
  neighbor             Specify a neighbor router
  network              Enable routing on an IP network
  no                   Negate a command or set its defaults
  offset-list          Add or subtract offset from EIGRP metrics
  passive-interface    Suppress routing updates on an interface
  redistribute         Redistribute IPv4 routes from another routing protocol
  shutdown             Shutdown this instance of EIGRP
  summary-metric       Specify summary to apply metric/filtering
  timers               Adjust routing timers
  traffic-share        How to compute traffic share over alternate paths
  variance             Control load balancing variance

R2(config-router)#eigrp ?
  event-log-size         Set EIGRP maximum event log entries
  log-neighbor-changes   Enable/Disable EIGRP neighbor logging
  log-neighbor-warnings  Enable/Disable EIGRP neighbor warnings
  router-id              router id for this EIGRP process
  stub                   Set address-family in stubbed mode

R2(config-router)#eigrp stub ?
  connected      Do advertise connected routes
  leak-map       Allow dynamic prefixes based on the leak-map
  receive-only   Set receive only neighbor
  redistributed  Do advertise redistributed routes
  static         Do advertise static routes
  summary        Do advertise summary routes
  <cr>

R2(config-router)#eigrp stub
R2(config-router)#
*Jun 24 08:49:54.571: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is down: peer info changed
*Jun 24 08:49:54.875: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is up: new adjacency
R2(config-router)#do show run | sec eigrp
 ip summary-address eigrp 100 192.168.0.0 255.255.248.0
router eigrp 100
 network 10.0.0.0
 network 192.168.0.0 0.0.255.255
 eigrp stub connected summary


R1#show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 6 subnets, 3 masks
D        10.3.3.0/24 [90/2297856] via 10.2.2.2, 00:01:24, Serial2/0
D        10.4.4.0/30 [90/2681856] via 10.2.2.2, 00:01:24, Serial2/0
D     192.168.0.0/21 [90/2297856] via 10.2.2.2, 00:01:24, Serial2/0


R1#show ip eigrp neighbors ?
  Async              Async interface
  Auto-Template      Auto-Template interface
  BVI                Bridge-Group Virtual Interface
  CDMA-Ix            CDMA Ix interface
  CTunnel            CTunnel interface
  Dialer             Dialer interface
  FastEthernet       FastEthernet IEEE 802.3
  GMPLS              MPLS interface
  LISP               Locator/ID Separation Protocol Virtual Interface
  LongReachEthernet  Long-Reach Ethernet interface
  Loopback           Loopback interface
  MFR                Multilink Frame Relay bundle interface
  Multilink          Multilink-group interface
  Null               Null interface
  Port-channel       Ethernet Channel of interfaces
  Serial             Serial
  Tunnel             Tunnel interface
  Vif                PGM Multicast Host interface
  Virtual-PPP        Virtual PPP interface
  Virtual-Template   Virtual Template interface
  Virtual-TokenRing  Virtual TokenRing
  detail             Show detailed peer information
  static             Show static peer information
  vmi                Virtual Multipoint Interface
  |                  Output modifiers
  <cr>

R1#show ip eigrp neighbors detail
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   10.2.2.2                Se2/0                    13 00:02:37   15   150  0  9
   Version 10.0/2.0, Retrans: 1, Retries: 0, Prefixes: 3
   Topology-ids from peer - 0
   Stub Peer Advertising (CONNECTED SUMMARY ) Routes
   Suppressing queries


R2(config)#router eigrp 100
R2(config-router)#redistribute static
R2(config-router)#eigrp stub static
R2(config-router)#
*Jun 24 08:53:32.747: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is down: peer info changed
R2(config-router)#
*Jun 24 08:53:35.471: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is up: new adjacency
R2(config-router)#do show run | sec eigrp
 ip summary-address eigrp 100 192.168.0.0 255.255.248.0
router eigrp 100
 network 10.0.0.0
 network 192.168.0.0 0.0.255.255
 redistribute static
 eigrp stub static


*Jun 24 08:53:35.951: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.2 (Serial2/0) is up: new adjacency
R1#
R1#show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
D EX     10.1.5.0/24 [170/2681856] via 10.2.2.2, 00:00:51, Serial2/0


R1#show ip eigrp neighbors detail
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   10.2.2.2                Se2/0                    13 00:01:28   30   180  0  13
   Version 10.0/2.0, Retrans: 0, Retries: 0, Prefixes: 1
   Topology-ids from peer - 0
   Stub Peer Advertising (STATIC ) Routes
   Suppressing queries


R1#ping 10.1.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.5.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/48/72 ms

R1#traceroute 10.1.5.1
Type escape sequence to abort.
Tracing the route to 10.1.5.1
VRF info: (vrf in name/id, vrf out name/id)
  1 10.2.2.2 28 msec 16 msec 20 msec
  2 10.4.4.2 28 msec 52 msec 12 msec


R2(config)#router eigrp 100
R2(config-router)#eigrp stub ?
  connected      Do advertise connected routes
  leak-map       Allow dynamic prefixes based on the leak-map
  receive-only   Set receive only neighbor
  redistributed  Do advertise redistributed routes
  static         Do advertise static routes
  summary        Do advertise summary routes
  <cr>

R2(config-router)#eigrp stub connected summary static
R2(config-router)#
*Jun 24 08:56:10.931: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is down: peer info changed
R2(config-router)#
*Jun 24 08:56:12.355: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is up: new adjacency


R2(config-router)#do show run | sec eigrp
 ip summary-address eigrp 100 192.168.0.0 255.255.248.0
router eigrp 100
 network 10.0.0.0
 network 192.168.0.0 0.0.255.255
 redistribute static
 eigrp stub connected static summary


*Jun 24 08:56:12.839: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.2 (Serial2/0) is up: new adjacency
R1#
R1#show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 7 subnets, 3 masks
D EX     10.1.5.0/24 [170/2681856] via 10.2.2.2, 00:00:35, Serial2/0
D        10.3.3.0/24 [90/2297856] via 10.2.2.2, 00:00:35, Serial2/0
D        10.4.4.0/30 [90/2681856] via 10.2.2.2, 00:00:35, Serial2/0
D     192.168.0.0/21 [90/2297856] via 10.2.2.2, 00:00:35, Serial2/0


R1#show ip eigrp neighbor detail
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   10.2.2.2                Se2/0                    11 00:00:54   47   282  0  16
   Version 10.0/2.0, Retrans: 0, Retries: 0, Prefixes: 4
   Topology-ids from peer - 0
   Stub Peer Advertising (CONNECTED STATIC SUMMARY ) Routes
   Suppressing queries


R1#ping 10.3.3.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.3.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/16/20 ms

R1#ping 10.1.5.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.5.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/21/28 ms


R3#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/33/60 ms


R2(config)#router eigrp 100
R2(config-router)#eigrp stub ?
  connected      Do advertise connected routes
  leak-map       Allow dynamic prefixes based on the leak-map
  receive-only   Set receive only neighbor
  redistributed  Do advertise redistributed routes
  static         Do advertise static routes
  summary        Do advertise summary routes
  <cr>

R2(config-router)#eigrp stub receive-only
R2(config-router)#
*Jun 24 08:59:20.407: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is down: peer info changed
R2(config-router)#
*Jun 24 08:59:22.459: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.1 (Serial2/0) is up: new adjacency


*Jun 24 08:59:22.955: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.2.2.2 (Serial2/0) is up: new adjacency
R1#
R1#show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

R1#
R1#show ip eigrp neighbor detail
EIGRP-IPv4 Neighbors for AS(100)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   10.2.2.2                Se2/0                    14 00:00:47   44   264  0  18
   Version 10.0/2.0, Retrans: 0, Retries: 0
   Topology-ids from peer - 0
   Receive-Only Peer Advertising (No) Routes
   Suppressing queries

No comments:

Post a Comment