[j-nsp] flow-routes "then routing-instance" action
Felix Schueren
felix.schueren at hosteurope.de
Wed Oct 15 07:44:01 EDT 2008
I can't wrap my head around how the routing-instance config on Junos
should look like for me to be able to use a flow route to put traffic
into the routing instance, maybe one of you can help.
I have a flow route like this:
show configuration routing-options flow
route flow-test {
match {
destination 10.5.6.7/32;
source 192.168.9.8/32;
}
then routing-instance target:20773:5656;
}
which is propagated through the core. The whole flow distribution stuff
works, I can discard or rate-limit by flow-routes just fine.
anyhow, from inetflow.0:
10.5.6.7,192.168.9.8/96 (1 entry, 1 announced)
*BGP Preference: 170/-101
Next hop type: Fictitious
Next-hop reference count: 11
State: <Active Int Ext>
Local AS: 20773 Peer AS: 20773
Age: 19:28:54
Task: BGP_20773.10.30.255.225+58095
Announcement bits (1): 0-Flow
AS path: I ()
Communities: 20773:667 no-advertise redirect:20773:5656
Localpref: 100
I have a routing instance like this:
[edit routing-instances testFlow]
fs at lab3# show
instance-type vrf;
route-distinguisher 20773:5656;
vrf-target target:20773:5656;
routing-options {
static {
defaults {
resolve;
}
route 10.5.6.7/32 discard;
route 0.0.0.0/0 next-table inet.0;
}
}
(yeah, it's moot that way, I could just as well filter etc, it's just a
test setup, get the basics right before I start the interesting stuff).
My problem is: traffic does not seem to get directed into the instance.
Do I need to use a different instance-type? Any other ideas?
Kind regards,
Felix
--
Felix Schueren, Head of NOC
Host Europe GmbH - http://www.hosteurope.de
Welserstraße 14 - D-51149 Köln - Germany
Telefon: (0800) 4 67 83 87 - Telefax: (01805) 66 32 33
HRB 28495 Amtsgericht Köln - UST ID DE187370678
Geschäftsführer: Uwe Braun - Patrick Pulvermüller - Stewart Porter
More information about the juniper-nsp
mailing list