354 CHAPTER 21: BASIC DLSW CONFIGURATION COMMANDS
By default, the number of LLC2 transmission retries is 3.
Example # Set the number of LLC2 transmission retries to 10 on Ethernet 1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] llc2 max-transmission 10
llc2 modulo
Syntax llc2 modulo { 8 | 128 }
undo llc2 modulo
View Ethernet interface view
Parameter 8: Specifies the modulus value to be 8.
128: Specifies the modulus value to be 128.
Description Use the
llc2 modulo command to configure the modulus of LLC2.
Use the undo llc2 modulo command to restore the default modulus of LLC2.
By default, the modulus of LLC2 is 128.
LLC2, like X.25, uses modulus to number frames. All frames sent are numbered
incrementally and await an acknowledgment. When the frame number reaches
the configured value (referred to as “modulus value”), subsequent frames are
numbered from 1 again. For example, if the modulus value is set to 8, frames are
numbered ...4, 5, 6, 7, 0, 1, ...
LLC2 supports two modulus values: 8 or 128. 128 is usually used for Ethernet
frames.
Example # Set the modulus value for LLC2 frames to 8 on Ethernet 1/0.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] llc2 modulo 8
llc2 receive-window
Syntax llc2 receive-window length
undo llc2 receive-window
View Ethernet interface view