Basic configurations of the IGRP Routing Protocol

Source: Internet
Author: User

IGRP Protocol

IGRP (Interior Gateway Routing Protocol) is a dynamic distance vector Routing Protocol designed by Cisco In The Middle Of 1980s. Use a combination of user configuration scales, including latency, bandwidth, reliability, and load.

By default, IGRP sends a route update broadcast every 90 seconds. No update is received from the first vro in the route within three update cycles (that is, 270 seconds, the route is declared inaccessible. After 7 update cycles, namely 630 seconds, the Cisco IOS software clears the route from the route table.

1. Related commands

Task

Command

Use RIP Protocol

Router igrpAutonomous-system 1

Network connected to the vro

NetworkNetwork

Node Address adjacent to the vro

NeighborIp-address

Note: 1. autonomous-system can be created at will, not in the actual sense of autonomous-system, but the autonomous-system must be the same for Routers running IGRP to exchange route update information.

2. Example


Router1:

Router igrp 200

Network 192.200.10.0

Network 192.20.10.0

!

1. Enable IGRP route laundry in global setting mode;

Router igrp Autonomous Region No.

Only routers in the same Autonomous Region can exchange route information.

2. The vro participates in the subnet of the dynamic route;

Net work subnet number

IGRP only transmits the subnet specified by net work in each port to exchange route information. If the subnet is not specified, the router will not broadcast the subnet to other routers.

3. Specify the IGRP route information that a router knows to broadcast to the routers adjacent to it;

Neighbor is the IP address of the adjacent port of the router.

IGRP is a broadcast Protocol. To enable the IGRP route information to be transmitted in a non-broadcast network, you must use this setting to allow routers to exchange route information in a non-broadcast network, this option is not required for broadcast networks such as Ethernet. The above is the basic setting of IGRP. With this setting, the router can switch routing information completely through IGRP.

4. Do not allow a port to send IGRP route information

Passive-interface port number

Generally, when there is only one vro over Ethernet, IGRP broadcast does not have any meaning, and bandwidth is wasted. You can completely filter it out.

5. Server Load balancer settings

IGRP can enable four lines at the same time between two devices for IP communication, and the disconnection of any path will not affect the transmission of other paths.

When the metric of two or more paths is the same or within a certain range, the balance function can be enabled.

1. Set whether to use the load balancing function.

Traffic-share balanced or min

Balanced indicates that enabling Load Balancing min means that load balancing is not enabled and only the optimal path is used.

2. When the metric difference between paths is large, load balancing can be enabled between paths.

Variance metric difference

The default value is 1, indicating that load balancing can be enabled on both paths at the same time.

Instance:

2511-1 settings

Current configuration:

!

Version 11.3:

No service password-encryption

!

Host Name 2511-1

!

Enable password cisco

!

!

Interface Ethernet0

Ip address 192.4.1.1 255.255.255.0

!

Interface Serial0

Ip address 192.3.1.1 255.255.255.0

Encapsulation frame-relay IETF

No ip mroute-cache

Bandwidx 2000

Frame-relay map ip 192.3.1.2 100 broadcast

Frame-relay lm-type cisco

!

Interface Serial1

Ip address 192.1.1.1 255.255.255.0

Encapsulation ppp

Bandwidth 64

!

Router igrp 10

Passive-interface Ethernet0

Network 192.1.1.0 255.255.255.0

Network 192.3.1.0 255.255.255.0

Network 192.4.1.0 255.255.255.0

Neighbor 192.1.1.2

Neighbor 192.3.1.2

!

Ip classless

!

Line con 0

Line 1 8

Line aux 0

Line vty 0 4

!

End

2505 settings

Current configuration:

!

Version 11.2:

No service udp-small-servers

No service tcp-small-servers

!

Hostname 2505

!

Enable secret 5 $1 $ GbYT $ OR05giiLZxl4hEAO0F8kV1

!

!

Hub ether 0 1

Link-test

Auto-polarity

!

Hub ether 0 2

Link-test

Auto-polarity

!

Hub ether 0 3

Link-test

Auto-polarity

!

Hub ether 0 4

Link-test

Auto-polarity

!

Hub ether 0 5

Link-test

Auto-polarity

!

Hub ether 0 6

Link-test

Auto-polarity

!

Hub ether 0 7

Link-test

Auto-polarity

!

Hub ether 0 8

Link-test

Auto-polarity

!

Interface Ethernet0

Ip address 192.1.4.1 255.255.255.0

!

Interface Serial0

Ip address 192.1.2.1 255.255.255.0

Bandwidx 2000

Clockrate 2000000

!

Interface Serial1

Ip address 192.1.1.2 255.255.255.0

Enpsuration ppp

Bandwidth 64

Clockrate 64000

!

Router igrp 10

Passive-interface Ethernet0

Network 192.1.1.0 255.255.255.0

Network 192.1.2.0 255.255.255.255.0

Network 192.1.4.0 255.255.255.0

Neighbor 192.1.1.1

Neighbor 192.1.2.2

!

No ip classless

!

Line con 0

Line aux 0

Line vty 0 4

Login

!

End

Internal-2 Settings

Current configuration:

!

!

Version 11.2:

No service udp-small-servers

No service tcp-small-servers

!

Hostname internal-2

!

Enable secret 5 $1 $ KX00 $ Ti/2TvDokWxT4xC6wvmi/

!

!

Interface Ethernet0

No ip address

Shutdown

!

Interface Serial0

Ip address 192.1.2.2 255.255.255.0

!

Interface Serial1

No ip address

Shutdown

!

Router igrp 10

Network 192.1.2.0 255.255.255.255.0

Neighbor 192.1.2.1

!

No ip classless

!

Line con 0

Line 1 16

Line aux 0

Line vty 0 4

Login

!

End

2514 settings

Current configuration:

!

!

Version 11.2:

No service udp-small-servers

No service tcp-small-servers

!

Hostname 2514

!

Enable secret 5 $1 $ uoHU $ Vks/lY CRi33z4TXs4qekI0

!

Frame-relay switching

!

Interface Ethernet0

Ip address 192.5.1.1 255.255.255.0

!

Interface Ethernet1

No ip address

Shutdown

!

Interface Serial0

Ip address 192.3.1.2 255.255.255.0

Encapsulation frame-relay IETF

Bandwidx 2000

Clockrate 2000000

Frame-relay map ip 192.3.1.1 100 broadcast

Frame-relay intf-type dce

!

Interface Serial1

Ip address 192.2.1.1 255.255.255.0

No ip mroute-cache

Encapsulation X25 dce

Bandwidth 64

X25 IP address 1234

X25 htc 16

X25 nvc 4

X25 map ip 192.2.1.2 5678 broadcast

Clockrate 64000

!

Router igrp 10

Passive-interfce Ethernet0

Network 192.3.1.0 255.255.255.0

Network 192.2.1.0 255.255.255.255.0

Network 192.5.1.0 255.255.255.0

Neighbor 192.2.1.2

Neighbor 192.3.1.1

!

No ip classless

!

Line con 0

Line aux 0

Line vty 0 4

Login

!

End

2511-2 settings

Building configuration...

Current configuration:

Version 11.3:

No service password-encryption

!

Host Name 2511-2

!

Enable secret 5 $1 $ 7o5F $ MSyFWzVf6JBgnjLJghHSB.

!

Interface Ethernet0

Ip address 192.2.4.1 255.255.255.0

!

Interface Serial0

Ip address 192.2.1.2 255.255.255.0

Encapsulation x25

No ip mroute-cache

X25 IP address 5678

X25 htc 16

X25 nvc 4

X25 map ip 192.2.1.1 1234 broadcast

!

Interface Serial1

Ip address 192.2.2.1 255.255.255.0

No ip mroute-cache

Bandwidx 2000

Clockrate 2000000

!

Router igrp 10

Network 192.2.2.0 255.255.255.255.0

Network 192.2.4.0 255.255.255.0

Network 192.2.1.0 255.255.255.255.0

Neighbor 192.2.1.1

Neighbor 192.2.2.2

!

Ip classless

!

Line con 0

Line 1 8

Line aux 0

Line vty 0 4

Login

!

End

Internal-1 settings

Building configuration...

Current configuration:

Version 11.2:

No service udp-small-servers

No service tcp-small-servers

!

Hostname internal-1

!

Enable secret 5 $1 $ cF2M $ z2T8Ohij5q/yn2RsiVaGE/

!

!

Interface Ethernet0

No ip address

Shutdown

!

Interface Serial0

Ip address 192.2.2.2 255.255.255.0

!

Interface Serial1

No ip address

Shutdown

!

Router igrp 10

Network 192.2.2.0 255.255.255.255.0

Neighbor 192.2.2.1

!

No ip classless

!

Line con 0

Line 1 16

Line aux 0

Line vty 0 4

Login

!

End


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.