File size: 47,754 Bytes
1bd64c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 | [
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show running config",
"cmd": "show running-config",
"desc": "Display the active configuration in RAM."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show startup config",
"cmd": "show startup-config",
"desc": "Display the saved configuration in NVRAM."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Save config",
"cmd": "copy running-config startup-config\n! short form: write memory",
"desc": "Persist running config to NVRAM."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Reload device",
"cmd": "reload\n! schedule reload: reload in 30",
"desc": "Reboot the device (with optional schedule)."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show version",
"cmd": "show version",
"desc": "Hardware, IOS version, uptime, license."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show inventory",
"cmd": "show inventory",
"desc": "Chassis, line cards, SFP/transceiver inventory."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show environment",
"cmd": "show environment all",
"desc": "PSU, fans, temperature sensors."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show CPU",
"cmd": "show processes cpu sorted | exclude 0.00",
"desc": "Top processes by CPU usage."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show memory",
"cmd": "show memory statistics",
"desc": "Memory pools and free/used."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Set hostname",
"cmd": "configure terminal\nhostname R1",
"desc": "Configure device hostname."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Set clock / timezone",
"cmd": "clock timezone UTC 0\nclock set 12:00:00 1 Jan 2026",
"desc": "Configure system time and timezone."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show file system",
"cmd": "show file systems\ndir flash:",
"desc": "List storage devices and contents."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Copy file (TFTP/SCP)",
"cmd": "copy tftp: flash:\ncopy scp: flash:",
"desc": "Transfer files via TFTP/SCP."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Enable mode / privilege",
"cmd": "enable\ndisable\nconfigure terminal",
"desc": "Privilege escalation and config mode."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show boot variable",
"cmd": "show boot",
"desc": "Configured boot image and config-register."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "System",
"title": "Show license",
"cmd": "show license\nshow license udi",
"desc": "License status (Smart Licensing / classic)."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Show interfaces",
"cmd": "show interfaces\nshow interfaces GigabitEthernet0/0",
"desc": "Interface status, counters, errors."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Show ip interface brief",
"cmd": "show ip interface brief",
"desc": "Concise IP and status per interface."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Show interface description",
"cmd": "show interfaces description",
"desc": "Per-interface descriptions and status."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Configure IP address",
"cmd": "interface GigabitEthernet0/0\n description WAN-uplink\n ip address 10.0.0.1 255.255.255.252\n no shutdown",
"desc": "Assign IPv4 address and enable interface."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Configure IPv6 address",
"cmd": "interface GigabitEthernet0/0\n ipv6 address 2001:db8::1/64\n ipv6 enable",
"desc": "Assign IPv6 address."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Subinterface (802.1Q)",
"cmd": "interface GigabitEthernet0/0.10\n encapsulation dot1Q 10\n ip address 192.168.10.1 255.255.255.0",
"desc": "VLAN-tagged subinterface for router-on-a-stick."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Loopback",
"cmd": "interface Loopback0\n ip address 1.1.1.1 255.255.255.255",
"desc": "Logical loopback interface (router-id, BGP source)."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "MTU / IP MTU",
"cmd": "interface Gi0/0\n mtu 9216\n ip mtu 9000\n ipv6 mtu 9000",
"desc": "L2 MTU and L3 MTU."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Speed / duplex",
"cmd": "interface Gi0/0\n speed 1000\n duplex full",
"desc": "Force speed and duplex."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Clear counters",
"cmd": "clear counters\nclear counters GigabitEthernet0/0",
"desc": "Reset interface statistics."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Shutdown / no shutdown",
"cmd": "interface Gi0/1\n shutdown\n no shutdown",
"desc": "Administratively disable/enable interface."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Etherchannel / Port-channel",
"cmd": "interface range Gi1/0/1-2\n channel-group 1 mode active\ninterface Port-channel1\n switchport mode trunk",
"desc": "LACP bundle of two interfaces."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Show optics / transceiver",
"cmd": "show interfaces transceiver detail",
"desc": "SFP/QSFP DDM (RX/TX power, temp)."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Show VLAN",
"cmd": "show vlan brief",
"desc": "VLAN database and port assignments."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Create VLAN",
"cmd": "vlan 100\n name USERS",
"desc": "Create a VLAN with a name."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Access port",
"cmd": "interface Gi1/0/1\n switchport mode access\n switchport access vlan 100",
"desc": "Tag-untagged single-VLAN port."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Trunk port",
"cmd": "interface Gi1/0/24\n switchport trunk encapsulation dot1q\n switchport mode trunk\n switchport trunk allowed vlan 100,200,300",
"desc": "802.1Q trunk allowing specific VLANs."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Voice VLAN",
"cmd": "interface Gi1/0/2\n switchport mode access\n switchport access vlan 10\n switchport voice vlan 20",
"desc": "Data + voice VLAN on the same port."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Show MAC address-table",
"cmd": "show mac address-table\nshow mac address-table dynamic vlan 100",
"desc": "L2 forwarding table."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Spanning-tree show",
"cmd": "show spanning-tree\nshow spanning-tree vlan 100",
"desc": "STP roles, state, root info."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Rapid-PVST / MST",
"cmd": "spanning-tree mode rapid-pvst\n! or:\nspanning-tree mode mst",
"desc": "Select STP mode."
},
{
"os": "ios",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "Portfast / BPDU guard",
"cmd": "interface Gi1/0/5\n spanning-tree portfast\n spanning-tree bpduguard enable",
"desc": "Edge-port hardening."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Static",
"title": "Static route",
"cmd": "ip route 10.10.10.0 255.255.255.0 10.0.0.2\nipv6 route 2001:db8:10::/64 2001:db8::2",
"desc": "IPv4/IPv6 static routes."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Static",
"title": "Default route",
"cmd": "ip route 0.0.0.0 0.0.0.0 10.0.0.2",
"desc": "Quad-zero default."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Static",
"title": "Floating static",
"cmd": "ip route 10.10.10.0 255.255.255.0 10.0.0.6 200",
"desc": "Backup route with higher administrative distance."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Routing",
"title": "Show IP route",
"cmd": "show ip route\nshow ip route bgp\nshow ip route 10.10.10.0",
"desc": "Routing table by protocol or prefix."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Routing",
"title": "Show route summary",
"cmd": "show ip route summary",
"desc": "Counts of routes per protocol."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "OSPF",
"title": "OSPF basic config",
"cmd": "router ospf 1\n router-id 1.1.1.1\n network 10.0.0.0 0.0.0.255 area 0\n passive-interface default\n no passive-interface Gi0/0",
"desc": "Single-process OSPF v2."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "OSPF",
"title": "OSPF on interface (modern)",
"cmd": "interface Gi0/0\n ip ospf 1 area 0\n ip ospf network point-to-point\n ip ospf hello-interval 5\n ip ospf dead-interval 20",
"desc": "Per-interface OSPF (preferred for clarity)."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "OSPF",
"title": "OSPFv3 (IPv6)",
"cmd": "ipv6 router ospf 1\n router-id 1.1.1.1\ninterface Gi0/0\n ipv6 ospf 1 area 0",
"desc": "OSPFv3 for IPv6."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "OSPF",
"title": "Show OSPF neighbors",
"cmd": "show ip ospf neighbor\nshow ipv6 ospf neighbor",
"desc": "OSPF adjacencies."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "OSPF",
"title": "Show OSPF database",
"cmd": "show ip ospf database",
"desc": "LSDB summary."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "OSPF",
"title": "OSPF authentication",
"cmd": "interface Gi0/0\n ip ospf authentication message-digest\n ip ospf message-digest-key 1 md5 SECRET",
"desc": "MD5 authentication."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "EIGRP",
"title": "EIGRP classic",
"cmd": "router eigrp 100\n network 10.0.0.0 0.0.0.255\n no auto-summary",
"desc": "Classic EIGRP autonomous system."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "EIGRP",
"title": "EIGRP named",
"cmd": "router eigrp CORP\n address-family ipv4 unicast autonomous-system 100\n network 10.0.0.0 0.0.0.255",
"desc": "Named EIGRP (recommended modern form)."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "EIGRP",
"title": "Show EIGRP neighbors",
"cmd": "show ip eigrp neighbors\nshow ip eigrp topology",
"desc": "Neighbors and topology table."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "BGP basic config",
"cmd": "router bgp 65001\n bgp router-id 1.1.1.1\n neighbor 10.0.0.2 remote-as 65002\n address-family ipv4\n network 10.10.10.0 mask 255.255.255.0\n neighbor 10.0.0.2 activate",
"desc": "Single eBGP peer."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "BGP iBGP + loopback",
"cmd": "router bgp 65001\n neighbor 2.2.2.2 remote-as 65001\n neighbor 2.2.2.2 update-source Loopback0\n neighbor 2.2.2.2 next-hop-self",
"desc": "iBGP peering sourced from loopback."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "Show BGP summary",
"cmd": "show ip bgp summary\nshow bgp ipv4 unicast summary",
"desc": "Neighbor uptime + prefix counts."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "Show BGP routes",
"cmd": "show ip bgp\nshow ip bgp 10.10.10.0/24\nshow ip bgp neighbors 10.0.0.2 advertised-routes",
"desc": "BGP table and advertised/received per neighbor."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "Clear BGP neighbor (soft)",
"cmd": "clear ip bgp 10.0.0.2 soft\nclear ip bgp * soft in",
"desc": "Soft-reset to re-apply policy without dropping session."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "BGP prefix-list filter",
"cmd": "ip prefix-list ALLOW seq 5 permit 10.10.10.0/24\nrouter bgp 65001\n neighbor 10.0.0.2 prefix-list ALLOW out",
"desc": "Outbound prefix filter."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "BGP route-map (set local-pref)",
"cmd": "route-map PREF permit 10\n set local-preference 200\nrouter bgp 65001\n neighbor 10.0.0.2 route-map PREF in",
"desc": "Influence inbound path selection."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "BGP",
"title": "BGP MD5 auth",
"cmd": "router bgp 65001\n neighbor 10.0.0.2 password 7 SECRET",
"desc": "TCP MD5 authentication."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "ACL",
"title": "Standard ACL",
"cmd": "access-list 10 permit 10.10.10.0 0.0.0.255\naccess-list 10 deny any log",
"desc": "Numbered standard ACL."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "ACL",
"title": "Extended (named) ACL",
"cmd": "ip access-list extended WEB\n permit tcp any host 10.10.10.10 eq 443\n deny ip any any log\ninterface Gi0/0\n ip access-group WEB in",
"desc": "Named L3/L4 ACL applied to an interface."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "ACL",
"title": "Show ACL hit counts",
"cmd": "show access-lists\nshow ip access-lists WEB",
"desc": "Per-line counters."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "ACL",
"title": "VTY access control",
"cmd": "line vty 0 4\n access-class MGMT in\n transport input ssh\n login local",
"desc": "Restrict management plane access."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "NAT",
"title": "Static NAT (1:1)",
"cmd": "ip nat inside source static 10.10.10.10 198.51.100.10\ninterface Gi0/0\n ip nat outside\ninterface Gi0/1\n ip nat inside",
"desc": "1-to-1 mapping insideâoutside."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "NAT",
"title": "PAT (overload)",
"cmd": "access-list 1 permit 10.10.10.0 0.0.0.255\nip nat inside source list 1 interface Gi0/0 overload",
"desc": "Many-to-one with port reuse."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "NAT",
"title": "Show NAT translations",
"cmd": "show ip nat translations\nshow ip nat statistics",
"desc": "Active translations and counters."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "QoS",
"title": "Class-map / policy-map",
"cmd": "class-map match-any VOICE\n match dscp ef\npolicy-map WAN-OUT\n class VOICE\n priority percent 30\ninterface Gi0/0\n service-policy output WAN-OUT",
"desc": "MQC: classify, mark, queue."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "QoS",
"title": "Show policy-map",
"cmd": "show policy-map interface Gi0/0",
"desc": "Per-class counters and drops."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "HA",
"title": "HSRP",
"cmd": "interface Vlan10\n ip address 10.10.10.2 255.255.255.0\n standby 10 ip 10.10.10.1\n standby 10 priority 110\n standby 10 preempt",
"desc": "Cisco-proprietary first-hop redundancy."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "HA",
"title": "VRRP",
"cmd": "interface Vlan10\n vrrp 10 ip 10.10.10.1\n vrrp 10 priority 110\n vrrp 10 preempt",
"desc": "Standards-based FHRP."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "HA",
"title": "Show HSRP / VRRP",
"cmd": "show standby brief\nshow vrrp brief",
"desc": "State and active/standby roles."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Logging",
"title": "Logging to syslog",
"cmd": "logging host 10.0.0.50\nlogging trap informational\nservice timestamps log datetime msec localtime",
"desc": "Remote syslog."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "SNMP",
"title": "SNMPv3 user",
"cmd": "snmp-server group OPS v3 priv\nsnmp-server user monitor OPS v3 auth sha AUTHPASS priv aes 128 PRIVPASS",
"desc": "SNMPv3 user with auth+priv."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "NTP",
"title": "NTP client + auth",
"cmd": "ntp server 10.0.0.5 prefer\nntp authenticate\nntp authentication-key 1 md5 NTPKEY\nntp trusted-key 1",
"desc": "Authenticated NTP."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "AAA",
"title": "AAA + TACACS+",
"cmd": "aaa new-model\ntacacs server TAC1\n address ipv4 10.0.0.20\n key 0 SECRET\naaa authentication login default group tacacs+ local\naaa authorization exec default group tacacs+ local",
"desc": "Centralized auth."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Ping / extended ping",
"cmd": "ping 10.10.10.1\nping 10.10.10.1 source Loopback0 size 1500 df-bit repeat 100",
"desc": "Reachability + MTU/PMTU test."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Traceroute",
"cmd": "traceroute 10.10.10.1\ntraceroute 10.10.10.1 source Loopback0 numeric",
"desc": "Hop-by-hop path."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Debug template",
"cmd": "terminal monitor\ndebug ip ospf adj\nundebug all",
"desc": "Console-level debugging â use with caution."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Show logging",
"cmd": "show logging\nshow logging | include LINK",
"desc": "In-memory log buffer."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Show tech-support",
"cmd": "show tech-support",
"desc": "Comprehensive diagnostic dump."
},
{
"os": "ios",
"role": "router",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Embedded packet capture",
"cmd": "monitor capture CAP interface Gi0/0 both match ipv4 any any\nmonitor capture CAP start\nshow monitor capture CAP buffer brief\nmonitor capture CAP stop",
"desc": "On-device packet capture (IOS-XE)."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "System",
"title": "Show version (NX-OS)",
"cmd": "show version",
"desc": "NX-OS image, hardware, uptime."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "System",
"title": "Save config",
"cmd": "copy running-config startup-config",
"desc": "Persist config."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "System",
"title": "Feature enable",
"cmd": "feature ospf\nfeature bgp\nfeature interface-vlan\nfeature lacp\nfeature vpc",
"desc": "Enable NX-OS features (must precede config)."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "L3 interface",
"cmd": "interface Ethernet1/1\n no switchport\n ip address 10.0.0.1/30\n no shutdown",
"desc": "Routed port."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "VLAN",
"title": "vPC peer-link",
"cmd": "vpc domain 1\n peer-keepalive destination 10.0.0.2\ninterface port-channel1\n vpc peer-link",
"desc": "Virtual port-channel between two N9K/N7K."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "BGP",
"title": "BGP (NX-OS)",
"cmd": "router bgp 65001\n router-id 1.1.1.1\n neighbor 10.0.0.2 remote-as 65002\n address-family ipv4 unicast",
"desc": "NX-OS BGP with explicit AF nesting."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "OSPF",
"title": "OSPF (NX-OS)",
"cmd": "router ospf 1\n router-id 1.1.1.1\ninterface Ethernet1/1\n ip router ospf 1 area 0",
"desc": "NX-OS OSPF requires `feature ospf`."
},
{
"os": "nxos",
"role": "switch",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Ethanalyzer (NX-OS sniffer)",
"cmd": "ethanalyzer local interface inband display-filter \"bgp\" limit-captured-frames 0",
"desc": "Built-in tcpdump-like CPU capture."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "System",
"title": "Show version (ASA)",
"cmd": "show version",
"desc": "ASA image and platform info."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "System",
"title": "Save config",
"cmd": "write memory",
"desc": "Persist ASA config."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "Interfaces",
"title": "Interface + nameif + security-level",
"cmd": "interface GigabitEthernet0/0\n nameif outside\n security-level 0\n ip address 198.51.100.1 255.255.255.0\n no shutdown",
"desc": "ASA interface requires nameif & security-level."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "Firewall",
"title": "Access-list + access-group",
"cmd": "access-list OUT_IN extended permit tcp any host 10.10.10.10 eq 443\naccess-group OUT_IN in interface outside",
"desc": "Stateless ACL applied to interface."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "NAT",
"title": "Static NAT (object)",
"cmd": "object network WEB\n host 10.10.10.10\n nat (inside,outside) static 198.51.100.10",
"desc": "Auto NAT 1:1."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "NAT",
"title": "Dynamic PAT",
"cmd": "object network INSIDE_NET\n subnet 10.10.10.0 255.255.255.0\n nat (inside,outside) dynamic interface",
"desc": "Many-to-one PAT to outside interface."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "Firewall",
"title": "Show xlate / connections",
"cmd": "show xlate\nshow conn\nshow conn long",
"desc": "NAT translations and stateful connections."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "HA",
"title": "Failover (active/standby)",
"cmd": "failover\nfailover lan unit primary\nfailover lan interface FAILOVER GigabitEthernet0/3\nfailover key SECRET",
"desc": "Stateful HA pair."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Packet-tracer",
"cmd": "packet-tracer input outside tcp 1.1.1.1 1024 10.10.10.10 443",
"desc": "Simulate packet through policy."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "Troubleshooting",
"title": "Capture",
"cmd": "capture CAP interface outside match ip any host 10.10.10.10\nshow capture CAP\nno capture CAP",
"desc": "On-box capture per interface."
},
{
"os": "asa",
"role": "firewall",
"vendor": "Cisco",
"cat": "Firewall",
"title": "VPN site-to-site (IKEv2)",
"cmd": "crypto ikev2 policy 10\n encryption aes-256\n integrity sha256\n group 14\n prf sha256\ntunnel-group 198.51.100.2 type ipsec-l2l\ntunnel-group 198.51.100.2 ipsec-attributes\n ikev2 remote-authentication pre-shared-key SECRET\n ikev2 local-authentication pre-shared-key SECRET",
"desc": "IKEv2 L2L tunnel setup."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Show version",
"cmd": "show version\nshow version detail",
"desc": "Junos version and component versions."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Show chassis hardware",
"cmd": "show chassis hardware\nshow chassis routing-engine",
"desc": "FRU inventory & RE status."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Show config",
"cmd": "show configuration\nshow configuration | display set",
"desc": "Display config (hierarchical or set form)."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Edit/commit workflow",
"cmd": "configure\nedit interfaces ge-0/0/0\nset description WAN\nshow | compare\ncommit check\ncommit confirmed 5\ncommit and-quit",
"desc": "Junos candidate-config + commit confirmed (auto-rollback)."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Rollback",
"cmd": "configure\nrollback 1\ncommit",
"desc": "Revert to a previous committed configuration."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Set hostname / system",
"cmd": "set system host-name R1\nset system time-zone UTC\nset system root-authentication plain-text-password",
"desc": "Basic system identity."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Show system uptime",
"cmd": "show system uptime\nshow system processes extensive | match cpu",
"desc": "Uptime and process load."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Show system storage",
"cmd": "show system storage",
"desc": "Filesystem usage."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Request reboot",
"cmd": "request system reboot\nrequest system reboot at 22:00",
"desc": "Reboot now or scheduled."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "System",
"title": "Software upgrade",
"cmd": "request system software add /var/tmp/jinstall.tgz no-validate reboot",
"desc": "Install Junos package and reboot."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "Show interfaces terse",
"cmd": "show interfaces terse\nshow interfaces ge-0/0/0 extensive",
"desc": "Status quick view and detailed counters."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "Configure interface IPv4/IPv6",
"cmd": "set interfaces ge-0/0/0 description WAN\nset interfaces ge-0/0/0 unit 0 family inet address 10.0.0.1/30\nset interfaces ge-0/0/0 unit 0 family inet6 address 2001:db8::1/64",
"desc": "Logical unit 0 with inet/inet6 families."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "VLAN tagging / subinterface",
"cmd": "set interfaces ge-0/0/0 vlan-tagging\nset interfaces ge-0/0/0 unit 10 vlan-id 10 family inet address 192.168.10.1/24",
"desc": "802.1Q on a Junos router subinterface."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "Aggregated Ethernet (LACP)",
"cmd": "set chassis aggregated-devices ethernet device-count 4\nset interfaces ge-0/0/0 gigether-options 802.3ad ae0\nset interfaces ge-0/0/1 gigether-options 802.3ad ae0\nset interfaces ae0 aggregated-ether-options lacp active",
"desc": "AE bundle with LACP active."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "Loopback (lo0)",
"cmd": "set interfaces lo0 unit 0 family inet address 1.1.1.1/32",
"desc": "Router-id and protocol source."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "MTU",
"cmd": "set interfaces ge-0/0/0 mtu 9192\nset interfaces ge-0/0/0 unit 0 family inet mtu 9000",
"desc": "Physical and family MTU."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "Optics / DDM",
"cmd": "show interfaces diagnostics optics ge-0/0/0",
"desc": "Transceiver readings."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Interfaces",
"title": "Clear interface stats",
"cmd": "clear interfaces statistics all\nclear interfaces statistics ge-0/0/0",
"desc": "Reset counters."
},
{
"os": "junos",
"role": "switch",
"vendor": "Juniper",
"cat": "VLAN",
"title": "VLAN â ELS (EX/QFX)",
"cmd": "set vlans USERS vlan-id 100\nset interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode access vlan members USERS\nset interfaces ge-0/0/24 unit 0 family ethernet-switching interface-mode trunk vlan members [ USERS GUEST ]",
"desc": "ELS-style VLAN + access/trunk."
},
{
"os": "junos",
"role": "switch",
"vendor": "Juniper",
"cat": "VLAN",
"title": "Show VLANs / MAC",
"cmd": "show vlans\nshow ethernet-switching table",
"desc": "VLAN database & MAC table."
},
{
"os": "junos",
"role": "switch",
"vendor": "Juniper",
"cat": "VLAN",
"title": "Spanning-tree (RSTP)",
"cmd": "set protocols rstp\nshow spanning-tree bridge\nshow spanning-tree interface",
"desc": "RSTP global + status."
},
{
"os": "junos",
"role": "switch",
"vendor": "Juniper",
"cat": "VLAN",
"title": "Virtual Chassis (EX)",
"cmd": "show virtual-chassis\nshow virtual-chassis status",
"desc": "VC member roles and state."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Static",
"title": "Static route",
"cmd": "set routing-options static route 10.10.10.0/24 next-hop 10.0.0.2",
"desc": "IPv4 static."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Static",
"title": "Default route",
"cmd": "set routing-options static route 0.0.0.0/0 next-hop 10.0.0.2",
"desc": "Default."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Routing",
"title": "Show route",
"cmd": "show route\nshow route 10.10.10.0/24 exact\nshow route protocol bgp",
"desc": "FIB/RIB queries."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Routing",
"title": "Show route summary",
"cmd": "show route summary",
"desc": "Per-protocol prefix counts."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "OSPF",
"title": "OSPF basic",
"cmd": "set routing-options router-id 1.1.1.1\nset protocols ospf area 0.0.0.0 interface ge-0/0/0.0\nset protocols ospf area 0.0.0.0 interface lo0.0 passive",
"desc": "Single-area OSPF."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "OSPF",
"title": "OSPF neighbor / database",
"cmd": "show ospf neighbor\nshow ospf database\nshow ospf interface",
"desc": "State, LSDB, intf table."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "OSPF",
"title": "OSPFv3 (IPv6)",
"cmd": "set protocols ospf3 area 0.0.0.0 interface ge-0/0/0.0",
"desc": "OSPFv3 for IPv6."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "BGP",
"title": "BGP eBGP peer",
"cmd": "set routing-options autonomous-system 65001\nset protocols bgp group EXT type external\nset protocols bgp group EXT neighbor 10.0.0.2 peer-as 65002",
"desc": "External BGP neighbor."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "BGP",
"title": "BGP iBGP + loopback",
"cmd": "set protocols bgp group INT type internal\nset protocols bgp group INT local-address 1.1.1.1\nset protocols bgp group INT neighbor 2.2.2.2",
"desc": "iBGP sourced from lo0."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "BGP",
"title": "Show BGP summary",
"cmd": "show bgp summary",
"desc": "Neighbors, uptime, prefixes."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "BGP",
"title": "Show BGP neighbor / route",
"cmd": "show bgp neighbor 10.0.0.2\nshow route advertising-protocol bgp 10.0.0.2\nshow route receive-protocol bgp 10.0.0.2",
"desc": "Detailed state and per-peer adverts/received."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "BGP",
"title": "Clear BGP (soft)",
"cmd": "clear bgp neighbor 10.0.0.2 soft\nclear bgp neighbor all soft",
"desc": "Refresh policy without dropping session."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "BGP",
"title": "Policy: prefix-list + policy-statement",
"cmd": "set policy-options prefix-list ALLOW 10.10.10.0/24\nset policy-options policy-statement EXPORT term 1 from prefix-list ALLOW\nset policy-options policy-statement EXPORT term 1 then accept\nset policy-options policy-statement EXPORT term 99 then reject\nset protocols bgp group EXT neighbor 10.0.0.2 export EXPORT",
"desc": "Policy chain for outbound filtering."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "MPLS",
"title": "MPLS + LDP",
"cmd": "set protocols mpls interface ge-0/0/0.0\nset protocols ldp interface ge-0/0/0.0\nset protocols ldp interface lo0.0",
"desc": "Enable MPLS + LDP."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "MPLS",
"title": "L3VPN VRF (routing-instance)",
"cmd": "set routing-instances CUST-A instance-type vrf\nset routing-instances CUST-A interface ge-0/0/1.0\nset routing-instances CUST-A route-distinguisher 65001:1\nset routing-instances CUST-A vrf-target target:65001:1",
"desc": "Per-customer VRF."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "Firewall",
"title": "Security zones",
"cmd": "set security zones security-zone trust interfaces ge-0/0/1.0\nset security zones security-zone untrust interfaces ge-0/0/0.0\nset security zones security-zone trust host-inbound-traffic system-services [ ssh ping ]",
"desc": "Map interfaces to zones."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "Firewall",
"title": "Address book + application",
"cmd": "set security zones security-zone trust address-book address WEB 10.10.10.10/32\nset applications application HTTPS protocol tcp destination-port 443",
"desc": "Reusable objects."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "Firewall",
"title": "Security policy",
"cmd": "set security policies from-zone untrust to-zone trust policy ALLOW-WEB match source-address any\nset security policies from-zone untrust to-zone trust policy ALLOW-WEB match destination-address WEB\nset security policies from-zone untrust to-zone trust policy ALLOW-WEB match application HTTPS\nset security policies from-zone untrust to-zone trust policy ALLOW-WEB then permit",
"desc": "Inter-zone permit policy."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "Firewall",
"title": "Show security policies / sessions",
"cmd": "show security policies\nshow security flow session\nshow security flow session destination-prefix 10.10.10.10",
"desc": "Active sessions & policy hits."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "NAT",
"title": "Source NAT (PAT)",
"cmd": "set security nat source rule-set TRUST-OUT from zone trust\nset security nat source rule-set TRUST-OUT to zone untrust\nset security nat source rule-set TRUST-OUT rule R1 match source-address 10.10.10.0/24\nset security nat source rule-set TRUST-OUT rule R1 then source-nat interface",
"desc": "PAT to egress interface."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "NAT",
"title": "Destination NAT (port-forward)",
"cmd": "set security nat destination pool WEB address 10.10.10.10/32 port 443\nset security nat destination rule-set DNAT from zone untrust\nset security nat destination rule-set DNAT rule WEB match destination-address 198.51.100.10/32\nset security nat destination rule-set DNAT rule WEB match destination-port 443\nset security nat destination rule-set DNAT rule WEB then destination-nat pool WEB",
"desc": "Inbound port-forward."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "Firewall",
"title": "IPSec VPN (IKEv2)",
"cmd": "set security ike proposal P1 authentication-method pre-shared-keys\nset security ike proposal P1 dh-group group14\nset security ike proposal P1 authentication-algorithm sha-256\nset security ike proposal P1 encryption-algorithm aes-256-cbc\nset security ike policy POL proposals P1\nset security ike gateway GW1 ike-policy POL address 198.51.100.2 external-interface ge-0/0/0.0\nset security ipsec vpn VPN1 ike gateway GW1",
"desc": "Phase 1 / Phase 2 skeleton."
},
{
"os": "junos",
"role": "firewall",
"vendor": "Juniper",
"cat": "HA",
"title": "SRX chassis cluster",
"cmd": "set chassis cluster cluster-id 1 node 0 reboot\nshow chassis cluster status\nshow chassis cluster interfaces",
"desc": "Active/passive HA pair."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Logging",
"title": "Syslog",
"cmd": "set system syslog host 10.0.0.50 any info\nset system syslog file messages any notice",
"desc": "Remote and local syslog."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "SNMP",
"title": "SNMPv3",
"cmd": "set snmp v3 usm local-engine user monitor authentication-sha authentication-password AUTHPASS privacy-aes128 privacy-password PRIVPASS\nset snmp v3 vacm security-to-group security-model usm security-name monitor group OPS",
"desc": "SNMPv3 user + VACM mapping."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "NTP",
"title": "NTP",
"cmd": "set system ntp server 10.0.0.5 prefer\nset system time-zone UTC",
"desc": "NTP client."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "AAA",
"title": "TACACS+ / RADIUS",
"cmd": "set system tacplus-server 10.0.0.20 secret SECRET\nset system authentication-order [ tacplus password ]",
"desc": "AAA with local fallback."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Troubleshooting",
"title": "Ping / traceroute",
"cmd": "ping 10.10.10.1 source 1.1.1.1 count 5 size 1500 do-not-fragment\ntraceroute 10.10.10.1 source 1.1.1.1",
"desc": "Reachability/MTU tests."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Troubleshooting",
"title": "Monitor traffic (tcpdump)",
"cmd": "monitor traffic interface ge-0/0/0 matching \"port 179\" no-resolve extensive",
"desc": "Inline tcpdump on PFE-CPU traffic."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Troubleshooting",
"title": "Request support information",
"cmd": "request support information | save /var/tmp/rsi.txt",
"desc": "Tech-support dump for TAC."
},
{
"os": "junos",
"role": "router",
"vendor": "Juniper",
"cat": "Troubleshooting",
"title": "Show log messages",
"cmd": "show log messages | last 100\nshow log messages | match \"ospf|bgp\"",
"desc": "Tail and grep logs."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "System",
"title": "Show version",
"cmd": "show version",
"desc": "EOS image, model, uptime."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "System",
"title": "Save config",
"cmd": "copy running-config startup-config\n! short: write",
"desc": "Persist config."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "System",
"title": "Show inventory / environment",
"cmd": "show inventory\nshow environment all",
"desc": "FRUs, fans, PSU, temp."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "System",
"title": "Configure session (atomic commit)",
"cmd": "configure session UPGRADE\n interface Ethernet1\n description NEW\ncommit\n! or: abort",
"desc": "EOS atomic config sessions."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "System",
"title": "Reload / config replace",
"cmd": "reload\n! safe upgrade:\nconfig replace flash:backup.conf",
"desc": "Reboot or atomic replace."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Interfaces",
"title": "Show interfaces status",
"cmd": "show interfaces status\nshow interfaces description\nshow interfaces counters errors",
"desc": "Status + error counters."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Interfaces",
"title": "L3 interface",
"cmd": "interface Ethernet1\n no switchport\n ip address 10.0.0.1/30\n no shutdown",
"desc": "Routed port (EOS uses CIDR)."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Interfaces",
"title": "Port-Channel (LACP)",
"cmd": "interface Ethernet1-2\n channel-group 1 mode active\ninterface Port-Channel1\n switchport mode trunk",
"desc": "LACP bundle, trunk."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Interfaces",
"title": "Show transceiver",
"cmd": "show interfaces transceiver\nshow interfaces transceiver detail",
"desc": "DDM optics readings."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Interfaces",
"title": "MTU",
"cmd": "interface Ethernet1\n mtu 9214",
"desc": "Set jumbo MTU."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "VLAN",
"title": "VLAN config",
"cmd": "vlan 100\n name USERS\ninterface Ethernet5\n switchport mode access\n switchport access vlan 100\ninterface Ethernet24\n switchport mode trunk\n switchport trunk allowed vlan 100,200",
"desc": "Create + access/trunk."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "VLAN",
"title": "MLAG (Arista MC-LAG)",
"cmd": "mlag configuration\n domain-id MLAG1\n local-interface Vlan4094\n peer-address 10.255.255.2\n peer-link Port-Channel999",
"desc": "Dual-active multi-chassis link aggregation."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "VLAN",
"title": "Show MAC / Spanning-tree",
"cmd": "show mac address-table\nshow spanning-tree\nshow spanning-tree blockedports",
"desc": "L2 status."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Routing",
"title": "Show ip route",
"cmd": "show ip route\nshow ip route bgp\nshow ipv6 route",
"desc": "FIB by protocol."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Static",
"title": "Static route",
"cmd": "ip route 10.10.10.0/24 10.0.0.2\nip route 0.0.0.0/0 10.0.0.2",
"desc": "IPv4 static + default."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "OSPF",
"title": "OSPF (EOS)",
"cmd": "router ospf 1\n router-id 1.1.1.1\n network 10.0.0.0/30 area 0\n passive-interface default\n no passive-interface Ethernet1",
"desc": "Single-area OSPF."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "OSPF",
"title": "OSPF status",
"cmd": "show ip ospf neighbor\nshow ip ospf database\nshow ip ospf interface",
"desc": "Adjacency, LSDB, intf table."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "BGP",
"title": "BGP (EOS)",
"cmd": "router bgp 65001\n router-id 1.1.1.1\n neighbor 10.0.0.2 remote-as 65002\n neighbor 10.0.0.2 send-community\n address-family ipv4\n neighbor 10.0.0.2 activate\n network 10.10.10.0/24",
"desc": "eBGP peer."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "BGP",
"title": "BGP show / clear",
"cmd": "show ip bgp summary\nshow ip bgp\nshow ip bgp neighbors 10.0.0.2 advertised-routes\nclear ip bgp 10.0.0.2 soft",
"desc": "State, table, soft-reset."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "BGP",
"title": "EVPN-VXLAN (Type-2/Type-5)",
"cmd": "service routing protocols model multi-agent\nrouter bgp 65001\n neighbor EVPN peer group\n neighbor EVPN remote-as 65000\n neighbor EVPN update-source Loopback0\n address-family evpn\n neighbor EVPN activate",
"desc": "Arista BGP-EVPN underlay/overlay base."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "ACL",
"title": "IP ACL",
"cmd": "ip access-list WEB\n 10 permit tcp any host 10.10.10.10 eq 443\n 20 deny ip any any log\ninterface Ethernet1\n ip access-group WEB in",
"desc": "Named L3/L4 ACL."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "ACL",
"title": "MAC ACL",
"cmd": "mac access-list MAC1\n 10 permit any host 0050.5601.0001 0xffff\ninterface Ethernet1\n mac access-group MAC1 in",
"desc": "Layer-2 filter."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "HA",
"title": "VRRP",
"cmd": "interface Vlan10\n ip address 10.10.10.2/24\n vrrp 10 ip 10.10.10.1\n vrrp 10 priority 110\n vrrp 10 preempt",
"desc": "Standards FHRP."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "HA",
"title": "VARP (anycast gateway)",
"cmd": "ip virtual-router mac-address 00:00:00:00:00:01\ninterface Vlan10\n ip address 10.10.10.2/24\n ip virtual-router address 10.10.10.1",
"desc": "Arista anycast GW for MLAG/EVPN."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Logging",
"title": "Syslog",
"cmd": "logging host 10.0.0.50\nlogging level all informational",
"desc": "Remote syslog."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "SNMP",
"title": "SNMPv3",
"cmd": "snmp-server group OPS v3 priv\nsnmp-server user monitor OPS v3 auth sha AUTHPASS priv aes 128 PRIVPASS",
"desc": "SNMPv3 with auth+priv."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "NTP",
"title": "NTP",
"cmd": "ntp server 10.0.0.5 prefer iburst",
"desc": "Single NTP server with iburst."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "AAA",
"title": "AAA + TACACS+",
"cmd": "tacacs-server host 10.0.0.20 key SECRET\naaa authentication login default group tacacs+ local\naaa authorization commands all default group tacacs+ local",
"desc": "Centralized auth + command authz."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Troubleshooting",
"title": "Ping / traceroute",
"cmd": "ping 10.10.10.1 source 1.1.1.1 size 1500 df-bit repeat 100\ntraceroute 10.10.10.1 source 1.1.1.1",
"desc": "With DF-bit for MTU verify."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Troubleshooting",
"title": "Capture (EOS tcpdump)",
"cmd": "bash sudo tcpdump -i ma1 -nn host 10.10.10.10\n! or: bash sudo tcpdump -i et1",
"desc": "Drops to bash to use Linux tcpdump."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Troubleshooting",
"title": "Show logging",
"cmd": "show logging\nshow logging last 30 minutes",
"desc": "Live + time-windowed."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "Troubleshooting",
"title": "Show tech-support",
"cmd": "show tech-support",
"desc": "All-purpose diagnostic snapshot."
},
{
"os": "eos",
"role": "switch",
"vendor": "Arista",
"cat": "System",
"title": "EOS eAPI (JSON-RPC)",
"cmd": "management api http-commands\n no shutdown\n protocol https",
"desc": "Enable JSON-RPC API for automation."
}
] |