「Huawei VRP」- 配置 RIP 协议

  CREATED BY JENKINSBOT

[Huawei] rip
[Huawei-rip-1] network 10.0.0.0 # 宣告网络,对于 RIPv1 只能针对主类进行宣告(否则报错)

[Huawei-rip-1] version 2

修改 Metric 参数

interface GigabitEtherente 0/0/0
[Interface] rip metricin 2 # 修改收到的 Metric 参数,并累加该值
[Interface] rip metricout 2 # 修改发出的 Metric 参数,使用该值。对端收到的也为该值;

水平分割/毒性反转

[Interface] rip split-horizon
[Interface] rip poision-reverse # 优先级更高

禁止发送 RIP 报文

[Interface] undo rip output # 不发送
[Interface] undo rip input # 不接收

抑制接口

[rip-a] silent-interface GigabitEthernet 0/0/1 # 该接口只接收 RIP 报文,但是不发送;优先级高于 Input/Output 特性;

验证 RIP 配置

display rip

关闭汇总(RIPv2)

undo summary

summary always # 针对华为设备的设置,而单纯的 summary 不会发生汇总

[Huawei] undo summary
[Interface] rip summary-address 10.1.56.0 255255.0.0 # 手动进行汇总