EIGRP Basic Experiment 1

Source: Internet
Author: User

650) this.width=650; "title=" 1.jpg "src=" Http://s3.51cto.com/wyfs02/M00/6F/3F/wKiom1WVUbjR4U-JAACracjsXRI029.jpg " alt= "Wkiom1wvubjr4u-jaacracjsxri029.jpg"/>

R1#conf T
Enter configuration commands, one per line. End with cntl/z.
R1 (config) #no IP domain-lookup
R1 (config) #line console 0
R1 (Config-line) #login
% Login disabled on line 0, until ' password ' is set
R1 (Config-line) #pass
R1 (config-line) #password 11223344
R1 (config-line) #logging synchronous
R1 (config-line) #no exec-timeout
R1 (Config-line) #exit
R1 (config) #int s0/0
R1 (config-if) #ip add 12.1.1.1 255.255.255.0
R1 (config-if) #no Shu
R1 (config-if) #int S0/1
R1 (config-if) #ip add 13.1.1.1 255.255.255.0
R1 (config-if) #no Shu
R1 (config-if) #int Lo 0
R1 (config-if) #ip Add 1.1.1.1 255.255.255.0
R1 (config-if) #exit
R1 (config) #router EIGRP 90
R1 (config-router) #net 12.1.1.0 0.0.0.255
R1 (config-router) #net 13.1.1.0 0.0.0.255
R1 (config-router) #net 1.1.1.0 0.0.0.255

R2#conf T
Enter The configuration commands, one per line.  End with cntl/z.
R2 (config) #no IP domain-lookup
R 2 (config) #line console 0
R2 (config-line) #login
% login disabled on line 0, until ' password ' is set
R2 (Config-lin e) #password 11223344
R2 (config-line) #no exec-timeout
R2 (config-line) #logging synchronous
R2 (config-line) #end
r2#conf T
Enter The configuration commands, one per line.  end with cntl/z.
R2 (config) #int s0/0
R2 ( CONFIG-IF) #ip address 12.1.1.2 255.255.255.0
R2 (config-if) #no shu
R2 (config-if) #int lo 0
R2 (config-if) #ip Address 2.2.2.2 255.255.255.0
R2 (config-if) #end
r2#conf t
Enter configuration commands, one per line.  End with cntl/z.
R2 (config) #router eigrp
R2 (config-router) #network 12.1.1.0 0.0.0.255
R2 (config-router) # NET 2.2.2.0 0.0.0.255

R3#conf T
Enter The configuration commands, one per line.  End with cntl/z.
R3 (config) #no IP domain-lookup
R 3 (config) #line console 0
R3 (config-line) #login
% login disabled on line 0, until ' password ' is set
R3 (Config-lin e) #pass 11223344
R3 (config-line) #logging synchronous
R3 (config-line) #no exec-timeout
R3 (config-line) # Exit
R3 (config) #int s0/1
R3 (config-if) #ip add 13.1.1.3 255.255.255.0
R3 (config-if) #no shu
R3 (config-if) #int Lo 0
R3 (config-if) #ip add 3.3.3.3 255.255.255.0
R3 (config-if) #exit
R3 (config) #router eigrp all
R3 ( Config-router) #net 13.1.1.0 0.0.0.255
R3 (config-router) #net 3.3.3.0 0.0.0.255

View R1 Routing Table
R1#show IP route
CODES: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

Gateway of last resort are not set

1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/24 is directly connected, Loopback0
D 1.0.0.0/8 is a summary, 00:08:26, Null0
D 2.0.0.0/8 [90/2297856] via 12.1.1.2, 00:08:51, serial0/0
D 3.0.0.0/8 [90/2297856] via 13.1.1.3, 00:06:06, SERIAL0/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, serial0/0
D 12.0.0.0/8 is a summary, 00:08:26, Null0
13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 13.1.1.0/24 is directly connected, SERIAL0/1
D 13.0.0.0/8 is a summary, 00:07:02, Null0
R1#show IP Route eigrp
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 1.0.0.0/8 is a summary, 00:08:37, Null0
D 2.0.0.0/8 [90/2297856] via 12.1.1.2, 00:09:02, serial0/0
D 3.0.0.0/8 [90/2297856] via 13.1.1.3, 00:06:17, SERIAL0/1
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 12.0.0.0/8 is a summary, 00:08:37, Null0
13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 13.0.0.0/8 is a summary, 00:07:11, Null0

You can see that EIGRP automatically summarizes the direct-attached routes and the routes learned.
After you turn off auto-summarization, compare the route table before and after two times.
No auto-summary

R1#show IP route
CODES: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

Gateway of last resort are not set

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/2297856] via 12.1.1.2, 00:01:03, serial0/0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2297856] via 13.1.1.3, 00:00:31, SERIAL0/1
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, serial0/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, SERIAL0/1

-----------------------------------------------------------------------------------------------------------
R1#show IP eigrp Neighbors
IP-EIGRP Neighbors for Process 90
H Address Interface hold Uptime SRTT RTO Q Seq
(sec)       (MS) Cnt Num
1 13.1.1.3 SE0/1 14 00:12:14 164 984 0 16
0 12.1.1.2 se0/0 12 00:14:48 181 1086 0 17

