路由策略和策略路由(Routing policy and policy routing)

路由策略:

  基于三层目的地址的转发

  基于控制平面,控制路由协议和路由表,决定生成什么路由表项

  与路由协议结合完成

  命令 route-policy

策略路由:

  基于策略的转发,失败后再查找路由表转发

  基于转发平面

  需要手工逐跳配置,保证报文按照策略转发

  命令: policy-based-route

————————

Routing policy:

Forwarding based on three-tier destination address

Based on the control plane, the routing protocol and routing table are controlled to determine what routing table items are generated

Combined with routing protocol

Command route policy

Policy Routing:

For policy based forwarding, look up the routing table for forwarding after failure

Based on forwarding plane

Manual hop by hop configuration is required to ensure that the message is forwarded according to the policy

  命令: policy-based-route