7.3. sFlow Command Reference

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

7.3.1. 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 7450 ESS, 7750 SR, 7950 XRS, and VSR Interface Configuration Guide Interface Configuration Guide for the CLI required to enable sFlow on physical ports.

7.3.1.1. 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

7.3.1.2. Show Commands

show
sflow