Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
Initial release: 70,006 commands, metadata only
Browse files- README.md +86 -0
- data/train.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
pretty_name: Multivendor CLI Commands
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- networking
|
| 8 |
+
- network-automation
|
| 9 |
+
- cli
|
| 10 |
+
- cisco
|
| 11 |
+
- juniper
|
| 12 |
+
- arista
|
| 13 |
+
- frr
|
| 14 |
+
size_categories:
|
| 15 |
+
- 10K<n<100K
|
| 16 |
+
task_categories:
|
| 17 |
+
- text-generation
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data/train.parquet
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Multivendor CLI Commands
|
| 26 |
+
|
| 27 |
+
**70,006 network CLI commands across 17 vendors and tools, tagged with vendor, OS, device role and category.** The command corpus behind the [Multivendor CLI Configurator](https://huggingface.co/spaces/gesh75/multivendor-cli-configurator), as one flat Parquet table.
|
| 28 |
+
|
| 29 |
+
Source repo: [github.com/gesh75/multivendor-cli-configurator](https://github.com/gesh75/multivendor-cli-configurator)
|
| 30 |
+
|
| 31 |
+
## Schema
|
| 32 |
+
|
| 33 |
+
| column | type | meaning |
|
| 34 |
+
|---|---|---|
|
| 35 |
+
| `vendor` | string | Vendor or tool (Cisco, Juniper, Arista, FRR, …) |
|
| 36 |
+
| `os` | string | Platform / OS surface (`ios`, `junos`, `eos`, `sros`, …) |
|
| 37 |
+
| `role` | string | `router`, `switch` or `firewall` |
|
| 38 |
+
| `category` | string | Functional bucket assigned by the pipeline (BGP, OSPF, VLAN, Interfaces, Security, …) |
|
| 39 |
+
| `command` | string | The command syntax, with placeholders (`[IP]`, `<vlan>`) or example values |
|
| 40 |
+
| `live_verified` | bool | `true` if captured from a live 10-node Docker FRR lab |
|
| 41 |
+
| `in_docs` | bool / null | `true` if the FRR command was also found in FRR docs; null elsewhere |
|
| 42 |
+
|
| 43 |
+
## Rows by vendor
|
| 44 |
+
|
| 45 |
+
| vendor | rows | vendor | rows |
|
| 46 |
+
|---|---:|---|---:|
|
| 47 |
+
| Cisco | 22,168 | Extreme | 2,800 |
|
| 48 |
+
| Arista | 7,397 | Linux | 2,592 |
|
| 49 |
+
| VyOS | 6,289 | FortiOS | 2,383 |
|
| 50 |
+
| Huawei | 4,425 | Wireshark | 2,130 |
|
| 51 |
+
| Aruba | 4,106 | PAN-OS | 1,224 |
|
| 52 |
+
| FRR | 3,949 | Mikrotik | 1,216 |
|
| 53 |
+
| Microsoft | 3,352 | NVIDIA | 1,168 |
|
| 54 |
+
| Juniper | 3,217 | Nokia | 1,131 |
|
| 55 |
+
| | | SONiC | 459 |
|
| 56 |
+
|
| 57 |
+
## Provenance — what was kept, what was dropped
|
| 58 |
+
|
| 59 |
+
The commands were collected from public vendor CLI references, a public command guide, community notes and a live FRR lab, then merged and deduped by a stdlib-only Python pipeline (`scripts/` in the repo).
|
| 60 |
+
|
| 61 |
+
This release keeps **only the command syntax and structural metadata**. The upstream `desc` (description prose) and `title` fields were **dropped**, because some of that text comes from or paraphrases vendor documentation and books, and its origin can't be traced row by row. If you need descriptions, use the vendor's own docs.
|
| 62 |
+
|
| 63 |
+
## License
|
| 64 |
+
|
| 65 |
+
MIT, matching the repo. CLI command names and syntax are functional facts belonging to their respective vendors; vendor and product names are trademarks of their owners. No affiliation or endorsement implied.
|
| 66 |
+
|
| 67 |
+
## Limitations
|
| 68 |
+
|
| 69 |
+
- Not validated per release or platform. Verify on your gear.
|
| 70 |
+
- Coverage is uneven: Cisco/Arista/VyOS/FRR are deep, SONiC and Nokia SR OS are thin.
|
| 71 |
+
- `category` comes from heuristics, so some rows are misbucketed (catch-all buckets like `Misc` and `Protocols` are large).
|
| 72 |
+
- Some commands carry a prompt or mode prefix (e.g. `switch(config-if)#`) inherited from the source.
|
| 73 |
+
- Example values are generic placeholders, documentation ranges or well-known public resolvers (e.g. `8.8.8.8`). No real network data.
|
| 74 |
+
|
| 75 |
+
## Load
|
| 76 |
+
|
| 77 |
+
```python
|
| 78 |
+
from datasets import load_dataset
|
| 79 |
+
ds = load_dataset("gesh75/multivendor-cli-commands", split="train")
|
| 80 |
+
bgp = ds.filter(lambda r: r["vendor"] == "Juniper" and r["category"] == "BGP")
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
import pandas as pd
|
| 85 |
+
df = pd.read_parquet("hf://datasets/gesh75/multivendor-cli-commands/data/train.parquet")
|
| 86 |
+
```
|
data/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19483dbca62b997de65b099fc6b72f1f9caa0d2f9d85092fed9c68e60df212f4
|
| 3 |
+
size 986992
|