160 MES3000 Ethernet switch series
EXEC mode commands
Command line request in EXEC mode appears as follows:
console>
Table 5.184 —Commands available in EXEC mode
show sflow configuration
[gigabitethernet gi_port |
tengigabitethernet te_port]
gi_port: (1..8/0/1..24);
te_port: (1..8/0/1..4)
clear sflow statistics
[gigabitethernet gi_port |
tengigabitethernet te_port]
Clear sFlow statistics. If the interface is not defined, the command
will clear all sFlow statistics counters.
show sflow statistics
[gigabitethernet gi_port |
tengigabitethernet te_port]
Example execution of commands
Assign IP address 10.0.80.1 of the server 1 to collect the sflow statistics. For interfaces g1-g24,
specify the average packet selection rate 10240kbps and the maximum interval between the
successful selections 240 seconds.
console# configure
console(config)# sflow receiver 1 10.0.80.1
console(config)# interface range gigabitethernet 1/0/1-24
console(config-if-range)# sflow flowing-sample 1 10240
console (config-if)# sflow counters-sampling 240 1
5.22 Physical layer diagnostics functions
MES3000 series network switches are equipped with the hardware and software tools for
diagnostics of physical interfaces and communication lines. You can test the following parameters:
For electrical interfaces:
cable length
distance to the fault—break or short-circuit
For 1G and 10G optical interfaces:
power supply parameters—voltage and current
output optical power
receiving optical power
5.22.1 Copper-wire cable diagnostics
Cable length estimation is performed with the 'show cable-diagnostics cable-length'
command using the signal attenuation value. The switch supports green-ethernet function,
that allows to reduce the transmitted signal level in a total absence of line activity. Thus,
correct cable length measurements becomes impossible for the device that receives
attenuated signal. In this regard, you should disable green-ethernet mode on the remote
device during the cable length measurements.