LLC2 configuration command Directory
The command is used for controling the query frequency at idle time
(no data is exchanged) The “no” format of the command can be used for restoring
the default value.
llc2 idle-time seconds
no llc2 idle-time
“Seconds” refers to the interval (seconds) for
sending RR frame at idle time. The maximum interval is 60 seconds; the minimum
one is 1 second.
default:
10
seconds
command mode:
Interface configuration Mode
explanation:
At idle time, No I
(nformation) frame is exchanged and RR ready receipt) frame is sent to remote
terminal periodically to inform the remote terminal to get ready for receiving
data. The relative small value shall be set to ensure the prompt advice to the
remote terminal. The too small value is likely to lead to too many RR frames to
be transmitted on the network.
example:
Set it to transmit RR frame every 12
seconds.
int ethernet1/1
llc2 idle-time 12
The command is used for controlling the time of waiting for the
conformation of the remote terminal. The “no” format of the command can be used
for restoring to the default value.
llc2 t1-time seconds
no llc2 t1-time
Seconds is the time of waiting for the confirmation of remote
terminal. The maximum time is 60 seconds while the minimum is 1 second.
default:
1
second
command mode:
Interface configuration Mode。
explanation:
The confirmation of remote terminal is expected after I frame is
sent each time. If no confirmation is received in a specific time, I frame will
be re-sent. The relative bigger value shall be set for the network on which the
data transmit is quite slow.
example:
Setting the time of 12 seconds of waiting
for confirmation
Router_config#int ethernet1/1
Router_config _e1/1#llc2
t1-time 12
The command is used for controling the waiting time when the remote
terminal is busy. The “no” format of the command can be used for restoring to
the default value.
llc2 tbusy-time seconds
no llc2 tbusy-time
The time of waiting is in seconds when the remote terminal is busy.
The maximum time is 60 seconds, the minimum is 1 second.
default:
10
seconds
command mode:
Interface configuration Mode。
explanation:
A LLC2 connective terminal is able to inform the opposite terminal
that local terminal is busy and prevent the opposite terminal from transmitting
data to local terminal and send “RNR” (receipt not ready) to the opposite
terminal. The relative bigger value can be set for averting the timeout.
example:
Setting the time of 12 seconds of busy
remote terminal
Router_config#int ethernet1/1
Router_config _e1/1#llc2
tbusy-time 12
The command is used for controlling the
time of waiting for the response of the remote terminal. The “no” format of the
command can be used for restoring to the default value.
llc2 tpf-time seconds
no llc2 tpf-time
Seconds is the time of waiting for the response of the remote
terminal. The maximum time is 60 seconds while the minimum is 1 second.
default:
1
second
command mode:
Interface configuration Mode。
explanation:
When an LLC2 connection terminal sometimes needs to know the status
of the opposite terminal, it shall send a command frame for the response of the
opposite terminal and wait for the response of the opposite terminal
simultaneously. When the opposite terminal receives the command frame, it will
make a response frame. If the error occurs, the transmit terminal will keep
waiting. In order to avoid this situation, a clock needs to be started for
prompting the transmit terminal to send another command frame when the arrival
time is hit. The command is used for setting the time of waiting for the
response frame of the opposite terminal.
example:
Setting the time of 12 seconds of waiting
for response of the opposite terminal.
Router_config#int ethernet1/1
Router_config _e1/1#llc2
tpf-time 12
The command is
used for controlling the time of waiting for the response of the remote
terminal to the rejection frame.
llc2 trej-time seconds
no llc2 trej-time
the waiting time is in seconds when the remote terminal is busy. The
maximum time is 60 seconds, the minimum is 1 second.
default:
3
seconds
command mode:
Interface
configuration Mode。
explanation:
The data receipt and transmit of the two terminal of LLC2 links is
based on the specific sequence. When the sequence number of opposite I frame
received by a LLC2 connection terminal is not the expected value, the LLC2
connection terminal will send a REJ(rejection) frame to the opposite terminal
and start a clock. If no response is made at the arrival time, LLC2 link will
be disconnected. The command is used for setting the time of waiting for the
response to REJ (rejection) frame.
example:
Setting the waiting time of 12 seconds
Router_config#int ethernet1/1
Router_config _e1/1#llc2
trej-time 12
The command is used for controlling the times of retransmit of the
frame. The “no” format of the command can be used for restoring the default
value.
llc2 n2 retry-count
no llc2 n2
retry-count is the
time of retransmit of frame, the maximum is 255 times and the minimum is 1
time.
default:
8
command mode:
Interface configuration Mode。
explanation:
When one terminal of LLC2 link sends data
to the opposite terminal, it will wait for the confirmation of the opposite
terminal. If the opposite terminal does not send the confirmation information
in the specified time, the local will re-send the data, but the times of retry
shall be limited. When the retry times exceed retry-count, LLC2 link will be
disconnected. The command is used for setting the retry times (retry-count).
example:
Setting the retry times as 12
Router_config#int ethernet1/1
Router_config _e1/1#llc2 n2 12
The command is used for controlling the maximum number (namely the
size of window for transmit) when
I frame is not confirmed. The “no” format of the command can be used for
restoring to the default value.
llc2 local-window packet-count
no llc2 local-window
packet-count is
the maximum number of I frame transmit at the time of not being confirmed, the
maximum number is 127, the minimum one is 1.default:
7
command mode:
Interface configuration Mode。
explanation:
When one terminal of LLC2 link sends data to the opposite terminal,
only some specific amount of data can be sent before the confirmation of the opposite
terminal/ The command is used for setting the maximum value. However, when the
value is set too big, it will result in the loss of data as the opposite
terminal is not able to receive all the data.
example:
Setting the size of the window for transmit
as 12
Router_config#int ethernet1/1
Router_config _e1/1#llc2
local-window 12
The command is used for controlling the maximum number the local can
accumulate when I frame cannot be sent (the remote terminal is busy). The “no”
format of the command can be used for restoring to the default value.
llc2 holdqueue packet-count
no llc2 holdqueue
packet-count is the
maximum number reserved by I frame at the time of not being confirmed. The
maximum number is 200, the minimum one is 20.
default:
40
command mode:
Interface configuration Mode。
explanation:
One terminal of LLC2 link is not able to send data (I frame) when
the opposite terminal is busy. All the data shall be reserved before the
opposite terminal clears busy. But the number to be reserved has specific
limitations. The command is used for setting the number of the data to be
reserved.
example:
Setting the maximum number of the data to
be reserved as 120
Router_config#int ethernet1/1
Router_config _e1/1#llc2
holdqueue 120
The command is used for controlling the time delay for I frame confirmation. The “no” format of the command can be used for restoring to the default value.
llc2 ack-delay-time time
no llc2 holdqueue
The maximum milliseconds the command “time” allows the unconfirmed I frame to reserve.
default:
400
command mode:
Interface
configuration Mode
explanation:
When one terminal of LLC2 link receives I
frame sent from the opposite terminal, the confirmation frame (RR frame,
receive ready frame) does not need to be sent immediately for waiting some
time. If no data is sent for confirmation during the said time, the
confirmation frame (RR frame, receive ready frame) shall be sent, or when I
frame is sent from the opposite terminal reaches the value of llc2 ack-max during
the said time, the confirmation frame (RR frame) shall be sent immediately. The
command can be used for reducing the unnecessary data interactive at the time
of big data flow.
example:
Setting the time delay as 1 second at the time of confirmation
Router_config#int ethernet1/1
Router_config _e1/1#llc2 ack-delay-time 1000
The command is
used for controlling the allowed maximum I frame before confirming I frame. The
“no” format of the command can be used for restoring to the default value.
llc2 ack-max number
no llc2 holdqueue
The maximum number allowed by the command “number” before confirming I frame. The maximum number is 127, the minimum one is 1.
default:
3
command mode:
Interface configuration Mode。
explanation:
When one terminal of LLC2 link is waiting for the confirmation of the opposite terminal, a given number of I frame can be sent. When the receipt terminal receives the confirmation or the maximum number of I frames, the confirmation frame (RR frame) will be sent. The command can be used for reducing the unnecessary data interactive at the time of big data flow.
example:
Setting the
confirmed maximum number as 7.
Router_config#int ethernet1/1
Router_config _e1/1#llc2 ack-max 7
The command is used for displaying the relevant information of LLC2
link connection.
show llc interface [type number]
type Interface
Type
number Interface
number
default:
none
command mode:
supervisor
mode、global configuration Mode、Interface configuration Mode
explanation:
Showing the relevant information of LLC2 kink connection. The
command “show llc” is used for displaying the information of LLC2 link of the
interface under interface mode.
example:
Under Interface
configuration Mode, the command “show llc” is used for
displaying llc2 information on the interface ethernet1/1.
Router#sho llc ethernet1/1
Router_config# sho llc
ethernet1/1
Router_config#int ethernet1/1
Router_config _e1/1#sho llc
ethernet1/1
The command is used for opening debug
switch of LLC2
debug llc2 [packet][error][state]
default:
none
command mode:
supervisor mode
explanation:
“Packet” opens the debug switch of LLC2 link data information;
“error” opens the debug switch of wrong information of LLC2 link; “state” opens
the debug information of status information of LLC2 link.
example:
Opening the debug switch of LLC2 link
Router#debug llc2 packet
Router#debug llc2 state
Router#debug llc2 error