HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

59
Predefined user roles
network-admin
Parameters
hardware: Performs hardware flow control.
none: Disables flow control.
software: Performs software flow control.
flow-control-type1, flow-control-type2: Specifies the flow control direction, in or out. If in is specified, the
local device receives flow control information from the remote device. If out is specified, the local device
sends flow control information to the remote device.
Usage guidelines
This command is not supported in VTY line view.
The device supports flow control in both the inbound and outbound directions. In outbound flow control
(in), the local device listens to flow control information from the remote device and controls its
transmission rate as required. In inbound flow control (out), the local device sends flow control
information to the remote device so the remote device controls its transmission rate.
You can specify only one flow control mode for one direction.
To specify the same flow control mode for two directions, use the flow-control { hardware | software |
none } command.
To specify different flow control modes for two directions, use the flow-control hardware
flow-control-type1 [ software flow-control-type2 ] or flow-control software flow-control-type1 [ hardware
flow-control-type2 ] command. If you do not specify the optional keyword and argument combination,
the flow control mode none applies to the direction represented by the optional argument.
For two devices to communicate, make sure their flow control modes match.
Examples
# Configure software flow control in the inbound and outbound directions for user line Console 0.
<Sysname> system-view
[Sysname] line console 0
[Sysname-line-console0] flow-control software
# Configure hardware flow control in the inbound direction and disable flow control in the outbound
direction for user line Console 0.
<Sysname> system-view
[Sysname] line console 0
[Sysname-line-console0] flow-control hardware in
# Configure hardware flow control in the inbound direction and software flow control in the outbound
direction for user line Console 0.
<Sysname> system-view
[Sysname] line console 0
[Sysname-line-console0] flow-control hardware in software out
free line
Use free line to release a user line.