OS10 Enterprise Edition User Guide Release


Source interface configuration

You can configure an interface as a source for sFlow. The sFlow agent uses IP address of the configured source interface as agent IP address.

  • Configure the source interface in CONFIGURATION mode.
    sflow source-interface {ethernet 
                                        node/slot/port[:subport] | loopback 
                                        loopback-ID| port-channel 
                                        port-channel-ID| vlan 
  • View the interface details.
    show running-configuration sflow
    show sflow
Configure sFlow source interface
OS10(config)# sflow source-interface ethernet 1/1/1
                                 OS10(config)# sflow source-interface port-channel 1
                                 OS10(config)# sflow source-interface loopback 1
                                 OS10(config)# sflow source-interface vlan 10
View sFlow running configuration
OS10# show running-configuration sflow
                                 sflow enable all-interfaces
                                 sflow source-interface vlan10
                                 sflow collector agent-addr 6343
                                 sflow collector agent-addr 6343
                                 OS10(config)#show running-configuration interface vlan
                                 interface vlan1
                                 no shutdown
                                 interface vlan10
                                 no shutdown
                                 ip address
View sFlow details
OS10# show sflow
                                 sFlow services are enabled
                                 Management Interface sFlow services are disabled
                                 Global default sampling rate: 32768
                                 Global default counter polling interval: 30
                                 Global default extended maximum header size: 128 bytes
                                 Global extended information enabled: none
                                 2 collector(s) configured
                                 Collector IP addr: Agent IP addr: UDP port:6343 VRF:Default → It shows active agent-ip
                                 Collector IP addr: Agent IP addr: UDP port:6343 VRF:Default → It shows active agent-ip
                                 2 UDP packets exported
                                 0 UDP packets dropped
                                 2 sFlow samples collected

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\