R3303-HP HSR6800 Routers Fundamentals Command Reference
26
User interface view
Default command level
2: System level
Parameters
hardware: Performs hardware flow control.
none: Disables flow control.
software: Performs software flow control.
flow-control-type1, flow-control-type2: Specifies the direction of flow control, 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 only applicable to asynchronous serial interfaces, including AUX and console ports.
A flow control mode can be hardware, software, or none. Only one control mode takes effect in one
direction.
To set the same flow control mode for the inbound and outbound directions, use the flow-control
{ hardware | software | none } command.
To set different flow control modes for the inbound and outbound directions, use command flow-control
hardware flow-control-type1 [ software flow-control-type2 ] or command flow-control software
flow-control-type1 [ hardware flow-control-type2 ]. If a direction is not specified, flow control is disabled
in that direction. For example, command flow-control hardware in automatically disables flow control in
the outbound direction.
The flow control mode setting on one end in the inbound/outbound direction must be the same as that
in the outbound/inbound direction on the other end.
Examples
# Configure software flow control in the inbound and outbound directions for user interface Console 0.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] flow-control software
# Configure hardware flow control in the inbound direction and disable flow control in the outbound
direction for user interface Console 0.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] flow-control hardware in
# Configure hardware flow control in the inbound direction and software flow control in the outbound
direction for user interface Console 0.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] flow-control hardware in software out
free user-interface
Use free user-interface to release a user interface.