From 1f9d3d622e419fcc44f1cd0f1e53f04004d98600 Mon Sep 17 00:00:00 2001 From: Moses Devadason Date: Sun, 28 Jun 2020 11:07:54 +0530 Subject: LLDP 8021 link aggregation TLV support As per IEEE std 802.1-AB-2009, 802.3 link aggregation TLV has been deprecated and link aggregation TLV has been added as an 802.1 TLV. Support for this is given. --- tests/TESTLIST | 2 ++ tests/lldp_8021_linkagg-v.out | 8 ++++++++ tests/lldp_8021_linkagg-vv.out | 10 ++++++++++ tests/lldp_8021_linkagg.pcap | Bin 0 -> 106 bytes 4 files changed, 20 insertions(+) create mode 100644 tests/lldp_8021_linkagg-v.out create mode 100644 tests/lldp_8021_linkagg-vv.out create mode 100644 tests/lldp_8021_linkagg.pcap (limited to 'tests') diff --git a/tests/TESTLIST b/tests/TESTLIST index fb157144..921bffac 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -363,6 +363,8 @@ cdp-v 3560_CDP.pcap cdp-v.out -v udld-v UDLD.pcap udld-v.out -v lldp_mud-v lldp_mudurl.pcap lldp_mudurl-v.out -e -v lldp_mud-vv lldp_mudurl.pcap lldp_mudurl-vv.out -e -vv +lldp_8021_linkagg-v lldp_8021_linkagg.pcap lldp_8021_linkagg-v.out -v +lldp_8021_linkagg-vv lldp_8021_linkagg.pcap lldp_8021_linkagg-vv.out -vv # fuzzed pcap udld-inf-loop-1-v udld-inf-loop-1.pcapng udld-inf-loop-1-v.out -v diff --git a/tests/lldp_8021_linkagg-v.out b/tests/lldp_8021_linkagg-v.out new file mode 100644 index 00000000..d6827c5b --- /dev/null +++ b/tests/lldp_8021_linkagg-v.out @@ -0,0 +1,8 @@ + 1 05:27:44.860864 LLDP, length 11 + Organization specific TLV (127), length 9: OUI Ethernet bridged (0x0080c2) + Link aggregation Subtype (7) + aggregation status [supported, enabled], aggregation port ID 100 + 2 05:27:46.902307 LLDP, length 11 + Organization specific TLV (127), length 9: OUI Ethernet bridged (0x0080c2) + Link aggregation Subtype (7) + aggregation status [supported], aggregation port ID 0 diff --git a/tests/lldp_8021_linkagg-vv.out b/tests/lldp_8021_linkagg-vv.out new file mode 100644 index 00000000..a717006b --- /dev/null +++ b/tests/lldp_8021_linkagg-vv.out @@ -0,0 +1,10 @@ + 1 05:27:44.860864 LLDP, length 11 + Organization specific TLV (127), length 9: OUI Ethernet bridged (0x0080c2) + Link aggregation Subtype (7) + aggregation status [supported, enabled], aggregation port ID 100 + 0x0000: 0080 c207 0300 0000 64 + 2 05:27:46.902307 LLDP, length 11 + Organization specific TLV (127), length 9: OUI Ethernet bridged (0x0080c2) + Link aggregation Subtype (7) + aggregation status [supported], aggregation port ID 0 + 0x0000: 0080 c207 0100 0000 00 diff --git a/tests/lldp_8021_linkagg.pcap b/tests/lldp_8021_linkagg.pcap new file mode 100644 index 00000000..44464579 Binary files /dev/null and b/tests/lldp_8021_linkagg.pcap differ -- cgit v1.2.1