sFlow Command Reference

The commands listed in this section apply to the 7950 XRS, 7750 SR-12e, and 7750 SR-7/12 platforms.

Command Hierarchies

To enable sFlow collection, an operator must enable sFlow on physical Ethernet ports in addition to the following configuration. Refer to the Ethernet Port Commands section in the SR OS Interface Configuration Guide for the CLI required to enable sFlow on physical ports.

System Commands

config
sflow
egress-counter-map {policer policer-id | queue queue-id} traffic-type {unicast | multicast | broadcast } [create]
— no egress-counter-map {policer policer-id | queue queue-id }
ingress-counter-map { policer policer-id | queue queue-id } traffic-type { unicast | multicast | broadcast } [create]
— no ingress-counter-map { policer policer-id | queue queue-id }
receiver receiver-name [create]
— no receiver
ip-addr-primary ip-address[:port]
ip-addr-backup ip-address[:port]
max-data-size bytes

Show Commands

show
sflow