Sflow Configuration on the 9000 Series Switches

  • View
    41

  • Download
    0

Embed Size (px)

Citation preview

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 1/10 Document rev. I

    Sflow is a network monitoring/sampling technology that provides network traffic monitoring and gives visibility into the activity on the network by providing network traffic information. Sflow is an industry standard. Here is a document which guides you on configuring Sflow on Alcatel OS9000. Sflow Configuration on Switch A summary of the sflow configuration commands on the OS9700: sflow receiver 1 name labtest2 address 10.10.34.2 udp-port 6343 packet-size 1400 version 5 timeout 0 sflow sampler 1 1/12 receiver 1 rate 1024 sample-hdr-size 128 sflow sampler 1 1/13 receiver 1 rate 1024 sample-hdr-size 128 sflow poller 1 1/12 receiver 1 interval 30 sflow poller 1 1/13 receiver 1 interval 30 Sflow Show command outputs 9700-> show sflow receiver Receiver 1 Name = labtest2 Address = IP_V4 10.10.34.2 UDP Port = 6343 Timeout = No Timeout Packet Size= 1400 DatagramVer= 5 9700-> show sflow sampler Instance Interface Receiver Rate Sample-Header-Size ---------------------------------------------------------- 1 1/12 1 1024 128 1 1/13 1 1024 128 9700-> show sflow poller Instance Interface Receiver Interval(Secs) ---------------------------------------------- 1 1/12 1 30 1 1/13 1 30 9700-> show sflow agent

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 2/10 Document rev. I

    Agent Version = 1.3; Alcatel; 6.1.1 Agent IP = 192.168.100.1 9700-> show microcode Package Release Size Description -----------------+---------------+--------+----------------------------------- Jadvrout.img 6.1.1.704.R01 1388514 Alcatel Advanced Routing Jbase.img 6.1.1.704.R01 11018944 Alcatel Base Software Jdiag.img 6.1.1.704.R01 2500341 Alcatel Diagnostics Archive Jdni.img 6.1.1.704.R01 2338825 Alcatel Diag NI Software Jeni.img 6.1.1.704.R01 3684594 Alcatel NI Software Jos.img 6.1.1.704.R01 1866119 Alcatel OS Jsecu.img 6.1.1.704.R01 346469 Alcatel Security Full configuration of switch Here is the full configuration of this OS9700 switch with all required Sflow commands highlighted. 9700->write terminal ! Chassis : system name "" mac alloc 91 0 1 00:d0:95:d7:7b:d3 ! Configuration: ! VLAN : vlan 1 enable name "VLAN 1" ! VLAN SL: ! IP : ip service all icmp unreachable net-unreachable disable ip interface "vlan1" address 10.10.34.161 mask 255.255.255.0 vlan 1 ifindex 1 ip interface "Loopback0" address 192.168.100.1 ! IPX : ! IPMS : ! AAA : aaa authentication default "local" aaa authentication console "local" ! PARTM : ! AVLAN : ! 802.1x : ! QOS : ! Policy manager : ! Session manager :

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 3/10 Document rev. I

    session prompt default "9700->" ! SNMP : snmp security no security snmp community map "public" user "manager1" on snmp station 10.10.34.9 162 v2 enable snmp station 10.10.34.2 162 "manager" v2 enable ! IP route manager : ! RIP : ! OSPF : ! BGP : ! IP multicast : ! IPv6 : ! RIPng : ! OSPF3 : ! Health monitor : ! Interface : ! Link Aggregate : ! VLAN AGG: ! 802.1Q : ! Spanning tree : bridge mode 1x1 ! Bridging : ! Bridging : ! Port mirroring : sflow receiver 1 name labtest2 address 10.10.34.2 udp-port 6343 packet-size 1400 version 5 timeout 0 sflow sampler 1 1/12 receiver 1 rate 1024 sample-hdr-size 128 sflow sampler 1 1/13 receiver 1 rate 1024 sample-hdr-size 128 sflow poller 1 1/12 receiver 1 interval 30 sflow poller 1 1/13 receiver 1 interval 30 ! UDP Relay : ! Server load balance : ! System service : ! VRRP : VRRP 10 1 DISABLE VRRP 10 1 PRIORITY 255 PREEMPT INTERVAL 1 VRRP 10 1 ADDRESS 10.10.34.161 VRRP 10 1 ENABLE ! Web : ! AMAP : ! GMAP : ! Module : ! Lan Power : ! NTP :

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 4/10 Document rev. I

    ! RDP : 9700-> There are many vendors who provide Sflow collector software , which is required to receive the Sflow datagrams and present them in an understandable format. A guide to configuring the freeware version of Inmons Sflow Trend is also included. 1. Sflow Trend Switch Config Important: Configure the switch Ip in Sflow Trend using the Loopback0 IP address you have configured on the switch.

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 5/10 Document rev. I

    2. Sflow Trend --Options

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 6/10 Document rev. I

    3. Sflow StatisticsCounters

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 7/10 Document rev. I

    Sflow Statistics --Counters -- After about 5 minutes

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 8/10 Document rev. I

    Sflow Statistics Utilization

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 9/10 Document rev. I

    Sflow Statistics --Utilization :After about 5 minutes

  • Configuring Sflow on OS9000 Switch and Collector

    Alcatel Enterprise Services & Support 10/10 Document rev. I

    Ethereal Packet Capture of Sflow Packet