Query re Policy Routing set interface command
Hi ppl I have a question regarding the operation of Policy Routing when using the set interface command.
This is going to be somewhat lengthy so apologies in advance ![]()
The topology goes:
- PC1 f0/0 —- (10.1.123.0/24) —- f0/0 R3
- R3 f0/1 —- (172.16.34.0/24) —- f0/1 R4 — (172.16.46.0/24) — f0/0 R6
- R3 s0/1 — DLCI 306 — (172.16.36.0/24) (FR Switch) — DLCI 603 — s0/1 R6
- R3 s0/0 —- (172.16.35.0/24) —- s0/0 R5 — (172.16.56.0/24) — s0/0 R6
OSPF is being used on R3, R4, R5 and R6.
R6 has a loopback interface with IP: 60.60.60.60 which is advertised by OSPF.
The least cost path to 60.60.60.60 as seen by R3 is via R4 (total metric of 10+10+1).
Ok, now on R3 I have the following config:
- access-list 100 permit icmp host 10.1.123.1 host 60.60.60.60
- route-map POLICY permit 30 match ip address 100 match length 100 100 set interface Serial0/1
























