From 5cb03afb5702dd3f659bffda9940d18c3411528e Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Wed, 11 Nov 2015 14:31:29 +0100 Subject: [PATCH] STP: Filter out non-printable characters Use fn_printzp(). Moreover: Add a missing comma in output. Use ND_TCHECK_32BITS instead of ND_TTEST_32BITS. Add a test for spb_bpduv4.pcap with verbose output. --- print-stp.c | 29 +-- tests/TESTLIST | 1 + tests/spb_bpduv4-v.out | 400 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 419 insertions(+), 11 deletions(-) create mode 100644 tests/spb_bpduv4-v.out diff --git a/print-stp.c b/print-stp.c index 953715b6..67971536 100644 --- a/print-stp.c +++ b/print-stp.c @@ -284,12 +284,14 @@ stp_print_mstp_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, ND_TCHECK_16BITS(ptr + MST_BPDU_VER3_LEN_OFFSET); ND_PRINT((ndo, "\n\tv3len %d, ", EXTRACT_16BITS(ptr + MST_BPDU_VER3_LEN_OFFSET))); ND_TCHECK_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET + 12); - ND_PRINT((ndo, "MCID Name %s, rev %u, " + ND_PRINT((ndo, "MCID Name ")); + if (fn_printzp(ndo, ptr + MST_BPDU_CONFIG_NAME_OFFSET, 32, ndo->ndo_snapend)) + goto trunc; + ND_PRINT((ndo, ", rev %u, " "\n\t\tdigest %08x%08x%08x%08x, ", - ptr + MST_BPDU_CONFIG_NAME_OFFSET, EXTRACT_16BITS(ptr + MST_BPDU_CONFIG_NAME_OFFSET + 32), - EXTRACT_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET), - EXTRACT_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET + 4), + EXTRACT_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET), + EXTRACT_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET + 4), EXTRACT_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET + 8), EXTRACT_32BITS(ptr + MST_BPDU_CONFIG_DIGEST_OFFSET + 12))); @@ -355,12 +357,14 @@ stp_print_spb_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, } ptr = (const u_char *)stp_bpdu; - if (!ND_TTEST_32BITS(ptr + offset + SPB_BPDU_AGREEMENT_DIGEST_OFFSET+16)) - return 0; - - ND_PRINT((ndo, "\n\tv4len %d AUXMCID Name %s, Rev %u, \n\t\tdigest %08x%08x%08x%08x", - EXTRACT_16BITS (ptr + offset), - ptr + offset + SPB_BPDU_CONFIG_NAME_OFFSET, + ND_TCHECK_32BITS(ptr + offset + SPB_BPDU_AGREEMENT_DIGEST_OFFSET + 16); + + ND_PRINT((ndo, "\n\tv4len %d, ", EXTRACT_16BITS (ptr + offset))); + ND_PRINT((ndo, "AUXMCID Name ")); + if (fn_printzp(ndo, ptr + offset + SPB_BPDU_CONFIG_NAME_OFFSET, 32, + ndo->ndo_snapend)) + goto trunc; + ND_PRINT((ndo, ", Rev %u, \n\t\tdigest %08x%08x%08x%08x", EXTRACT_16BITS(ptr + offset + SPB_BPDU_CONFIG_REV_OFFSET), EXTRACT_32BITS(ptr + offset + SPB_BPDU_CONFIG_DIGEST_OFFSET), EXTRACT_32BITS(ptr + offset + SPB_BPDU_CONFIG_DIGEST_OFFSET + 4), @@ -386,6 +390,9 @@ stp_print_spb_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, EXTRACT_32BITS(ptr + offset + SPB_BPDU_AGREEMENT_DIGEST_OFFSET+12), EXTRACT_32BITS(ptr + offset + SPB_BPDU_AGREEMENT_DIGEST_OFFSET+16))); return 1; + +trunc: + return 0; } /* @@ -490,7 +497,7 @@ stp_print(netdissect_options *ndo, const u_char *p, u_int length) } return; - trunc: +trunc: ND_PRINT((ndo, "[|stp %d]", length)); } diff --git a/tests/TESTLIST b/tests/TESTLIST index 1f68f442..13f4727d 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -127,6 +127,7 @@ spb spb.pcap spb.out -t # SPB BPDUv4 tests spb_bpduv4 spb_bpduv4.pcap spb_bpduv4.out -t +spb_bpduv4-v spb_bpduv4.pcap spb_bpduv4-v.out -t -v # DCB Tests dcb_ets dcb_ets.pcap dcb_ets.out -t -vv diff --git a/tests/spb_bpduv4-v.out b/tests/spb_bpduv4-v.out new file mode 100644 index 00000000..fb8654c5 --- /dev/null +++ b/tests/spb_bpduv4-v.out @@ -0,0 +1,400 @@ +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + +STP 802.1aq, Rapid STP, CIST Flags [Learn, Forward], length 205 + port-role Designated, CIST root-id 8000.52:54:00:45:5f:15, CIST ext-pathcost 0 + CIST regional-root-id 8000.52:54:00:45:5f:15, CIST port-id 8003, + message-age 0.00s, max-age 20.00s, hello-time 2.00s, forwarding-delay 15.00s + v3len 80, MCID Name IEEE802.1 SPB Default, rev 0, + digest 67d768dfa948eb5e9fd54077e80975a2, CIST int-root-pathcost 0, + CIST bridge-id 8000.52:54:00:45:5f:15, CIST remaining-hops 20 + MSTI 10, Flags [Learn, Forward], port-role Designated + MSTI regional-root-id 800a.52:54:00:45:5f:15, pathcost 0 + MSTI bridge-prio 8, port-prio 8, hops 20 + v4len 85, AUXMCID Name IEEE802.1 SPB Default, Rev 0, + digest c8bd946a00815f86ace612b9f8616283 + Agreement num 0, Discarded Agreement num 0, Agreement valid-flag 0, + Restricted role-flag: 0, Format id 0 cap 0, Convention id 2 cap 32, + Edge count 32, Agreement digest 0000000e918994fa9ca00398d9138a3e54000000 + -- 2.39.5