R1#show ip eigrp topology | begin 4.4.4.4 P 4.4.4.4/32, 1 successors, FD is 409600 via 13.1.1.3 (409600/128256), Ethernet0/1 via 12.1.1.2 (409601/128256), Ethernet0/0 // 发现R2传来的4.4.4.4路由的metric加1
R1#show ip route eigrp | begin 4.4.4.4 D 4.4.4.4 [90/409600] via 13.1.1.3, 00:05:44, Ethernet0/1 // 4.4.4.4只有R3一个下一跳
R1#show ip route | include 5.5.5.5 R1# R1#ping 5.5.5.5 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms R1#
发现路由表中是没有5.5.5.5的路由,但是可以ping通。可通过下面方式查看本地pbr策略:
1 2 3 4 5 6 7 8
R1#show ip local policy Local policy routing is enabled, using route map pbr route-map pbr, permit, sequence 10 Match clauses: ip address (access-lists): 100 Set clauses: ip next-hop 12.1.1.2 Policy routing matches: 20 packets, 2000 bytes
R1#show ip route | include 5.5.5.5 D 5.5.5.5 [90/409600] via 13.1.1.3, 00:00:21, Ethernet0/1
R1#trace 5.5.5.5 Type escape sequence to abort. Tracing the route to 5.5.5.5 VRF info: (vrf in name/id, vrf out name/id) 1 12.1.1.2 0 msec 1 msec * R1#