HP-UX VLAN Administrator's Guide, February 2007
NetTL Trace and Log of VLANs
You can use the nettl tool to troubleshoot VLANs. When using nettl for tracing and logging
VLANs, keep in mind the following:
tracing: When tracing traffic on a VLAN interface (including traffic over link aggregates
or failover groups), you must enable nettl tracing on the driver that owns the
VLAN (for example iether), not on the VLAN subsystem.
logging:
When logging traffic on a VLAN interface, you must enable nettl logging on the
VLAN subsystem, rather than on the subsystem of the driver that owns the VLAN.
Tracing Example
The following steps provide an example of how to use nettl and netfmt to get a nettl trace
on all gelan drivers on the system. This example illustrates a trace response to issuing the ping
command.
1. Enable nettl tracing on the related interface.
# nettl -traceon all -e gelan -f /var/adm/trc
2. Ping a remote VLAN interface.
3. Examine the trace.
# netfmt -N /var/adm/trc.TRC000
4. Disable nettl tracing.
# nettl -traceoff -e gelan
The following is a sample nettl trace output from a Gigabit Ethernet card:
^^^^^^^^^^^^^^^^^^^1000BT/Gigabit Ethernet LAN/9000 Networking^^^^^^^^^^^^^^^^^^
Timestamp : Wed Nov 07 PST 2006 11:08:03.961449
Process ID : [ICS] Subsystem : GELAN
User ID ( UID ) : -1 Trace Kind : PDU IN TRACE
Device ID : 1 Path ID : -1
Connection ID : 0
Location : 00123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=================================== Ethernet==============================
Source : 00-10-83-05-16-7e [I] [ ]
Dest : 00-10-83-05-16-7d [I] [ ] TRACED LEN: 1480
VLAN ID: 0x4 Priority: 0x2 CFI: 0x0
Date : Wed Nov 07 11:08:03.961449 PST 2006
================================ IP Header (inbound -- [ICS]) ============
Source: 101.3.102.47(A) Dest: 101.3.102.61(A)
len: 1462 ttl: 255 proto: 1 cksum: 0x218a id: 0xbe49
flags: DF tos: 0x0 hdrlen: 20 offset: 0x0 optlen: 0
-------------------------------- ICMP Header -----------------------------
type: ECHOREPLY chksum: 0x779c id: 29129 seq: 2
code: none
-------------------------------- User Data -------------------------------
0: 3b e9 86 6d 00 06 ab cc 08 09 0a 0b 0c 0d 0e 0f ;..m............
16: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f ................
32: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f !"#$%&'()*+,-./
48: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 0123456789:;<=>?
64: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f @ABCDEFGHIJKLMNO
80: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f PQRSTUVWXYZ[\]^_
96: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f `abcdefghijklmno
112: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f pqrstuvwxyz{|}~.
128: 80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f ................
.........
.......
1424: 90 91 92 93 94 95 96 97 98 99 -- -- -- -- -- -- ................
52 Troubleshooting