R3303-HP HSR6800 Routers Interface Command Reference

Table Of Contents
195
Usage guidelines
This command removes the original interface, and then creates a target interface with the same number
as the original interface.
The device returns to system view automatically after you execute this command.
This command is available only on the interfaces of the HIM-TS8P interface module.
Examples
# Change POS 2/1/0 to a GigabitEthernet interface.
<Sysname> system-view
[Sysname] interface pos 2/1/0
[Sysname-Pos2/1/0] port-type switch GigabitEthernet
Changing port type can result in loss of port configuration. Are you sure to continue?
[Y/N]:y
reset counters interface
Use reset counters interface to clear the statistics of the specified or all POS interfaces.
Syntax
reset counters interface [ pos [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
pos interface-number: Specifies a POS interface by its number.
Usage guidelines
Before collecting statistics for an interface within a specific period, you need to clear the existing statistics
of the interface.
If you do not specify pos, this command clears the statistics of all interfaces.
If you specify pos but not interface-number, this command clears the statistics of all POS interfaces.
If you specify both pos and interface-number, this command clears the statistics of the specified
POS interface.
Examples
# Clear the statistics of interface POS 2/1/0.
<Sysname> reset counters interface pos 2/1/0
scramble
Use scramble to enable payload scrambling on the POS interface.
Use undo scramble to disable payload scrambling.
Syntax
scramble