244Parameterscollector-id: Specifies an ID for the sFlow collector, in the range of 1 to 10.ip ip-address: Specifies an IPv4 address for the sFlow collector.ipv6 ipv6-address: Specifies an IPv6 address for the sFlow collector.description text: Configures a description for the sFlow collector. The default description is "CLICollector."datagram-size size: Specifies the maximum length of the sFlow data portion in an sFlow packet. Thevalue ranges from 200 to 3000 bytes and defaults to 1400 bytes.port port-number: Specifies the port number of the sFlow collector, in the range of 1 to 65535. Thedefault port number is 6343.time-out seconds: Specifies the aging time of the sFlow collector, in the range of 1 to 2147483647, inseconds. When the aging time expires, all the settings of the sFlow collector are restored to the default.For an sFlow collector with the aging timer configured, the system does not save its configuration in theconfiguration file. By default, the sFlow collector never ages out.Examples# Specify sFlow collector 2's destination IP address as 3.3.3.1, port number as the default, description asnetserver, aging time as 1200 seconds, and maximum length of the sFlow data portion as 1000 bytes. system-view[Sysname] sflow collector 2 ip 3.3.3.1 description netserver time-out 1200 datagram-size1000sflow counter intervalUse sflow counter interval to set the counter sampling interval.Use undo sflow counter interval to disable counter sampling.Syntaxsflow counter interval interval-timeundo sflow counter intervalDefaultCounter sampling is disabled.ViewsInterface viewDefault command level2: System levelParametersinterval-time: Specifies the counter sampling interval in the range of 2 to 86400 seconds.Examples# Set the counter sampling interval to 120 seconds on GigabitEthernet 4/0/0. system-view[Sysname] interface gigabitethernet 4/0/0[Sysname-GigabitEthernet4/0/0] sflow counter interval 120