The tellabs capture feature allows capture of packets into a wireshark readable file on BOLT. The capture function consists of two actions and one status attribute. The capture start action will start the capture and define the filter criteria for the capture. The capture stop function will stop the capture and write out the file to disk. The file, once written out, is available by default in /usr/bob/sftp/capture and can be retrieved from the board using sftp and logging in using a user BOLT CLI login.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNS9pbWFnZSgyNTcpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NzExMzgxMH19fV19&Signature=GD48KkM71NIqcjl9EhXxklw8FLJJpLjHcSEsdQgojHsftVPYzumkNFUVN~E0AOPbaAdWR37PhKVt6v59gtzM-wnlLZfOLa8ZPECSmCx43hwW5BPW2WHch8DMWrJwikKj6kQHr5GPQWN7goKcSvdWzVvutVqCQlR4nV7zPgovzbh4WOgjYxpOPtDUNeJ7dumAHWOoBTppLXJnEJf3erwkQie0xxoS6qnSIOqzONa4OvI4mWnbH8y0lSs7oe-S8cETTXkfey7qI3UqKs4dornwOGpaX-JqQfJSx2T6WMDTdOQF~GeW2Dtk8NqingHZZs3Ks9T8c6TF2fsn1DJ4qpKF0w__&Key-Pair-Id=K2TK3EG287XSFC)
Diagnostics Capture Attributes
| Attribute | Values | Default | Req | Description |
|---|---|---|---|---|
| Start | Action to start a tcpdump capture in wireshark pcap format. | |||
| Input | Container for action parameters | |||
| Filename | <string> | The filename ot save the pcap file into. | ||
| Net-interface | <string> of form Netx where is the uplink number. | A parameter used when performing a capture on uplink net interfaces. Exclusive of nni-interface, or pon-interface options. | ||
| Nni-interface | <string> of form QSFP1-2-x or SFP1-1-x |
When capturing on a single nni port, this option is used. Excludes use of net-interface or pon-interface options. | ||
| Pon-interface | <string> of form MDS1-1-x where x is the PON port number from 1..16 |
When capturing traffic on a PON port, this option is used. Excludes use of the net-interface or nni-interface options.. | ||
| Vlan | Vlanid or any | The VLAN to capture on. | ||
| Dir | Ingress | egress | both | Ingress | egress | both | ||
| Options | <string> | A string containing options to be passed to tcpdump to allow further filtering of the packets. Standard tcpdump syntax is supported. |
MDS1-ESUA# tolt diagnostics capture start dir both filename test1.pcap
net-interface NET1 vlan any <enter>
action-success true
MDS1-ESUA#
System message at 2025-01-01 06:07:41..
Commit performed by admin via tcp using tcpdump_action.
MDS1-ESUA# _
|
MDS1-ESUA# tolt diagnostics capture stop <enter>
action-success true
MDS1-ESUA#
System message at 2025-01-01 06:07:41..
Commit performed by admin via tcp using tcpdump_action.
MDS1-ESUA# _
|
The file will now be present on the disk of the OLT and can be pulled off the OLT using sftp tools such as winscp. Login with your normal login to the OLT and go to /usr/bob/sftp/capture to see the files.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNS9pbWFnZSgyNTgpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NzExMzgxMH19fV19&Signature=iVJoMkgyCF1WWEwFs1uJ34BYz7OAqPth5-80oFckU6i7HHNii7LJUfR8N1hx6t8dguhstRLa28OzERmOZIJYe9bRHUgeh6rh7e-1hm~i8tCiR3egGk1aH5KXH4pHE0LQtixAS62aP1p3qOedoikwg~eyXLVAKeY7LoVu6OUgZaBbJBJ~cV68P085lFDAIxM1RWRYNsnbsDY7hcCOsgObaaN14gQGqE2joSgJ89g68aaO~0ncNsiWGAG07pX5v4QcAF1AgWcx23BXs7V2z3rObZwXpXFDqVe58ZJwMVhRLm8jX2TDSAoKKpd59Z05A5ip34bs1LfwlChyKlBbM2eZLA__&Key-Pair-Id=K2TK3EG287XSFC)
The diagnostics capture status command can be used to see whether a capture is currently running.
MDS1-ESUA# tolt diagnostics capture start dir both filename test1.pcap
net-interface NET1 vlan any <enter>
action-success true
MDS1-ESUA#_
|
MDS1-ESUA# show tolt diagnostics capture status <enter> tolt diagnostics capture status running MDS1-ESUA# tolt diagnostics capture stop <enter> action-success true MDS1-ESUA# show tolt diagnostics capture status <enter> tolt diagnostics capture status stopped MDS1-ESUA# _ |