Hp/CLI

Aus SchnallIchNet
< Hp
Version vom 27. September 2017, 08:33 Uhr von Cbs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ == sflow == yadda === Configuring sFlow === [no] sflow <instance-Nr.> destination <ip-address> [udp-port-num] Enables an sFlow receiver/destination. The…“)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

sflow

yadda


Configuring sFlow

[no] sflow <instance-Nr.> destination <ip-address> [udp-port-num]

Enables an sFlow receiver/destination. The receiver-instance number must be a 1, 2, or 3.
By default, the udp destination port number is 6343.
To disable an sFlow receiver/destination, enter no sflow receiver-instance.


sflow <instance-Nr.> sampling <PORT-LIST> sampling <rate>

Once an sFlow receiver/destination has been enabled, this command enables flow sampling for that instance.
The receiver-instance number is 1, 2, or 3, and the sampling rate is the allowable non-zero skipcount for the specified port or ports.
A good starting point for sampling rate is 500 on high volume switches rais this value to 2000 or 5000.

To disable flow-sampling for the specified <PORT-LIST> repeat the above command with a sampling rate of 0.


sflow <instance-Nr.> polling <PORT-LIST> polling <interval>

Once an sFlow receiver/destination has been enabled, this command enables counter polling for that instance.
The receiver-instance number is 1, 2, or 3, and the polling interval may be set to an allowable non-zero value to enable polling on the specified port or ports.
A good starting point for polling interval is 20.

To disable counter-polling for the specified <PORT-LIST>, repeat the above command with a polling interval of 0.


Viewing sFlow Configuration and Status

Show agent info:

show sflow agent


Show instance destination IP:

show sflow <instance-Nr.> destination


Show sampling/polling configuration:

show sflow <instance-Nr.> sampling-polling <PORT-LIST/range>