Parameter |
Description |
Value |
---|---|---|
slot slot-id |
Displays the sFlow information on a device, where slot-id specifies the slot ID of the device. If this parameter is not configured, the global sFlow configuration is displayed. |
The value is an integer and must be set according to the device configuration. |
After configuring the sFlow function, you can use the display sflow command to verify the configuration.
The display sflow command shows the sFlow configuration, which helps you locate faults.
# Display the sFlow configuration on a specified device.
<HUAWEI> display sflow slot 0 sFlow Version 5 Information: -------------------------------------------------------------------------- Agent Information: IP Address: 192.168.1.206(CLI) Address family: IPV4 Vpn-instance: NA -------------------------------------------------------------------------- Collector Information: Collector ID: 1 IP Address: 192.168.1.194 Address family: IPV4 Vpn-instance: NA Port: 6343 Datagram size: 1500 Time out: NA Description: zjm-pc -------------------------------------------------------------------------- Port on slot 0 Information: Interface: GE0/0/1 Flow-sample collector: 1 Counter-sample collector : 1 Flow-sample rate(1/x): 2048 Counter-sample interval(s): 10 Flow-sample maxheader: 64 Flow-sample direction: IN,OUT
Item |
Description |
---|---|
sFlow Version 5 Information |
- |
Agent Information |
Configuration of the sFlow Agent. |
IP Address |
IP address of the sFlow Agent. To configure this parameter, run the sflow agent command. The string in the parentheses next to the IP address can be:
|
Address family |
Address family of the sFlow Agent:
|
Vpn-instance |
VPN instance of the sFlow Agent. To configure this parameter, run the sflow agent command. The value will be NA if this parameter is not configured in the sflow agent command. |
Collector Information |
Configuration of the sFlow Collector. |
Collector ID |
ID of the sFlow Collector. To configure this parameter, run the sflow collector command. |
IP Address |
IP address of the sFlow Collector. To configure this parameter, run the sflow collector command. |
Address family |
Address family of the sFlow collector:
|
Vpn-instance |
VPN instance of the sFlow Collector. To configure this parameter, run the sflow collector command. The value will be NA if this parameter is not configured in the sflow collector command. |
Port |
Port number of the sFlow Collector. To configure this parameter, run the sflow collector command. |
Datagram size |
Maximum length of sFlow packets sent to the sFlow Collector. To configure this parameter, run the sflow collector command. |
Time out |
Aging time of the sFlow Collector. To configure this parameter, run the sflow collector command. The value will be NA if this parameter is not configured or is set to 0 in the sflow collector command. |
Description |
Description of the sFlow Collector. To configure this parameter, run the sflow collector command. The value will be NA if this parameter is not configured in the sflow collector command. |
Port on slot 0 Information |
- |
Interface |
sFlow-enabled interface. To configure this parameter, run the sflow flow-sampling collector command. |
Flow-sample collector |
sFlow Collector that receives flow sampling data. To configure this parameter, run the sflow flow-sampling collector command. |
Counter-sample collector |
sFlow Collector that receives counter sampling data. To configure this parameter, run the sflow counter-sampling collector command. |
Flow-sample rate(1/x) |
Flow sampling rate. To configure this parameter, run the sflow flow-sampling rate command. |
Counter-sample interval(s) |
Counter sampling interval. To configure this parameter, run the sflow counter-sampling interval command. |
Flow-sample maxheader |
The maximum bytes of data that can be copied from a sampled packet in flow sampling. To configure this parameter, run the sflow flow-sampling max-header command. |
Flow-sample direction |
Flow sampling direction:
|