Hi jr94,
I assume you are referring to the 'interface' option as part of the route-map match criteria. As for all the match criteria, this options adds to the filter of which routes are selected.
Multiple 'match' statements are an AND condition, and multiple values within a match statement are an OR condition. We have already added an ACL match statement, which means the routes need to be included in the ACL, adding an interface match criteria means the routes ALSO need to point out that interface.
Looking at the example already shown in this thread (above), I'll focues on the SSG and the routes sent out interface e0/4 (to R1).
With no filtering, we would send routes 2, 3, 5, 6, 7, 8, 9, 10 & 11.
After applying our route-map, we have restricted this to only routes 5, 7, 8 & 10 (these match against ACL 1).
If we add an 'interface' setting to the match criteria, to say, e0/5 (R2) interface, then only routes pointing out e0/5 will be advertised.
Routes 5 & 7 are the only routes which match ACL 1 and match interface e0/5.
This is how I changed the route-map..
set route-map name "map1" permit 1
set match interface ethernet0/5
set match ip 1
exit
Here is "debug rip recv" output for routes received at R1.
Before modifying filter..
## 2009-05-08 12:35:16 : rip: update on ifp ethernet4 from 10.1.1.1, RIP port 520
## 2009-05-08 12:35:16 : rip: [rx] 10.10.10.0/24, nhop 10.1.1.1, metric 2, tag 0.0.0.0
## 2009-05-08 12:35:16 : rip: resetting timer for existing route
## 2009-05-08 12:35:16 : rip: [rx] 5.5.5.0/24, nhop 10.1.1.1, metric 3, tag 0.0.0.0
## 2009-05-08 12:35:16 : rip: resetting timer for existing route
## 2009-05-08 12:35:16 : rip: [rx] 7.7.7.0/24, nhop 10.1.1.1, metric 3, tag 0.0.0.0
## 2009-05-08 12:35:16 : rip: resetting timer for existing route
## 2009-05-08 12:35:16 : rip: [rx] 8.8.8.0/24, nhop 10.1.1.1, metric 3, tag 0.0.0.0
## 2009-05-08 12:35:16 : rip: resetting timer for existing route
After modifying filter..
## 2009-05-11 09:48:56 : rip: [rx] RIP packet on interface ethernet4, vr (trust-vr)
## 2009-05-11 09:48:56 : rip: update on ifp ethernet4 from 10.1.1.1, RIP port 520
## 2009-05-11 09:48:56 : rip: [rx] 5.5.5.0/24, nhop 10.1.1.1, metric 3, tag 0.0.0.0
## 2009-05-11 09:48:56 : rip: resetting timer for existing route
## 2009-05-11 09:48:56 : rip: [rx] 7.7.7.0/24, nhop 10.1.1.1, metric 3, tag 0.0.0.0
## 2009-05-11 09:48:56 : rip: resetting timer for existing route
I also added the loopback.10 interface, and routes 5, 7 & 10 were all received.
I hope this clears it up for you.
Rodney.