gesh75 commited on
Commit
c80f404
·
verified ·
1 Parent(s): ea01394

v1.1: 775 synthetic-intent → real-command pairs

Browse files
Files changed (5) hide show
  1. README.md +54 -0
  2. clean.py +24 -0
  3. data/test.jsonl +108 -0
  4. data/train.jsonl +0 -0
  5. data/val.jsonl +102 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ pretty_name: NetOps intent → CLI (synthetic intents, real commands)
4
+ language: [en]
5
+ tags: [networking, cli, synthetic, instruction-tuning]
6
+ size_categories: [n<1K]
7
+ task_categories: [text-generation]
8
+ configs:
9
+ - config_name: default
10
+ data_files:
11
+ - {split: train, path: data/train.jsonl}
12
+ - {split: validation, path: data/val.jsonl}
13
+ - {split: test, path: data/test.jsonl}
14
+ ---
15
+
16
+ # netops-intent2cli
17
+
18
+ **775 pairs of English operator intent → exact vendor CLI command, across 17 vendors.** Train 565 / validation 102 / test 108, split **by command** (no command in two splits).
19
+
20
+ ## Provenance — read this
21
+
22
+ - `command`: **real**, copied verbatim. It comes from [gesh75/multivendor-cli-commands](https://huggingface.co/datasets/gesh75/multivendor-cli-commands) (`source=corpus`) or the hand-curated concept set behind CLI Studio (`source=curated`). The only change is light normalization: stripped prompt prefixes like `[Huawei] ` and unescaped `\"`. The raw value is kept in `command_original`.
23
+ - `intent`: **synthetic**, written by xAI Grok (`grok-4.20-0309-non-reasoning`, Nov 2026). The model saw only vendor, OS and command, and wrote the intent text. It never wrote commands.
24
+ - **Filters:** 3–20 words, no verbatim restatement of the command, no duplicate intent per vendor, templated near-duplicates collapsed (e.g. VLAN-number variants), and a work-estate term scan. 1,558 candidates → 775 kept.
25
+
26
+ ## Schema
27
+ `intent, vendor, os, category, command, command_original, source`
28
+
29
+ ## Limitations
30
+ Intents are paraphrases of the commands, not real operator queries. FortiOS has only the curated pairs. Small. Commands are not validated per release; verify before use.
31
+
32
+ ## Load
33
+ ```python
34
+ from datasets import load_dataset
35
+ ds = load_dataset("gesh75/netops-intent2cli")
36
+ ```
37
+
38
+ Used to train [gesh75/netops-intent2cli-qwen0.5b-lora](https://huggingface.co/gesh75/netops-intent2cli-qwen0.5b-lora). MIT. Vendor command names are facts and trademarks of their vendors.
39
+
40
+ ---
41
+
42
+ ### GESH · NetOps tools on Hugging Face
43
+
44
+ | | |
45
+ |---|---|
46
+ | 📡 **[netlog-ai](https://huggingface.co/spaces/gesh75/netlog-ai)** | Sanitize-first network log analysis — browser lite demo of [netlog-ai v1.1.0](https://pypi.org/project/netlog-ai/) |
47
+ | 🛠️ **[multivendor-cli-configurator](https://huggingface.co/spaces/gesh75/multivendor-cli-configurator)** | 70k+ CLI commands across 17 vendors — cheatsheet, N-vendor compare, CLI Studio |
48
+ | 🗂️ **[multivendor-cli-commands](https://huggingface.co/datasets/gesh75/multivendor-cli-commands)** | The same 70,006 commands as a Parquet dataset |
49
+ | 🧭 **[netops-intent2cli](https://huggingface.co/datasets/gesh75/netops-intent2cli)** | 775 synthetic intent → real command pairs |
50
+ | 🤖 **[netops-intent2cli-qwen0.5b-lora](https://huggingface.co/gesh75/netops-intent2cli-qwen0.5b-lora)** | LoRA adapter: English intent → vendor CLI (experimental) |
51
+
52
+ Collection: **[NetOps tools](https://huggingface.co/collections/gesh75/netops-tools-6aef9999054238474f968bcd)** · Code: [github.com/gesh75](https://github.com/gesh75) · Docs hub: [gesh75.github.io](https://gesh75.github.io/)
53
+
54
+ **Doctrine:** fail closed · sanitize first · evidence leaves, packets don't · honest coverage.
clean.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json,re,collections,difflib
2
+ def norm_cmd(c):
3
+ c=re.sub(r'^\[[^\]]+\]\s*','',c); c=c.replace('\\"','"'); return c.strip()
4
+ def tmpl(s): return re.sub(r'\d+','N',s.lower())
5
+ stats=collections.Counter()
6
+ for sp in ['train','val','test']:
7
+ rows=[json.loads(l) for l in open(f'train/intent_v1/{sp}.jsonl')]
8
+ out=[];seen=set()
9
+ for r in rows:
10
+ c=norm_cmd(r['command'])
11
+ if c!=r['command']: stats['cmd_normalized']+=1
12
+ r['command_original']=r['command']; r['command']=c
13
+ it=r['intent'].strip()
14
+ # restate: intent tokens mostly == command tokens
15
+ ct=set(re.findall(r'[a-z0-9]+',c.lower())); itok=re.findall(r'[a-z0-9]+',it.lower())
16
+ if difflib.SequenceMatcher(None,it.lower(),c.lower()).ratio()>0.85 or (itok and all(t in ct for t in itok)):
17
+ stats['restate']+=1;continue
18
+ k=(r['vendor'],tmpl(c))
19
+ if k in seen: stats['templated_dup']+=1;continue
20
+ seen.add(k); out.append(r)
21
+ with open(f'train/intent_v1.1/{sp}.jsonl','w') as f:
22
+ for r in out: f.write(json.dumps(r)+'\n')
23
+ stats[sp]=len(out)
24
+ print(dict(stats))
data/test.jsonl ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"intent": "apply ACL Edge_Security_Policy_24 to vlan 240 ingress", "vendor": "Extreme", "os": "exos", "category": "VLAN", "command": "configure access-list Edge_Security_Policy_24 vlan Vlan-ID-240 ingress", "source": "corpus", "command_original": "configure access-list Edge_Security_Policy_24 vlan Vlan-ID-240 ingress"}
2
+ {"intent": "show IPv6 BGP peers with AS path regex", "vendor": "Arista", "os": "eos", "category": "BGP", "command": "show ipv6 bgp peers addr ROUTE regexp as_paths [VRF_INST]", "source": "corpus", "command_original": "show ipv6 bgp peers addr ROUTE regexp as_paths [VRF_INST]"}
3
+ {"intent": "add static route 172.16.125.0/24 via 10.1.1.125", "vendor": "Nokia", "os": "srlinux", "category": "Routing", "command": "set network-instance default static-routes route 172.16.125.0/24 next-hop 10.1.1.125", "source": "corpus", "command_original": "set network-instance default static-routes route 172.16.125.0/24 next-hop 10.1.1.125"}
4
+ {"intent": "add swp13 to ospf area 0.0.0.0", "vendor": "NVIDIA", "os": "nvue", "category": "OSPF", "command": "nv set vrfs default router ospf area 0.0.0.0 member swp13", "source": "corpus", "command_original": "nv set vrfs default router ospf area 0.0.0.0 member swp13"}
5
+ {"intent": "enter ospf process 1 configuration", "vendor": "Aruba", "os": "aoscx", "category": "Protocols", "command": "router ospf 1", "source": "corpus", "command_original": "router ospf 1"}
6
+ {"intent": "set babel interface type", "vendor": "FRR", "os": "frr", "category": "System", "command": "babel <wired|wireless>", "source": "corpus", "command_original": "babel <wired|wireless>"}
7
+ {"intent": "enable dhcp on ethernet 1 ipv4", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Set-NetIPInterface -InterfaceAlias \"Ethernet 1\" -AddressFamily IPv4 -Dhcp Enabled", "source": "corpus", "command_original": "Set-NetIPInterface -InterfaceAlias \"Ethernet 1\" -AddressFamily IPv4 -Dhcp Enabled"}
8
+ {"intent": "enable ISIS LDP synchronization", "vendor": "VyOS", "os": "vyos", "category": "ISIS", "command": "set protocols isis ldp-sync", "source": "corpus", "command_original": "set protocols isis ldp-sync"}
9
+ {"intent": "add IP address to vlan-270 interface", "vendor": "Mikrotik", "os": "routeros", "category": "VLAN", "command": "/ip address add address=192.168.27.1/24 interface=vlan-270 network=192.168.27.0", "source": "corpus", "command_original": "/ip address add address=192.168.27.1/24 interface=vlan-270 network=192.168.27.0"}
10
+ {"intent": "create network namespace netns_37", "vendor": "Linux", "os": "linux", "category": "System", "command": "ip netns add netns_37", "source": "corpus", "command_original": "ip netns add netns_37"}
11
+ {"intent": "configure VRRP group 4 with preempt on ge-0/0/4", "vendor": "Juniper", "os": "junos", "category": "HA", "command": "set interfaces ge-0/0/4 unit 0 family inet address 10.4.1.2/24 vrrp-group 4 preempt", "source": "corpus", "command_original": "set interfaces ge-0/0/4 unit 0 family inet address 10.4.1.2/24 vrrp-group 4 preempt"}
12
+ {"intent": "set hostname to Core", "vendor": "Cisco", "os": "ios", "category": "VLAN", "command": "hostname Core", "source": "corpus", "command_original": "hostname Core"}
13
+ {"intent": "enable DHCP server on subinterface", "vendor": "Nokia", "os": "srlinux", "category": "DHCP", "command": "set interface description subinterface type ipv4 admin-state dhcp-server admin-state", "source": "corpus", "command_original": "set interface description subinterface type ipv4 admin-state dhcp-server admin-state"}
14
+ {"intent": "enable DHCP on LAN 3 IPv4", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Set-NetIPInterface -InterfaceAlias \"LAN 3\" -AddressFamily IPv4 -Dhcp Enabled", "source": "corpus", "command_original": "Set-NetIPInterface -InterfaceAlias \"LAN 3\" -AddressFamily IPv4 -Dhcp Enabled"}
15
+ {"intent": "capture UDP port 67 on wlan1", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i wlan1 -f \"udp port 67\"", "source": "corpus", "command_original": "tshark -i wlan1 -f \"udp port 67\""}
16
+ {"intent": "perform inservice software upgrade", "vendor": "Juniper", "os": "junos", "category": "System", "command": "request system software inservice-upgrade (Maintenance)", "source": "corpus", "command_original": "request system software inservice-upgrade (Maintenance)"}
17
+ {"intent": "add static route 172.16.19.0/24", "vendor": "Huawei", "os": "vrp", "category": "Routing", "command": "ip route-static 172.16.19.0 255.255.255.0 10.255.1.19", "source": "corpus", "command_original": "ip route-static 172.16.19.0 255.255.255.0 10.255.1.19"}
18
+ {"intent": "set netflow transport responder port", "vendor": "Cisco", "os": "ios", "category": "Troubleshooting", "command": "collect transport responder port", "source": "corpus", "command_original": "collect transport responder port"}
19
+ {"intent": "clear ss7 sm statistics", "vendor": "Cisco", "os": "ios", "category": "Protocols", "command": "clear ss7 sm-stats", "source": "corpus", "command_original": "clear ss7 sm-stats"}
20
+ {"intent": "Configure MLAG peer 2 IP address", "vendor": "Extreme", "os": "exos", "category": "HA", "command": "configure mlag peer MLAG_Virtual_Peer_2 ipaddress 10.255.250.2", "source": "corpus", "command_original": "configure mlag peer MLAG_Virtual_Peer_2 ipaddress 10.255.250.2"}
21
+ {"intent": "configure ipv6 neighbor-discovery on subinterface", "vendor": "Nokia", "os": "srlinux", "category": "BGP", "command": "set interface description subinterface type ipv6 admin-state neighbor-discovery", "source": "corpus", "command_original": "set interface description subinterface type ipv6 admin-state neighbor-discovery"}
22
+ {"intent": "add IP 192.168.114.10/24 to eth2", "vendor": "Linux", "os": "linux", "category": "Interfaces", "command": "ip addr add 192.168.114.10/24 dev eth2", "source": "corpus", "command_original": "ip addr add 192.168.114.10/24 dev eth2"}
23
+ {"intent": "create admin-5 user with administrator group", "vendor": "Aruba", "os": "aoscx", "category": "System", "command": "user admin-5 group administrators password plaintextpwd123", "source": "corpus", "command_original": "user admin-5 group administrators password plaintextpwd123"}
24
+ {"intent": "accept forward from 192.168.13.0/24 to 10.0.0.13", "vendor": "Linux", "os": "linux", "category": "Security", "command": "iptables -A FORWARD -s 192.168.13.0/24 -d 10.0.0.13 -j ACCEPT", "source": "corpus", "command_original": "iptables -A FORWARD -s 192.168.13.0/24 -d 10.0.0.13 -j ACCEPT"}
25
+ {"intent": "capture ARP packets on lo to pcapng", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i lo -f \"arp\" -w /tmp/capture_lo_arp.pcapng", "source": "corpus", "command_original": "tshark -i lo -f \"arp\" -w /tmp/capture_lo_arp.pcapng"}
26
+ {"intent": "create user ro-viewer-read with read group", "vendor": "Mikrotik", "os": "routeros", "category": "System", "command": "/user add name=ro-viewer-read group=read password=plaintextpwd123", "source": "corpus", "command_original": "/user add name=ro-viewer-read group=read password=plaintextpwd123"}
27
+ {"intent": "capture arp on wlan1 to pcapng", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i wlan1 -f \"arp\" -w /tmp/capture_wlan1_arp.pcapng", "source": "corpus", "command_original": "tshark -i wlan1 -f \"arp\" -w /tmp/capture_wlan1_arp.pcapng"}
28
+ {"intent": "set vlan 510 description on default bridge", "vendor": "NVIDIA", "os": "nvue", "category": "VLAN", "command": "nv set bridge domain default vlan 510 description Vlan-Segment-ID-510", "source": "corpus", "command_original": "nv set bridge domain default vlan 510 description Vlan-Segment-ID-510"}
29
+ {"intent": "add static route for 172.16.83.0/24 via 10.255.1.83", "vendor": "Aruba", "os": "aoscx", "category": "Routing", "command": "ip route 172.16.83.0/24 10.255.1.83", "source": "corpus", "command_original": "ip route 172.16.83.0/24 10.255.1.83"}
30
+ {"intent": "show OSPF interface details", "vendor": "FRR", "os": "frr", "category": "System", "command": "show ip ospf interface [INTERFACE] [json]", "source": "corpus", "command_original": "show ip ospf interface [INTERFACE] [json]"}
31
+ {"intent": "show last 10 lines of all messages log", "vendor": "Juniper", "os": "junos", "category": "Troubleshooting", "command": "show log all-messages | last 10", "source": "corpus", "command_original": "show log all-messages | last 10"}
32
+ {"intent": "create VLAN 153", "vendor": "Huawei", "os": "vrp", "category": "Interfaces", "command": "vlan 153", "source": "corpus", "command_original": "[Huawei] vlan 153"}
33
+ {"intent": "create DHCP scope for 192.168.38.0/24", "vendor": "Microsoft", "os": "powershell", "category": "Protocols", "command": "Add-DhcpServerv4Scope -Name \"Scope-Net-38\" -StartRange 192.168.38.100 -EndRange 192.168.38.200 -SubnetMask 255.255.255.0", "source": "corpus", "command_original": "Add-DhcpServerv4Scope -Name \"Scope-Net-38\" -StartRange 192.168.38.100 -EndRange 192.168.38.200 -SubnetMask 255.255.255.0"}
34
+ {"intent": "add swp44 as untagged member of VLAN 440", "vendor": "NVIDIA", "os": "nvue", "category": "VLAN", "command": "nv set bridge domain default vlan 440 untagged member interface swp44", "source": "corpus", "command_original": "nv set bridge domain default vlan 440 untagged member interface swp44"}
35
+ {"intent": "assign IP address 10.19.1.1/24 to swp19", "vendor": "NVIDIA", "os": "nvue", "category": "Interfaces", "command": "nv set interface swp19 ip address 10.19.1.1/24", "source": "corpus", "command_original": "nv set interface swp19 ip address 10.19.1.1/24"}
36
+ {"intent": "display IPv4 settings for LAN 3 interface", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetIPInterface -InterfaceAlias \"LAN 3\" -AddressFamily IPv4", "source": "corpus", "command_original": "Get-NetIPInterface -InterfaceAlias \"LAN 3\" -AddressFamily IPv4"}
37
+ {"intent": "capture dhcp traffic on loopback to pcap", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i lo -f \"port 67\" -w /tmp/capture_lo_port_67.pcapng", "source": "corpus", "command_original": "tshark -i lo -f \"port 67\" -w /tmp/capture_lo_port_67.pcapng"}
38
+ {"intent": "enter configuration mode with command", "vendor": "Juniper", "os": "junos", "category": "System", "command": "configure command:", "source": "corpus", "command_original": "configure command:"}
39
+ {"intent": "configure pki enrollment profile", "vendor": "Cisco", "os": "ios", "category": "Security", "command": "crypto pki profile enrollment", "source": "corpus", "command_original": "crypto pki profile enrollment"}
40
+ {"intent": "add forward chain filter to drop subnet", "vendor": "Mikrotik", "os": "routeros", "category": "ACL", "command": "/ip firewall filter add chain=forward action=drop src-address=192.168.140.0/24 comment=\"Filter rules for subnet 140\"", "source": "corpus", "command_original": "/ip firewall filter add chain=forward action=drop src-address=192.168.140.0/24 comment=\"Filter rules for subnet 140\""}
41
+ {"intent": "load and merge template from ftp", "vendor": "Juniper", "os": "junos", "category": "System", "command": "load merge ftp://user:password@server/junos/templates/common-template", "source": "corpus", "command_original": "load merge ftp://user:password@server/junos/templates/common-template"}
42
+ {"intent": "capture snmp trap traffic on wlan1", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i wlan1 -f \"port 162\" -w /tmp/capture_wlan1_port_162.pcapng", "source": "corpus", "command_original": "tshark -i wlan1 -f \"port 162\" -w /tmp/capture_wlan1_port_162.pcapng"}
43
+ {"intent": "create dhcp pool 192.168.83.10-192.168.83.100", "vendor": "Mikrotik", "os": "routeros", "category": "DHCP", "command": "/ip pool add name=dhcp-pool-83 ranges=192.168.83.10-192.168.83.100", "source": "corpus", "command_original": "/ip pool add name=dhcp-pool-83 ranges=192.168.83.10-192.168.83.100"}
44
+ {"intent": "show DHCPv4 scopes for 192.168.15.0", "vendor": "Microsoft", "os": "powershell", "category": "Protocols", "command": "Get-DhcpServerv4Scope -ScopeId 192.168.15.0", "source": "corpus", "command_original": "Get-DhcpServerv4Scope -ScopeId 192.168.15.0"}
45
+ {"intent": "show ip addresses on Ethernet 76", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetIPAddress -InterfaceAlias \"Ethernet 76\"", "source": "corpus", "command_original": "Get-NetIPAddress -InterfaceAlias \"Ethernet 76\""}
46
+ {"intent": "create vlan 58 subinterface on eth0", "vendor": "Linux", "os": "linux", "category": "Interfaces", "command": "ip link add link eth0 name eth0.58 type vlan id 58", "source": "corpus", "command_original": "ip link add link eth0 name eth0.58 type vlan id 58"}
47
+ {"intent": "add ip address to Ethernet 37 interface", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "New-NetIPAddress -InterfaceAlias \"Ethernet 37\" -IPAddress 192.168.37.10 -PrefixLength 24 -DefaultGateway 192.168.37.1", "source": "corpus", "command_original": "New-NetIPAddress -InterfaceAlias \"Ethernet 37\" -IPAddress 192.168.37.10 -PrefixLength 24 -DefaultGateway 192.168.37.1"}
48
+ {"intent": "show ip igmp joins", "vendor": "FRR", "os": "frr", "category": "System", "command": "show ip igmp [vrf NAME] join [json]", "source": "corpus", "command_original": "show ip igmp [vrf NAME] join [json]"}
49
+ {"intent": "show specific vlan ids", "vendor": "Cisco", "os": "ios", "category": "VLAN", "command": "show vlan id 1-4,3,7,5-20", "source": "corpus", "command_original": "show vlan id 1-4,3,7,5-20"}
50
+ {"intent": "capture host 192.168.45.1 to pcap", "vendor": "Linux", "os": "linux", "category": "Interfaces", "command": "tcpdump -i any -n -w /tmp/dump_45.pcap \"ip host 192.168.45.1\"", "source": "corpus", "command_original": "tcpdump -i any -n -w /tmp/dump_45.pcap \"ip host 192.168.45.1\""}
51
+ {"intent": "display UDP port 145", "vendor": "Wireshark", "os": "tshark", "category": "Protocols", "command": "udp.port == 145", "source": "corpus", "command_original": "udp.port == 145"}
52
+ {"intent": "Show BGP for specific VRF", "vendor": "Arista", "os": "eos", "category": "BGP", "command": "show ip bgp vrf [vrf_name | all | default]", "source": "corpus", "command_original": "show ip bgp vrf [vrf_name | all | default]"}
53
+ {"intent": "Capture HTTPS traffic on docker0", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i docker0 -f \"port 443\"", "source": "corpus", "command_original": "tshark -i docker0 -f \"port 443\""}
54
+ {"intent": "Configure SNMP user add or delete", "vendor": "SONiC", "os": "sonic", "category": "SNMP", "command": "config snmp user add/del", "source": "corpus", "command_original": "config snmp user add/del"}
55
+ {"intent": "Force specific VRF context", "vendor": "VyOS", "os": "vyos", "category": "System", "command": "force vrf <name>", "source": "corpus", "command_original": "force vrf <name>"}
56
+ {"intent": "show evpn ethernet-segment evi for specific vni", "vendor": "FRR", "os": "frr", "category": "EVPN", "command": "show evpn es-evi [vni (1-16777215)] [detail] [json]", "source": "corpus", "command_original": "show evpn es-evi [vni (1-16777215)] [detail] [json]"}
57
+ {"intent": "match invalid command in route map", "vendor": "Cisco", "os": "ios", "category": "Security", "command": "match invalid-command", "source": "corpus", "command_original": "match invalid-command"}
58
+ {"intent": "remove route to 10.0.107.0/24", "vendor": "Microsoft", "os": "powershell", "category": "Protocols", "command": "Remove-NetRoute -DestinationPrefix 10.0.107.0/24 -Confirm:$false", "source": "corpus", "command_original": "Remove-NetRoute -DestinationPrefix 10.0.107.0/24 -Confirm:$false"}
59
+ {"intent": "configure syslog server 192.168.10.15", "vendor": "PAN-OS", "os": "panos", "category": "Logging", "command": "set shared log-settings syslog Syslog_Profile server Syslog_Server15 server 192.168.10.15 port 514", "source": "corpus", "command_original": "set shared log-settings syslog Syslog_Profile server Syslog_Server15 server 192.168.10.15 port 514"}
60
+ {"intent": "add static route 172.16.12.0/24 via 10.255.0.2", "vendor": "NVIDIA", "os": "nvue", "category": "Routing", "command": "nv set vrfs default router static route 172.16.12.0/24 via 10.255.0.2", "source": "corpus", "command_original": "nv set vrfs default router static route 172.16.12.0/24 via 10.255.0.2"}
61
+ {"intent": "set policy term then metric to 50", "vendor": "Juniper", "os": "junos", "category": "BGP", "command": "set policy-options policy-statement EXPORT-BGP-POLICY-9 term Matchterm then metric 50", "source": "corpus", "command_original": "set policy-options policy-statement EXPORT-BGP-POLICY-9 term Matchterm then metric 50"}
62
+ {"intent": "set shell login banner message", "vendor": "Huawei", "os": "vrp", "category": "VLAN", "command": "header shell \"Unauthorized access is prohibited on Huawei router!\"", "source": "corpus", "command_original": "header shell \"Unauthorized access is prohibited on Huawei router!\""}
63
+ {"intent": "resolve dns name to A record", "vendor": "Microsoft", "os": "powershell", "category": "Protocols", "command": "Resolve-DnsName -Name \"domain-node28.internal.lan\" -Type A", "source": "corpus", "command_original": "Resolve-DnsName -Name \"domain-node28.internal.lan\" -Type A"}
64
+ {"intent": "set HAProxy check timeout in seconds", "vendor": "VyOS", "os": "vyos", "category": "System", "command": "set load-balancing haproxy timeout check <seconds>", "source": "corpus", "command_original": "set load-balancing haproxy timeout check <seconds>"}
65
+ {"intent": "capture DNS traffic on loopback", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i lo -f \"port 53\"", "source": "corpus", "command_original": "tshark -i lo -f \"port 53\""}
66
+ {"intent": "configure register checksum full", "vendor": "Arista", "os": "eos", "category": "Multicast", "command": "register checksum [full | header]", "source": "corpus", "command_original": "register checksum [full | header]"}
67
+ {"intent": "enable console port", "vendor": "SONiC", "os": "sonic", "category": "System", "command": "config console enable", "source": "corpus", "command_original": "config console enable"}
68
+ {"intent": "enable admin user", "vendor": "Nokia", "os": "sros", "category": "Misc", "command": "enable-admin", "source": "corpus", "command_original": "enable-admin"}
69
+ {"intent": "add port 1:14 to mlag peer", "vendor": "Extreme", "os": "exos", "category": "Interfaces", "command": "configure mlag peer MLAG_Virtual_Peer_14 member port 1:14", "source": "corpus", "command_original": "configure mlag peer MLAG_Virtual_Peer_14 member port 1:14"}
70
+ {"intent": "show rib ipv6 routes", "vendor": "Arista", "os": "eos", "category": "System", "command": "show rib route ipv6 [vrf vrf_name] [PREFIX][ROUTE TYPE]", "source": "corpus", "command_original": "show rib route ipv6 [vrf vrf_name] [PREFIX][ROUTE TYPE]"}
71
+ {"intent": "assign IP address 192.168.35.1/24 to VLAN 350", "vendor": "NVIDIA", "os": "nvue", "category": "Interfaces", "command": "nv set interface vlan350 ip address 192.168.35.1/24", "source": "corpus", "command_original": "nv set interface vlan350 ip address 192.168.35.1/24"}
72
+ {"intent": "ping 192.168.11.1 with 1472 byte packets", "vendor": "Linux", "os": "linux", "category": "Protocols", "command": "ping -c 5 -i 0.2 -s 1472 192.168.11.1", "source": "corpus", "command_original": "ping -c 5 -i 0.2 -s 1472 192.168.11.1"}
73
+ {"intent": "enable TI-LFA SRLG strict fast reroute", "vendor": "Arista", "os": "eos", "category": "Routing", "command": "fast-reroute ti-lfa srlg [strict]", "source": "corpus", "command_original": "fast-reroute ti-lfa srlg [strict]"}
74
+ {"intent": "show IDP JIST package version", "vendor": "Juniper", "os": "junos", "category": "Firewall", "command": "show security idp jist-packageversion", "source": "corpus", "command_original": "show security idp jist-packageversion"}
75
+ {"intent": "enable DHCP on Wi-Fi interface", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Set-NetIPInterface -InterfaceAlias \"Wi-Fi 17\" -AddressFamily IPv4 -Dhcp Enabled", "source": "corpus", "command_original": "Set-NetIPInterface -InterfaceAlias \"Wi-Fi 17\" -AddressFamily IPv4 -Dhcp Enabled"}
76
+ {"intent": "delay execution by seconds", "vendor": "Arista", "os": "eos", "category": "System", "command": "delay seconds", "source": "corpus", "command_original": "delay seconds"}
77
+ {"intent": "show SNMP users", "vendor": "Arista", "os": "eos", "category": "SNMP", "command": "show snmp user [USER_LIST]", "source": "corpus", "command_original": "show snmp user [USER_LIST]"}
78
+ {"intent": "enter BGP router configuration", "vendor": "Arista", "os": "eos", "category": "BGP", "command": "router bgp num", "source": "corpus", "command_original": "router bgp num"}
79
+ {"intent": "set port 5:3 to full duplex", "vendor": "Extreme", "os": "exos", "category": "Interfaces", "command": "configure ports 5:3 duplex full", "source": "corpus", "command_original": "configure ports 5:3 duplex full"}
80
+ {"intent": "show SNMP community configuration", "vendor": "SONiC", "os": "sonic", "category": "SNMP", "command": "show runningconfiguration snmp community", "source": "corpus", "command_original": "show runningconfiguration snmp community"}
81
+ {"intent": "Capture DHCP traffic on any interface to file", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i any -f \"port 68\" -w /tmp/capture_any_port_68.pcapng", "source": "corpus", "command_original": "tshark -i any -f \"port 68\" -w /tmp/capture_any_port_68.pcapng"}
82
+ {"intent": "Enable IP routing on VLAN 460", "vendor": "Extreme", "os": "exos", "category": "VLAN", "command": "enable iprouting vlan Vlan-ID-460", "source": "corpus", "command_original": "enable iprouting vlan Vlan-ID-460"}
83
+ {"intent": "Show SNMP agent listening addresses", "vendor": "SONiC", "os": "sonic", "category": "Troubleshooting", "command": "show snmpagentaddress", "source": "corpus", "command_original": "show snmpagentaddress"}
84
+ {"intent": "capture port 162 on bridge br0", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i br0 -f \"port 162\" -w /tmp/capture_br0_port_162.pcapng", "source": "corpus", "command_original": "tshark -i br0 -f \"port 162\" -w /tmp/capture_br0_port_162.pcapng"}
85
+ {"intent": "delete ip rule for 192.168.52.0/24 table 152", "vendor": "Linux", "os": "linux", "category": "Protocols", "command": "ip rule del from 192.168.52.0/24 table 152", "source": "corpus", "command_original": "ip rule del from 192.168.52.0/24 table 152"}
86
+ {"intent": "add forward chain rule for 192.168.76.0/24", "vendor": "Mikrotik", "os": "routeros", "category": "ACL", "command": "/ip firewall filter add chain=forward action=accept src-address=192.168.76.0/24 comment=\"Filter rules for subnet 76\"", "source": "corpus", "command_original": "/ip firewall filter add chain=forward action=accept src-address=192.168.76.0/24 comment=\"Filter rules for subnet 76\""}
87
+ {"intent": "create ip vrf vrf-cust-2", "vendor": "Nokia", "os": "srlinux", "category": "EVPN", "command": "set network-instance vrf-cust-2 type ip-vrf admin-state enable", "source": "corpus", "command_original": "set network-instance vrf-cust-2 type ip-vrf admin-state enable"}
88
+ {"intent": "capture DHCP traffic on en1 to pcapng", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i en1 -f \"port 67\" -w /tmp/capture_en1_port_67.pcapng", "source": "corpus", "command_original": "tshark -i en1 -f \"port 67\" -w /tmp/capture_en1_port_67.pcapng"}
89
+ {"intent": "create VLAN 460 on bridge-vlan-1", "vendor": "Mikrotik", "os": "routeros", "category": "VLAN", "command": "/interface vlan add name=vlan-460 vlan-id=460 interface=bridge-vlan-1", "source": "corpus", "command_original": "/interface vlan add name=vlan-460 vlan-id=460 interface=bridge-vlan-1"}
90
+ {"intent": "show BGP routes for 10. 192.168 and 172.16", "vendor": "Juniper", "os": "junos", "category": "BGP", "command": "show route protocol bgp terse | match 10\\.| 192.168| 172.16.*.*/*", "source": "corpus", "command_original": "show route protocol bgp terse | match 10\\.| 192.168| 172.16.*.*/*"}
91
+ {"intent": "set Management 37 MTU to 6500", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Set-NetAdapter -Name \"Management 37\" -MtuSize 6500", "source": "corpus", "command_original": "Set-NetAdapter -Name \"Management 37\" -MtuSize 6500"}
92
+ {"intent": "grant superuser role to operator-20", "vendor": "PAN-OS", "os": "panos", "category": "System", "command": "set mgt-config users operator-20 permissions role-based superuser yes", "source": "corpus", "command_original": "set mgt-config users operator-20 permissions role-based superuser yes"}
93
+ {"intent": "add BGP connection to 10.0.0.2 remote-as 65002", "vendor": "Mikrotik", "os": "routeros", "category": "BGP", "command": "/routing bgp connection add name=peer1 as=65001 remote.address=10.0.0.2 remote.as=65002", "source": "curated", "command_original": "/routing bgp connection add name=peer1 as=65001 remote.address=10.0.0.2 remote.as=65002"}
94
+ {"intent": "configure OSPF network 10.0.0.0/24 in area 0", "vendor": "Arista", "os": "eos", "category": "OSPF", "command": "router ospf 1\n router-id 1.1.1.1\n network 10.0.0.0/24 area 0", "source": "curated", "command_original": "router ospf 1\n router-id 1.1.1.1\n network 10.0.0.0/24 area 0"}
95
+ {"intent": "configure OSPF network 10.0.0.0/24 in area 0", "vendor": "FRR", "os": "frr", "category": "OSPF", "command": "router ospf\n ospf router-id 1.1.1.1\n network 10.0.0.0/24 area 0", "source": "curated", "command_original": "router ospf\n ospf router-id 1.1.1.1\n network 10.0.0.0/24 area 0"}
96
+ {"intent": "add OSPF to vlan UNDERLAY in area 0", "vendor": "Extreme", "os": "exos", "category": "OSPF", "command": "enable ospf\nconfigure ospf routerid 1.1.1.1\nconfigure ospf add vlan UNDERLAY area 0.0.0.0", "source": "curated", "command_original": "enable ospf\nconfigure ospf routerid 1.1.1.1\nconfigure ospf add vlan UNDERLAY area 0.0.0.0"}
97
+ {"intent": "configure OSPF network 10.0.0.0/24 in area 0", "vendor": "SONiC", "os": "sonic", "category": "OSPF", "command": "router ospf\n ospf router-id 1.1.1.1\n network 10.0.0.0/24 area 0", "source": "curated", "command_original": "router ospf\n ospf router-id 1.1.1.1\n network 10.0.0.0/24 area 0"}
98
+ {"intent": "configure interface GigabitEthernet0/0/0 with IP 10.0.0.1/24", "vendor": "Huawei", "os": "vrp", "category": "Interfaces", "command": "interface GigabitEthernet0/0/0\n description UPLINK\n ip address 10.0.0.1 255.255.255.0\n undo shutdown", "source": "curated", "command_original": "interface GigabitEthernet0/0/0\n description UPLINK\n ip address 10.0.0.1 255.255.255.0\n undo shutdown"}
99
+ {"intent": "configure interface 1/1/1 with IP 10.0.0.1/24", "vendor": "Aruba", "os": "aoscx", "category": "Interfaces", "command": "interface 1/1/1\n description UPLINK\n no shutdown\n ip address 10.0.0.1/24", "source": "curated", "command_original": "interface 1/1/1\n description UPLINK\n no shutdown\n ip address 10.0.0.1/24"}
100
+ {"intent": "create VLAN 10 named USERS", "vendor": "Aruba", "os": "aoscx", "category": "VLAN", "command": "vlan 10\nvlan 10 name USERS", "source": "curated", "command_original": "vlan 10\nvlan 10 name USERS"}
101
+ {"intent": "create VLAN 10 with IP 10.10.10.1/24 on port1", "vendor": "FortiOS", "os": "fortios", "category": "VLAN", "command": "config system interface\n edit VLAN10\n set vdom root\n set interface port1\n set type vlan\n set vlanid 10\n set ip 10.10.10.1 255.255.255.0\n next\nend", "source": "curated", "command_original": "config system interface\n edit VLAN10\n set vdom root\n set interface port1\n set type vlan\n set vlanid 10\n set ip 10.10.10.1 255.255.255.0\n next\nend"}
102
+ {"intent": "create LACP lag 1 with description LAG-UPLINK", "vendor": "Aruba", "os": "aoscx", "category": "EtherChannel", "command": "interface lag 1\n description LAG-UPLINK\n no shutdown\n lacp mode active\ninterface 1/1/1\n lag 1", "source": "curated", "command_original": "interface lag 1\n description LAG-UPLINK\n no shutdown\n lacp mode active\ninterface 1/1/1\n lag 1"}
103
+ {"intent": "set bfd peer multiplier 3 and bgp neighbor bfd", "vendor": "VyOS", "os": "vyos", "category": "BFD", "command": "set protocols bfd peer 10.0.0.2 interval multiplier 3\nset protocols bgp 65001 neighbor 10.0.0.2 bfd", "source": "curated", "command_original": "set protocols bfd peer 10.0.0.2 interval multiplier 3\nset protocols bgp 65001 neighbor 10.0.0.2 bfd"}
104
+ {"intent": "enable bfd on ethernet-1/1.0 and bgp neighbor", "vendor": "Nokia", "os": "srlinux", "category": "BFD", "command": "set / bfd subinterface ethernet-1/1.0 admin-state enable\nset / network-instance default protocols bgp neighbor 10.0.0.2 failure-detection enable-bfd true", "source": "curated", "command_original": "set / bfd subinterface ethernet-1/1.0 admin-state enable\nset / network-instance default protocols bgp neighbor 10.0.0.2 failure-detection enable-bfd true"}
105
+ {"intent": "set rstp bridge-priority 4k and edge interface", "vendor": "Juniper", "os": "junos", "category": "Spanning-Tree", "command": "set protocols rstp bridge-priority 4k\nset protocols rstp interface ge-0/0/0 edge", "source": "curated", "command_original": "set protocols rstp bridge-priority 4k\nset protocols rstp interface ge-0/0/0 edge"}
106
+ {"intent": "enable rstp with priority 4096", "vendor": "Huawei", "os": "vrp", "category": "Spanning-Tree", "command": "stp enable\nstp mode rstp\nstp priority 4096", "source": "curated", "command_original": "stp enable\nstp mode rstp\nstp priority 4096"}
107
+ {"intent": "show IPv4 routing table", "vendor": "Microsoft", "os": "powershell", "category": "Troubleshooting", "command": "Get-NetRoute -AddressFamily IPv4 | Format-Table -AutoSize", "source": "curated", "command_original": "Get-NetRoute -AddressFamily IPv4 | Format-Table -AutoSize"}
108
+ {"intent": "show main routing table", "vendor": "Linux", "os": "linux", "category": "Troubleshooting", "command": "ip route show table main", "source": "curated", "command_original": "ip route show table main"}
data/train.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/val.jsonl ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"intent": "show command suggestions", "vendor": "Nokia", "os": "sros", "category": "Misc", "command": "suggest-", "source": "corpus", "command_original": "suggest-"}
2
+ {"intent": "save running configuration", "vendor": "Aruba", "os": "aoscx", "category": "System", "command": "write memory", "source": "corpus", "command_original": "write memory"}
3
+ {"intent": "enable bgp neighbor 10.255.33.1 with as 65033", "vendor": "Nokia", "os": "srlinux", "category": "BGP", "command": "set network-instance default protocols bgp neighbor 10.255.33.1 peer-as 65033 admin-state enable", "source": "corpus", "command_original": "set network-instance default protocols bgp neighbor 10.255.33.1 peer-as 65033 admin-state enable"}
4
+ {"intent": "set swp43 mtu to 9000", "vendor": "NVIDIA", "os": "nvue", "category": "Interfaces", "command": "nv set interface swp43 link mtu 9000", "source": "corpus", "command_original": "nv set interface swp43 link mtu 9000"}
5
+ {"intent": "show port 4:21 detailed info", "vendor": "Extreme", "os": "exos", "category": "Troubleshooting", "command": "show ports 4:21 info detail", "source": "corpus", "command_original": "show ports 4:21 info detail"}
6
+ {"intent": "show IGMP group count summary", "vendor": "Arista", "os": "eos", "category": "Multicast", "command": "show ip igmp groups [GROUP_LIST] count", "source": "corpus", "command_original": "show ip igmp groups [GROUP_LIST] count"}
7
+ {"intent": "configure IPv4 address on ethernet-1/48", "vendor": "Nokia", "os": "srlinux", "category": "Interfaces", "command": "set interface ethernet-1/48 subinterface 0 ipv4 address 10.48.1.1/30", "source": "corpus", "command_original": "set interface ethernet-1/48 subinterface 0 ipv4 address 10.48.1.1/30"}
8
+ {"intent": "capture DHCP packets on wlan0 to file", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i wlan0 -f \"port 67\" -w /tmp/capture_wlan0_port_67.pcapng", "source": "corpus", "command_original": "tshark -i wlan0 -f \"port 67\" -w /tmp/capture_wlan0_port_67.pcapng"}
9
+ {"intent": "set ether14 MTU 9000 and 10G speed", "vendor": "Mikrotik", "os": "routeros", "category": "Interfaces", "command": "/interface ethernet set ether14 mtu=9000 speed=10Gbps", "source": "corpus", "command_original": "/interface ethernet set ether14 mtu=9000 speed=10Gbps"}
10
+ {"intent": "configure ethernet1/47 layer3 ip address", "vendor": "PAN-OS", "os": "panos", "category": "Interfaces", "command": "set network interface ethernet ethernet1/47 layer3 ip 10.47.1.1/24", "source": "corpus", "command_original": "set network interface ethernet ethernet1/47 layer3 ip 10.47.1.1/24"}
11
+ {"intent": "delete ip address 192.168.99.10 from eth3", "vendor": "Linux", "os": "linux", "category": "Interfaces", "command": "ip addr del 192.168.99.10/24 dev eth3", "source": "corpus", "command_original": "ip addr del 192.168.99.10/24 dev eth3"}
12
+ {"intent": "capture tcp port 80 on wlan0 to file", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i wlan0 -f \"tcp port 80\" -w /tmp/capture_wlan0_tcp_port_80.pcapng", "source": "corpus", "command_original": "tshark -i wlan0 -f \"tcp port 80\" -w /tmp/capture_wlan0_tcp_port_80.pcapng"}
13
+ {"intent": "add static route 172.16.38.0/24 via 10.255.1.38", "vendor": "Extreme", "os": "exos", "category": "Routing", "command": "configure iproute add 172.16.38.0/24 10.255.1.38", "source": "corpus", "command_original": "configure iproute add 172.16.38.0/24 10.255.1.38"}
14
+ {"intent": "get IP addresses on Ethernet 99 interface", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetIPAddress -InterfaceAlias \"Ethernet 99\"", "source": "corpus", "command_original": "Get-NetIPAddress -InterfaceAlias \"Ethernet 99\""}
15
+ {"intent": "assign IP 192.168.50.1/24 to vlan500", "vendor": "NVIDIA", "os": "nvue", "category": "Interfaces", "command": "nv set interface vlan500 ip address 192.168.50.1/24", "source": "corpus", "command_original": "nv set interface vlan500 ip address 192.168.50.1/24"}
16
+ {"intent": "set auto-techsupport rate limit interval", "vendor": "SONiC", "os": "sonic", "category": "System", "command": "config auto-techsupport global rate-limit-interval <uint16>", "source": "corpus", "command_original": "config auto-techsupport global rate-limit-interval <uint16>"}
17
+ {"intent": "enable mobile debug with username", "vendor": "Cisco", "os": "ios", "category": "Troubleshooting", "command": "ip mobile debug include username", "source": "corpus", "command_original": "ip mobile debug include username"}
18
+ {"intent": "set ethernet-1/24 MTU to 9000", "vendor": "Nokia", "os": "srlinux", "category": "Interfaces", "command": "set interface ethernet-1/24 ethernet mtu 9000", "source": "corpus", "command_original": "set interface ethernet-1/24 ethernet mtu 9000"}
19
+ {"intent": "enable LAN 43 adapter", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Enable-NetAdapter -Name \"LAN 43\"", "source": "corpus", "command_original": "Enable-NetAdapter -Name \"LAN 43\""}
20
+ {"intent": "show EVPN MAC for VNI", "vendor": "FRR", "os": "frr", "category": "EVPN", "command": "show evpn mac vni (1-16777215) mac WORD [json]", "source": "corpus", "command_original": "show evpn mac vni (1-16777215) mac WORD [json]"}
21
+ {"intent": "set motd banner from file", "vendor": "FRR", "os": "frr", "category": "System", "command": "banner motd file FILE", "source": "corpus", "command_original": "banner motd file FILE"}
22
+ {"intent": "show IPv4 info for Wi-Fi 28", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetIPInterface -InterfaceAlias \"Wi-Fi 28\" -AddressFamily IPv4", "source": "corpus", "command_original": "Get-NetIPInterface -InterfaceAlias \"Wi-Fi 28\" -AddressFamily IPv4"}
23
+ {"intent": "show cable modem tech support", "vendor": "Cisco", "os": "ios", "category": "Troubleshooting", "command": "show cable tech-support", "source": "corpus", "command_original": "show cable tech-support"}
24
+ {"intent": "show LAN 6 adapter details", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetAdapter -Name \"LAN 6\"", "source": "corpus", "command_original": "Get-NetAdapter -Name \"LAN 6\""}
25
+ {"intent": "add static route 172.16.124.0/24", "vendor": "Nokia", "os": "srlinux", "category": "Routing", "command": "set network-instance default static-routes route 172.16.124.0/24 next-hop 10.1.1.124", "source": "corpus", "command_original": "set network-instance default static-routes route 172.16.124.0/24 next-hop 10.1.1.124"}
26
+ {"intent": "Show IPv6 virtual router status", "vendor": "Arista", "os": "eos", "category": "System", "command": "show ipv6 virtual-router", "source": "corpus", "command_original": "show ipv6 virtual-router"}
27
+ {"intent": "Create VLAN with ID 710", "vendor": "Extreme", "os": "exos", "category": "VLAN", "command": "create vlan Vlan-ID-710", "source": "corpus", "command_original": "create vlan Vlan-ID-710"}
28
+ {"intent": "Add VLAN 280 to OSPF area 0.0.0.0", "vendor": "Extreme", "os": "exos", "category": "OSPF", "command": "configure ospf add vlan Vlan-ID-280 area 0.0.0.0", "source": "corpus", "command_original": "configure ospf add vlan Vlan-ID-280 area 0.0.0.0"}
29
+ {"intent": "Enter configuration for Eth-Trunk 4", "vendor": "Huawei", "os": "vrp", "category": "VLAN", "command": "interface Eth-Trunk 4", "source": "corpus", "command_original": "interface Eth-Trunk 4"}
30
+ {"intent": "add interface ethernet-1/20.0 to vrf-cust-20", "vendor": "Nokia", "os": "srlinux", "category": "Interfaces", "command": "set network-instance vrf-cust-20 interface ethernet-1/20.0", "source": "corpus", "command_original": "set network-instance vrf-cust-20 interface ethernet-1/20.0"}
31
+ {"intent": "configure host route 192.168.3.3/32", "vendor": "Juniper", "os": "junos", "category": "Routing", "command": "set 192.168.3.3/32", "source": "corpus", "command_original": "set 192.168.3.3/32"}
32
+ {"intent": "exit from current configuration level", "vendor": "Juniper", "os": "junos", "category": "System", "command": "exit Exit from this level", "source": "corpus", "command_original": "exit Exit from this level"}
33
+ {"intent": "add forward chain rule for subnet 132", "vendor": "Mikrotik", "os": "routeros", "category": "ACL", "command": "/ip firewall filter add chain=forward action=accept src-address=192.168.132.0/24 comment=\"Filter rules for subnet 132\"", "source": "corpus", "command_original": "/ip firewall filter add chain=forward action=accept src-address=192.168.132.0/24 comment=\"Filter rules for subnet 132\""}
34
+ {"intent": "send logs to 192.168.100.17 at info level", "vendor": "Huawei", "os": "vrp", "category": "System", "command": "info-center loghost 192.168.100.17 local0 info", "source": "corpus", "command_original": "[Huawei] info-center loghost 192.168.100.17 local0 info"}
35
+ {"intent": "set ISIS LSP generation interval", "vendor": "VyOS", "os": "vyos", "category": "ISIS", "command": "set protocols isis lsp-gen-interval <seconds>", "source": "corpus", "command_original": "set protocols isis lsp-gen-interval <seconds>"}
36
+ {"intent": "resolve hostname server-node31.corp.net", "vendor": "Linux", "os": "linux", "category": "Protocols", "command": "resolvectl query server-node31.corp.net", "source": "corpus", "command_original": "resolvectl query server-node31.corp.net"}
37
+ {"intent": "create vlan 107", "vendor": "Huawei", "os": "vrp", "category": "Interfaces", "command": "vlan 107", "source": "corpus", "command_original": "[Huawei] vlan 107"}
38
+ {"intent": "display the full running configuration", "vendor": "Juniper", "os": "junos", "category": "System", "command": "show configuration", "source": "corpus", "command_original": "show configuration"}
39
+ {"intent": "add IP address to eth0 interface", "vendor": "Linux", "os": "linux", "category": "Interfaces", "command": "ip addr add 192.168.56.10/24 dev eth0", "source": "corpus", "command_original": "ip addr add 192.168.56.10/24 dev eth0"}
40
+ {"intent": "show ripng ipv6 routing status", "vendor": "VyOS", "os": "vyos", "category": "RIP", "command": "show ipv6 ripng status", "source": "corpus", "command_original": "show ipv6 ripng status"}
41
+ {"intent": "assign IPv6 address to subinterface", "vendor": "Nokia", "os": "srlinux", "category": "Interfaces", "command": "set interface ethernet-1/28 subinterface 0 ipv6 address 2001:db8:28::1/64", "source": "corpus", "command_original": "set interface ethernet-1/28 subinterface 0 ipv6 address 2001:db8:28::1/64"}
42
+ {"intent": "disable syslog rate limiting", "vendor": "SONiC", "os": "sonic", "category": "Logging", "command": "config syslog rate-limit-feature disable", "source": "corpus", "command_original": "config syslog rate-limit-feature disable"}
43
+ {"intent": "capture tcp port 443 on wlan1", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i wlan1 -f \"tcp port 443\"", "source": "corpus", "command_original": "tshark -i wlan1 -f \"tcp port 443\""}
44
+ {"intent": "enable interface vlan70", "vendor": "NVIDIA", "os": "nvue", "category": "Interfaces", "command": "nv set interface vlan70 link state up", "source": "corpus", "command_original": "nv set interface vlan70 link state up"}
45
+ {"intent": "set description for security rule Policy_Entry_57", "vendor": "PAN-OS", "os": "panos", "category": "VLAN", "command": "set rulebase security rules Policy_Entry_57 description \"Firewall Policy Access control rule ID 57\"", "source": "corpus", "command_original": "set rulebase security rules Policy_Entry_57 description \"Firewall Policy Access control rule ID 57\""}
46
+ {"intent": "configure multicast route for specific prefix", "vendor": "FRR", "os": "frr", "category": "System", "command": "ip mroute PREFIX NEXTHOP [DISTANCE]", "source": "corpus", "command_original": "ip mroute PREFIX NEXTHOP [DISTANCE]"}
47
+ {"intent": "run multicast router information query", "vendor": "Nokia", "os": "sros", "category": "Misc", "command": "mrinfo", "source": "corpus", "command_original": "mrinfo"}
48
+ {"intent": "add static route for 172.16.85.0/24", "vendor": "Aruba", "os": "aoscx", "category": "Routing", "command": "ip route 172.16.85.0/24 10.255.1.85", "source": "corpus", "command_original": "ip route 172.16.85.0/24 10.255.1.85"}
49
+ {"intent": "enable interface swp18 link state", "vendor": "NVIDIA", "os": "nvue", "category": "Interfaces", "command": "nv set interface swp18 link state up", "source": "corpus", "command_original": "nv set interface swp18 link state up"}
50
+ {"intent": "assign threat profile group to security rule Policy_Entry_169", "vendor": "PAN-OS", "os": "panos", "category": "Firewall", "command": "set rulebase security rules Policy_Entry_169 profile-setting group Threat-Profiles-Group", "source": "corpus", "command_original": "set rulebase security rules Policy_Entry_169 profile-setting group Threat-Profiles-Group"}
51
+ {"intent": "create dhcp server on vlan-350", "vendor": "Mikrotik", "os": "routeros", "category": "VLAN", "command": "/ip dhcp-server add name=dhcp-srv-35 interface=vlan-350 address-pool=dhcp-pool-35 disabled=no", "source": "corpus", "command_original": "/ip dhcp-server add name=dhcp-srv-35 interface=vlan-350 address-pool=dhcp-pool-35 disabled=no"}
52
+ {"intent": "add static ARP 192.168.134.254 on eth2", "vendor": "Linux", "os": "linux", "category": "Protocols", "command": "ip neigh add 192.168.134.254 lladdr 00:11:22:33:44:86 dev eth2", "source": "corpus", "command_original": "ip neigh add 192.168.134.254 lladdr 00:11:22:33:44:86 dev eth2"}
53
+ {"intent": "set port 1:3 auto-on", "vendor": "Extreme", "os": "exos", "category": "Interfaces", "command": "configure ports 1:3 auto-on", "source": "corpus", "command_original": "configure ports 1:3 auto-on"}
54
+ {"intent": "add or remove VLAN member", "vendor": "SONiC", "os": "sonic", "category": "VLAN", "command": "config vlan member add/del -m -e", "source": "corpus", "command_original": "config vlan member add/del -m -e"}
55
+ {"intent": "create VLAN 580 on bridge-vlan-1", "vendor": "Mikrotik", "os": "routeros", "category": "VLAN", "command": "/interface vlan add name=vlan-580 vlan-id=580 interface=bridge-vlan-1", "source": "corpus", "command_original": "/interface vlan add name=vlan-580 vlan-id=580 interface=bridge-vlan-1"}
56
+ {"intent": "Set operator-6 user password", "vendor": "PAN-OS", "os": "panos", "category": "System", "command": "set mgt-config users operator-6 password plaintextpwd123", "source": "corpus", "command_original": "set mgt-config users operator-6 password plaintextpwd123"}
57
+ {"intent": "Add route to 10.0.20.0/24", "vendor": "Linux", "os": "linux", "category": "Protocols", "command": "route add -net 10.0.20.0 netmask 255.255.255.0 gw 192.168.0.1", "source": "corpus", "command_original": "route add -net 10.0.20.0 netmask 255.255.255.0 gw 192.168.0.1"}
58
+ {"intent": "Disable WAN 36 adapter", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Disable-NetAdapter -Name \"WAN 36\" -Confirm:$false", "source": "corpus", "command_original": "Disable-NetAdapter -Name \"WAN 36\" -Confirm:$false"}
59
+ {"intent": "Refuse PPP CHAP authentication", "vendor": "Cisco", "os": "ios", "category": "Security", "command": "ppp chap refuse", "source": "corpus", "command_original": "ppp chap refuse"}
60
+ {"intent": "match prefix list in route map", "vendor": "Cisco", "os": "ios", "category": "BGP", "command": "match ip address prefixlist AS400_ROUTES", "source": "corpus", "command_original": "match ip address prefixlist AS400_ROUTES"}
61
+ {"intent": "create dhcp pool for 192.168.73.0 range", "vendor": "Mikrotik", "os": "routeros", "category": "DHCP", "command": "/ip pool add name=dhcp-pool-73 ranges=192.168.73.10-192.168.73.100", "source": "corpus", "command_original": "/ip pool add name=dhcp-pool-73 ranges=192.168.73.10-192.168.73.100"}
62
+ {"intent": "show ospf routes", "vendor": "Aruba", "os": "aoscx", "category": "Protocols", "command": "show ip route ospf", "source": "corpus", "command_original": "show ip route ospf"}
63
+ {"intent": "exit configuration discarding changes", "vendor": "VyOS", "os": "vyos", "category": "System", "command": "exit [discard]", "source": "corpus", "command_original": "exit [discard]"}
64
+ {"intent": "enable conntrack update event logging", "vendor": "VyOS", "os": "vyos", "category": "System", "command": "set system conntrack log event update", "source": "corpus", "command_original": "set system conntrack log event update"}
65
+ {"intent": "tcpdump 100 packets TCP port 154 on eth2", "vendor": "Linux", "os": "linux", "category": "Interfaces", "command": "tcpdump -i eth2 -n -c 100 \"tcp port 154\"", "source": "corpus", "command_original": "tcpdump -i eth2 -n -c 100 \"tcp port 154\""}
66
+ {"intent": "set ospf6 interface mtu", "vendor": "FRR", "os": "frr", "category": "System", "command": "ipv6 ospf6 ifmtu (1-65535)", "source": "corpus", "command_original": "ipv6 ospf6 ifmtu (1-65535)"}
67
+ {"intent": "set time display format", "vendor": "Nokia", "os": "sros", "category": "Misc", "command": "time-display", "source": "corpus", "command_original": "time-display"}
68
+ {"intent": "set mlag peer ip address", "vendor": "Extreme", "os": "exos", "category": "HA", "command": "configure mlag peer MLAG_Virtual_Peer_30 ipaddress 10.255.250.30", "source": "corpus", "command_original": "configure mlag peer MLAG_Virtual_Peer_30 ipaddress 10.255.250.30"}
69
+ {"intent": "enable vrf-lite capability", "vendor": "Cisco", "os": "ios", "category": "OSPF", "command": "capability vrf-lite", "source": "corpus", "command_original": "capability vrf-lite"}
70
+ {"intent": "enter MSDP router configuration", "vendor": "Arista", "os": "eos", "category": "Multicast", "command": "router msdp", "source": "corpus", "command_original": "router msdp"}
71
+ {"intent": "show BGP received prefix filter in JSON", "vendor": "FRR", "os": "frr", "category": "BGP", "command": "show bgp <view afi safi neighbors PEER received prefix-filter json", "source": "corpus", "command_original": "show bgp <view afi safi neighbors PEER received prefix-filter json"}
72
+ {"intent": "get IPv4 interface details for vEthernet 41", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetIPInterface -InterfaceAlias \"vEthernet 41\" -AddressFamily IPv4", "source": "corpus", "command_original": "Get-NetIPInterface -InterfaceAlias \"vEthernet 41\" -AddressFamily IPv4"}
73
+ {"intent": "show OSPFv3 neighbor A.B.C.D", "vendor": "FRR", "os": "frr", "category": "System", "command": "show ipv6 ospf6 [vrf <NAME|all>] neighbor A.B.C.D [json]", "source": "corpus", "command_original": "show ipv6 ospf6 [vrf <NAME|all>] neighbor A.B.C.D [json]"}
74
+ {"intent": "show flow accounting on interface", "vendor": "VyOS", "os": "vyos", "category": "System", "command": "show flow-accounting interface \\<interface>", "source": "corpus", "command_original": "show flow-accounting interface \\<interface>"}
75
+ {"intent": "add interface to virtual-router", "vendor": "PAN-OS", "os": "panos", "category": "Interfaces", "command": "set network virtual-router default interface ethernet1/20", "source": "corpus", "command_original": "set network virtual-router default interface ethernet1/20"}
76
+ {"intent": "show Management 15 network adapter", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Get-NetAdapter -Name \"Management 15\"", "source": "corpus", "command_original": "Get-NetAdapter -Name \"Management 15\""}
77
+ {"intent": "copy config file to backup.gz", "vendor": "Juniper", "os": "junos", "category": "System", "command": "file copy /config/juniper.conf.gz /var/home/user/backup.gz", "source": "corpus", "command_original": "file copy /config/juniper.conf.gz /var/home/user/backup.gz"}
78
+ {"intent": "set minimum metric value", "vendor": "FRR", "os": "frr", "category": "System", "command": "set min-metric <(0-4294967295)>", "source": "corpus", "command_original": "set min-metric <(0-4294967295)>"}
79
+ {"intent": "create ip-vrf cust-27", "vendor": "Nokia", "os": "srlinux", "category": "EVPN", "command": "set network-instance vrf-cust-27 type ip-vrf admin-state enable", "source": "corpus", "command_original": "set network-instance vrf-cust-27 type ip-vrf admin-state enable"}
80
+ {"intent": "display filter for tcp srcport 139", "vendor": "Wireshark", "os": "tshark", "category": "Protocols", "command": "tcp.srcport == 139", "source": "corpus", "command_original": "tcp.srcport == 139"}
81
+ {"intent": "remove firewall rule BlockTCP_3010", "vendor": "Microsoft", "os": "powershell", "category": "Security", "command": "Remove-NetFirewallRule -Name \"BlockTCP_3010\"", "source": "corpus", "command_original": "Remove-NetFirewallRule -Name \"BlockTCP_3010\""}
82
+ {"intent": "scan port 95 with SYN on 192.168.15.0/24", "vendor": "Linux", "os": "linux", "category": "Security", "command": "nmap -p 95 -sS -n 192.168.15.0/24", "source": "corpus", "command_original": "nmap -p 95 -sS -n 192.168.15.0/24"}
83
+ {"intent": "Add neighbor to peer-group", "vendor": "FRR", "os": "frr", "category": "BGP", "command": "neighbor MYWORD peer-group", "source": "corpus", "command_original": "neighbor MYWORD peer-group"}
84
+ {"intent": "Show firewall rule Block Port 3015", "vendor": "Microsoft", "os": "powershell", "category": "Security", "command": "Get-NetFirewallRule -DisplayName \"Block Port 3015\"", "source": "corpus", "command_original": "Get-NetFirewallRule -DisplayName \"Block Port 3015\""}
85
+ {"intent": "Assign static IP 192.168.31.10/24 on Ethernet 31", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "New-NetIPAddress -InterfaceAlias \"Ethernet 31\" -IPAddress 192.168.31.10 -PrefixLength 24 -DefaultGateway 192.168.31.1", "source": "corpus", "command_original": "New-NetIPAddress -InterfaceAlias \"Ethernet 31\" -IPAddress 192.168.31.10 -PrefixLength 24 -DefaultGateway 192.168.31.1"}
86
+ {"intent": "Show ge interfaces with inet addresses tersely", "vendor": "Juniper", "os": "junos", "category": "Interfaces", "command": "show interfaces terse | match ge|inet", "source": "corpus", "command_original": "show interfaces terse | match ge|inet"}
87
+ {"intent": "allow forward from 192.168.2.0/24 to 10.0.0.2", "vendor": "Linux", "os": "linux", "category": "Security", "command": "iptables -A FORWARD -s 192.168.2.0/24 -d 10.0.0.2 -j ACCEPT", "source": "corpus", "command_original": "iptables -A FORWARD -s 192.168.2.0/24 -d 10.0.0.2 -j ACCEPT"}
88
+ {"intent": "set AAA login authentication list TAC_LIST", "vendor": "Cisco", "os": "ios", "category": "AAA", "command": "aaa authentication login TAC_LIST group TACSRVGRP local", "source": "corpus", "command_original": "aaa authentication login TAC_LIST group TACSRVGRP local"}
89
+ {"intent": "restart vEthernet 35 adapter", "vendor": "Microsoft", "os": "powershell", "category": "Interfaces", "command": "Restart-NetAdapter -Name \"vEthernet 35\"", "source": "corpus", "command_original": "Restart-NetAdapter -Name \"vEthernet 35\""}
90
+ {"intent": "add proxy-arp for 203.xx.xx.xx/32 on vlan", "vendor": "Juniper", "os": "junos", "category": "VLAN", "command": "set security nat proxy-arp interface vlan.XXX address 203.xx.xx.xx/32", "source": "corpus", "command_original": "set security nat proxy-arp interface vlan.XXX address 203.xx.xx.xx/32"}
91
+ {"intent": "capture SIP traffic on eth0 to file", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i eth0 -f \"port 5060\" -w /tmp/capture_eth0_port_5060.pcapng", "source": "corpus", "command_original": "tshark -i eth0 -f \"port 5060\" -w /tmp/capture_eth0_port_5060.pcapng"}
92
+ {"intent": "capture DHCP traffic on eth1", "vendor": "Wireshark", "os": "tshark", "category": "Interfaces", "command": "tshark -i eth1 -f \"port 67\"", "source": "corpus", "command_original": "tshark -i eth1 -f \"port 67\""}
93
+ {"intent": "configure interface eth0 with IP 10.0.0.1/24", "vendor": "FRR", "os": "frr", "category": "Interfaces", "command": "interface eth0\n ip address 10.0.0.1/24\n description UPLINK", "source": "curated", "command_original": "interface eth0\n ip address 10.0.0.1/24\n description UPLINK"}
94
+ {"intent": "create LACP sharing group 1 using ports 1 and 2", "vendor": "Extreme", "os": "exos", "category": "EtherChannel", "command": "enable sharing 1 grouping 1,2 algorithm address-based L3_L4 lacp", "source": "curated", "command_original": "enable sharing 1 grouping 1,2 algorithm address-based L3_L4 lacp"}
95
+ {"intent": "create 802.3ad bond1 with ether1 and ether2", "vendor": "Mikrotik", "os": "routeros", "category": "EtherChannel", "command": "/interface bonding add name=bond1 mode=802.3ad slaves=ether1,ether2", "source": "curated", "command_original": "/interface bonding add name=bond1 mode=802.3ad slaves=ether1,ether2"}
96
+ {"intent": "configure vxlan 1 with source ip 1.1.1.1", "vendor": "Aruba", "os": "aoscx", "category": "VXLAN", "command": "interface vxlan 1\n source ip 1.1.1.1\n no shutdown", "source": "curated", "command_original": "interface vxlan 1\n source ip 1.1.1.1\n no shutdown"}
97
+ {"intent": "set rapid-pvst with vlan 10 priority 4096", "vendor": "Cisco", "os": "ios", "category": "Spanning-Tree", "command": "spanning-tree mode rapid-pvst\nspanning-tree vlan 10 priority 4096", "source": "curated", "command_original": "spanning-tree mode rapid-pvst\nspanning-tree vlan 10 priority 4096"}
98
+ {"intent": "set rapid-pvst with vlan 10 priority 4096", "vendor": "Arista", "os": "eos", "category": "Spanning-Tree", "command": "spanning-tree mode rapid-pvst\nspanning-tree vlan 10 priority 4096", "source": "curated", "command_original": "spanning-tree mode rapid-pvst\nspanning-tree vlan 10 priority 4096"}
99
+ {"intent": "configure dot1w stpd and bind vlan USERS", "vendor": "Extreme", "os": "exos", "category": "Spanning-Tree", "command": "configure stpd s0 mode dot1w\nenable stpd s0 auto-bind vlan USERS", "source": "curated", "command_original": "configure stpd s0 mode dot1w\nenable stpd s0 auto-bind vlan USERS"}
100
+ {"intent": "create ipv4 acl DENY-RFC1918 and apply inbound on swp1", "vendor": "NVIDIA", "os": "nvue", "category": "Security", "command": "nv set acl DENY-RFC1918 type ipv4\nnv set acl DENY-RFC1918 rule 10 match ip source-ip 10.0.0.0/8\nnv set acl DENY-RFC1918 rule 10 action deny\nnv set interface swp1 acl DENY-RFC1918 inbound", "source": "curated", "command_original": "nv set acl DENY-RFC1918 type ipv4\nnv set acl DENY-RFC1918 rule 10 match ip source-ip 10.0.0.0/8\nnv set acl DENY-RFC1918 rule 10 action deny\nnv set interface swp1 acl DENY-RFC1918 inbound"}
101
+ {"intent": "capture OSPF packets on eth0", "vendor": "Wireshark", "os": "tshark", "category": "Troubleshooting", "command": "tshark -i eth0 -f \"ip proto 89\" -Y ospf", "source": "curated", "command_original": "tshark -i eth0 -f \\\"ip proto 89\\\" -Y ospf"}
102
+ {"intent": "configure eBGP neighbor 10.0.0.2 AS 65002", "vendor": "Nokia", "os": "sros", "category": "BGP", "command": "configure router bgp\n autonomous-system 65001\n group \"EXT\"\n peer-as 65002\n neighbor 10.0.0.2\n peer-as 65002\n exit\n exit", "source": "curated", "command_original": "configure router bgp\n autonomous-system 65001\n group \\\"EXT\\\"\n peer-as 65002\n neighbor 10.0.0.2\n peer-as 65002\n exit\n exit"}