vsx-sync sflow
Syntax
vsx-sync sflow
no vsx-sync sflow
Description
Enables VSX synchronization of the sFlow configurations on the primary VSX node to the secondary peer.
The
no
form of this command removes VSX synchronization of global sFlow configurations, but it does not remove the existing global sFlow feature configurations from the secondary peer switch.
Command context
config-vsx
Authority
Administrators
Usage
To maintain compliance with sFlow collector functionality for non-VSX topology, the
vsx-sync sflow
command on primary VSX peer is expected to sync all sFlow configurations, except for the
agent-ip
configuration. This exclusion is required for sFlow collector functionality to work seamlessly even with VSX topology. To synchronize sFlow configurations associated with particular VRF, you must configure the same VRF on the peer device.
Examples
The first line in the following example shows the setting of an sFlow configuration. The last two lines of the example show the enabling of VSX synchronization for sFlow configurations.
switch(config)# sflow agent-ip 10.0.0.100 switch(config)# vsx switch(config-vsx)# vsx-sync sflow
Disabling VSX synchronization of global sFlow configurations:
switch(config)# vsx switch(config-vsx)# no vsx-sync sflow