Jan 2, 2015

How to use eigrp the 64-bit metric version

Hello everyone,

In the default mode, cisco router only supports 32-bit metric version.
If you want that cisco router to support 64-bit metric version, you should use named configuratioin


EIGRP AS Number Configuration vs. EIGRP Named Configuration


// EIGRP AS Number Configuration //
R16#sh run | s eigrp
router eigrp 45678
 network 123.16.16.16 0.0.0.0
 network 123.20.1.2 0.0.0.0
 network 123.20.1.17 0.0.0.0
R16#


// EIGRP Named Configuration //
R16#sh run | s eigrp
router eigrp lab
 !
 address-family ipv4 unicast autonomous-system 45678
  !
  topology base
  exit-af-topology
  network 123.16.16.16 0.0.0.0
  network 123.20.1.2 0.0.0.0
  network 123.20.1.17 0.0.0.0
 exit-address-family
R16#


// HOW TO //
R16#
R16#show eigrp protocols
EIGRP-IPv4 Protocol for AS(45678)
  Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  NSF-aware route hold timer is 240
  Router-ID: 123.16.16.16
  Topology : 0 (base)
    Active Timer: 3 min
    Distance: internal 90 external 170
    Maximum path: 4
    Maximum hopcount 100
    Maximum metric variance 1

R16#sh run | s eigrp
router eigrp 45678
 network 123.16.16.16 0.0.0.0
 network 123.20.1.2 0.0.0.0
 network 123.20.1.17 0.0.0.0
R16#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R16(config)#no router eigrp 45678
R16(config)#router eigrp lab
R16(config-router)#add
R16(config-router)#address-family ?
  ipv4  Address family IPv4
  ipv6  Address family IPv6

R16(config-router)#address-family ipv4 ?
  autonomous-system  Specify Address-Family Autonomous System Number
  multicast          Address Family Multicast
  unicast            Address Family Unicast
  vrf                Specify a specific virtual routing/forwarding instance

R16(config-router)#address-family ipv4 as
R16(config-router)#address-family ipv4 au
R16(config-router)#address-family ipv4 autonomous-system 45678
R16(config-router-af)#ne
R16(config-router-af)#net
R16(config-router-af)#network 123.16.16.16 0.0.0.0
R16(config-router-af)#network 123.20.1.2 0.0.0.0
R16(config-router-af)#network 123.20.1.2 0.0.0.0
*Nov 13 19:23:06.169: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.3 (Ethernet0/1) is up: new adjacency
*Nov 13 19:23:06.169: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.1 (Ethernet0/1) is up: new adjacency
R16(config-router-af)#network 123.20.1.17 0.0.0.0
R16(config-router-af)#
*Nov 13 19:23:10.993: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.18 (Ethernet0/2) is up: new adjacency
R16(config-router-af)#
R16(config-router-af)#end
R16#
R16#show ipr
*Nov 13 19:23:15.782: %SYS-5-CONFIG_I: Configured from console by console
R16#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
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      123.0.0.0/8 is variably subnetted, 10 subnets, 2 masks
D        123.15.15.15/32 [90/3584000] via 123.20.1.1, 00:00:09, Ethernet0/1
D        123.17.17.17/32 [90/3584000] via 123.20.1.18, 00:00:09, Ethernet0/2
D        123.20.1.8/29 [90/1536000] via 123.20.1.18, 00:00:09, Ethernet0/2
                       [90/1536000] via 123.20.1.1, 00:00:09, Ethernet0/1
D        123.55.55.55/32 [90/3584000] via 123.20.1.3, 00:00:09, Ethernet0/1
D        123.66.66.66/32 [90/4096000] via 123.20.1.18, 00:00:09, Ethernet0/2
                         [90/4096000] via 123.20.1.1, 00:00:09, Ethernet0/1
R16#wr
Building configuration...
[OK]
R16#show eigr
R16#show eigrp pro
R16#show eigrp protocols
EIGRP-IPv4 VR(lab) Address-Family Protocol for AS(45678)
  Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
  Metric rib-scale 128
 Metric version 64bit
  NSF-aware route hold timer is 240
  Router-ID: 123.16.16.16
  Topology : 0 (base)
    Active Timer: 3 min
    Distance: internal 90 external 170
    Maximum path: 4
    Maximum hopcount 100
    Maximum metric variance 1
    Total Prefix Count: 8
    Total Redist Count: 0

R16#show ip pro
R16#show ip protocols
*** IP Routing is NSF aware ***

Routing Protocol is "application"
  Sending updates every 0 seconds
  Invalid after 0 seconds, hold down 0, flushed after 0
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Maximum path: 32
  Routing for Networks:
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: (default is 4)

Routing Protocol is "eigrp 45678"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP-IPv4 VR(lab) Address-Family Protocol for AS(45678)
    Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
    Metric rib-scale 128
   Metric version 64bit
    NSF-aware route hold timer is 240
    Router-ID: 123.16.16.16
    Topology : 0 (base)
      Active Timer: 3 min
      Distance: internal 90 external 170
      Maximum path: 4
      Maximum hopcount 100
      Maximum metric variance 1
      Total Prefix Count: 8
      Total Redist Count: 0

  Automatic Summarization: disabled
  Maximum path: 4
  Routing for Networks:
    123.16.16.16/32
    123.20.1.2/32
    123.20.1.17/32
  Routing Information Sources:
    Gateway         Distance      Last Update
    123.20.1.3            90      00:01:22
    123.20.1.1            90      00:01:23
    123.20.1.18           90      00:01:22
  Distance: internal 90 external 170

R16#
R16#


See you next time and Good luck !!



// Reference //
1.
http://www.cisco.com/c/dam/en/us/products/collateral/ios-nx-os-software/enhanced-interior-gateway-routing-protocol-eigrp/Advances_In_EIGRP.pdf


2.
CISCO IP Routing: EIGRP Command Reference
http://www.cisco.com/c/en/us/td/docs/ios/iproute_eigrp/command/reference/ire_book/ire_a1.html


3.
http://blog.csdn.net/wunderup/article/details/41076965

No comments:

Post a Comment