The Wayback Machine - https://web.archive.org/web/20240717024602/https://www.geeksforgeeks.org/what-is-passive-interface-command-behavior-in-rip-eigrp-ospf/
Open In App

What is Passive-Interface Command Behavior in RIP, EIGRP & OSPF?

Last Updated : 06 Mar, 2022
Improve
Suggest changes
Post a comment
Like Article
Like
Save
Share
Report

Routing protocols specify how routers talk to each other to exchange information about routes within the same system. This communication happens by sending all or a portion of routing tables in routing-update messages to their neighbors.

Passive-Interface Command Behavior in RIP

While configuring a router, if we want to prevent an interface from participating in RIP, we can use the passive-interface command. This will disable sending multicast updates via that specific interface. But this will allow listening to incoming updates from other RIP-speaking neighbors. Thus interface will still be able to learn new routes.

Passive-interface Command Behavior in RIP

Passive-interface Command Behavior in RIP

Passive-Interface Command Behavior in EIGRP

In the case of EIGRP, passive-interface command prevents directly connected routers from establishing EIGRP neighbor relationships. Now they can’t become neighbors, so they will never exchange routing information. In RIP, the passive-interface command still allows acceptance of new routes, it just won’t send them. But in EIGRP, passive-interface command will result in neither sending nor receiving any routing information.

Passive-interface Command Behavior in RIP

Passive-interface Command Behavior in RIP

Passive-Interface Command Behavior in OSPF

In the case of OSPF, adjacencies are formed to exchange routing information. An OSPF-enabled router sends Hello packets out all OSPF-enabled interfaces to determine whether neighbors are present on those links. If a neighbor is present then the OSPF-enabled router attempts to establish neighbor adjacency with that neighbor. If we want to prevent some or all of the router’s interfaces from taking part in OSPF, we can use the passive-interface command. The passive-interface command effectively disables OSPF on an interface by preventing it from forming OSPF adjacencies.

Passive-interface Command Behavior in RIP

Passive-interface Command Behavior in RIP


Previous Article
Next Article

Similar Reads

Difference between RIP and EIGRP
1. Routing Information Protocol (RIP): In RIP, distance vector routing (DVR) protocol is used for data/packet transmission. In Routing Information protocol (RIP), the maximum number of Hop is 15, because it prevents routing loops from source to destination. Mechanism like split horizon, route poisoning and hold down are used to prevent from incorre
3 min read
Difference between RIP and OSPF
1. Routing Information Protocol (RIP): RIP stands for Routing Information Protocol in which distance vector routing protocol is used for data/packet transmission. In the Routing Information Protocol (RIP), the maximum number of Hop is 15, because it prevents routing loops from source to destination. Mechanisms like the split horizon, route poisonin
3 min read
Difference between EIGRP and OSPF
EIGRP (Enhanced Interior Gateway Routing Protocol) It is used to share the information from one router to the neighbor routers if they exist in the same region. It is also a complex protocol but can be configured and make it work easily in small and large networks. It is also a hybrid protocol because it uses the features of the both distance vecto
2 min read
Linux Operating System | CLI (Command Line Interface) and GUI (Graphic User Interface)
Linux actually means the kernel of the system, which is the sole controller of whatever happens on the computer system. When we talk or say that x "runs Linux" we usually refer to the system kernel and set of the tools that are used with it. Each of the present components will be checked so that we understand exactly what functions each does. The L
3 min read
Routing Information Protocol (RIP)
Routing Information Protocol (RIP) is a dynamic routing protocol that uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance-vector routing protocol that has an AD value of 120 and works on the Network layer of the OSI model. RIP uses port number 520. Hop Count Hop count is the numb
6 min read
Routing Information Protocol (RIP) V1 & V2
Routing Information Protocol (RIP) protocol are the intradomain (interior) routing protocol which is based on distance vector routing and it is used inside an autonomous system.Routers and network links are called node. The first column of routing table is destination address. The cost of metric in this protocol is hop count which is number of netw
4 min read
Difference between RIP and IGRP
1. Routing Information Protocol (RIP): RIP, in which distance vector routing protocol is used for data/packet transmission. In the Routing Information Protocol (RIP), the maximum number of Hop is 15, because it prevents routing loops from source to destination. A mechanism like the split horizon, route poisoning, and hold down is used to prevent fr
2 min read
Difference between Border Gateway Protocol (BGP) and Routing Information Protocol (RIP)
1. Border Gateway Protocol (BGP): In BGP, Transmission Control Protocol is used. It is a type of mesh topology or design. It works by two independent networks (Autonomous Systems or AS) exchanging routing information. The two routers agree to exchange information about how to reach certain IP-ranges. BGP uses Transmission Control Protocol (TCP) por
2 min read
Configuring RIP Versions 1 and 2 in Cisco
Pre-requisite Routing Information Protocol (RIP) Routing is a process of finding a path and then sending packets across networks, the device which performs these functions is called a router. Types of Routing:  Static Routing Dynamic RoutingDynamic Routing Algorithms are based on Distance Vector or Link State routing. RIP is a Dynamic, Distance Vec
4 min read
EIGRP Cost Calculation
Prerequisite - EIGRP As Enhanced Interior Gateway Routing Protocol (EIGRP) is a hybrid vector routing protocol as it contains features of both distance vector routing protocol and link-state routing protocol. It is a network layer protocol which uses protocol number 88. Cost Calculation - Composite matrix is used to calculate the cost and also used
3 min read