]> The Tcpdump Group git mirrors - tcpdump/commitdiff
STP: Filter out non-printable characters
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 11 Nov 2015 13:31:29 +0000 (14:31 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 18 Jan 2017 08:16:38 +0000 (09:16 +0100)
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
tests/TESTLIST
tests/spb_bpduv4-v.out [new file with mode: 0644]

index 953715b67a4d1a2fc53ec4a3341e524e7497b673..6797153652eb63e5b150a64faeb21da106eb31a6 100644 (file)
@@ -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));
 }
 
index 1f68f442687c2c0c08b73a8f6747f1d247fa0217..13f4727dec5c70af0d652c696a263e50ab2ca169 100644 (file)
@@ -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 (file)
index 0000000..fb8654c
--- /dev/null
@@ -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
+