EIGRP Maximum Hops

REFERENCE

EIGRP Commands
metric maximum-hops

MEMO

  • メトリックの一つにHop Count があり、この値がmetric maximum-hopsより大きい経路はルーティングテーブルに載せない。

 

 

R3#sh ip ro ei | b Gate
Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
D        10.0.0.1/32 [90/16000] via 10.2.3.2, 00:00:24, GigabitEthernet0/0
D        10.0.0.2/32 [90/10880] via 10.2.3.2, 00:00:24, GigabitEthernet0/0
D        10.0.0.4/32 [90/10880] via 10.3.4.4, 00:00:23, GigabitEthernet1/0
D        10.1.2.0/24 [90/15360] via 10.2.3.2, 00:00:24, GigabitEthernet0/0
D     192.168.1.0/24 [90/20480] via 10.2.3.2, 00:00:24, GigabitEthernet0/0
D     192.168.4.0/24 [90/15360] via 10.3.4.4, 00:00:23, GigabitEthernet1/0
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#router ei CCIE
R3(config-router)#add ipv4 uni auto 10
R3(config-router-af)#topo base
R3(config-router-af-topology)#metric max 1
R3(config-router-af-topology)#
R3(config-router-af-topology)#do sh ip ro ei | b Gate
Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 8 subnets, 2 masks
D        10.0.0.2/32 [90/10880] via 10.2.3.2, 00:00:17, GigabitEthernet0/0
D        10.0.0.4/32 [90/10880] via 10.3.4.4, 00:00:17, GigabitEthernet1/0
D        10.1.2.0/24 [90/15360] via 10.2.3.2, 00:00:17, GigabitEthernet0/0
D     192.168.4.0/24 [90/15360] via 10.3.4.4, 00:00:17, GigabitEthernet1/0
R3(config-router-af-topology)#

 

  • ルーティングテーブルに載せるのは以下であり、未満ではない
R3(config-router-af-topology)#metric max 2
R3(config-router-af-topology)#
R3(config-router-af-topology)#do sh ip ro ei | b Gate
Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 9 subnets, 2 masks
D        10.0.0.1/32 [90/16000] via 10.2.3.2, 00:00:06, GigabitEthernet0/0
D        10.0.0.2/32 [90/10880] via 10.2.3.2, 00:00:06, GigabitEthernet0/0
D        10.0.0.4/32 [90/10880] via 10.3.4.4, 00:00:08, GigabitEthernet1/0
D        10.1.2.0/24 [90/15360] via 10.2.3.2, 00:00:06, GigabitEthernet0/0
D     192.168.1.0/24 [90/20480] via 10.2.3.2, 00:00:06, GigabitEthernet0/0
D     192.168.4.0/24 [90/15360] via 10.3.4.4, 00:00:08, GigabitEthernet1/0

コメント