Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Part 1: Analyzing the Topology





Part 2: Loading The Configuration

./lab8-setup.sh

show configuration services analytics


Code Block
titleservice analytics
collapsetrue
lab@vmx-2> show configuration services analytics 
streaming-server ns-ifd {
    remote-address 192.168.1.100;
    remote-port 2000;
}
streaming-server ns-ifl {
    remote-address 192.168.1.100;
    remote-port 2001;
}
streaming-server ns-lsp {
    remote-address 192.168.1.100;
    remote-port 2002;
}
export-profile ns {
    local-address 192.168.1.2;
    reporting-rate 2;
    format gpb;
    transport udp;
}
sensor ifd {
    server-name ns-ifd;
    export-name ns;
    resource /junos/system/linecard/interface/;
}
sensor ifl {
    server-name ns-ifl;
    export-name ns;
    resource /junos/system/linecard/interface/logical/usage/;
}
sensor lsp {
    server-name ns-lsp;
    export-name ns;
    resource /junos/services/label-switched-path/usage/;
}


lab@vmx-2> show configuration services analytics | display set 
set services analytics streaming-server ns-ifd remote-address 192.168.1.100
set services analytics streaming-server ns-ifd remote-port 2000
set services analytics streaming-server ns-ifl remote-address 192.168.1.100
set services analytics streaming-server ns-ifl remote-port 2001
set services analytics streaming-server ns-lsp remote-address 192.168.1.100
set services analytics streaming-server ns-lsp remote-port 2002
set services analytics export-profile ns local-address 192.168.1.2
set services analytics export-profile ns reporting-rate 2
set services analytics export-profile ns format gpb
set services analytics export-profile ns transport udp
set services analytics sensor ifd server-name ns-ifd
set services analytics sensor ifd export-name ns
set services analytics sensor ifd resource /junos/system/linecard/interface/
set services analytics sensor ifl server-name ns-ifl
set services analytics sensor ifl export-name ns
set services analytics sensor ifl resource /junos/system/linecard/interface/logical/usage/
set services analytics sensor lsp server-name ns-lsp
set services analytics sensor lsp export-name ns
set services analytics sensor lsp resource /junos/services/label-switched-path/usage/



show configuration protocols mpls


Code Block
titlempls config
collapsetrue
lab@vmx-2> show configuration protocols mpls 
lsp-external-controller pccd;
traffic-engineering {
    bgp-igp-both-ribs;
    database {
        import {
            policy TE;
        }
    }
}
admin-groups {
    gold 1;
    silver 2;
    bronze 3;
}
sensor-based-stats;
label-switched-path vmx2-to-vmx1-LSP {
    to 172.20.20.1;
    bandwidth 100m;
}
label-range {
    static-label-range 1000 2000;
}
interface ge-0/0/1.0 {
    admin-group [ gold bronze ];
}
interface ge-0/0/2.0 {
    admin-group [ silver bronze ];
}








Code Block
titlevmx-1
collapsetrue
lab@vmx-1> show configuration services analytics | display set 
set services analytics streaming-server ns-ifd remote-address 192.168.1.100
set services analytics streaming-server ns-ifd remote-port 2000
set services analytics streaming-server ns-ifl remote-address 192.168.1.100
set services analytics streaming-server ns-ifl remote-port 2001
set services analytics streaming-server ns-lsp remote-address 192.168.1.100
set services analytics streaming-server ns-lsp remote-port 2002
set services analytics export-profile ns local-address 192.168.1.1
set services analytics export-profile ns reporting-rate 2
set services analytics export-profile ns format gpb
set services analytics export-profile ns transport udp
set services analytics sensor ifd server-name ns-ifd
set services analytics sensor ifd export-name ns
set services analytics sensor ifd resource /junos/system/linecard/interface/
set services analytics sensor ifl server-name ns-ifl
set services analytics sensor ifl export-name ns
set services analytics sensor ifl resource /junos/system/linecard/interface/logical/usage/
set services analytics sensor lsp server-name ns-lsp
set services analytics sensor lsp export-name ns
set services analytics sensor lsp resource /junos/services/label-switched-path/usage/

