MES53xx, MES33xx, MES23xx Ethernet Switch Series 146
Table 5.154. EXEC mode commands
show sflow configuration
[gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernet fo_port]
clear sflow statistics
[gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernet fo_port]
Clear sFlow statistics. If the interface is not specified, the
command will clear all sFlow statistics counters.
show sflow statistics
[gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernetfo_port]
Examples of command usage
Assign the IP address 10.0.80.1 of server 1 to collect sflow statistics. Set the average packet
sampling rate to 10240 kbps and the maximum interval between successful sampling to 240
seconds for the interfaces te1/0/1-te1/0/24.
console# configure
console(config)# sflow receiver 1 10.0.80.1
console(config)# interface range tengigabitethernet 1/0/1-24
console(config-if-range)# sflow flowing-sample 1 10240
console (config-if)# sflow counters-sampling 240 1
8.2 Physical layer diagnostics functions
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.
8.2.1 Copper-wire cable diagnostics
Privileged EXEC mode commands
Command line prompt in the Privileged EXEC mode is as follows:
console>
Table 5.155. Copper-wire cable diagnostics commands
test cable-diagnostics tdr
interface
{gigabitethernet gi_port |
tengigabitethernet te_port |
fortygigabitethernet fo_port}