From: Denis Ovsienko Date: Mon, 14 Apr 2014 10:12:46 +0000 (+0400) Subject: use more PacketLife captures for test cases X-Git-Tag: tcpdump-4.6.0~86 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/c661f8b23dbdaa9893091577637c5223416d4b15?ds=sidebyside use more PacketLife captures for test cases Improve coverage for ISAKMP, IGMP and HDLC. Add initial coverage for STP variants, DECnet, RADIUS, DTP, LACP, LLDP, CDP, VTP and UDLD. --- diff --git a/tests/3560_CDP.pcap b/tests/3560_CDP.pcap new file mode 100644 index 00000000..f29fd501 Binary files /dev/null and b/tests/3560_CDP.pcap differ diff --git a/tests/802.1D_spanning_tree.pcap b/tests/802.1D_spanning_tree.pcap new file mode 100644 index 00000000..b21f71c3 Binary files /dev/null and b/tests/802.1D_spanning_tree.pcap differ diff --git a/tests/802.1w_rapid_STP.pcap b/tests/802.1w_rapid_STP.pcap new file mode 100644 index 00000000..db85a454 Binary files /dev/null and b/tests/802.1w_rapid_STP.pcap differ diff --git a/tests/DECnet_Phone.pcap b/tests/DECnet_Phone.pcap new file mode 100644 index 00000000..20ff1672 Binary files /dev/null and b/tests/DECnet_Phone.pcap differ diff --git a/tests/DTP.pcap b/tests/DTP.pcap new file mode 100644 index 00000000..9f0c5f42 Binary files /dev/null and b/tests/DTP.pcap differ diff --git a/tests/HDLC.pcap b/tests/HDLC.pcap new file mode 100644 index 00000000..0d94d3f4 Binary files /dev/null and b/tests/HDLC.pcap differ diff --git a/tests/IGMP_V1.pcap b/tests/IGMP_V1.pcap new file mode 100644 index 00000000..2a6e90d6 Binary files /dev/null and b/tests/IGMP_V1.pcap differ diff --git a/tests/IGMP_V2.pcap b/tests/IGMP_V2.pcap new file mode 100644 index 00000000..6d1d8dbf Binary files /dev/null and b/tests/IGMP_V2.pcap differ diff --git a/tests/ISAKMP_sa_setup.pcap b/tests/ISAKMP_sa_setup.pcap new file mode 100644 index 00000000..28c5d613 Binary files /dev/null and b/tests/ISAKMP_sa_setup.pcap differ diff --git a/tests/LACP.pcap b/tests/LACP.pcap new file mode 100644 index 00000000..96819610 Binary files /dev/null and b/tests/LACP.pcap differ diff --git a/tests/LLDP_and_CDP.pcap b/tests/LLDP_and_CDP.pcap new file mode 100644 index 00000000..ebbf49ea Binary files /dev/null and b/tests/LLDP_and_CDP.pcap differ diff --git a/tests/MSTP_Intra-Region_BPDUs.pcap b/tests/MSTP_Intra-Region_BPDUs.pcap new file mode 100644 index 00000000..559b234f Binary files /dev/null and b/tests/MSTP_Intra-Region_BPDUs.pcap differ diff --git a/tests/RADIUS.pcap b/tests/RADIUS.pcap new file mode 100644 index 00000000..2e902e40 Binary files /dev/null and b/tests/RADIUS.pcap differ diff --git a/tests/TESTLIST b/tests/TESTLIST index af602a7b..b4099caf 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -33,6 +33,7 @@ isakmp1 isakmp-delete-segfault.pcap isakmp1.out -t isakmp2 isakmp-pointer-loop.pcap isakmp2.out -t isakmp3 isakmp-identification-segfault.pcap isakmp3.out -t -v isakmp4 isakmp4500.pcap isakmp4.out -t -E "file esp-secrets.txt" +isakmp5-v ISAKMP_sa_setup.pcap isakmp5-v.out -t -v # Link Management Protocol tests lmp lmp.pcap lmp.out -t -T lmp @@ -92,7 +93,11 @@ pppoes pppoes.pcap pppoes.out -t pppoes_id pppoes.pcap pppoes_id.out -t pppoes 0x3b # IGMP tests +igmpv1 IGMP_V1.pcap igmpv1.out -t +igmpv2 IGMP_V2.pcap igmpv2.out -t igmpv3-queries igmpv3-queries.pcap igmpv3-queries.out -t +mtrace mtrace.pcap mtrace.out -t +dvmrp mrinfo_query.pcap dvmrp.out -t # ICMPv6 icmpv6 icmpv6.pcap icmpv6.out -t -vv @@ -112,6 +117,12 @@ dcb_qcn dcb_qcn.pcap dcb_qcn.out -t -vv # EVB tests evb evb.pcap evb.out -t -vv +# STP tests +mstp-v MSTP_Intra-Region_BPDUs.pcap mstp-v.out -t -v +stp-v 802.1D_spanning_tree.pcap stp-v.out -t -v +rstp-v 802.1w_rapid_STP.pcap rstp-v.out -t -v +rpvst-v rpvstp-trunk-native-vid5.pcap rpvst-v.out -t -v + # RIP tests ripv1v2 ripv1v2.pcap ripv1v2.out -t -v ripv2_auth ripv2_auth.pcap ripv2_auth.out -t -v @@ -198,3 +209,18 @@ rsvp_infloop-v rsvp-infinite-loop.pcap rsvp_infloop-v.out -t -v # HDLC tests hdlc1 chdlc-slarp.pcap hdlc1.out -t hdlc2 chdlc-slarp-short.pcap hdlc2.out -t +hdlc3 HDLC.pcap hdlc3.out -t +hdlc4 hdlc_slarp.pcap hdlc4.out -t + +# DECnet test case +decnet DECnet_Phone.pcap decnet.out -t + +# RADIUS tests +radius-v RADIUS.pcap radius-v.out -t -v + +# link-level protocols +dtp-v DTP.pcap dtp-v.out -t -v +lacp-ev LACP.pcap lacp-ev.out -t -e -v +lldp_cdp-ev LLDP_and_CDP.pcap lldp_cdp-ev.out -t -e -v +cdp-v 3560_CDP.pcap cdp-v.out -t -v +udld-v UDLD.pcap udld-v.out -t -v diff --git a/tests/UDLD.pcap b/tests/UDLD.pcap new file mode 100644 index 00000000..d8d3ff60 Binary files /dev/null and b/tests/UDLD.pcap differ diff --git a/tests/cdp-v.out b/tests/cdp-v.out new file mode 100644 index 00000000..4a6c983d --- /dev/null +++ b/tests/cdp-v.out @@ -0,0 +1,57 @@ +CDPv2, ttl: 180s, checksum: 692 (unverified), length 378 + Device-ID (0x01), length: 6 bytes: 'Switch' + Version String (0x05), length: 192 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(25)SEB4, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2005 by Cisco Systems, Inc. + Compiled Tue 30-Aug-05 17:56 by yenanh + Platform (0x06), length: 20 bytes: 'cisco WS-C3560G-24PS' + Address (0x02), length: 13 bytes: IPv4 (1) 192.168.0.1 + Port-ID (0x03), length: 18 bytes: 'GigabitEthernet0/5' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 3 bytes: 'Lab' + Native VLAN ID (0x0a), length: 2 bytes: 1 + Duplex (0x0b), length: 1 byte: full + AVVID trust bitmap (0x12), length: 1 byte: 0x00 + AVVID untrusted ports CoS (0x13), length: 1 byte: 0x00 + Management Addresses (0x16), length: 13 bytes: IPv4 (1) 192.168.0.1 + unknown field type (0x1a), length: 12 bytes: + 0x0000: 0000 0001 0000 0000 ffff ffff +CDPv2, ttl: 180s, checksum: 692 (unverified), length 378 + Device-ID (0x01), length: 6 bytes: 'Switch' + Version String (0x05), length: 192 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(25)SEB4, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2005 by Cisco Systems, Inc. + Compiled Tue 30-Aug-05 17:56 by yenanh + Platform (0x06), length: 20 bytes: 'cisco WS-C3560G-24PS' + Address (0x02), length: 13 bytes: IPv4 (1) 192.168.0.1 + Port-ID (0x03), length: 18 bytes: 'GigabitEthernet0/5' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 3 bytes: 'Lab' + Native VLAN ID (0x0a), length: 2 bytes: 1 + Duplex (0x0b), length: 1 byte: full + AVVID trust bitmap (0x12), length: 1 byte: 0x00 + AVVID untrusted ports CoS (0x13), length: 1 byte: 0x00 + Management Addresses (0x16), length: 13 bytes: IPv4 (1) 192.168.0.1 + unknown field type (0x1a), length: 12 bytes: + 0x0000: 0000 0001 0000 0000 ffff ffff +CDPv2, ttl: 180s, checksum: 692 (unverified), length 378 + Device-ID (0x01), length: 6 bytes: 'Switch' + Version String (0x05), length: 192 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(25)SEB4, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2005 by Cisco Systems, Inc. + Compiled Tue 30-Aug-05 17:56 by yenanh + Platform (0x06), length: 20 bytes: 'cisco WS-C3560G-24PS' + Address (0x02), length: 13 bytes: IPv4 (1) 192.168.0.1 + Port-ID (0x03), length: 18 bytes: 'GigabitEthernet0/5' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 3 bytes: 'Lab' + Native VLAN ID (0x0a), length: 2 bytes: 1 + Duplex (0x0b), length: 1 byte: full + AVVID trust bitmap (0x12), length: 1 byte: 0x00 + AVVID untrusted ports CoS (0x13), length: 1 byte: 0x00 + Management Addresses (0x16), length: 13 bytes: IPv4 (1) 192.168.0.1 + unknown field type (0x1a), length: 12 bytes: + 0x0000: 0000 0001 0000 0000 ffff ffff diff --git a/tests/decnet.out b/tests/decnet.out new file mode 100644 index 00000000..8767c620 --- /dev/null +++ b/tests/decnet.out @@ -0,0 +1,139 @@ +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +1.1 > 1.1 34 conn-initiate 8195>0 ver 4.1 segsize 16403 +1.1 > 1.1 9 [|decnet] +1.1 > 1.1 16 conn-confirm 8196>8195 ver 4.1 segsize 16403 +1.1 > 1.1 19 link-service 8195>8196 ack 0 ackdat 0 seg 1 dat seg count 0 +1.1 > 1.1 15 ils-ack 8196>8195 ack 1 ackdat 0 +1.1 > 1.1 45 data 8195>8196 ack 0 oack 0 seg 1 +1.1 > 1.1 15 data-ack 8196>8195 ack 1 oack 1 +1.1 > 1.1 18 data 8196>8195 ack 1 oack 1 seg 1 +1.1 > 1.1 15 data-ack 8195>8196 ack 1 oack 0 +1.1 > 1.1 33 data 8195>8196 ack 1 oack 0 seg 2 +1.1 > 1.1 15 data-ack 8196>8195 ack 2 oack 1 +1.1 > 1.1 18 data 8196>8195 ack 2 oack 1 seg 2 +1.1 > 1.1 15 data-ack 8195>8196 ack 2 oack 0 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +1.1 > 1.1 34 conn-initiate 8197>0 ver 4.1 segsize 16403 +1.1 > 1.1 9 [|decnet] +1.1 > 1.1 16 conn-confirm 8198>8197 ver 4.1 segsize 16403 +1.1 > 1.1 19 link-service 8197>8198 ack 0 ackdat 0 seg 1 dat seg count 0 +1.1 > 1.1 15 ils-ack 8198>8197 ack 1 ackdat 0 +1.1 > 1.1 45 data 8197>8198 ack 0 oack 0 seg 1 +1.1 > 1.1 15 data-ack 8198>8197 ack 1 oack 1 +1.1 > 1.1 32 data 8197>8198 ack 0 oack 0 seg 2 +1.1 > 1.1 15 data-ack 8198>8197 ack 2 oack 1 +1.1 > 1.1 18 data 8198>8197 ack 2 oack 1 seg 1 +1.1 > 1.1 15 data-ack 8197>8198 ack 1 oack 0 +1.1 > 1.1 19 link-service 8195>8196 ack 0 ackdat 2 seg 2 dat seg count 0 +1.1 > 1.1 15 ils-ack 8196>8195 ack 2 ackdat 2 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +1.1 > 1.1 19 link-service 8197>8198 ack 0 ackdat 1 seg 2 dat seg count 0 +1.1 > 1.1 19 link-service 8198>8197 ack 1 ackdat 2 seg 1 dat seg count 0 +1.1 > 1.1 15 ils-ack 8198>8197 ack 2 ackdat 2 +1.1 > 1.1 15 ils-ack 8197>8198 ack 1 ackdat 1 +1.1 > 1.1 19 link-service 8195>8196 ack 0 ackdat 2 seg 3 dat seg count 0 +1.1 > 1.1 15 ils-ack 8196>8195 ack 3 ackdat 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 3 +1.1 > 1.1 15 data-ack 8198>8197 ack 3 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 4 +1.1 > 1.1 15 data-ack 8198>8197 ack 4 oack 2 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 5 +1.1 > 1.1 15 data-ack 8198>8197 ack 5 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 6 +1.1 > 1.1 15 data-ack 8198>8197 ack 6 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 7 +1.1 > 1.1 15 data-ack 8198>8197 ack 7 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 8 +1.1 > 1.1 15 data-ack 8198>8197 ack 8 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 9 +1.1 > 1.1 15 data-ack 8198>8197 ack 9 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 10 +1.1 > 1.1 15 data-ack 8198>8197 ack 10 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 11 +1.1 > 1.1 15 data-ack 8198>8197 ack 11 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 12 +1.1 > 1.1 15 data-ack 8198>8197 ack 12 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 13 +1.1 > 1.1 15 data-ack 8198>8197 ack 13 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 14 +1.1 > 1.1 15 data-ack 8198>8197 ack 14 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 15 +1.1 > 1.1 15 data-ack 8198>8197 ack 15 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 16 +1.1 > 1.1 15 data-ack 8198>8197 ack 16 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 17 +1.1 > 1.1 15 data-ack 8198>8197 ack 17 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 18 +1.1 > 1.1 15 data-ack 8198>8197 ack 18 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 19 +1.1 > 1.1 15 data-ack 8198>8197 ack 19 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 20 +1.1 > 1.1 15 data-ack 8198>8197 ack 20 oack 2 +1.1 > 1.1 33 data 8197>8198 ack 1 oack 1 seg 21 +1.1 > 1.1 15 data-ack 8198>8197 ack 21 oack 2 +1.1 > 1.1 19 link-service 8195>8196 ack 0 ackdat 2 seg 4 dat seg count 0 +1.1 > 1.1 15 ils-ack 8196>8195 ack 4 ackdat 2 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 3 +1.1 > 1.1 15 data-ack 8196>8195 ack 3 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 4 +1.1 > 1.1 15 data-ack 8196>8195 ack 4 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 5 +1.1 > 1.1 15 data-ack 8196>8195 ack 5 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 6 +1.1 > 1.1 15 data-ack 8196>8195 ack 6 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 7 +1.1 > 1.1 15 data-ack 8196>8195 ack 7 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 8 +1.1 > 1.1 15 data-ack 8196>8195 ack 8 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 9 +1.1 > 1.1 15 data-ack 8196>8195 ack 9 oack 4 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 10 +1.1 > 1.1 15 data-ack 8196>8195 ack 10 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 11 +1.1 > 1.1 15 data-ack 8196>8195 ack 11 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 12 +1.1 > 1.1 15 data-ack 8196>8195 ack 12 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 13 +1.1 > 1.1 15 data-ack 8196>8195 ack 13 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 14 +1.1 > 1.1 15 data-ack 8196>8195 ack 14 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 15 +1.1 > 1.1 15 data-ack 8196>8195 ack 15 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 16 +1.1 > 1.1 15 data-ack 8196>8195 ack 16 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 17 +1.1 > 1.1 15 data-ack 8196>8195 ack 17 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 18 +1.1 > 1.1 15 data-ack 8196>8195 ack 18 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 19 +1.1 > 1.1 15 data-ack 8196>8195 ack 19 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 20 +1.1 > 1.1 15 data-ack 8196>8195 ack 20 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 21 +1.1 > 1.1 15 data-ack 8196>8195 ack 21 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 22 +1.1 > 1.1 15 data-ack 8196>8195 ack 22 oack 4 +1.1 > 1.1 33 data 8195>8196 ack 2 oack 0 seg 23 +1.1 > 1.1 15 data-ack 8196>8195 ack 23 oack 4 +1.1 > 1.1 19 link-service 8197>8198 ack 1 ackdat 1 seg 3 dat seg count 0 +1.1 > 1.1 19 link-service 8198>8197 ack 2 ackdat 21 seg 2 dat seg count 0 +1.1 > 1.1 15 ils-ack 8198>8197 ack 3 ackdat 21 +1.1 > 1.1 15 ils-ack 8197>8198 ack 2 ackdat 1 +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 +1.1 > 1.1 32 data 8197>8198 ack 1 oack 2 seg 22 +1.1 > 1.1 15 data-ack 8198>8197 ack 22 oack 3 +1.1 > 1.1 32 data 8197>8198 ack 1 oack 2 seg 23 +1.1 > 1.1 15 data-ack 8198>8197 ack 23 oack 3 +1.1 > 1.1 14 disconn-initiate 8196>8195 object rejected connect +1.1 > 1.1 13 disconn-confirm 8195>8196 disconnect complete +1.1 > 1.1 14 disconn-initiate 8197>8198 object rejected connect +1.1 > 1.1 13 disconn-confirm 8198>8197 disconnect complete +1.1 > 1.1 13 disconn-confirm 8198>8197 disconnect complete +1.1 > 1.1 13 disconn-confirm 8195>8196 disconnect complete +endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 diff --git a/tests/dtp-v.out b/tests/dtp-v.out new file mode 100644 index 00000000..1d73418a --- /dev/null +++ b/tests/dtp-v.out @@ -0,0 +1,30 @@ +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 8, Lab + Status TLV (0x0002) TLV, length 5, 0x4 + DTP type TLV (0x0003) TLV, length 5, 0x40 + Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85 +00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76 +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 8, Lab + Status TLV (0x0002) TLV, length 5, 0x4 + DTP type TLV (0x0003) TLV, length 5, 0x40 + Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85 +00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76 +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 8, Lab + Status TLV (0x0002) TLV, length 5, 0x4 + DTP type TLV (0x0003) TLV, length 5, 0x40 + Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85 +00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76 +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 8, Lab + Status TLV (0x0002) TLV, length 5, 0x4 + DTP type TLV (0x0003) TLV, length 5, 0x40 + Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85 +00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76 +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 8, Lab + Status TLV (0x0002) TLV, length 5, 0x4 + DTP type TLV (0x0003) TLV, length 5, 0x40 + Neighbor TLV (0x0004) TLV, length 10, 00:19:06:ea:b8:85 +00:19:06:ea:b8:85 > 01:00:0c:00:00:00 SNAP Unnumbered, ui, Flags [Command], length 76 diff --git a/tests/dvmrp.out b/tests/dvmrp.out new file mode 100644 index 00000000..d612f7d9 --- /dev/null +++ b/tests/dvmrp.out @@ -0,0 +1,2 @@ +IP 10.0.0.1 > 2.2.2.2: igmp dvmrp Ask-neighbors2 +IP 2.2.2.2 > 10.0.0.1: igmp dvmrp Neighbors2 (v 12.4): [10.0.0.2 -> 10.0.0.1 (1/0/querier)] [10.0.0.9 -> 10.0.0.10 (1/0)] diff --git a/tests/hdlc3.out b/tests/hdlc3.out new file mode 100644 index 00000000..edbc6050 --- /dev/null +++ b/tests/hdlc3.out @@ -0,0 +1,38 @@ +SLARP (length: 20), keepalive: mineseen=0x00000005, yourseen=0x00000002, reliability=0xffff, link uptime=0d2h12m5s +SLARP (length: 20), keepalive: mineseen=0x00000003, yourseen=0x00000005, reliability=0xffff, link uptime=0d6h51m44s +SLARP (length: 20), keepalive: mineseen=0x00000006, yourseen=0x00000003, reliability=0xffff, link uptime=0d2h12m15s +SLARP (length: 20), keepalive: mineseen=0x00000004, yourseen=0x00000006, reliability=0xffff, link uptime=0d6h51m54s +SLARP (length: 20), keepalive: mineseen=0x00000007, yourseen=0x00000004, reliability=0xffff, link uptime=0d2h12m25s +SLARP (length: 20), keepalive: mineseen=0x00000005, yourseen=0x00000007, reliability=0xffff, link uptime=0d6h52m4s +IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 0, seq 0, length 80 +IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id 0, seq 0, length 80 +IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 0, seq 1, length 80 +IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id 0, seq 1, length 80 +IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 0, seq 2, length 80 +IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id 0, seq 2, length 80 +IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 0, seq 3, length 80 +IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id 0, seq 3, length 80 +IP 10.0.0.1 > 10.0.0.2: ICMP echo request, id 0, seq 4, length 80 +IP 10.0.0.2 > 10.0.0.1: ICMP echo reply, id 0, seq 4, length 80 +unknown CHDLC protocol (0x2000) +SLARP (length: 20), keepalive: mineseen=0x00000008, yourseen=0x00000005, reliability=0xffff, link uptime=0d2h12m35s +SLARP (length: 20), keepalive: mineseen=0x00000006, yourseen=0x00000008, reliability=0xffff, link uptime=0d6h52m14s +unknown CHDLC protocol (0x2000) +SLARP (length: 20), keepalive: mineseen=0x00000009, yourseen=0x00000006, reliability=0xffff, link uptime=0d2h12m45s +SLARP (length: 20), keepalive: mineseen=0x00000007, yourseen=0x00000009, reliability=0xffff, link uptime=0d6h52m24s +SLARP (length: 20), keepalive: mineseen=0x0000000a, yourseen=0x00000007, reliability=0xffff, link uptime=0d2h12m55s +SLARP (length: 20), keepalive: mineseen=0x00000008, yourseen=0x0000000a, reliability=0xffff, link uptime=0d6h52m34s +SLARP (length: 20), keepalive: mineseen=0x0000000b, yourseen=0x00000008, reliability=0xffff, link uptime=0d2h13m5s +SLARP (length: 20), keepalive: mineseen=0x00000009, yourseen=0x0000000b, reliability=0xffff, link uptime=0d6h52m44s +SLARP (length: 20), keepalive: mineseen=0x0000000c, yourseen=0x00000009, reliability=0xffff, link uptime=0d2h13m15s +SLARP (length: 20), keepalive: mineseen=0x0000000a, yourseen=0x0000000c, reliability=0xffff, link uptime=0d6h52m54s +SLARP (length: 20), keepalive: mineseen=0x0000000d, yourseen=0x0000000a, reliability=0xffff, link uptime=0d2h13m25s +SLARP (length: 20), keepalive: mineseen=0x0000000b, yourseen=0x0000000d, reliability=0xffff, link uptime=0d6h53m4s +unknown CHDLC protocol (0x2000) +SLARP (length: 20), keepalive: mineseen=0x0000000e, yourseen=0x0000000b, reliability=0xffff, link uptime=0d2h13m35s +SLARP (length: 20), keepalive: mineseen=0x0000000c, yourseen=0x0000000e, reliability=0xffff, link uptime=0d6h53m14s +unknown CHDLC protocol (0x2000) +SLARP (length: 20), keepalive: mineseen=0x0000000f, yourseen=0x0000000c, reliability=0xffff, link uptime=0d2h13m45s +SLARP (length: 20), keepalive: mineseen=0x0000000d, yourseen=0x0000000f, reliability=0xffff, link uptime=0d6h53m24s +SLARP (length: 20), keepalive: mineseen=0x00000010, yourseen=0x0000000d, reliability=0xffff, link uptime=0d2h13m55s +SLARP (length: 20), keepalive: mineseen=0x0000000e, yourseen=0x00000010, reliability=0xffff, link uptime=0d6h53m34s diff --git a/tests/hdlc4.out b/tests/hdlc4.out new file mode 100644 index 00000000..deffd79a --- /dev/null +++ b/tests/hdlc4.out @@ -0,0 +1,7 @@ +SLARP (length: 20), keepalive: mineseen=0x00000001, yourseen=0x00000000, reliability=0xffff, link uptime=1d0h1m32s +SLARP (length: 20), request +SLARP (length: 20), reply 15.0.0.1/255.255.255.252 +SLARP (length: 20), keepalive: mineseen=0x00000001, yourseen=0x00000000, reliability=0xffff, link uptime=1d0h1m42s +SLARP (length: 20), keepalive: mineseen=0x00000001, yourseen=0x00000001, reliability=0xffff, link uptime=1d4h41m19s +SLARP (length: 20), keepalive: mineseen=0x00000002, yourseen=0x00000001, reliability=0xffff, link uptime=1d0h1m52s +SLARP (length: 20), keepalive: mineseen=0x00000002, yourseen=0x00000002, reliability=0xffff, link uptime=1d4h41m29s diff --git a/tests/hdlc_slarp.pcap b/tests/hdlc_slarp.pcap new file mode 100644 index 00000000..3a24dca0 Binary files /dev/null and b/tests/hdlc_slarp.pcap differ diff --git a/tests/igmpv1.out b/tests/igmpv1.out new file mode 100644 index 00000000..ad8618fb --- /dev/null +++ b/tests/igmpv1.out @@ -0,0 +1,27 @@ +IP 10.0.200.151 > 224.0.0.1: igmp query v1 +IP 10.0.200.163 > 224.0.0.252: igmp v1 report 224.0.0.252 +IP 192.168.1.3 > 239.255.255.250: igmp v1 report 239.255.255.250 +IP 10.0.200.108 > 224.0.1.24: igmp v1 report 224.0.1.24 +IP 10.0.200.100 > 224.0.1.60: igmp v1 report 224.0.1.60 +IP 10.0.200.144 > 224.0.0.9: igmp v1 report 224.0.0.9 +IP 10.0.200.108 > 239.255.255.254: igmp v1 report 239.255.255.254 +IP 10.0.200.10 > 224.0.0.251: igmp v1 report 224.0.0.251 +IP 10.0.200.151 > 224.0.0.1: igmp query v1 +IP 10.0.200.108 > 239.255.255.250: igmp v1 report 239.255.255.250 +IP 10.0.200.108 > 239.255.255.254: igmp v1 report 239.255.255.254 +IP 10.0.200.10 > 224.0.0.251: igmp v1 report 224.0.0.251 +IP 10.0.200.163 > 224.0.0.252: igmp v1 report 224.0.0.252 +IP 10.0.200.108 > 224.0.1.24: igmp v1 report 224.0.1.24 +IP 10.0.200.144 > 224.0.0.9: igmp v1 report 224.0.0.9 +IP 10.0.200.100 > 224.0.1.60: igmp v1 report 224.0.1.60 +IP 10.0.200.25 > 239.255.255.250: igmp v1 report 239.255.255.250 +IP 10.0.200.25 > 239.255.255.250: igmp v1 report 239.255.255.250 +IP 10.0.200.25 > 239.255.255.250: igmp v1 report 239.255.255.250 +IP 10.0.200.151 > 224.0.0.1: igmp query v1 +IP 10.0.200.163 > 239.255.255.250: igmp v1 report 239.255.255.250 +IP 10.0.200.144 > 224.0.0.9: igmp v1 report 224.0.0.9 +IP 10.0.200.163 > 224.0.0.252: igmp v1 report 224.0.0.252 +IP 10.0.200.100 > 224.0.1.60: igmp v1 report 224.0.1.60 +IP 10.0.200.108 > 224.0.1.24: igmp v1 report 224.0.1.24 +IP 10.0.200.108 > 239.255.255.254: igmp v1 report 239.255.255.254 +IP 10.0.200.10 > 224.0.0.251: igmp v1 report 224.0.0.251 diff --git a/tests/igmpv2.out b/tests/igmpv2.out new file mode 100644 index 00000000..ae340da3 --- /dev/null +++ b/tests/igmpv2.out @@ -0,0 +1,18 @@ +IP 192.168.1.2 > 224.0.0.1: igmp query v2 +IP 192.168.1.64 > 239.255.255.250: igmp v2 report 239.255.255.250 +IP 192.168.11.201 > 225.10.10.10: igmp v2 report 225.10.10.10 +IP 192.168.11.201 > 225.1.1.3: igmp v2 report 225.1.1.3 +IP 192.168.11.201 > 224.0.0.2: igmp leave 225.1.1.3 +IP 192.168.1.2 > 225.1.1.3: igmp query v2 [max resp time 10] [gaddr 225.1.1.3] +IP 192.168.11.201 > 225.1.1.4: igmp v2 report 225.1.1.4 +IP 192.168.11.201 > 225.1.1.4: igmp v2 report 225.1.1.4 +IP 192.168.11.201 > 225.1.1.4: igmp v2 report 225.1.1.4 +IP 192.168.11.201 > 224.0.0.2: igmp leave 225.1.1.4 +IP 192.168.1.2 > 225.1.1.4: igmp query v2 [max resp time 10] [gaddr 225.1.1.4] +IP 192.168.11.201 > 225.1.1.5: igmp v2 report 225.1.1.5 +IP 192.168.11.201 > 225.1.1.5: igmp v2 report 225.1.1.5 +IP 192.168.11.201 > 225.1.1.5: igmp v2 report 225.1.1.5 +IP 192.168.1.2 > 224.0.0.1: igmp query v2 +IP 192.168.11.201 > 225.10.10.10: igmp v2 report 225.10.10.10 +IP 192.168.1.64 > 239.255.255.250: igmp v2 report 239.255.255.250 +IP 192.168.11.201 > 225.1.1.5: igmp v2 report 225.1.1.5 diff --git a/tests/isakmp5-v.out b/tests/isakmp5-v.out new file mode 100644 index 00000000..58014af2 --- /dev/null +++ b/tests/isakmp5-v.out @@ -0,0 +1,44 @@ +IP (tos 0xc0, ttl 255, id 101, offset 0, flags [none], proto UDP (17), length 176) + 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 00000000: phase 1 I ident: + (sa: doi=ipsec situation=identity + (p: #1 protoid=isakmp transform=1 + (t: #1 id=ike (type=enc value=aes)(type=keylen value=0080)(type=hash value=sha1)(type=group desc value=modp768)(type=auth value=preshared)(type=lifetype value=sec)(type=lifeduration len=4 value=00015180)))) + (vid: len=16) + (vid: len=16) + (vid: len=16) +IP (tos 0xc0, ttl 255, id 49, offset 0, flags [none], proto UDP (17), length 136) + 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 00000000: phase 1 R ident: + (sa: doi=ipsec situation=identity + (p: #1 protoid=isakmp transform=1 + (t: #1 id=ike (type=enc value=aes)(type=keylen value=0080)(type=hash value=sha1)(type=group desc value=modp768)(type=auth value=preshared)(type=lifetype value=sec)(type=lifeduration len=4 value=00015180)))) + (vid: len=16) +IP (tos 0xc0, ttl 255, id 102, offset 0, flags [none], proto UDP (17), length 300) + 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 00000000: phase 1 I ident: + (ke: key len=96) + (nonce: n len=20) + (vid: len=16) + (vid: len=16) + (vid: len=16) + (vid: len=8) + (pay15) + (pay15) +IP (tos 0xc0, ttl 255, id 50, offset 0, flags [none], proto UDP (17), length 300) + 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 00000000: phase 1 R ident: + (ke: key len=96) + (nonce: n len=20) + (vid: len=16) + (vid: len=16) + (vid: len=16) + (vid: len=8) + (pay15) + (pay15) +IP (tos 0xc0, ttl 255, id 103, offset 0, flags [none], proto UDP (17), length 136) + 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 00000000: phase 1 I ident[E]: [encrypted id] +IP (tos 0xc0, ttl 255, id 51, offset 0, flags [none], proto UDP (17), length 104) + 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 00000000: phase 1 R ident[E]: [encrypted id] +IP (tos 0xc0, ttl 255, id 104, offset 0, flags [none], proto UDP (17), length 248) + 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 0f2b7862: phase 2/others I oakley-quick[E]: [encrypted hash] +IP (tos 0xc0, ttl 255, id 52, offset 0, flags [none], proto UDP (17), length 248) + 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 0f2b7862: phase 2/others R oakley-quick[E]: [encrypted hash] +IP (tos 0xc0, ttl 255, id 105, offset 0, flags [none], proto UDP (17), length 88) + 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 0f2b7862: phase 2/others I oakley-quick[E]: [encrypted hash] diff --git a/tests/lacp-ev.out b/tests/lacp-ev.out new file mode 100644 index 00000000..36ed753f --- /dev/null +++ b/tests/lacp-ev.out @@ -0,0 +1,200 @@ +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Expired] + Partner Information TLV (0x02), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Timeout, Aggregation, Collecting, Distributing] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Expired] + Partner Information TLV (0x02), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Timeout, Aggregation, Collecting, Distributing] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Expired] + Partner Information TLV (0x02), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Timeout, Aggregation, Collecting, Distributing] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Collecting, Distributing, Default] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Default] + Partner Information TLV (0x02), length 20 + System 00:00:00:00:00:00, System Priority 0, Key 0, Port 0, Port Priority 0 + State Flags [none] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Collecting, Distributing, Default] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Collecting, Distributing, Default] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Default] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Default] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization] + Partner Information TLV (0x02), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing] + Partner Information TLV (0x02), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization, Collecting, Distributing] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:0e:83:16:f5:10 > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization, Collecting, Distributing] + Partner Information TLV (0x02), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 +00:13:c4:12:0f:0d > 01:80:c2:00:00:02, ethertype Slow Protocols (0x8809), length 124: LACPv1, length 110 + Actor Information TLV (0x01), length 20 + System 00:13:c4:12:0f:00, System Priority 32768, Key 13, Port 22, Port Priority 32768 + State Flags [Activity, Aggregation, Synchronization, Collecting, Distributing] + Partner Information TLV (0x02), length 20 + System 00:0e:83:16:f5:00, System Priority 32768, Key 13, Port 25, Port Priority 32768 + State Flags [Aggregation, Synchronization, Collecting, Distributing] + Collector Information TLV (0x03), length 16 + Max Delay 32768 + Terminator TLV (0x00), length 0 diff --git a/tests/lldp_cdp-ev.out b/tests/lldp_cdp-ev.out new file mode 100644 index 00000000..cb9a2099 --- /dev/null +++ b/tests/lldp_cdp-ev.out @@ -0,0 +1,224 @@ +00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 388: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 692 (unverified), length 366 + Device-ID (0x01), length: 2 bytes: 'S1' + Version String (0x05), length: 190 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2008 by Cisco Systems, Inc. + Compiled Sat 05-Jan-08 00:15 by weiliu + Platform (0x06), length: 19 bytes: 'cisco WS-C3560-24TS' + Address (0x02), length: 13 bytes: IPv4 (1) 0.0.0.0 + Port-ID (0x03), length: 16 bytes: 'FastEthernet0/13' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 0 bytes: '' +00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 392: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 692 (unverified), length 370 + Device-ID (0x01), length: 2 bytes: 'S2' + Version String (0x05), length: 190 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2008 by Cisco Systems, Inc. + Compiled Sat 05-Jan-08 00:15 by weiliu + Platform (0x06), length: 20 bytes: 'cisco WS-C3560G-24PS' + Address (0x02), length: 13 bytes: IPv4 (1) 0.0.0.0 + Port-ID (0x03), length: 19 bytes: 'GigabitEthernet0/13' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 0 bytes: '' +00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:19:2f:a7:b2:8d + Port ID TLV (2), length 13 + Subtype Interface alias (1): Uplink to S1 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S2.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 19: GigabitEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:18:ba:98:68:8f + Port ID TLV (2), length 7 + Subtype Local (7): Fa0/13 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S1.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 16: FastEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:19:2f:a7:b2:8d + Port ID TLV (2), length 13 + Subtype Interface alias (1): Uplink to S1 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S2.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 19: GigabitEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:18:ba:98:68:8f + Port ID TLV (2), length 7 + Subtype Local (7): Fa0/13 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S1.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 16: FastEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:18:ba:98:68:8f > 01:00:0c:cc:cc:cc, 802.3, length 388: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 692 (unverified), length 366 + Device-ID (0x01), length: 2 bytes: 'S1' + Version String (0x05), length: 190 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2008 by Cisco Systems, Inc. + Compiled Sat 05-Jan-08 00:15 by weiliu + Platform (0x06), length: 19 bytes: 'cisco WS-C3560-24TS' + Address (0x02), length: 13 bytes: IPv4 (1) 0.0.0.0 + Port-ID (0x03), length: 16 bytes: 'FastEthernet0/13' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 0 bytes: '' +00:19:2f:a7:b2:8d > 01:00:0c:cc:cc:cc, 802.3, length 392: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Cisco (0x00000c), pid CDP (0x2000): CDPv2, ttl: 180s, checksum: 692 (unverified), length 370 + Device-ID (0x01), length: 2 bytes: 'S2' + Version String (0x05), length: 190 bytes: + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1) + Copyright (c) 1986-2008 by Cisco Systems, Inc. + Compiled Sat 05-Jan-08 00:15 by weiliu + Platform (0x06), length: 20 bytes: 'cisco WS-C3560G-24PS' + Address (0x02), length: 13 bytes: IPv4 (1) 0.0.0.0 + Port-ID (0x03), length: 19 bytes: 'GigabitEthernet0/13' + Capability (0x04), length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping + Protocol-Hello option (0x08), length: 32 bytes: + VTP Management Domain (0x09), length: 0 bytes: '' +00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:19:2f:a7:b2:8d + Port ID TLV (2), length 13 + Subtype Interface alias (1): Uplink to S1 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S2.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 19: GigabitEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:18:ba:98:68:8f + Port ID TLV (2), length 7 + Subtype Local (7): Fa0/13 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S1.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 16: FastEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:19:2f:a7:b2:8d > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 296: LLDP, length 282 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:19:2f:a7:b2:8d + Port ID TLV (2), length 13 + Subtype Interface alias (1): Uplink to S1 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S2.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 19: GigabitEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [10BASE-T hdx, Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0xc036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 +00:18:ba:98:68:8f > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 287: LLDP, length 273 + Chassis ID TLV (1), length 7 + Subtype MAC address (4): 00:18:ba:98:68:8f + Port ID TLV (2), length 7 + Subtype Local (7): Fa0/13 + Time to Live TLV (3), length 2: TTL 120s + System Name TLV (5), length 12: S1.cisco.com + System Description TLV (6), length 190 + Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(44)SE, RELEASE SOFTWARE (fc1)\0x0aCopyright (c) 1986-2008 by Cisco Systems, Inc.\0x0aCompiled Sat 05-Jan-08 00:15 by weiliu + Port Description TLV (4), length 16: FastEthernet0/13 + System Capabilities TLV (7), length 4 + System Capabilities [Bridge, Router] (0x0014) + Enabled Capabilities [Bridge] (0x0004) + Organization specific TLV (127), length 6: OUI Ethernet bridged (0x0080c2) + Port VLAN Id Subtype (1) + port vlan id (PVID): 1 + Organization specific TLV (127), length 9: OUI IEEE 802.3 Private (0x00120f) + MAC/PHY configuration/status Subtype (1) + autonegotiation [supported, enabled] (0x03) + PMD autoneg capability [Sym PAUSE for fdx, Asym and Sym PAUSE for fdx, 1000BASE-{X LX SX CX} fdx, 1000BASE-T hdx] (0x0036) + MAU type 100BASETX fdx (0x0010) + End TLV (0), length 0 diff --git a/tests/mrinfo_query.pcap b/tests/mrinfo_query.pcap new file mode 100644 index 00000000..63a86d68 Binary files /dev/null and b/tests/mrinfo_query.pcap differ diff --git a/tests/mstp-v.out b/tests/mstp-v.out new file mode 100644 index 00000000..16127b5e --- /dev/null +++ b/tests/mstp-v.out @@ -0,0 +1,130 @@ +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134 + port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000, + CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0 + MSTI bridge-prio 6, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134 + port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0, + CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134 + port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000, + CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0 + MSTI bridge-prio 6, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134 + port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0, + CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134 + port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000, + CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0 + MSTI bridge-prio 6, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134 + port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0, + CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134 + port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000, + CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0 + MSTI bridge-prio 6, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134 + port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0, + CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward], length 134 + port-role Root, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 8012, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 200000, + CIST bridge-id 8000.00:1e:f7:05:a8:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 0 + MSTI bridge-prio 6, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 +STP 802.1s, Rapid STP, CIST Flags [Learn, Forward, Agreement], length 134 + port-role Designated, CIST root-id 0000.00:1f:27:b4:7d:80, CIST ext-pathcost 200000 + CIST regional-root-id 8000.00:16:46:b5:8c:80, CIST port-id 800f, + message-age 1.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 96, MCID Name Brewery, rev 0, + digest 9357ebb7a8d74dd5fef4f2bab50531aa, CIST int-root-pathcost 0, + CIST bridge-id 8000.00:16:46:b5:8c:80, CIST remaining-hops 20 + MSTI 1, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Root + MSTI regional-root-id 6001.00:1e:f7:05:a8:80, pathcost 200000 + MSTI bridge-prio 8, port-prio 8, hops 20 + MSTI 2, Flags [Learn, Forward, Agreement, Topology change ACK], port-role Designated + MSTI regional-root-id 8002.00:16:46:b5:8c:80, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 diff --git a/tests/mtrace.out b/tests/mtrace.out new file mode 100644 index 00000000..2995f601 --- /dev/null +++ b/tests/mtrace.out @@ -0,0 +1,2 @@ +IP 10.0.0.5 > 172.16.20.1: mtrace 7: 172.16.40.1 to 172.16.20.1 reply-to 172.16.40.1 +IP 10.0.0.6 > 10.0.0.5: mtrace 7: 172.16.40.1 to 172.16.20.1 reply-to 172.16.40.1 diff --git a/tests/mtrace.pcap b/tests/mtrace.pcap new file mode 100644 index 00000000..0d16dd38 Binary files /dev/null and b/tests/mtrace.pcap differ diff --git a/tests/radius-v.out b/tests/radius-v.out new file mode 100644 index 00000000..43696b77 --- /dev/null +++ b/tests/radius-v.out @@ -0,0 +1,47 @@ +IP (tos 0x0, ttl 255, id 70, offset 0, flags [none], proto UDP (17), length 167) + 10.0.0.1.1645 > 10.0.0.100.1812: RADIUS, length: 139 + Access Request (1), id: 0x05, Authenticator: ecfe3d2fe4473ec6299095ee46aedf77 + NAS IP Address Attribute (4), length: 6, Value: 10.0.0.1 + NAS Port Attribute (5), length: 6, Value: 50012 + NAS Port Type Attribute (61), length: 6, Value: Ethernet + Username Attribute (1), length: 14, Value: John.McGuirk + Called Station Attribute (30), length: 19, Value: 00-19-06-EA-B8-8C + Calling Station Attribute (31), length: 19, Value: 00-14-22-E9-54-5E + Service Type Attribute (6), length: 6, Value: Framed + Framed MTU Attribute (12), length: 6, Value: 1500 + EAP Message Attribute (79), length: 19, Value: . + Message Authentication Attribute (80), length: 18, Value: (....$..p.Q1o.x. +IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 137) + 10.0.0.100.1812 > 10.0.0.1.1645: RADIUS, length: 109 + Access Challenge (11), id: 0x05, Authenticator: f050649184625d36f14c9075b7a48b83 + Framed IP Address Attribute (8), length: 6, Value: NAS Select + Framed MTU Attribute (12), length: 6, Value: 576 + Service Type Attribute (6), length: 6, Value: Framed + Reply Attribute (18), length: 11, Value: Hello, %u + EAP Message Attribute (79), length: 24, Value: .. + Message Authentication Attribute (80), length: 18, Value: ...<.(.X.13..t4. + State Attribute (24), length: 18, Value: ..../.0$.s..1..w +IP (tos 0x0, ttl 255, id 71, offset 0, flags [none], proto UDP (17), length 202) + 10.0.0.1.1645 > 10.0.0.100.1812: RADIUS, length: 174 + Access Request (1), id: 0x06, Authenticator: 6a6f38e6dae830304d2333e5d5364643 + NAS IP Address Attribute (4), length: 6, Value: 10.0.0.1 + NAS Port Attribute (5), length: 6, Value: 50012 + NAS Port Type Attribute (61), length: 6, Value: Ethernet + Username Attribute (1), length: 14, Value: John.McGuirk + Called Station Attribute (30), length: 19, Value: 00-19-06-EA-B8-8C + Calling Station Attribute (31), length: 19, Value: 00-14-22-E9-54-5E + Service Type Attribute (6), length: 6, Value: Framed + Framed MTU Attribute (12), length: 6, Value: 1500 + State Attribute (24), length: 18, Value: ..../.0$.s..1..w + EAP Message Attribute (79), length: 36, Value: .. + Message Authentication Attribute (80), length: 18, Value: '&.q1.....Ojb..8 +IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 125) + 10.0.0.100.1812 > 10.0.0.1.1645: RADIUS, length: 97 + Access Accept (2), id: 0x06, Authenticator: fbba6a784c7decb314caf0f27944a37b + Framed IP Address Attribute (8), length: 6, Value: NAS Select + Framed MTU Attribute (12), length: 6, Value: 576 + Service Type Attribute (6), length: 6, Value: Framed + Reply Attribute (18), length: 21, Value: Hello, John.McGuirk + EAP Message Attribute (79), length: 6, Value: .. + Message Authentication Attribute (80), length: 18, Value: ...b...2.^..NLc` + Username Attribute (1), length: 14, Value: John.McGuirk diff --git a/tests/rpvst-v.out b/tests/rpvst-v.out new file mode 100644 index 00000000..c55c1eb3 --- /dev/null +++ b/tests/rpvst-v.out @@ -0,0 +1,68 @@ +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 10, cisco + Status TLV (0x0002) TLV, length 5, 0x81 + DTP type TLV (0x0003) TLV, length 5, 0xa5 + Neighbor TLV (0x0004) TLV, length 10, 00:1f:6d:96:ec:04 +DTPv1, length 38 + Domain TLV (0x0001) TLV, length 10, cisco + Status TLV (0x0002) TLV, length 5, 0x81 + DTP type TLV (0x0003) TLV, length 5, 0xa5 + Neighbor TLV (0x0004) TLV, length 10, 00:1f:6d:96:ec:04 +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +VTPv1, Message Summary advertisement (0x01), length 77 + Domain name: cisco, Followers: 0 + Config Rev 2, Updater 155.1.37.7, Timestamp 0x39333033 0x30313030 0x30393030, MD5 digest: fb393cf67014e50aa79c7c5b193f6fe1 +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:1f:6d:96:ec:00.8004, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8005.00:1f:6d:96:ec:00.8004, length 42 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8005.00:1f:6d:96:ec:00, root-pathcost 0, port-role Designated +Loopback, skipCount 0, Reply, receipt number 0, data (40 octets) diff --git a/tests/rpvstp-trunk-native-vid5.pcap b/tests/rpvstp-trunk-native-vid5.pcap new file mode 100644 index 00000000..4c9908bd Binary files /dev/null and b/tests/rpvstp-trunk-native-vid5.pcap differ diff --git a/tests/rstp-v.out b/tests/rstp-v.out new file mode 100644 index 00000000..318b4508 --- /dev/null +++ b/tests/rstp-v.out @@ -0,0 +1,90 @@ +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Proposal, Learn], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Topology change, Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Topology change, Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Topology change, Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated +STP 802.1w, Rapid STP, Flags [Learn, Forward], bridge-id 8001.00:19:06:ea:b8:80.800c, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0, port-role Designated diff --git a/tests/stp-v.out b/tests/stp-v.out new file mode 100644 index 00000000..66d30811 --- /dev/null +++ b/tests/stp-v.out @@ -0,0 +1,42 @@ +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 +STP 802.1d, Config, Flags [none], bridge-id 8001.00:19:06:ea:b8:80.8005, length 43 + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + root-id 8001.00:19:06:ea:b8:80, root-pathcost 0 diff --git a/tests/udld-v.out b/tests/udld-v.out new file mode 100644 index 00000000..cb55b8aa --- /dev/null +++ b/tests/udld-v.out @@ -0,0 +1,261 @@ +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x03), length 60 + Checksum 0x6d85 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 4, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 1 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805d (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 1 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805e (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 1 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805c (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 2 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805d (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 2 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805b (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 3 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805c (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 3 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805a (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 4 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805b (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 4 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x8059 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 5 +UDLDv1, Code Echo message (2), Flags [RT] (0x00), length 80 + Checksum 0x805a (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 7s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 5 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795c (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 1 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795d (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 1 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795b (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 2 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795c (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 2 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795a (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 3 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795b (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 3 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7959 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 4 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x795a (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 4 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7958 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 5 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7959 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 5 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7957 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 6 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7958 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 6 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7956 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 7 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7957 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 7 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7955 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 8 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7956 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 8 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7954 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1025X4W3 + Port-ID TLV (0x0002) TLV, length 5, Fa0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S2 + Sequence Number TLV (0x0007) TLV, length 4, 9 +UDLDv1, Code Probe message (1), Flags [RT, RSY] (0x01), length 80 + Checksum 0x7955 (unverified) + Device-ID TLV (0x0001) TLV, length 11, FOC1031Z7JG + Port-ID TLV (0x0002) TLV, length 5, Gi0/1 + Echo TLV (0x0003) TLV, length 24, + Message Interval TLV (0x0004) TLV, length 1, 15s + Timeout Interval TLV (0x0005) TLV, length 1, 5s + Device Name TLV (0x0006) TLV, length 2, S1 + Sequence Number TLV (0x0007) TLV, length 4, 9