Tracing and Logging Utilities strace
x25_1, the sub would be 49 (48 + 1 = 49). See the table below for more examples of the codes to be used for specific interfaces.
Table |
| ||
|
|
|
|
| Card | Calculation | Sub code |
|
| (hexadecimal) | (decimal) |
|
|
|
|
| First card = 0 (x25_0) | 30 + 0 = 30 | 48 |
|
|
|
|
| Second card = 1 (x25_1) | 30 + 1 = 31 | 49 |
|
|
|
|
| Third card = 2 (x25_2) | 30 + 2 = 32 | 50 |
|
|
|
|
For
30.The example below shows the calculation for the interface defined by the device file x25_0p1.
NOTE | The sub code for |
| both ports. |
|
|
Figure
Device File x25_0p1
place holder
card instance number
7030
convert to decimal
Sub code = 282720
192 | Chapter 7 |