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 7-5

Single-port Subnet Interface Codes

 

 

 

 

 

 

CardCalculationSub 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 dual-port cards, the sub code is the decimal equivalent to the four-digit hexadecimal composite of the place holder code (70) + the card instance number +

30.The example below shows the calculation for the interface defined by the device file x25_0p1.

NOTE

The sub code for dual-port cards will be the same for

 

both ports.

 

 

Figure 7-2

Device File x25_0p1

place holder

 

 

 

card instance number

 

 

7030

convert to decimal

Sub code = 282720

188

Chapter 7