TotalNET Advanced Server 5.2 Reference Manual

ddpinfo

This command gives information about AppleTalk input and output packets and packet errors.

Location

TNHOME/usr/bin

Usage

ddpinfo [-i[x]] [-u[x]] [-r]

Options

-i

Provide the interface, a list of hardware and AppleTalk addresses, the number of input and output packets, and the number of packets that contained errors. 

-x

Give a detailed breakage of errors. 

-u

Provide user information broken down by protocol types, number of input and output packets, and number of packets containing errors. The protocol types include: 

RTMP Data and Response 

Name Binding Protocol 

AppleTalk Transaction Protocol 

AppleTalk Echo Protocol 

RTMP Requests 

Zone Information Protocol 

AppleTalk Data Stream Protocol 

-r

Provide network number and port number, or route and router address, if applicable. 

Examples

  1. Use one of the following commands to acquire information about an AppleTalk interface:


    ddpinfo
    ddpinfo -i

    Sample Output:

    Port 0:

     

    name: 11c2:66

     

    hw addr: 0800 6902 7a4e

     

    appletalk addr: 1079/154 (0x437/0x9a)

     

    ipkts/opkts 26579/2220, ierrs/oerrs 5/0

  2. Use the following command to receive a detailed breakdown of errors:


    ddpinfo -x

    Sample Output:

    Port 0:

     

    name: 11c2:66

     

    hw addr: 0800 6902 7a4e

     

    appletalk addr: 1079/154 (0x437/0x9a)

     

    ipkts/opkts 26579/2220, ierrs/oerrs 5/0

    Error breakdown:

     

    fragment: 0

     

    short packet: 0

     

    too many hops: 0

     

    indirect broadcast: 0

     

    unreachable network: 1

     

    inactive protocol type: 4

     

    user queue closed: 0

    no memory on input: 0

     

    badly formatted aarp packet: 0

     

    badly formatted ddp packet: 0

     

    dropped due to full queue: 0

     

    dropped due to full interface: 0

     

    output data link: 0

     

    interface unlinked: 0

     

    no memory on output: 0

     

    no output ddp stream: 0

     

    no output aarp stream: 0

  3. Use the following command to acquire user information:


    ddpinfo -u

    Sample Output:

    Upper stream minor device 0:

     

    Protocol type 6

     

    ipkts/opkts 72/3, ierrs/oerrs 0/0

    Upper stream minor device 1:

     

    Protocol type 3

     

    ipkts/opkts 0/0, ierrs/oerrs 0/0

    Upper stream minor device 2:

     

    Protocol type 1

     

    ipkts/opkts 23817/0, ierrs/oerrs 0/0

    Upper stream minor device 3:

     

    Protocol type 2

     

    ipkts/opkts 2769/2203, ierrs/oerrs 0/0

    Upper stream minor device 4:

     

    Protocol type 4

     

    ipkts/opkts 0/0, ierrs/oerrs 0/0

    Upper stream minor device 5:

     

    Protocol type 0

     

    ipkts/opkts 0/0, ierrs/oerrs 0/0

  4. Use the following command to acquire the network number and port number, or the route and router address:


    ddpinfo -r

Sample Output:

Router route table entry:

 

range 1-1 (0x1-0x1), port number 0

 

router address 1000/66

Router route table entry:

 

range 2-2 (0x2-0x2), port number 0

 

router address 1000/66

Router route table entry:

 

range 3-3 (0x3-0x3), port number 0

 

router address 1000/66

Router route table entry:

 

range 410-410 (0x19a-0x19a), port number 0

 

router address 1000/154

Local route table entry:

 

range 1000-1100 (0x3e8-0x44c), port number 0