MES53xx, MES33xx, MES23xx Ethernet Switch Series 145
Command line prompt in the global configuration mode is as follows:
console(config)#
Table 5.152. Global configuration mode commands
sflow receiver id
{ipv4_address | ipv6_address |
ipv6z_address | url} [port port]
[max-datagram-size byte]
id: (1..8);
port: (1.. 5535)/6343;
byte:positive integer
value/1400
ipv4_address format:
A.B.C.D
ipv6_address format:
X:X:X:X::X;
ipv6z_address format:
X:X:X:X::X%<ID>;
url: (1..158) characters
Specify sflow statistics server address.
- id - sflow server number;
- ipv4_address, ipv6_address, ipv6z_address – IP-address;
- url - host domain name;
- port - port number;
- byte - maximum quantity of bytes that can be sent in a single data
packet.
Delete sflow statistics server address.
sflow receiver
|
e-ipv6}
{gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernet fo_port |
port-channel group |
loopbackloopback_id |
vlan vlan_id | oob}
vlan_id: (1..4094)
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
loopback id: (1..64);
group: (1..16)
Specify a device interface whose IP address will be used as the
default source address for statistics collection.
no sflow receiver
Delete the explicitly specified interface whose address is used to
send sflow statistics
Ethernet interface configuration mode commands
Command line prompt in the Ethernet interface configuration mode is as follows:
console# configure
console(config)# interface {gigabitethernet gi_port | tengigabitethernet
te_port | fortygigabitethernet fo_port}
console(config-if)#
Table 5.153. Ethernet interface configuration mode commands
sflow flow-sampling rate id
[max-header-size bytes]
rate: (1024..107374823);
id: (0..8);
bytes:(20..256)/128 bytes
Specify the average packet sampling rate. Total sampling rate
is calculated as 1/rate*current_speed.
- rate - average packet sampling rate;
- id - sflow server number;
- bytes - maximum quantity of bytes that will be copied from a
packet sample.
Disable sample counter for the port.
sflow counters-sampling
sec id
sec: (15..86400) seconds;
id: (0..8)
Specify the maximum interval between successful packet
samples.
- sec - maximum sampling interval, seconds.
- id - the number of sflow server (set by the sflow receiver
command in the global configuration mode).
no sflow
counterssampling
Disable sample counter for the port.
EXEC mode commands
Command line prompt in the EXEC mode is as follows:
console>