[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 ...
(1) 进入系统视图。 system-view (2) 对本地报文应用IPv6策略。 ipv6 local policy-based-routepolicy-name 缺省情况下,未对本地报文应用IPv6策略。 1.5.2 全局应用IPv6转发策略 1. 功能简介 通过本配置,可以将已经配置的IPv6策略应用到所有接口,指导这些接口接收的所有报文的转发。
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 1. Notes:You can use any route options described in "Route management" section in policy routes too, the only difference is the "table ${table id/name}" part at the end. Numeri...
1.1.8 ipv6 local policy-based-route ipv6 local policy-based-route命令用来对本地报文应用IPv6策略。 undo ipv6 local policy-based-route命令用来恢复缺省情况。 【命令】 ipv6 local policy-based-routepolicy-name undo ipv6 local policy-based-route 【缺省情况】 未对本地报文应用IPv6策略。 【视图】 ...
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...
#在PE1上配置路由策略,对于团体属性65000:100设置本地优先级200。 [PE1]route-policy local_pre permit node 10[PE1-route-policy]if-match community-filter 1[PE1-route-policy]apply local-preference 200[PE1-route-policy]quit #在PE2上配置路由策略,对于团体属性65000:200设置本地优先级200。
ipv6 address 2222::1/128 ! ! interface Serial1/0 no ip address ipv6 address 2011:11:11:11::1/64 serial restart-delay 0 ! ! router bgp 6501 no synchronization no bgp default ipv4-unicast bgp router-id 1.1.1.1 bgp log-neighbor-changes ...
Prefix codes:E link, V node, T4 IPv4 reachable route, T6 IPv6 reachable route, I Identifier, N local node, R remote node, L link, P prefix, L1/L2 ISIS level-1/level-2, O OSPF, a area-ID, l link-ID, t topology-ID, s ISO-ID, c confed-ID/ASN, b bgp-identifier, ...
(172.16.1.1) Route Duration: 00h01m22s Relay IP Nexthop: 0.0.0.0 Relay IP Out-Interface:Vlanif10 Original nexthop: 10.1.1.1 Qos information : 0x0 AS-path (65001) 100, origin igp, MED 0, localpref 100, pref-val 0, valid, external-confed, best,select, active, pre 255 Not ...
一.PBR(policy-Based routing)策略路由的功能介绍 1.PBR可以用于路由重新分配。基于PBR我们可以在重新分配路由时有选择的重分配。(当然还有其它手段passive-interface,distribute-list,还有route-map实现)。一般来说,PBR是通过路由映射来配置的(route-map)。