Field
Interval(s)
sFlow Port Information
Interface
Direction
Rate
Mode
Status
sflow agent ip
Syntax
sflow agent ip ip-address
undo sflow agent ip
View
System view
Default Level
2: System level
Parameters
ip-address: IP address of the sFlow agent.
Description
Use the sflow agent ip command to configure the IP address of the sFlow agent.
Use the undo sflow agent ip command to remove the configured IP address.
By default, no IP address is configured for the sFlow agent.
Note that:
The sFlow agent and sFlow collector must not have the same IP address.
Currently, a device supports only one sFlow agent.
sFlow does not work if the sFlow agent has no IP address configured, or when you execute the
undo sflow agent ip command.
Examples
# Configure the IP address of the sFlow agent.
<Sysname> system-view
Counter sampling interval
Information of the ports enabled with sFlow
sFlow enabled interface
Packet sampling direction:
In/Out: Samples both inbound and outbound packets.
In: Samples inbound packets.
Out: Samples outbound packets.
Packet sampling rate
Packet sampling mode. Random indicates sampling a random
number of packets.
Status of the sFlow enabled port:
Suspend: Indicates the port is suspended, and it stops
sampling.
Active: Indicates the port is active and performs sampling.
1-2
Description
Need help?
Do you have a question about the S7906E and is the answer not in the manual?