ICT Diary

Network(主にCisco系)、Server(RedHat系)、Program(適当)を気まぐれにUPしていく。

Cisco EIGRP ユニキャストを使用した静的ネイバー確立 (Static Neighbor Adjacency by Unicast)

目次


Diagram


                _________________
                |               |
                |      SW       |
                |_______________|
                        |.254
                        |
            -------------------------   192.168.0.0/24
                |               |
                |.1             |.2
            ____|___        ____|___
            |        |     |        |
            |   R1   |     |   R2   |
            |________|     |________|

Command


EIGRP Enable

network [Network] [Wildcard]

EIGRP Static Neighbor

neighbor [TargetAddress] [I/F]

Configuration


SW

hostname SW

interface Vlan1
 ip address 192.168.0.254 255.255.255.0

router eigrp 1
 network 192.168.0.0
 neighbor 192.168.0.1 Vlan1
 neighbor 192.168.0.2 Vlan1

R1

hostname R1

interface GigabitEthernet0/0
 ip address 192.168.0.1 255.255.255.0

router eigrp 1
 network 192.168.0.0
 neighbor 192.168.0.254 GigabitEthernet0/0

R2

hostname R2

interface GigabitEthernet0/0
 ip address 192.168.0.2 255.255.255.0

router eigrp 1
 network 192.168.0.0
 neighbor 192.168.0.254 GigabitEthernet0/0

Status


SW

SW#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.0.2             Vl1                      11 00:02:24 1559  5000  0  3
0   192.168.0.1             Vl1                      11 00:02:42   22   132  0  3

R1

R1#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   192.168.0.254           Gi0/0                    10 00:04:32   25   150  0  1

R2

R2#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   192.168.0.254           Gi0/0                    13 00:05:43    1  3000  0  4

Supplement


補足として[neighbor]コマンドを使用しなかった場合Statusを記載
( Case by not use [neighbor] command )

SW

SW#sh ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.0.1             Vl1                      12 00:00:54   18   108  0  8
0   192.168.0.2             Vl1                      13 00:01:02    8   100  0  5

R1

R1#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.0.254           Gi0/0                    11 00:00:18   10   100  0  8
0   192.168.0.2             Gi0/0                    11 00:00:18   14   100  0  8

R2

R2#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   192.168.0.1             Gi0/0                    12 00:00:39   13   100  0  5
0   192.168.0.254           Gi0/0                    12 00:00:48   26   156  0  5