mac

491
will not be interfered. The higher the priority value is set, the higher its priority will be.
Example: Configure the priority when sFlow receives packet from the hardware at global
mode.
switch (config)#sflow priority 1
42.8 sflow rate
Command: sflow rate { input <input-rate> | output <output-rate >}
no sflow rate [input | output]
Function: Configure the sample rate of the sFlow hardware sampling. The ―no‖ form of
this command deletes the sampling rate value.
Parameter: <input-rate> is the rate of ingress group sampling, the valid range is
1000~16383500.
<output-rate> is the rate of egress group sampling, the valid range is
1000~16383500.
Command Mode: Port Mode.
Default: No default value.
Usage Guide: The traffic sampling will not be performed if the sampling rate is not
configured on the port. And if the ingress group sampling rate is set to 10000, this
indicates there will be one group be sampled every 10000 ingress groups.
Example: Configure the ingress sample rate on port e1/1 to 10000 and the egress sample
rate to 20000.
Switch(Config-If-Ethernet1/1)#sflow rate input 10000
Switch(Config-If-Ethernet1/1)#sflow rate output 20000
42.9 show sflow
Command: show sflow
Function: Display the sFlow configuration state.
Parameter: None.
Command Mode: All Modes.
Usage Guide: This command is used to acknowledge the operation state of sFlow.
Switch#show sflow
Sflow version 1.2
Agent address is 172.16.1.100
Collector address have not configured
Collector port is 6343