首页 > 其他分享 >Passive-interface用法精解

Passive-interface用法精解

时间:2023-06-24 10:32:29浏览次数:28  
标签:passive 网段 接口 Passive interface 精解 路由 路由器

懒人看结论:  

  • RIP上passive-interface只收不发路由更新;OSPF和EIGRP上passive-interface则不能收发hello更包,不能建邻居

Passive-interface用法精解_OSPF

  • 不建立OPPF/EIGRP邻居,不发送也不接收HELLO包,但是能通告接口网络。

一、在RIP或IGRP路由器上

(1)配置passive-interface的作用是:

让特定的接口不通告任何路由更新的同时,能接受到所有的路由更新

  (2)运用场景:

    在 MA多路访问环境中,配合neighbor命令,让RIP或IGRP以单播方式发送更新替代广播更新。  

二、在OSPF或EIGRP路由器上

(1)配置passive-interface的作用是:

让特定借口不能收发hello数据包,也就不能形成邻居关系

(2)运用场景:

   1:让特定路由器接口不参与路由协议进程;

   2:在不通过特定接口建立任何邻居关系的同时,又能通告这些接口所处网段的路由。

 配置实例:router ospf 1

        passive-interface ethernet0          

三、相关要点

    我们在路由协议中将某个接口设置为passive-interface的前提是使用network关键字宣告了这个接口的网段,否则passive-interface就没有意义了。passive-interface特性通常被用于某个接口的网段路由需要被其他路由器学习到,但是这个接口本身可能连接着一个末梢网络(只有主机,没有其他的路由器)的场景。

   

标签:passive,网段,接口,Passive,interface,精解,路由,路由器
From: https://blog.51cto.com/u_7575433/6540968

相关文章

  • UE5 C++ Interface
    概述接口类有助于确保一组(可能)不相关的类实现一组通用函数接口声明声明接口类与声明普通的虚幻类相似,但仍有两个主要区别首先,接口类使用UINTERFACE宏而不是UCLASS宏,且直接从UInterface而不是UObject继承其次,UINTERFACE类不是实际的接口;它是一个空白类,它的存在只是为了向......
  • @interface 注解详解
    @interface用来定义一个自定义注解在Java中,定义注解其实和定义接口差多不,只需要在interface前添加一个@符号就可以,即@interfaceZhujie{},这就表明我们定义了一个名为@Zhujie的注解。注解中的方法即为注解的元素,元素中不能包含参数,返回值只能为简单数据类型、String、Clas......
  • BindingException异常:Type interface com.niuyun.dao.UserDao is not known to the Ma
    Mybatis出现:org.apache.ibatis.binding.BindingException:Typeinterfacecom.niuyun.dao.UserDaoisnotknowntotheMapperRegistry.的错误,如何解决?错误如下:类型接口dao不知道mapper注册中心点的问题org.apache.ibatis.binding.BindingException:Typeinterfacecom.niuy......
  • WABCO DIAGNOSTIC KIT (WDI) WABCO Trailer and Truck Diagnostic Interface
    WabcoDiagnosticKitisauniversaldiagnostictooldesignedformaintenanceoftrailers,trucksandbuses.WabcoDiagnostictoolsupportsmostpopularandwanteddiagnosticprotocolsforwidercompatibilityrange.WabcoDiagnosticKitcomeswithafulls......
  • 匿名内部类implements(实现)interface(接口)
    interfaceIBye{voidBye();}classA{publicA(){System.out.println("A()"); }publicvoidsayhi() { System.out.println("A::sayhi()"); }}classB{Aobj; publicB(){ o......
  • 一种垮域通知的协议解决思路-Notification Interface Protocol
    NotificationInterface提供一种协议,使得分布于各个网站的消息发送点能够方便地向一个集合点发送消息,通知有新消息到达,请前往查看详细内容。消息发送点:可以是位于blog、facebook、twitter等网站的一段程序,能够将网站更新消息发往集合点消息集合点:可以使QQ、MSN等在线工具,能够接......
  • Set up Your Diagnostic Interface for JPRO Commercial Diagnostics
    ThereareseveraldiagnosticinterfacesarecompatiblewithJPROCommercialVehicleDiagnosticssoftware.Youneedsetupyourdiagnosticsinterfaceinconfigurationsetting.Preparations:JPRONoregonCommercialFleetDiagnostics2023FreeDownloadNexiqU......
  • pytest 执行脚本时,报(no name '/Users/**/PycharmProjects/interface_auto/test_case/
    触发场景:pytest执行脚本时,命名全部正确,但是直接报找不到执行函数解决方式:取掉init方法原因:测试框架在运行测试时会自动实例化测试类的对象,并且不会传递任何参数。如果您定义了__init__方法,测试框架将无法实例化您的测试类,从而导致测试无法运行。因此,为了确保测试类能够正......
  • beego:interface conversion: interface {} is string, not int
    代码organizationId:=info[0]["organization_id"].(int)报错beego_api:interfaceconversion:interface{}isstring,notintRequestMethod: GETRequestURL: /v1/board2/students/detail2?id=237497RemoteAddr: ::1Stack/usr/local/go/src/runtime/panic.go......
  • Java 深入学习(3) —— 抽象类(Abstract Class) 与 接口(Interface)的区别
    抽象类(AbstractClass)Java提供一个叫抽象方法的机制,这种方法是不完整的,仅有声明而没有方法体。abstractvoidf();包含抽象方法的类叫做抽象类。如果一个类包含一个或者多个抽象方法,则该类必须被限定为抽象的。如果从一个抽象类继承,并想创建该新类的对象,就必须为基类中的所有抽......