This section provides the sFlow configuration command descriptions.
The topics in this section include:
The following commands apply to the 7950 XRS, 7750 SR-12e, and 7750 SR-7/12 platforms.
This command enables context to configured sflow agent parameters.
This command configures the egress counter map for sFlow. The map must be configured so sFlow agent understands how to interpret data collected against SAP queues and policers. Multiple queues and policers can be mapped to the same traffic-type using separate line entries.
The no form of this command deletes a SAP policy queue/policer from the map.
No mapping is created by default.
This command configures the ingress counter map for sFlow. The map must be configured so sFlow agent understands how to interpret data collected against SAP queues and policers. Multiple queues/policers can be mapped to the same traffic-type using separate line entries.
The no form of this command deletes a SAP policy queue/policer from the map.
No mapping is created by default.
This command creates an sFlow receiver context or enters existing sFlow receiver context for the sFlow agent.
The no form of this command deletes an existing sFlow receiver context.
No receivers are created by default.
This command configures primary IPv4 or IPv6 destination address for the sFlow agent to send sFlow datagrams to. Optionally a destination port can also be configured (by default port 6343 is used).
The no form of this command deletes primary sFlow receiver destination.
no ip-addr-primary
a.b.c.d | (IPv4) |
x:x:x:x:x:x:x:x | (IPv6) |
[x:x:x:x:x:x:x:x] | (IPv6) |
x - [0..FFFF]H |
This command configures back-up IPv4 or IPv6 destination address for the sFlow agent to send sFlow datagrams to. Optionally a destination port can also be configured (by default port 6343 is used).
The no form of this command deletes backup sFlow receiver destination.
no ip-addr-backup
a.b.c.d | (IPv4) |
x:x:x:x:x:x:x:x | (IPv6) |
[x:x:x:x:x:x:x:x] | (IPv6) |
x - [0..FFFF]H |
This configures maximum data size for sFlow UDP datagrams sent to the collector.
To restore default configuration, execute max-data-size 1400.
1400 bytes