MES53xx, MES33xx, MES23xx Ethernet Switch Series
146
Table 5.154. EXEC mode commands
Command
Value/Default value
Action
show sflow configuration
[gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4)
Show sflow settings.
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
|
fortygigabitethernet
fo_port
]
Show sFlow statistics.
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
Command
Value/Default value
Action
test cable-diagnostics tdr
interface
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
}
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4).
Perform virtual cable testing for the selected interface.