[j-nsp] sflow agent, source and collector via routing instance
Michael Gehrmann
mgehrmann at atlassian.com
Tue Jul 26 18:33:35 EDT 2016
You could try adding a /32 route to the collector in the master (inet.0) routing table with next-table management.inet.0
Mike
> On 27 Jul 2016, at 02:38, Jason Lixfeld <jason-jnsp at lixfeld.ca> wrote:
>
> Does anyone know if it’s possible to have sflow export to a collector via a routing instance? My collector is inside a VRF-type routing-instance, and I have looked for routing-instance hooks similar to what what is listed in the docs for things like ntp, tacacs, etc.[1], but I haven’t found anything specifically for sflow.
>
> Thanks in advance.
>
> [1] https://www.juniper.net/techpubs/en_US/junos14.2/topics/reference/configuration-statement/source-address-edit-system-ntp-radius-syslog-tacacs.html
>
> admin at lab01.juniper# show protocols sflow
> agent-id 10.219.49.249;
> source-ip 10.219.49.249;
> collector 10.219.51.130 {
> udp-port 65533;
> }
> interfaces ge-0/1/0.0;
> interfaces ge-0/1/1.0;
> interfaces irb.1000;
> interfaces lo0.1;
>
> [edit]
> admin at lab01.juniper# run show route 10.219.51.130
>
> internet.inet.0: 2099 destinations, 2099 routes (2099 active, 0 holddown, 0 hidden)
> + = Active Route, - = Last Active, * = Both
>
> 0.0.0.0/0 *[BGP/170] 4d 22:15:09, MED 0, localpref 100, from 72.15.48.4
> AS path: I, validation-state: unverified
>> to 10.15.51.80 via ge-0/1/1.0, Push 16243, Push 30(top)
>
> management.inet.0: 376 destinations, 376 routes (376 active, 0 holddown, 0 hidden)
> + = Active Route, - = Last Active, * = Both
>
> 10.219.51.128/27 *[BGP/170] 4d 22:15:08, MED 1, localpref 790, from 72.15.48.4
> AS path: I, validation-state: unverified
>> to 10.15.51.80 via ge-0/1/1.0, Push 335, Push 28(top)
>
> [edit]
> admin at lab01.juniper# run show route 10.219.49.249
>
> internet.inet.0: 2099 destinations, 2099 routes (2099 active, 0 holddown, 0 hidden)
> + = Active Route, - = Last Active, * = Both
>
> 0.0.0.0/0 *[BGP/170] 4d 22:15:32, MED 0, localpref 100, from 72.15.48.4
> AS path: I, validation-state: unverified
>> to 10.15.51.80 via ge-0/1/1.0, Push 16243, Push 30(top)
>
> management.inet.0: 376 destinations, 376 routes (376 active, 0 holddown, 0 hidden)
> + = Active Route, - = Last Active, * = Both
>
> 10.219.49.249/32 *[Direct/0] 5d 13:28:15
>> via lo0.1
>
> [edit]
> admin at lab01.juniper#
>
> Jul 26 12:31:48.147 2016 lab01.juniper sflowd[1999]: sflow datagram send failed, ret -1 errno 65 errstr No route to host
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
More information about the juniper-nsp
mailing list