The h here is the order in which the neighbors are established; interface is the local interface; address is the neighbor's location; hold is the holding time, which defaults to three times times the hello time.

, more than three times times the time without receiving the neighbor's ACK that the neighbor down, Up-time is the establishment of a neighbor for how long; Srtt is the average round trip time, Unit Ms. The smaller

, it means that the link is more unobstructed. RTO is the retransmission timeout, which is re-transmitted 16 times by default, or the neighbor is rebuilt.


R1#show IP EIGRP Interface
IP-EIGRP Interfaces for Process 90

Xmit Queue Mean pacing time multicast Pending
Interface peers un/reliable SRTT un/reliable Flow Timer Routes
se0/0 1 0/0 181 0/15 711 0
SE0/1 1 0/0 164 0/15 719 0
Lo0 0 0/0 0 0/1 0 0

This command can see which interfaces are declared out locally. Easy to troubleshoot.
------------------------------------------------------------------------------------------------------------


The three factors that EIGRP affects to establish a neighbor are: as number, password,k value. The hello time is changed without affecting the neighbors.
The command to change the hello time is as follows:
R1 (config) #int s0/0
R1 (config-if) #ip Hello-interval EIGRP 90 10

------------------------------------------------------------------------------------------------------------
The effect of the K value on the EIGRP metric value is explored below.
R2#show IP Route eigrp
1.0.0.0/24 is subnetted, 1 subnets
D 1.1.1.0 [90/2297856] via 12.1.1.1, 00:15:13, serial0/0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2809856] via 12.1.1.1, 00:14:06, serial0/0
13.0.0.0/24 is subnetted, 1 subnets
D 13.1.1.0 [90/2681856] via 12.1.1.1, 00:15:13, serial0/0


R2#show Interface s0/0
Serial0/0 is up, line protocol are up
Hardware is M4T
Internet address is 12.1.1.2/24
MTU bytes, BW 1544 Kbit, DLY 20000 usec,
Reliability 255/255, Txload 1/255, Rxload 1/255
Slightly


R3#show int Lo 0
Loopback0 is up, line protocol are up
Hardware is Loopback
Internet address is 3.3.3.3/24
MTU 1514 bytes, BW 8000000 Kbit, DLY-USEC,
Slightly
Here, we see that the metric value of R2 to R3 is 2809856. The calculation formula is: (10 of seven square/1544 + (20000+20000+5000)/10) *256 = 2809856. Note that 10 of the seven-square/1544 results do not round, only rounded. The bandwidth is in Kbps and the delay unit is USEC.

-----------------------------------------------------------------------------------------------------------

To change bandwidth and delay commands:
R3 (config) #int S0/1
R3 (config-if) #bandwidth?
<1-10000000> Bandwidth in kilobits
Inherit specify that bandwidth is inherited
Receive Specify Receive-side bandwidth

R3 (config-if) #delay?
<1-16777215> throughput Delay (tens of microseconds)
This note that the bandwidth unit here is still kbps, but the delay is 10 times times the USEC.

------------------------------------------------------------------------------------------------------------


Change the K value below and you'll find the neighbor down.

R3#show IP Protocols
Routing Protocol is "EIGRP 90"
Outgoing update filter list for all interfaces are not set
Incoming Update filter list for all interfaces are not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric Weight k1=1, k2=0, K3=1, k4=0, k5=0
EIGRP Maximum HopCount 100
EIGRP Maximum metric Variance 1
REDISTRIBUTING:EIGRP 90
EIGRP Nsf-aware Route hold timer is 240s
Automatic network summarization is not in effect
Maximum Path:4
Routing for Networks:
3.3.3.0/24
13.1.1.0/24
Routing Information Sources:
Gateway Distance Last Update
(this router) 90 00:33:18
13.1.1.1 90 00:22:41
Distance:internal External 170

The K1 to K5 here is the default value. Change the K value size below.

R3 (config) #router EIGRP 90
R3 (config-router) #metric weight?
<0-8> Type of Service (only TOS 0 supported)

R3 (config-router) #metric weight 0?
<0-255> K1

R3 (config-router) #metric weight 0 1 1 1 0 0
R3 (Config-router) #
*mar 1 00:51:56.411:%dual-5-nbrchange:ip-eigrp (0) 90:neighbor 13.1.1.1 (SERIAL0/1) is down:metric changed
R3 (Config-router) #
*mar 1 00:51:58.239:%dual-5-nbrchange:ip-eigrp (0) 90:neighbor 13.1.1.1 (SERIAL0/1) is Down:k-value mismatch
R3 (Config-router) #
*mar 1 00:52:02.671:%dual-5-nbrchange:ip-eigrp (0) 90:neighbor 13.1.1.1 (SERIAL0/1) is Down:k-value mismatch
R3 (Config-router) #
*mar 1 00:52:07.131:%dual-5-nbrchange:ip-eigrp (0) 90:neighbor 13.1.1.1 (SERIAL0/1) is Down:k-value mismatch

R3#show IP route
CODES: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

Gateway of last resort are not set

3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, SERIAL0/1

This article is from the "Bury All Unknown Happiness" blog, please be sure to keep this source http://ykxing.blog.51cto.com/893330/1670377

EIGRP Basic Experiment 1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.