Tp-Link T2600G-28MPS V2 [949/1027] Switch configure

Tp-Link T2600G-28MPS V2 [949/1027] Switch configure
Configuration Guide 918
Configuring Maintenance SFlow Configuration
Step 5 interface
{ [
gigabitEthernet
port
] | [ range gigabitEthernet
port-list
] }
Configure the sampler on the specified ports.
port/port-list:
The number or the list of the Ethernet ports that you want to monitor.
Step 6 sflow sampler { [ collector-ID
value
] | [ ingRate
ingress-rate
] [ egRate
egress-rate
] |
[maxHeader
maxHeader
] }
Configure parameters of the sFlow sampler.
value
: Enter the ID of the sFlow collector which the sFlow sampler will send sFlow datagrams
to. The values are from 0 to 4. And 0 means no collector is selected.
ingress-rate
: Specify the ingress sampling frequency; then the samplers takes one packet out
of the specified number of packets. The values are from 1024 to 65535 and the default is 0
which means no packets will be sampled.
egress-rate
: Specify the egress sampling frequency; then the samplers takes one packet out of
the specified number of packets. The values are from 1024 to 65535 and the default is 0 which
means no packets will be sampled.
maxHeader
: Specify the maximum number of bytes that should be copied from a sampled
packet. The values are from 18 to 256 bytes; the default is 128 bytes.
Step 7 show sflow { [ global ] | [ collector ] | [ sampler
] }
Verify the sFlow configurations.
global: View the global configuration of sFlow.
collector: View the global configuration of the sFlow collector.
sampler: View the global configuration of the sFlow sampler.
Step 8 end
Return to privileged EXEC mode.
Step 9 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the switch whose IP address is 192.168.0.1
to send sFlow packets to the host whose IP address is 192.168.0.100. Set the sFlow agent
IP address as 192.168.0.1, the sFlow collector IP address 1 as 192.168.0.100; configure
Gigabit Ethernet port 1 as the sFlow sampler, the Collector-ID as 1, and the ingress rate as
1024:
Switch#configure
Switch(config)#sflow address 192.168.0.1
Switch(config)#sflow enable
Switch(config)#sflow collector collector-ID 1 ip 192.168.0.100
Switch(config)# sflow collector collector-ID 1 port 6343
Switch(config)#interface gigabitEthernet 1/0/1
Switch(config-if)#sflow sampler collector-ID 1

Содержание

Похожие устройства

Скачать