Below is the EIGRP configuration example on Nexus switches. Here EIGRP is enable on the directly connected interface between 7K switches.
N7K-1:-
Step1 :- Enable EIGRP feature
N7K-1(config)# feature eigrp
|
Step2:- Enable EIGRP Process
N7K-1(config)# router eigrp 100
N7K-1(config-router)# router-id 10.1.1.1
|
Step3:-
Enable eigrp on particular
interface
N7K-12-1(config-router)# int Eth1/1
N7K-2(config-if)#ip address 10.1.1.1 255.255.255.252
N7K-12-1(config-if)# ip router eigrp 100
|
N7K-2:-
Step4 :- Enable EIGRP feature
N7K-2(config)# feature eigrp
|
Step5:- Enable EIGRP Process
N7K-2(config)# router eigrp 100
N7K-2(config-router)# router-id 10.1.1.2
|
Step6:-
Enable EIGRP on particular
interface.
N7K-2(config)# int Eth1/1
N7K-2(config-if)#ip address 10.1.1.2 255.255.255.252
N7K-2(config-if)# ip router eigrp 100
|
Step7 :- Optional- Below command can be used if we want
to disable the neighborship on particular interface.
N7K-1(config)# int Eth1/1
N7K-1(config-if)# ip passive-interface eigrp 100 ---<
To disable neighborship but Still advertise the network
N7K-1(config-if)# ip eigrp 100 shutdown --<< To disable EIGRP on
interface. Both hello packet and advertisement will be stopped.
|
Verification :-
A.Show ip eigrp
neighbor
N7K-1(config-if)# sh ip eigrp neighbors
IP-EIGRP neighbors for process 100 VRF default
H Address Interface Hold
Uptime SRTT RTO
Q Seq
(sec) (ms) Cnt Num
0 10.1.1.2 Eth1/1 14
00:00:42 9 200
0 3
|
B.Show ip route
N7K-5-1# sh ip route
IP Route Table for VRF
"default"
'*' denotes best ucast
next-hop
'**' denotes best mcast
next-hop
'[x/y]' denotes
[preference/metric]
10.1.1.0/30, ubest/mbest:
1/0, attached
*via 10.1.1.2, Eth1/1, [0/0], 00:20:41,
direct
10.1.1.2/32,
ubest/mbest: 1/0, attached
*via 10.1.1.2, Eth1/1, [0/0], 00:20:41,
local
200.1.1.0/24,
ubest/mbest: 1/0
*via 10.1.1.1, Eth1/1, [90/3072],
00:00:09, eigrp-100, internal
|
No comments:
Post a Comment