R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
14
Description
Use the speed command to set the speed of an Ethernet interface.
Use the undo speed command to restore the default.
By default, an Ethernet interface negotiates a speed with its peer.
For an Ethernet copper port, use the speed command to set its speed to match the speed of the peer
interface.
For an Ethernet fiber port, use the speed command to set its speed to match the rate of a pluggable
transceiver.
Related commands: duplex.
Examples
# Configure GigabitEthernet 0/0 to operate at 100 Mbps.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] speed 100
sub-interface rate-statistic
Syntax
sub-interface rate-statistic
undo sub-interface rate-statistic
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use the sub-interface rate-statistic command to enable rate statistics collection for the subinterfaces of an
Ethernet interface.
Use the undo sub-interface rate-statistic command to disable rate statistics collection for the
subinterfaces of an Ethernet interface.
By default, the system does not collect rate statistics for Ethernet subinterfaces.
CAUTION:
Use this function with caution, because it requires a large amount of system resources.
Examples
# Enable rate statistics collection on the subinterfaces of GigabitEthernet 0/0.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] sub-interface rate-statistic