passive-interface接口
(2017-10-14 14:18:57)
标签:
passive-interfacesilent-interface |
分类: 基础 |
Passive-interface在RIP和EIGRP/OSPF里不同表现(附送silent-interface)
详细实验过程可看:http://yangbo.name/archives/1156.html
当然自己敲一遍实验更好。
--------------------------------
自己做过的笔记:
被动接口(passive-interface).
配置,Router(config-router)#passive-interface type number
如:Router(config)#router eigrp 10
Router(config-router)#passive-interface s0/0/1
注:RIP上的passive-interface为只接不发一更新,EIGRP上的passive-interface则为不接收也不不发送更新(hello包)。
在EIGRP中可以把环回接口(loopback)设置成被动接口,以减少资源的占用。
若有需要(一般不需要)可以把所有接口默认设为被动接口:
-------------------------------------------
silent-interface (H3C里的)1、
// 一般情况下,OSPF process 下要把loopback 地址 silent-interface 掉;
2、
抑制接口只接收而不发送RIP报文。silent-interface all命令用于设置所有接口为抑制接口。silent-interface interface-type interface-number命令用于禁止一个接口进行路由更新。
silent-interface命令用来禁止接口发送OSPF报文。undo
silent-interface命令用来恢复缺省情况。
缺省情况下,允许接口发送OSPF报文。
禁止接口发送OSPF报文后,它将成为被动接口(Passive interface),不再发送Hello报文。
如果要使OSPF路由信息不被某一网络中的路由器获得,可使用本命令禁止在此接口上发送OSPF报文。