[RouterA]ip local policy-based-route lab1 验证配置结果 # 清空RouterB接口统计信息。 <RouterB>reset counters interface gigabitethernet 1/0/0 <RouterB>reset counters interface gigabitethernet 2/0/0 # 查看RouterB接口统计信息。 <RouterB>display interface gigabitethernet 1/0/0GigabitEthernet1/0/0 ...
通过该配置使能一条本地策略路由。本地策略路由仅对本机下发的报文有效。 操作步骤 执行命令system-view,进入系统视图。 应用本地策略路由。 执行命令ip local policy-based-routepolicy-name,使能本地策略路由。 缺省情况下,本地策略路由处于未使能状态。
PBR: Policy-Based-Route,该技术打破了路由表的传统选路规则,可以根据管理员定义的策略条件来选择性的转发数据包。 学生网段——ISP1 教师网段——ISP2 路由策略、策略路由的区别 策略路由规则 策略路由可以用在下一跳或者是出接口上 策略路由类型 本地策略路由 接口策略路由 配置案例一 本地策略路由:仅对...
policy-based-route aaa permit node 1 if-match acl 3100 apply next-hop 192.168.1.1#aaapolicy-based-route aaa permit node 5 if-match acl 3101 apply next-hop 10.10.0.254 #bbbpolicy-based-route bbb permit node 5 if-match acl 3011 apply next-hop 192.168.1.1#bbbpolicy-based-route bbb permit ...
Create a policy route ip route add ${route options} table ${table id or name} 1. Examples: ip route add 192.0.2.0/27 via 203.0.113.1 table 10 1. ip route add 0.0.0.0/0 via 192.168.0.1 table ISP2 1. ip route add 2001:db8::/48 dev eth1 table 100 ...
同一接口的相同方向只能配置一种共享QoS和ACL资源模式的应用,目前设备支持的应用包括报文过滤、QoS策略和...
http://baturin.org/docs/iproute2/#Add%20a%20route%20via%20interface Policy-based routing (PBR) in Linux is designed the following way: first you create custom routing tables, then you create rules to tell the kernel it should use those tables instead of the default table for specific tr...
Policy name: aaa node 1 permit: if-match acl 2000 apply next-hop 1.1.1.1 表1-1 display ip policy-based-route命令显示信息描述表 字段 描述 Policy name 策略名 node 1 permit 节点1的匹配模式为允许 if-match acl 满足ACL的报文被匹配 apply next-hop ...
display smart-policy-route redirect-link link-state display smart-policy-route routing-table if-match acl(Policy-Based-Route视图) if-match packet-length ip policy-based-route ip policy-based-route refresh-time ip local policy-based-route ip local route-based-source enable ip route re-search acl...
一.PBR(policy-Based routing)策略路由的功能介绍 1.PBR可以用于路由重新分配。基于PBR我们可以在重新分配路由时有选择的重分配。(当然还有其它手段passive-interface,distribute-list,还有route-map实现)。一般来说,PBR是通过路由映射来配置的(route-map)。