02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Capturing PDUs<br />

Capture incoming and outgoing PDUs on a per-peer basis using <strong>the</strong> command capture bgp-pdu<br />

neighbor direction. Disable capturing using <strong>the</strong> no <strong>for</strong>m of this command.<br />

The buffer size supports a maximum value between 40 MB (<strong>the</strong> default) and 100 MB. The capture buffers<br />

are cyclic, and reaching <strong>the</strong> limit prompts <strong>the</strong> system to overwrite <strong>the</strong> oldest PDUs when new ones are<br />

received <strong>for</strong> a given neighbor or direction. Setting <strong>the</strong> buffer size to a value lower than <strong>the</strong> current max,<br />

might cause captured PDUs to be freed to set <strong>the</strong> new limit.<br />

Note: Memory on RP1 is not pre-allocated, but is allocated only when a PDU needs to be captured.<br />

Use <strong>the</strong> command capture bgp-pdu max-buffer-size (Figure 364) to change <strong>the</strong> maximum buffer size.<br />

View <strong>the</strong> captured PDUs using <strong>the</strong> command show capture bgp-pdu neighbor.<br />

Figure 364 Viewing Captured PDUs<br />

<strong>Force10</strong>#show capture bgp-pdu neighbor 20.20.20.2<br />

Incoming packet capture enabled <strong>for</strong> BGP neighbor 20.20.20.2<br />

Available buffer size 40958758, 26 packet(s) captured using 680 bytes<br />

PDU[1] : len 101, captured 00:34:51 ago<br />

ffffffff ffffffff ffffffff ffffffff 00650100 00000013 00000000 00000000 419ef06c<br />

00000000<br />

00000000 00000000 00000000 00000000 0181a1e4 0181a25c 41af92c0 00000000 00000000<br />

00000000<br />

00000000 00000001 0181a1e4 0181a25c 41af9400 00000000<br />

PDU[2] : len 19, captured 00:34:51 ago<br />

ffffffff ffffffff ffffffff ffffffff 00130400<br />

PDU[3] : len 19, captured 00:34:51 ago<br />

ffffffff ffffffff ffffffff ffffffff 00130400<br />

PDU[4] : len 19, captured 00:34:22 ago<br />

ffffffff ffffffff ffffffff ffffffff 00130400<br />

[. . .]<br />

Outgoing packet capture enabled <strong>for</strong> BGP neighbor 20.20.20.2<br />

Available buffer size 40958758, 27 packet(s) captured using 562 bytes<br />

PDU[1] : len 41, captured 00:34:52 ago<br />

ffffffff ffffffff ffffffff ffffffff 00290104 000100b4 14141401 0c020a01 04000100<br />

01020080<br />

00000000<br />

PDU[2] : len 19, captured 00:34:51 ago<br />

ffffffff ffffffff ffffffff ffffffff 00130400<br />

PDU[3] : len 19, captured 00:34:50 ago<br />

ffffffff ffffffff ffffffff ffffffff 00130400<br />

PDU[4] : len 19, captured 00:34:20 ago<br />

ffffffff ffffffff ffffffff ffffffff 00130400<br />

[. . .]<br />

The buffers storing <strong>the</strong> PDU free memory when:<br />

• BGP is disabled<br />

518 Border Gateway Protocol (BGP)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!