vsx-sync sflow-global

Syntax

vsx-sync sflow-global

no vsx-sync sflow-global

Description

Enables VSX synchronization of the sFlow global configurations on the primary VSX node to the secondary peer.

To synchronize sFlow configurations associated with a particular VRF, you must configure the same VRF on the peer device.

The no form of this command disables VSX synchronization of global sFlow configurations, but it does not remove the existing sFlow feature configurations from the secondary peer switch.

Command context

config-vsx

Authority

Administrators or local user group members with execution rights for this command.

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. VSX syncs only the global sFLow configurations and not the sFlow configurations under physical or LAG interfaces.

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 collector 1.1.1.1 
switch(config)# vsx
switch(config-vsx)# vsx-sync sflow-global

Disabling VSX synchronization of global sFlow configurations:

switch(config)# vsx
switch(config-vsx)# no vsx-sync sflow-global