set protocols mpls sensor-based-stats



ping routing-instance traffic-source 172.20.20.1 count 1000000 size 1400 rapid

sudo netstat -an | grep udp

sudo netstat -an | grep udp | grep 200


Code Block
titlenetstat
collapsetrue
[lab@northstar-app ~]$ sudo netstat -an | grep udp | grep 200
udp        0      0 0.0.0.0:2000            0.0.0.0:*                          
udp        0      0 0.0.0.0:2001            0.0.0.0:*                          
udp        0      0 0.0.0.0:2002            0.0.0.0:*   



2000   interface telemetry 

2001  interface telemetry 

2002  LSP Telemetry

interface telemetry

sudo tcpdump -i eth1 port 2000


Code Block
titletcpdump
collapsetrue
[lab@northstar-app ~]$ sudo tcpdump -i eth1 port 2000    
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
04:01:28.181152 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.sieve-filter: UDP, bad length 3306 > 1472
04:01:28.181287 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.sieve-filter: UDP, bad length 1695 > 1472
04:01:28.343728 IP 172.20.20.5.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2070 > 1472
04:01:29.364785 IP 172.20.20.4.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2386 > 1472
04:01:29.365062 IP 172.20.20.4.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2386 > 1472
04:01:29.365828 IP 172.20.20.4.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2386 > 1472
04:01:29.543752 IP 172.20.20.3.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2702 > 1472
04:01:29.544156 IP 172.20.20.3.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2702 > 1472
04:01:29.544798 IP 172.20.20.3.cadlock2 > northstar-app.sieve-filter: UDP, bad length 2702 > 1472


sudo tcpdump -i eth1 port 2001


Code Block
title2001
collapsetrue
[lab@northstar-app ~]$ sudo tcpdump -i eth1 port 2001
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
04:07:59.824164 IP fe-0-0-1.j-1.iwx.edu.juniper.net.cadlock2 > northstar-app.wizard: UDP, length 912
04:08:00.310573 IP 172.20.20.6.cadlock2 > northstar-app.wizard: UDP, length 716
04:08:00.311115 IP 172.20.20.6.cadlock2 > northstar-app.wizard: UDP, length 716
04:08:00.530226 IP 172.20.20.5.cadlock2 > northstar-app.wizard: UDP, length 707
04:08:01.094698 IP 172.20.20.3.cadlock2 > northstar-app.wizard: UDP, length 721
04:08:01.095047 IP 172.20.20.3.cadlock2 > northstar-app.wizard: UDP, length 721
04:08:01.095702 IP 172.20.20.3.cadlock2 > northstar-app.wizard: UDP, length 721
04:08:01.193796 IP 172.20.20.4.cadlock2 > northstar-app.wizard: UDP, length 708
04:08:01.194319 IP 172.20.20.4.cadlock2 > northstar-app.wizard: UDP, length 708
04:08:01.194836 IP 172.20.20.4.cadlock2 > northstar-app.wizard: UDP, length 708


interface telemetry

sudo tcpdump -i eth1 port 2002

Code Block
titleinterface telemetry
collapsetrue
[lab@northstar-app ~]$ sudo tcpdump -i eth1 port 2002
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 262144 bytes
04:04:12.170022 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:13.593285 IP fe-0-0-1.j-1.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:14.199637 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:15.598161 IP fe-0-0-1.j-1.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:16.234810 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:17.645451 IP fe-0-0-1.j-1.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:18.264615 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:19.649080 IP fe-0-0-1.j-1.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183
04:04:20.299648 IP fe-0-0-1.j-2.iwx.edu.juniper.net.cadlock2 > northstar-app.globe: UDP, length 183


Part 3Configuring Device Collection
Device CollectionAdministration > Task Scheduler > 

SNMP Traffic Collection


link Latency Collection


Part 4




...