File size: 153,826 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 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 | [
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "Show Management Interface",
"cmd": "Show Management Interface",
"desc": "Interfaces β Please check [show ip interfaces](#show-ip-interfaces)"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config --help",
"cmd": "config --help",
"desc": "System β This command lists all the possible configuration commands at the top level. - Usage: config --help - Example: admin@sonic:~$ config --help Usage: config [OPTIONS] COMMAND [ARGS] SONiC command line - 'config' command Opβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show help",
"cmd": "show help",
"desc": "Troubleshooting β This command displays the full list of show commands available in the software; the output of each of those show commands can be used to analyze, debug or troubleshoot the network node."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "Show Versions",
"cmd": "Show Versions",
"desc": "Troubleshooting"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show version",
"cmd": "show version",
"desc": "Troubleshooting β This command displays software component versions of the currently running SONiC image."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "Show System Status",
"cmd": "Show System Status",
"desc": "Troubleshooting β This sub-section explains some set of sub-commands that are used to display the status of various parameters pertaining to the physical state of the network node."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show clock",
"cmd": "show clock",
"desc": "Troubleshooting β This command displays the current date and time configured on the system - Usage: show clock - Example: admin@sonic:~$ show clock Mon Mar 25 20:25:16 UTC 2019"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config clock date",
"cmd": "config clock date",
"desc": "System β This command will set the date-time of the systetm, given strings with date-time format <YYYY-MM-DD> <HH:MM:SS> - Usage: config clock date <YYYY-MM-DD> <HH:MM:SS> - Parameters: - _date_: valid date in format YYYY-MM-DDβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config clock timezone",
"cmd": "config clock timezone",
"desc": "System β This command will set the timezone of the systetm, given a string of a valid timezone."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show clock timezones",
"cmd": "show clock timezones",
"desc": "Troubleshooting β This command Will display list of all valid timezones to be configured. - Usage: show clock timezones - Example: root@host:~$ show clock timezones Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show boot",
"cmd": "show boot",
"desc": "Troubleshooting β This command displays the current OS image, the image to be loaded on next reboot, and lists all the available images installed on the device - Usage: show boot - Example: admin@sonic:~$ show boot Current: SONiC-OS-2018β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show environment",
"cmd": "show environment",
"desc": "Troubleshooting β This command displays the platform environmentals, such as voltages, temperatures and fan speeds - Usage: show environment - Example: admin@sonic:~$ show environment coretemp-isa-0000 Adapter: ISA adapter Core 0: +28.0β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show reboot-cause",
"cmd": "show reboot-cause",
"desc": "Troubleshooting β This command displays the cause of the previous reboot - Usage: show reboot-cause - Example: ### Shown below is the output of the CLI when executed on the NPU admin@sonic:~$ show reboot-cause User issued reboot commandβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show reboot-cause all",
"cmd": "show reboot-cause all",
"desc": "Troubleshooting β This command displays the cause of the previous reboot for the Switch and the DPUs for which the midplane interfaces are up."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show reboot-cause history",
"cmd": "show reboot-cause history",
"desc": "Troubleshooting β This command displays the history of the previous reboots up to 10 entry - Usage: show reboot-cause history - Example: ### Shown below is the output of the CLI when executed on the NPU root@MtFuji:/home/cisco# show reboβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show reboot-cause history all",
"cmd": "show reboot-cause history all",
"desc": "Troubleshooting β This command displays the history of the previous reboots up to 10 entry of the Switch and the DPUs for which the midplane interfaces are up."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show reboot-cause history DPU1",
"cmd": "show reboot-cause history DPU1",
"desc": "Troubleshooting β This command displays the history of the previous reboots up to 10 entry of DPU1."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show uptime",
"cmd": "show uptime",
"desc": "Troubleshooting β This command displays the current system uptime - Usage: show uptime - Example: admin@sonic:~$ show uptime up 2 days, 21 hours, 30 minutes"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "show logging",
"cmd": "show logging",
"desc": "Logging β This command displays all the currently stored log messages. All the latest processes and corresponding transactions are stored in the \"syslog\" file."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show users",
"cmd": "show users",
"desc": "Troubleshooting β This command displays a list of users currently logged in to the device - Usage: show users - Examples: admin@sonic:~$ show users admin pts/9 Mar 25 20:31 (100.127.20.23) admin@sonic:~$ show users admin ttyS1 2019-03-25β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "Show Hardware Platform",
"cmd": "Show Hardware Platform",
"desc": "Troubleshooting β The information displayed in this set of commands partially overlaps with the one generated by βshow envinronmentβ instruction."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform summary",
"cmd": "show platform summary",
"desc": "Troubleshooting β This command displays a summary of the device's hardware platform - Usage: show platform summary - Example: admin@sonic:~$ show platform summary Platform: x86_64-mlnx_msn2700-r0 HwSKU: Mellanox-SN2700 ASIC: mellanox ASIβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform syseeprom",
"cmd": "show platform syseeprom",
"desc": "Troubleshooting β This command displays information stored on the system EEPROM. Note that the output of this command is not the same for all vendor's platforms."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform ssdhealth",
"cmd": "show platform ssdhealth",
"desc": "Troubleshooting β This command displays health parameters of the device's SSD - Usage: show platform ssdhealth [--vendor] - Example: admin@sonic:~$ show platform ssdhealth Device Model : M.2 (S42) 3IE3 Health : 99.665% Temperature : 30C"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform psustatus",
"cmd": "show platform psustatus",
"desc": "Troubleshooting β This command displays the status of the device's power supply units - Usage: show platform psustatus - Example: admin@sonic:~$ show platform psustatus PSU Model Serial HW Rev Voltage (V) Current (A) Power (W) Status LEDβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform fan",
"cmd": "show platform fan",
"desc": "Troubleshooting β This command displays the status of the device's fans - Usage: show platform fan - Example: admin@sonic:~$ show platform fan FAN Speed Direction Presence Status Timestamp ----------- -------- ----------- ---------- ----β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform temperature",
"cmd": "show platform temperature",
"desc": "Troubleshooting β This command displays the status of the device's thermal sensors - Usage: show platform temperature - Example: admin@sonic:~$ show platform temperature NAME Temperature High Th Low Th Crit High Th Crit Low Th Warning Tiβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform bmc summary",
"cmd": "show platform bmc summary",
"desc": "Troubleshooting β This command displays BMC summary information including manufacturer, model, part number, serial number, power state, and firmware version - Usage: show platform bmc summary [--json] - Options: - --json: Output informatβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform bmc eeprom",
"cmd": "show platform bmc eeprom",
"desc": "Troubleshooting β This command displays BMC EEPROM information - Usage: show platform bmc eeprom [--json] - Options: - --json: Output information in JSON format - Example: admin@sonic:~$ show platform bmc eeprom Manufacturer: ASPEED Modeβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces transceiver",
"cmd": "show interfaces transceiver",
"desc": "Troubleshooting β This command displays information for all the interfaces for the transceiver requested or a specific interface if the optional \"interface_name\" is specified."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "show aaa",
"cmd": "show aaa",
"desc": "AAA β This command displays the AAA settings currently present in the network node - Usage: show aaa - Example: admin@sonic:~$ show aaa AAA authentication login local (default) AAA authentication failthrough True (default) AAβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "show tacacs",
"cmd": "show tacacs",
"desc": "AAA β This command displays the global configuration fields and the list of all tacacs servers and their correponding configurations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "config tacacs add",
"cmd": "config tacacs add",
"desc": "AAA β This command is used to add a TACACS+ server to the tacacs server list. Note that more than one tacacs+ (maximum of seven) can be added in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "config tacacs delete",
"cmd": "config tacacs delete",
"desc": "AAA β This command is used to delete the tacacs+ servers configured. - Usage: config tacacs delete <ip_address> - Example: admin@sonic:~$ sudo config tacacs delete 10.11.12.13"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "config tacacs authtype",
"cmd": "config tacacs authtype",
"desc": "AAA β This command is used to modify the global value for the TACACS+ authtype. When user has not configured server specific authtype, this global value shall be used for that server."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "config tacacs default",
"cmd": "config tacacs default",
"desc": "AAA β This command is used to reset the global value for authtype or passkey or timeout to default value."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "config tacacs passkey",
"cmd": "config tacacs passkey",
"desc": "AAA β This command is used to modify the global value for the TACACS+ passkey. When user has not configured server specific passkey, this global value shall be used for that server."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "config tacacs timeout",
"cmd": "config tacacs timeout",
"desc": "AAA β This command is used to modify the global value for the TACACS+ timeout. When user has not configured server specific timeout, this global value shall be used for that server."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "show acl table",
"cmd": "show acl table",
"desc": "ACL β This command displays either all the ACL tables that are configured or only the specified \"TABLE_NAME\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "show acl rule",
"cmd": "show acl rule",
"desc": "ACL β This command displays all the ACL rules present in all the ACL tables or only the rules present in specified table \"TABLE_NAME\" or only the rule matching the RULE_ID option."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "config acl update full",
"cmd": "config acl update full",
"desc": "ACL β This command is to update the rules in all the tables or in one specific table in full."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "config acl update incremental",
"cmd": "config acl update incremental",
"desc": "ACL β This command is used to perform incremental update of ACL rule table. This command gets existing rules from Config DB and compares with rules specified in input file and performs corresponding modifications."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "config acl add table",
"cmd": "config acl add table",
"desc": "ACL β This command is used to create new ACL tables. - Usage: config acl add table [OPTIONS] <table_name> <table_type> [-d <description>] [-p <ports>] [-s (ingress | egress)] [-n <namespace>] - Parameters: - table_name: The nβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "config acl remove table",
"cmd": "config acl remove table",
"desc": "ACL β This command is used to remove an ACL table. - Usage: config acl remove table <table_name> [-n <namespace>] - Parameters: - table_name: The name of the ACL table to remove."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config asic-sdk-health-event suppress",
"cmd": "config asic-sdk-health-event suppress",
"desc": "System β This command is for a customer to configure the categories that he/she wants to suppress for a certain severity."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show asic-sdk-health-event received",
"cmd": "show asic-sdk-health-event received",
"desc": "Troubleshooting β This command displays the received ASIC/SDK health events. - Usage: show asic-sdk-health-event received [-n <asicname>] - Details: - show asic-sdk-health-event received: Display the ASIC/SDK health events received on alβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show asic-sdk-health-event suppress-configuration",
"cmd": "show asic-sdk-health-event suppress-configuration",
"desc": "Troubleshooting β This command displays the suppressed category list and maximum number of events of ASIC/SDK health events."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show arp",
"cmd": "show arp",
"desc": "Troubleshooting β This command displays the ARP entries in the device with following options. 1) Display the entire table."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ndp",
"cmd": "show ndp",
"desc": "Troubleshooting β This command displays either all the IPv6 neighbor mac addresses, or for a particular IPv6 neighbor, or for all IPv6 neighbors reachable via a specific interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config bmc open-session",
"cmd": "config bmc open-session",
"desc": "System β This command opens a session with the BMC and returns session credentials - Usage: config bmc open-session - Example: admin@sonic:~$ sudo config bmc open-session Session ID: qL8mAGlFvw Token: ndCMbgPVd3d1LpRXXkTJ"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config bmc close-session",
"cmd": "config bmc close-session",
"desc": "System β This command closes a BMC session using the provided session ID - Usage: config bmc close-session --session-id <session_id> - Options: - -s, --session-id: Session ID to close (required) - Example: admin@sonic:~$ sudo coβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config bmc reset-root-password",
"cmd": "config bmc reset-root-password",
"desc": "System β This command resets the BMC root password to default - Usage: config bmc reset-root-password - Example: admin@sonic:~$ sudo config bmc reset-root-password BMC root password reset successful Go Back To [Beginning of theβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BFD",
"title": "show bfd summary",
"cmd": "show bfd summary",
"desc": "BFD β This command displays the state and key parameters of all BFD sessions. - Usage: show bfd summary [-n <namespace>] - Example: >> show bfd summary Total number of BFD sessions: 3 Peer Addr Interface Vrf State Type Localβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BFD",
"title": "show bfd peer",
"cmd": "show bfd peer",
"desc": "BFD β This command displays the state and key parameters of all BFD sessions that match an IP address."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show bgp summary (Versions >= 201904 using default FRR routing stack)",
"cmd": "show bgp summary (Versions >= 201904 using default FRR routing stack)",
"desc": "BGP"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ip bgp summary (Versions <= 201811 using Quagga routing stack)",
"cmd": "show ip bgp summary (Versions <= 201811 using Quagga routing stack)",
"desc": "BGP β This command displays the summary of all IPv4 & IPv6 bgp neighbors that are configured and the corresponding states."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show bgp neighbors (Versions >= 201904 using default FRR routing stack)",
"cmd": "show bgp neighbors (Versions >= 201904 using default FRR routing stack)",
"desc": "BGP"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ip bgp neighbors (Versions <= 201811 using Quagga routing stack)",
"cmd": "show ip bgp neighbors (Versions <= 201811 using Quagga routing stack)",
"desc": "BGP β This command displays all the details of IPv4 & IPv6 BGP neighbors when no optional argument is specified."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ip bgp network [[<ipv4-address>|<ipv4-prefix>] [(bestpath | multipath | longer-prefiβ¦",
"cmd": "show ip bgp network [[<ipv4-address>|<ipv4-prefix>] [(bestpath | multipath | longer-prefixes | json)]]",
"desc": "BGP β This command displays all the details of IPv4 Border Gateway Protocol (BGP) prefixes."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show bgp ipv6 summary (Versions >= 201904 using default FRR routing stack)",
"cmd": "show bgp ipv6 summary (Versions >= 201904 using default FRR routing stack)",
"desc": "BGP"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ipv6 bgp summary (Versions <= 201811 using Quagga routing stack)",
"cmd": "show ipv6 bgp summary (Versions <= 201811 using Quagga routing stack)",
"desc": "BGP β This command displays the summary of all IPv6 bgp neighbors that are configured and the corresponding states."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show bgp ipv6 neighbors (Versions >= 201904 using default FRR routing stack)",
"cmd": "show bgp ipv6 neighbors (Versions >= 201904 using default FRR routing stack)",
"desc": "BGP"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ipv6 bgp neighbors (Versions <= 201811 using Quagga routing stack)",
"cmd": "show ipv6 bgp neighbors (Versions <= 201811 using Quagga routing stack)",
"desc": "BGP β This command displays all the details of one particular IPv6 Border Gateway Protocol (BGP) neighbor."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show route-map",
"cmd": "show route-map",
"desc": "Troubleshooting β This command displays the routing policy that takes precedence over the other route processes that are configured."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show suppress-fib-pending",
"cmd": "show suppress-fib-pending",
"desc": "Troubleshooting β This command is used to show the status of suppress pending FIB feature. When enabled, BGP will not advertise routes which aren't yet offloaded."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show bgp device-global",
"cmd": "show bgp device-global",
"desc": "BGP β This command displays BGP device global configuration. - Usage: bash show bgp device-global - Options: - _-j,--json_: display in JSON format - Example: bash admin@sonic:~$ show bgp device-global TSA W-ECMP ------- -----β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ip bgp aggregate-address",
"cmd": "show ip bgp aggregate-address",
"desc": "BGP β This command displays configured IPv4 BGP aggregate addresses from the CONFIG_DB."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ipv6 bgp aggregate-address",
"cmd": "show ipv6 bgp aggregate-address",
"desc": "BGP β This command displays configured IPv6 BGP aggregate addresses from the CONFIG_DB."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp shutdown all",
"cmd": "config bgp shutdown all",
"desc": "BGP β This command is used to shutdown all the BGP IPv4 & IPv6 sessions. When the session is shutdown using this command, BGP state in \"show ip bgp summary\" is displayed as \"Idle (Admin)\" - Usage: config bgp shutdown all - Exβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp shutdown neighbor",
"cmd": "config bgp shutdown neighbor",
"desc": "BGP β This command is to shut down a BGP session with a neighbor by that neighbor's IP address or hostname - Usage: sudo config bgp shutdown neighbor (<ip_address> | <hostname>) - Examples: admin@sonic:~$ sudo config bgp shutβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp startup all",
"cmd": "config bgp startup all",
"desc": "BGP β This command is used to start up all the IPv4 & IPv6 BGP neighbors - Usage: config bgp startup all - Example: admin@sonic:~$ sudo config bgp startup all"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp startup neighbor",
"cmd": "config bgp startup neighbor",
"desc": "BGP β This command is used to start up the particular IPv4 or IPv6 BGP neighbor using either the IP address or hostname."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp remove neighbor",
"cmd": "config bgp remove neighbor",
"desc": "BGP β This command is used to remove particular IPv4 or IPv6 BGP neighbor configuration using either the IP address or hostname."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config suppress-fib-pending",
"cmd": "config suppress-fib-pending",
"desc": "System β This command is used to enable or disable announcements of routes not yet installed in the HW."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp device-global tsa/w-ecmp",
"cmd": "config bgp device-global tsa/w-ecmp",
"desc": "BGP β This command is used to manage BGP device global configuration. Feature list: 1."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp aggregate-address add",
"cmd": "config bgp aggregate-address add",
"desc": "BGP β This command adds a BGP aggregate address entry to the CONFIG_DB. - Usage: config bgp aggregate-address add <ip-prefix> [--bbr-required] [--summary-only] [--as-set] [--aggregate-address-prefix-list <name>] [--contributiβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "config bgp aggregate-address remove",
"cmd": "config bgp aggregate-address remove",
"desc": "BGP β This command removes a BGP aggregate address entry from the CONFIG_DB. - Usage: config bgp aggregate-address remove <ip-prefix> - Example: admin@sonic:~$ sudo config bgp aggregate-address remove 192.168.0.0/24 Go Back Tβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show line",
"cmd": "show line",
"desc": "Troubleshooting β This command displays serial port or a virtual network connection status. - Usage: show line (-b|--breif) - Example: admin@sonic:~$ show line Line Baud Flow Control PID Start Time Device ------ ------ -------------- ---β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console enable",
"cmd": "config console enable",
"desc": "System β This command is used to enable SONiC console switch feature. - Usage: config console enable - Example: admin@sonic:~$ sudo config console enable"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console disable",
"cmd": "config console disable",
"desc": "System β This command is used to disable SONiC console switch feature. - Usage: config console disable - Example: admin@sonic:~$ sudo config console disable"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console add",
"cmd": "config console add",
"desc": "System β This command is used to add a console port setting. - Usage: config console add <port_name> [--baud|-b <baud_rate>] [--flowcontrol|-f] [--devicename|-d <remote_device>] - Example: admin@sonic:~$ config console add 1 --bβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console del",
"cmd": "config console del",
"desc": "System β This command is used to remove a console port setting. - Usage: config console del <port_name> - Example: admin@sonic:~$ sudo config console del 1"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console remote_device",
"cmd": "config console remote_device",
"desc": "System β This command is used to update the remote device name for a console port. - Usage: config console remote_device <port_name> <remote_device> - Example: admin@sonic:~$ sudo config console remote_device 1 switch1"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console baud",
"cmd": "config console baud",
"desc": "System β This command is used to update the baud rate for a console port. - Usage: config console baud <port_name> <baud_rate> - Example: admin@sonic:~$ sudo config console baud 1 9600"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config console flow_control",
"cmd": "config console flow_control",
"desc": "System β This command is used to enable or disable flow control feature for a console port."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_relay ipv4 helper",
"cmd": "show dhcp_relay ipv4 helper",
"desc": "Troubleshooting β This command is used to show ipv4 dhcp_relay helper. - Usage: show dhcp_relay ipv4 helper - Example: admin@sonic:~$ show dhcp_relay ipv4 helper +-------------+----------------------+ | Interface | DHCP Relay Address | +β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_relay ipv6 destination",
"cmd": "show dhcp_relay ipv6 destination",
"desc": "Troubleshooting β This command is used to show ipv6 dhcp_relay destination. - Usage: show dhcp_relay ipv6 destination - Example: admin@sonic:~$ show dhcp_relay ipv6 destination +-------------+---------------------+ | Interface | DHCP Relβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_relay ipv6 counters",
"cmd": "show dhcp_relay ipv6 counters",
"desc": "Troubleshooting β This command is used to show ipv6 dhcp_relay counters. - Usage: show dhcp_relay ipv6 counters - Example: admin@sonic:~$ sudo sonic-clear dhcp_relay counters Message Type Vlan1000 ------------------- ---------- Unknown 0β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_relay ipv4 counters",
"cmd": "show dhcp_relay ipv4 counters",
"desc": "Troubleshooting β This command is used to show ipv4 dhcp_relay counters - Usage: show dhcp_relay ipv4 counters [--dir (TX|RX)] [--type <type>] [<vlan_interface>] Options: --dir [TX|RX] --type [Unknown|Discover|Offer|Request|Decline|Ack|Nβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "config vlan dhcp_relay add",
"cmd": "config vlan dhcp_relay add",
"desc": "VLAN β This command is used to add a DHCP Relay Destination IP address or multiple IP addresses to a VLAN."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "config vlan dhcp_relay delete",
"cmd": "config vlan dhcp_relay delete",
"desc": "VLAN β This command is used to delete a configured DHCP Relay Destination IP address or multiple IP addresses from a VLAN interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_relay ipv4 helper add/del",
"cmd": "config dhcp_relay ipv4 helper add/del",
"desc": "System β This command is used to add or delete IPv4 DHCP Relay helper addresses to a VLAN."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_relay ipv6 destination add/del",
"cmd": "config dhcp_relay ipv6 destination add/del",
"desc": "System β This command is used to add or del IPv6 DHCP Relay destination addresses to a VLAN."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_server info",
"cmd": "show dhcp_server info",
"desc": "Troubleshooting β This command is used to show dhcp_server config. - Usage show dhcp_server ipv4 info [--with_customize_option] [<dhcp_interface>] - Example show dhcp_server ipv4 info Vlan1000 +-------------+--------+-------------+------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_server range",
"cmd": "show dhcp_server range",
"desc": "Troubleshooting β This command is used to show dhcp_server ip range. - Usage show dhcp_server ipv4 range [<range_name>] - Example show dhcp_server ipv4 range range_1 +---------+-------------+--------------+------------+ | Range | IP Starβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_server option",
"cmd": "show dhcp_server option",
"desc": "Troubleshooting β This command is used to show dhcp_server customized option. - Usage show dhcp_server ipv4 option [<option_name>] - Example show dhcp_server ipv4 option option_1 +---------------+-------------+---------+--------+ | Optioβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dhcp_server lease",
"cmd": "show dhcp_server lease",
"desc": "Troubleshooting β This command is used to show dhcp_server lease. - Usage show dhcp_server ipv4 lease [<dhcp_interface>] - Example show dhcp_server ipv4 lease +--------------------+-------------------+-------------+---------------------+β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show dhcp_server port",
"cmd": "show dhcp_server port",
"desc": "Interfaces β This command is used to show dhcp_server port binding. - Usage show dhcp_server ipv4 port [<dhcp_interface>] - Example show dhcp_server ipv4 port Vlan1000 +---------------------+--------------+ | Interface | Bind | +===β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server add",
"cmd": "config dhcp_server add",
"desc": "System β This command is used to add dhcp_server for DHCP interface. - Usage config dhcp_server ipv4 add --mode <mode> [--dup_gw_nm] [--lease_time <lease_time>] [--gateway <gateway>] [--netmask <netmask>] <dhcp_interface> Optionβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server del",
"cmd": "config dhcp_server del",
"desc": "System β This command is used to delete all dhcp_server config for DHCP interface, to be clarify that delete a enable dhcp_server is not allowed."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server enable/disable",
"cmd": "config dhcp_server enable/disable",
"desc": "System β This command is used to enable or disable dhcp_server for DHCP interface, this state is set to disable by default while adding a new dhcp_server."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server update",
"cmd": "config dhcp_server update",
"desc": "System β This command is used to update dhcp_server config. - Usage config dhcp_server ipv4 update --mode <mode> [--dup_gw_nm] [--lease_time <lease_time>] [--gateway <gateway>] [--netmask <netmask>] <dhcp_interface> - Example coβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server range add/del/update",
"cmd": "config dhcp_server range add/del/update",
"desc": "System β This command is used to config ip range. - Usage # <ip_end> is not required, if not given, means ip_end is equal to ip_start config dhcp_server ipv4 range add <range_name> <ip_start> [<ip_end>] config dhcp_server ipv4 rβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server bind/unbind",
"cmd": "config dhcp_server bind/unbind",
"desc": "System β This command is used to config dhcp ip per interface. - Usage config dhcp_server ipv4 bind <vlan_interface> <interface> (--range <ip_range_list> | <ip_list>) config dhcp_server ipv4 unbind <vlan_interface> <interface> (β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server option add",
"cmd": "config dhcp_server option add",
"desc": "System β This command is used to add dhcp option. Type field can refer to [Customize DHCP Packet Options](#customize-dhcp-packet-options)."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server option del",
"cmd": "config dhcp_server option del",
"desc": "System β This command is used to del dhcp option. - Usage config dhcp_server ipv4 option del <option_name> - Example config dhcp_server ipv4 option del option_1"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server option bind",
"cmd": "config dhcp_server option bind",
"desc": "System β This command is used to bind dhcp option per dhcp interface. - Usage config dhcp_server ipv4 option bind <dhcp_interface> <option_list> - Example config dhcp_server ipv4 option bind Vlan1000 option_1"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dhcp_server option unbind",
"cmd": "config dhcp_server option unbind",
"desc": "System β This command is used to unbind dhcp option. - Usage config dhcp_server ipv4 option unbind <dhcp_interface> (--all | <option_name>) - Exampe config dhcp_server ipv4 option unbind Vlan1000 --all config dhcp_server ipv4 opβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dropcounters capabilities",
"cmd": "show dropcounters capabilities",
"desc": "Troubleshooting β This command is used to show the drop counter capabilities that are available on this device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dropcounters configuration",
"cmd": "show dropcounters configuration",
"desc": "Troubleshooting β This command is used to show the current running configuration of the drop counters on this device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show dropcounters counts",
"cmd": "show dropcounters counts",
"desc": "Troubleshooting β This command is used to show the current statistics for the configured drop counters."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dropcounters install",
"cmd": "config dropcounters install",
"desc": "System β This command is used to initialize a new drop counter. The user must specify a name, type, and initial list of drop reasons."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dropcounters add_reasons",
"cmd": "config dropcounters add_reasons",
"desc": "System β This command is used to add drop reasons to an already initialized counter. This command will fail if any of the specified drop reasons are not supported."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dropcounters remove_reasons",
"cmd": "config dropcounters remove_reasons",
"desc": "System β This command is used to remove drop reasons from an already initialized counter."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config dropcounters delete",
"cmd": "config dropcounters delete",
"desc": "System β This command is used to delete a drop counter. - Usage: config dropcounters delete <counter name> - Example: admin@sonic:~$ sudo config dropcounters delete DEBUG_2"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface cable_length",
"cmd": "config interface cable_length",
"desc": "Interfaces β This command is used to configure the length of the cable connected to a port. The cable_length is in unit of meters and must be suffixed with \"m\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface buffer priority-group lossless",
"cmd": "config interface buffer priority-group lossless",
"desc": "Interfaces β This command is used to configure the priority groups on which lossless traffic runs."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface buffer queue",
"cmd": "config interface buffer queue",
"desc": "Interfaces β This command is used to configure the buffer profiles for queues. - Usage: config interface buffer queue add <interface_name> <queue_map> <profile> config interface buffer queue set <interface_name> <queue_map> <profileβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "Show commands",
"cmd": "Show commands",
"desc": "Troubleshooting"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show buffer information",
"cmd": "show buffer information",
"desc": "Troubleshooting β This command is used to display the status of buffer pools and profiles currently deployed to the ASIC."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show buffer configuration",
"cmd": "show buffer configuration",
"desc": "Troubleshooting β This command is used to display the status of buffer pools and profiles currently configured."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ecn",
"cmd": "show ecn",
"desc": "Troubleshooting β This command displays all the WRED profiles that are configured in the device. - Usage: show ecn - Example: admin@sonic:~$ show ecn Profile: **AZURE_LOSSLESS** ----------------------- ------- red_max_threshold 2097152 rβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config ecn",
"cmd": "config ecn",
"desc": "System β This command configures the possible fields in a particular WRED profile that is specified using \"-profile <profilename>\" argument."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config fabric port isolate <portId>",
"cmd": "config fabric port isolate <portId>",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config fabric port unisolate <portId>",
"cmd": "config fabric port unisolate <portId>",
"desc": "Interfaces β The above two commands can be used to manually isolate and unisolate a fabric link."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config fabric port monitor error threshold <crcCells> <rxCells>",
"cmd": "config fabric port monitor error threshold <crcCells> <rxCells>",
"desc": "Interfaces β This command sets a fabric link monitoring error threshold - Usage: config fabric port monitor error threshold [OPTIONS] <crcCells> <rxCells> - Example: admin@sonic:~$ config fabric port monitor error threshold 2 610351β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config fabric port monitor poll threshold isolation <pollnumber>",
"cmd": "config fabric port monitor poll threshold isolation <pollnumber>",
"desc": "Interfaces β This command sets the number of consecutive polls in which the threshold needs to be detected to isolate a link - Usage: config fabric port monitor poll threshold isolation [OPTIONS] <pollCount> - Example: admin@sonic:~β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config fabric port monitor poll threshold recovery <pollnumber>",
"cmd": "config fabric port monitor poll threshold recovery <pollnumber>",
"desc": "Interfaces β This command sets the number of consecutive polls in which no error is detected to unisolate a link - Usage: config fabric port monitor poll threshold recovery [OPTIONS] <pollCount> - Example: admin@sonic:~$ config fabrβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config fabric port monitor state <enable/disable>",
"cmd": "config fabric port monitor state <enable/disable>",
"desc": "Interfaces β This command sets the monitor state in CONFIG_DB to enable/disable the fabric monitor feature."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show feature config",
"cmd": "show feature config",
"desc": "Troubleshooting β Shows the config of given feature or all if no feature is given. The \"fallback\" is shown only if configured."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show feature status",
"cmd": "show feature status",
"desc": "Troubleshooting β Shows the status of given feature or all if no feature is given. The \"fallback\" defaults to \"true\" when not configured."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config feature owner",
"cmd": "config feature owner",
"desc": "System β Configures the owner for a feature as \"local\" or \"kube\". The \"local\" implies starting the feature container from local image."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config feature fallback",
"cmd": "config feature fallback",
"desc": "System β Features configured for \"kube\" deployment could be allowed to fallback to using local image, until the point of successful kube deployment."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show feature autorestart",
"cmd": "show feature autorestart",
"desc": "Troubleshooting β This command will display the status of auto-restart for feature container. - Usage: show feature autorestart [<feature_name>] admin@sonic:~$ show feature autorestart Feature AutoRestart ---------- -------------- bgp enβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config feature state <feature_name> <state>",
"cmd": "config feature state <feature_name> <state>",
"desc": "System β This command will configure the state for a specific feature. - Usage: config feature state <feature_name> (enabled | disabled) admin@sonic:~$ sudo config feature state bgp disabled To make the command wait until the coβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config feature autorestart <feature_name> <autorestart_status>",
"cmd": "config feature autorestart <feature_name> <autorestart_status>",
"desc": "System β This command will configure the status of auto-restart for a specific feature container."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show flowcnt-trap stats",
"cmd": "show flowcnt-trap stats",
"desc": "Troubleshooting β This command is used to show the current statistics for the registered host interface traps."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show flowcnt-route stats",
"cmd": "show flowcnt-route stats",
"desc": "Troubleshooting β This command is used to show the current statistics for route flow patterns. Because clear (see below) is handled on a per-user basis different users may see different counts."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config flowcnt-route pattern add",
"cmd": "config flowcnt-route pattern add",
"desc": "System β This command is used to add or update the route pattern which is used by route flow counter to match route entries."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config flowcnt-route pattern remove",
"cmd": "config flowcnt-route pattern remove",
"desc": "System β This command is used to remove the route pattern which is used by route flow counter to match route entries."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show gearbox interfaces status",
"cmd": "show gearbox interfaces status",
"desc": "Troubleshooting β This command displays information about the gearbox phy interface lanes, speeds and status."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show gearbox phys status",
"cmd": "show gearbox phys status",
"desc": "Troubleshooting β This command displays basic information about the gearbox phys configured on the switch."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show gearbox interfaces fec-stats",
"cmd": "show gearbox interfaces fec-stats",
"desc": "Troubleshooting β This command displays FEC statistics for gearbox interfaces from the GB_COUNTERS_DB."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show gearbox interfaces fec-histogram",
"cmd": "show gearbox interfaces fec-histogram",
"desc": "Troubleshooting β This command displays the FEC codeword error histogram for gearbox interfaces. Histogram bins (BIN0βBIN15) count codewords with a given number of symbol errors."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config hostname",
"cmd": "config hostname",
"desc": "System β This command is used to change device hostname without traffic being impacted. - Usage: config hostname <new_hostname> - Example: `` admin@sonic:~$ sudo config hostname CSW06 Please note loaded setting will be lost afteβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show switch-hash global",
"cmd": "show switch-hash global",
"desc": "Troubleshooting β This command displays switch hash global configuration. - Usage: bash show switch-hash global [--json] show switch-hash -n <namespace> global [--json] - Options: - _-j,--json_: display in JSON format - _-n,--namespace_:β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show switch-hash capabilities",
"cmd": "show switch-hash capabilities",
"desc": "Troubleshooting β This command displays switch hash capabilities. - Usage: bash show switch-hash capabilities [--json] show switch-hash -n <namespace> capabilities [--json] - Options: - _-j,--json_: display in JSON format - _-n,--namespaβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "EtherChannel",
"title": "config switch-hash global ecmp/lag hash",
"cmd": "config switch-hash global ecmp/lag hash",
"desc": "EtherChannel β This command is used to manage switch hash global configuration. - Usage: bash config switch-hash global ecmp-hash <hash_field_list> config switch-hash global lag-hash <hash_field_list> config switch-hash global -n <namβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "EtherChannel",
"title": "config switch-hash global ecmp/lag hash algorithm",
"cmd": "config switch-hash global ecmp/lag hash algorithm",
"desc": "EtherChannel β This command is used to manage switch hash algorithm global configuration. - Usage: bash config switch-hash global ecmp-hash-algorithm <hash_algorithm> config switch-hash global lag-hash-algorithm <hash_algorithm> confiβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show switch-fast-linkup global",
"cmd": "show switch-fast-linkup global",
"desc": "Troubleshooting β Display switch Fast Link-Up global configuration. - Usage: bash show switch-fast-linkup global [--json] - Examples: bash admin@sonic:~$ show switch-fast-linkup global Field Value ------------- ----- polling_time 60 guarβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces fast-linkup status",
"cmd": "show interfaces fast-linkup status",
"desc": "Troubleshooting β Display per-interface Fast Link-Up mode. - Usage: bash show interfaces fast-linkup status - Example: bash admin@sonic:~$ show interfaces fast-linkup status Interface fast_linkup ----------- ----------- Ethernet0 true Etβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config switch-fast-linkup global",
"cmd": "config switch-fast-linkup global",
"desc": "System β Configure the switch Fast Link-Up global parameters. - Usage: bash config switch-fast-linkup global [--polling-time <sec>] [--guard-time <sec>] [--ber <exp>] - Parameters: - _polling-time_: time in seconds to attempt faβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface fast-linkup",
"cmd": "config interface fast-linkup",
"desc": "Interfaces β Enable/disable Fast Link-Up per interface. - Usage: bash config interface fast-linkup <interface_name> <enabled|disabled> - Behavior: - Writes PORT|<interface_name>:fast_linkup as true (enabled) or false (disabled)."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces autoneg",
"cmd": "show interfaces autoneg",
"desc": "Troubleshooting β This show command displays the port auto negotiation status for all interfaces i.e."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces breakout (Versions >= 202006)",
"cmd": "show interfaces breakout (Versions >= 202006)",
"desc": "Troubleshooting β This show command displays the port capability for all interfaces i.e. index, lanes, default_brkout_mode, breakout_modes(i.e."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces counters",
"cmd": "show interfaces counters",
"desc": "Troubleshooting β This show command displays packet counters for all interfaces(except the \"show interface detailed\" command) since the last time the counters were cleared."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces description",
"cmd": "show interfaces description",
"desc": "Troubleshooting β This command displays the key fields of the interfaces such as Operational Status, Administrative Status, Alias and Description."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces fec status (Versions >= 202311)",
"cmd": "show interfaces fec status (Versions >= 202311)",
"desc": "Troubleshooting β This command is to display the FEC status of the selected interfaces. If **interface_name** is not specicied, this command shows the FEC status of all interfaces."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces link-training (Versions >= 202211)",
"cmd": "show interfaces link-training (Versions >= 202211)",
"desc": "Troubleshooting β This command is to display the link-training status of the selected interfaces. If **interface_name** is not specicied, this command shows the link-training status of all interfaces."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces phy",
"cmd": "show interfaces phy",
"desc": "Troubleshooting β This command displays Layer 1 physical layer (PHY) diagnostics for interfaces. The command has two subcommands: - phy-signal - Displays boolean link/signal status indicators (quick health check) - phy-serdes - Displaysβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces flap",
"cmd": "show interfaces flap",
"desc": "Troubleshooting β The show interfaces flap command provides detailed insights into interface events, including the timestamp of the last link down event and the total flap count (number of times the link has gone up and down)."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces errors",
"cmd": "show interfaces errors",
"desc": "Troubleshooting β The show interface errors command provides detailed statistics and error counters for MAC-level operations on an interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "MPLS",
"title": "show interfaces mpls",
"cmd": "show interfaces mpls",
"desc": "MPLS β This command is used to display the configured MPLS state for the list of configured parent interfaces."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show interfaces loopback-action",
"cmd": "show interfaces loopback-action",
"desc": "Interfaces β This command displays the configured loopback action - Usage: show ip interfaces loopback-action - Example: root@sonic:~# show ip interfaces loopback-action Interface Action ------------ ---------- Ethernet232 drop Vlanβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces tpid",
"cmd": "show interfaces tpid",
"desc": "Troubleshooting β This command displays the key fields of the interfaces such as Operational Status, Administrative Status, Alias and TPID."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces naming_mode",
"cmd": "show interfaces naming_mode",
"desc": "Troubleshooting β Refer sub-section [Interface-Naming-Mode](#Interface-Naming-Mode)"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show interfaces neighbor",
"cmd": "show interfaces neighbor",
"desc": "BGP β This command is used to display the list of expected neighbors for all interfaces (or for a particular interface) that is configured."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show interfaces portchannel",
"cmd": "show interfaces portchannel",
"desc": "Troubleshooting β This command displays information regarding port-channel interfaces - Usage: show interfaces portchannel - Example: admin@sonic:~$ show interfaces portchannel Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - nβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show interface status",
"cmd": "show interface status",
"desc": "Interfaces β This command displays some more fields such as Lanes, Speed, MTU, Type, Asymmetric PFC status and also the operational and administrative status of the interfaces - Usage: show interfaces status [<interface_name>] - Exaβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show interface switchport status",
"cmd": "show interface switchport status",
"desc": "Interfaces β This command displays switchport modes status of the interfaces - Usage: show interfaces switchport status - Example (show interface switchport status of all interfaces): admin@sonic:~$ show interfaces switchport statusβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show interface switchport config",
"cmd": "show interface switchport config",
"desc": "Interfaces β This command displays switchport modes configuration of the interfaces - Usage: show interfaces switchport config - Example (show interface switchport config of all interfaces): admin@sonic:~$ show interfaces switchportβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface ip add <interface_name> <ip_addr> [default_gw] (Versions >= 201904)",
"cmd": "config interface ip add <interface_name> <ip_addr> [default_gw] (Versions >= 201904)",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> ip add <ip_addr> (Versions <= 201811)",
"cmd": "config interface <interface_name> ip add <ip_addr> (Versions <= 201811)",
"desc": "Interfaces β This command is used for adding the IP address for an interface. IP address for either physical interface or for portchannel or for VLAN interface or for Loopback interface can be configured using this command."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface ip remove <interface_name> <ip_addr> (Versions >= 201904)",
"cmd": "config interface ip remove <interface_name> <ip_addr> (Versions >= 201904)",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> ip remove <ip_addr> (Versions <= 201811)",
"cmd": "config interface <interface_name> ip remove <ip_addr> (Versions <= 201811)",
"desc": "Interfaces β - Usage: *Versions >= 201904* config interface ip remove <interface_name> <ip_addr> *Versions <= 201811* config interface ip remove <interface_name> <ip_addr> - Example: *Versions >= 201904* admin@sonic:~$ sudo config iβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface pfc priority <interface_name> <priority> (on | off)",
"cmd": "config interface pfc priority <interface_name> <priority> (on | off)",
"desc": "Interfaces β This command is used to set PFC on a given priority of a given interface to either \"on\" or \"off\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface pfc asymmetric <interface_name> (Versions >= 201904)",
"cmd": "config interface pfc asymmetric <interface_name> (Versions >= 201904)",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> pfc asymmetric (Versions <= 201811)",
"cmd": "config interface <interface_name> pfc asymmetric (Versions <= 201811)",
"desc": "Interfaces β This command is used for setting the asymmetric PFC for an interface to either \"on\" or \"off\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface shutdown <interface_name> (Versions >= 201904)",
"cmd": "config interface shutdown <interface_name> (Versions >= 201904)",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> shutdown (Versions <= 201811)",
"cmd": "config interface <interface_name> shutdown (Versions <= 201811)",
"desc": "Interfaces β This command is used to administratively shut down either the Physical interface or port channel interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface startup <interface_name> (Versions >= 201904)",
"cmd": "config interface startup <interface_name> (Versions >= 201904)",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> startup (Versions <= 201811)",
"cmd": "config interface <interface_name> startup (Versions <= 201811)",
"desc": "Interfaces β This command is used for administratively bringing up the Physical interface or port channel interface.Once if it is configured, use \"show interfaces status\" to check the same."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> speed (Versions >= 202006)",
"cmd": "config interface <interface_name> speed (Versions >= 202006)",
"desc": "Interfaces β Dynamic breakout feature is supported in SONiC from 202006 version. User can configure any speed specified under \"breakout_modes\" keys for the parent interface in the platform-specific port configuration file (i.e."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface speed <interface_name> (Versions >= 201904)",
"cmd": "config interface speed <interface_name> (Versions >= 201904)",
"desc": "Interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface <interface_name> speed (Versions <= 201811)",
"cmd": "config interface <interface_name> speed (Versions <= 201811)",
"desc": "Interfaces β This command is used to configure the speed for the Physical interface. Use the value 40000 for setting it to 40G and 100000 for 100G."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface transceiver lpmode",
"cmd": "config interface transceiver lpmode",
"desc": "Interfaces β This command is used to enable or disable low-power mode for an SFP transceiver - Usage: config interface transceiver lpmode <interface_name> (enable | disable) - Examples: user@sonic~$ sudo config interface transceiverβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface transceiver frequency",
"cmd": "config interface transceiver frequency",
"desc": "Interfaces β This command is used to set the coherent module laser frequency - Usage: config interface transceiver frequency <interface_name> <frequency_value> - Examples: user@sonic:~# config interface transceiver frequency Etherneβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface transceiver tx_power",
"cmd": "config interface transceiver tx_power",
"desc": "Interfaces β This command is used to set the coherent module tx power - Usage: config interface transceiver tx_power <interface_name> <tx_power_value> - Examples: user@sonic:~# config interface transceiver tx_power Ethernet0 -- -10.β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface transceiver reset",
"cmd": "config interface transceiver reset",
"desc": "Interfaces β This command is used to reset an SFP transceiver - Usage: config interface transceiver reset <interface_name> - Examples: user@sonic~$ sudo config interface transceiver reset Ethernet0 Resetting port Ethernet0..."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface transceiver dom",
"cmd": "config interface transceiver dom",
"desc": "Interfaces β This command is used to configure the Digital Optical Monitoring (DOM) for an interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface mtu <interface_name> (Versions >= 201904)",
"cmd": "config interface mtu <interface_name> (Versions >= 201904)",
"desc": "Interfaces β This command is used to configure the mtu for the Physical interface. Use the value 1500 for setting max transfer unit size to 1500 bytes."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface tpid <interface_name> (Versions >= 202106)",
"cmd": "config interface tpid <interface_name> (Versions >= 202106)",
"desc": "Interfaces β This command is used to configure the TPID for the Physical/PortChannel interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface breakout (Versions >= 202006)",
"cmd": "config interface breakout (Versions >= 202006)",
"desc": "Interfaces β This command is used to set active breakout mode available for user-specified interface based on the platform-specific port configuration file(i.e."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface autoneg <interface_name> (Versions >= 202106)",
"cmd": "config interface autoneg <interface_name> (Versions >= 202106)",
"desc": "Interfaces β This command is used to set port auto negotiation mode. - Usage: sudo config interface autoneg --help Usage: config interface autoneg [OPTIONS] <interface_name> <mode> Set interface auto negotiation mode Options: -v, --β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface advertised-speeds <interface_name> (Versions >= 202106)",
"cmd": "config interface advertised-speeds <interface_name> (Versions >= 202106)",
"desc": "Interfaces β This command is used to set port advertised speed. - Usage: sudo config interface advertised-speeds --help Usage: config interface advertised-speeds [OPTIONS] <interface_name> <speed_list> Set interface advertised speedβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface advertised-types <interface_name> (Versions >= 202106)",
"cmd": "config interface advertised-types <interface_name> (Versions >= 202106)",
"desc": "Interfaces β This command is used to set port advertised interface types. - Usage: sudo config interface advertised-types --help Usage: config interface advertised-types [OPTIONS] <interface_name> <interface_type_list> Set interfaceβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface type <interface_name> (Versions >= 202106)",
"cmd": "config interface type <interface_name> (Versions >= 202106)",
"desc": "Interfaces β This command is used to set port interface type. - Usage: sudo config interface type --help Usage: config interface type [OPTIONS] <interface_name> <interface_type_value> Set interface type Options: -v, --verbose Enableβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface cable_length (Versions >= 202006)",
"cmd": "config interface cable_length (Versions >= 202006)",
"desc": "Interfaces β This command is used to configure the length of the cable connected to a port. The cable_length is in unit of meters and must be suffixed with \"m\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface lossless_pg (Versions >= 202006)",
"cmd": "config interface lossless_pg (Versions >= 202006)",
"desc": "Interfaces β This command is used to configure the priority groups on which lossless traffic runs."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface headroom_override (Versions >= 202006)",
"cmd": "config interface headroom_override (Versions >= 202006)",
"desc": "Interfaces β This command is used to configure a static buffer profile on a port's lossless priorities."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "MPLS",
"title": "config interface mpls add <interface_name> (Versions >= 202106)",
"cmd": "config interface mpls add <interface_name> (Versions >= 202106)",
"desc": "MPLS β This command is used for adding MPLS operation on the interface. MPLS operation for either physical, portchannel, or VLAN interface can be configured using this command."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "MPLS",
"title": "config interface mpls remove <interface_name> (Versions >= 202106)",
"cmd": "config interface mpls remove <interface_name> (Versions >= 202106)",
"desc": "MPLS β This command is used for removing MPLS operation on the interface. MPLS operation for either physical, portchannel, or VLAN interface can be configured using this command."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface ip loopback-action <interface_name> <action> (Versions >= 202205)",
"cmd": "config interface ip loopback-action <interface_name> <action> (Versions >= 202205)",
"desc": "Interfaces β This command is used for setting the action being taken on packets that ingress and get routed on the same IP interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface link-training <interface_name> (Versions >= 202211)",
"cmd": "config interface link-training <interface_name> (Versions >= 202211)",
"desc": "Interfaces β This command is used for setting link-training mode of a interface. - Usage: sudo config interface link-training --help Usage: config interface link-training [OPTIONS] <interface_name> <mode> Set interface link-trainingβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config interface_naming_ mode",
"cmd": "config interface_naming_ mode",
"desc": "System β This command is used to change the interface naming mode. Users can select between default mode (SONiC interface names) or alias mode (Hardware vendor names)."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface vrf bind",
"cmd": "config interface vrf bind",
"desc": "Interfaces β This command is used to bind a interface to a vrf as well as vnet. By default, all L3 interfaces will be in default vrf."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface vrf unbind",
"cmd": "config interface vrf unbind",
"desc": "Interfaces β This command is used to ubind a interface from a vrf/vnet. This will move the interface to default vrf/vnet."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ip route",
"cmd": "show ip route",
"desc": "Troubleshooting β This command displays either all the route entries from the routing table or a specific route."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ip interfaces",
"cmd": "show ip interfaces",
"desc": "Troubleshooting β This command displays the details about all the Layer3 IP interfaces in the device for which IP address has been assigned."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ip protocol",
"cmd": "show ip protocol",
"desc": "Troubleshooting β This command displays the route-map that is configured for the routing protocol."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ipv6 route",
"cmd": "show ipv6 route",
"desc": "Troubleshooting β This command displays either all the IPv6 route entries from the routing table or a specific IPv6 route."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ipv6 interfaces",
"cmd": "show ipv6 interfaces",
"desc": "Troubleshooting β This command displays the details about all the Layer3 IPv6 interfaces in the device for which IPv6 address has been assigned."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ipv6 protocol",
"cmd": "show ipv6 protocol",
"desc": "Troubleshooting β This command displays the route-map that is configured for the IPv6 routing protocol."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface ipv6 enable use-link-local-only <interface_name>",
"cmd": "config interface ipv6 enable use-link-local-only <interface_name>",
"desc": "Interfaces β This command enables user to enable an interface to forward L3 traffic with out configuring an address."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface ipv6 disable use-link-local-only <interface_name>",
"cmd": "config interface ipv6 disable use-link-local-only <interface_name>",
"desc": "Interfaces β This command enables user to disable use-link-local-only configuration on an interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config ipv6 enable link-local",
"cmd": "config ipv6 enable link-local",
"desc": "System β This command enables user to enable use-link-local-only command on all the interfaces globally."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config ipv6 disable link-local",
"cmd": "config ipv6 disable link-local",
"desc": "System β This command enables user to disable use-link-local-only command on all the interfaces globally."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ipv6 link-local-mode",
"cmd": "show ipv6 link-local-mode",
"desc": "Troubleshooting β This command displays the link local mode of all the interfaces. - Usage: show ipv6 link-local-mode - Example: root@sonic:/home/admin# show ipv6 link-local-mode +------------------+----------+ | Interface Name | Mode |β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show kubernetes server config",
"cmd": "show kubernetes server config",
"desc": "Troubleshooting β This command displays the kubernetes server configuration, if any, else would report as not configured."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show kubernetes server status",
"cmd": "show kubernetes server status",
"desc": "Troubleshooting β This command displays the kubernetes server status. - Usage: show kubernetes server status - Example: admin@sonic:~$ show kubernetes server status ip port connected update-time ----------- ------ ----------- -----------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show LDAP global commands",
"cmd": "show LDAP global commands",
"desc": "Troubleshooting β This command displays the global LDAP configuration that includes the following parameters: base_dn, bind_password, bind_timeout, version, port, timeout."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show LDAP server commands",
"cmd": "show LDAP server commands",
"desc": "Troubleshooting β This command displays the global LDAP configuration that includes the following parameters: base_dn, bind_password, bind_timeout, version, port, timeout."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show kdump config",
"cmd": "show kdump config",
"desc": "Troubleshooting β This command shows the configuration of Linux kernel dump. - Usage: show kdump config - Example: admin@sonic:$ show kdump config Kdump administrative mode: Disabled Kdump operational mode: Unready Kdump memory researvatβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show kdump files",
"cmd": "show kdump files",
"desc": "Troubleshooting β This command shows the Linux kernel core dump files and dmesg files which are generated by kernel dump tool."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "show kdump logging <file_name> <num_of_lines>",
"cmd": "show kdump logging <file_name> <num_of_lines>",
"desc": "Logging β By default, this command will show the last 10 lines of latest dmesg file. This command can also accept a specific file name and number of lines as arguments."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config kdump",
"cmd": "config kdump",
"desc": "System β Administrative state of kdump is stored in ConfigDB. The variable USE_KDUMP in the file /etc/default/kdump-tools is set to 0 to disable kdump, and set to 1 to enable kdump."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show lldp table",
"cmd": "show lldp table",
"desc": "Troubleshooting β This command displays the brief summary of all LLDP neighbors. - Usage: show lldp table - Example: admin@sonic:~$ show lldp table Capability codes: (R) Router, (B) Bridge, (O) Other LocalPort RemoteDevice RemotePortID Cβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show lldp neighbors",
"cmd": "show lldp neighbors",
"desc": "Troubleshooting β This command displays more details about all LLDP neighbors or only the neighbors connected to a specific interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config load",
"cmd": "config load",
"desc": "System β This command is used to load the configuration from a JSON file like the file which SONiC saves its configuration to, /etc/sonic/config_db.json This command loads the configuration from the input file (if user specifiesβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config load_minigraph",
"cmd": "config load_minigraph",
"desc": "System β This command is used to load the configuration from /etc/sonic/minigraph.xml. When users do not want to use configuration from config_db.json, they can copy the minigraph.xml configuration file to the device and load itβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config reload",
"cmd": "config reload",
"desc": "System β This command is used to clear current configuration and import new configurationn from the input file or from /etc/sonic/config_db.json."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config load_mgmt_config",
"cmd": "config load_mgmt_config",
"desc": "System β This command is used to reconfigure hostname and mgmt interface based on device description file."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config save",
"cmd": "config save",
"desc": "System β This command is to save the config DB configuration into the user-specified filename or into the default /etc/sonic/config_db.json."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config interface loopback",
"cmd": "config interface loopback",
"desc": "Interfaces β This command is used to add or delete loopback interfaces. It is recommended to use loopback names in the format \"Loopbackxxx\", where \"xxx\" is number of 1 to 3 digits."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vrf",
"cmd": "show vrf",
"desc": "Troubleshooting β This command displays all vrfs configured on the system along with interface binding to the vrf."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vrf add",
"cmd": "config vrf add",
"desc": "System β This command creates vrf in SONiC system with provided vrf-name. - Usage: config vrf add <vrf-name> Note: vrf-name should always start with keyword \"Vrf\""
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vrf del <vrf-name>",
"cmd": "config vrf del <vrf-name>",
"desc": "System β This command deletes vrf with name vrf-name. - Usage: config vrf del <vrf-name> Go Back To [Beginning of the document](#) or [Beginning of this section](#vrf-configuration)"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show mgmt-vrf",
"cmd": "show mgmt-vrf",
"desc": "Troubleshooting β This command displays whether the management VRF is enabled or disabled. It also displays the details about the the links (eth0, mgmt, lo-m) that are related to management VRF."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show mgmt-vrf routes",
"cmd": "show mgmt-vrf routes",
"desc": "Troubleshooting β This command displays the routes that are present in the routing table 6000 that is meant for management VRF."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show management_interface address",
"cmd": "show management_interface address",
"desc": "Troubleshooting β This command displays the IP address(es) configured for the management interface \"eth0\" and the management network default gateway."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show snmpagentaddress",
"cmd": "show snmpagentaddress",
"desc": "Troubleshooting β This command displays the configured SNMP agent IP addresses. - Usage: show snmpagentaddress - Example: admin@sonic:~$ show snmpagentaddress ListenIP ListenPort ListenVrf ---------- ------------ ----------- 1.2.3.4 787β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show snmptrap",
"cmd": "show snmptrap",
"desc": "Troubleshooting β This command displays the configured SNMP Trap server IP addresses. - Usage: show snmptrap - Example: admin@sonic:~$ show snmptrap Version TrapReceiverIP Port VRF Community --------- ---------------- ------ ----- ------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vrf add mgmt",
"cmd": "config vrf add mgmt",
"desc": "System β This command enables the management VRF in the system. This command restarts the \"interfaces-config\" service which in turn regenerates the /etc/network/interfaces file and restarts the \"networking\" service."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vrf del mgmt",
"cmd": "config vrf del mgmt",
"desc": "System β This command disables the management VRF in the system. This command restarts the \"interfaces-config\" service which in turn regenerates the /etc/network/interfaces file and restarts the \"networking\" service."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config snmpagentaddress add",
"cmd": "config snmpagentaddress add",
"desc": "System β This command adds the SNMP agent IP address on which the SNMP agent is expected to listen."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config snmpagentaddress del",
"cmd": "config snmpagentaddress del",
"desc": "System β This command deletes the SNMP agent IP address on which the SNMP agent is expected to listen."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config snmptrap modify",
"cmd": "config snmptrap modify",
"desc": "System β This command modifies the SNMP trap server IP address to which the SNMP agent is expected to send the traps."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config snmptrap del",
"cmd": "config snmptrap del",
"desc": "System β This command deletes the SNMP Trap server IP address to which SNMP agent is expected to send TRAPs."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show muxcable status",
"cmd": "show muxcable status",
"desc": "Troubleshooting β This command displays all the status of either all the ports which are connected to muxcable or any individual port selected by the user."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show muxcable config",
"cmd": "show muxcable config",
"desc": "Troubleshooting β This command displays all the configurations of either all the ports which are connected to muxcable or any individual port selected by the user."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show muxcable ber-info",
"cmd": "show muxcable ber-info",
"desc": "Troubleshooting β This command displays the ber(Bit error rate) of the port user provides on the target user provides."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show muxcable health <port>",
"cmd": "show muxcable health <port>",
"desc": "Interfaces β This command displays the hardware health of the Y-cable which are connected to muxcable."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show muxcable queueinfo <port>",
"cmd": "show muxcable queueinfo <port>",
"desc": "Interfaces β This command displays the queue info of the Y-cable which are connected to muxcable."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show muxcable operationtime <port>",
"cmd": "show muxcable operationtime <port>",
"desc": "Interfaces β This command displays the operationtime of the Y-cable which are connected to muxcable."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show muxcable resetcause <port>",
"cmd": "show muxcable resetcause <port>",
"desc": "Interfaces β This command displays the resetcause of the Y-cable which are connected to muxcable."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config muxcable mode",
"cmd": "config muxcable mode",
"desc": "System β This command is used for setting the configuration of a muxcable Port/all ports to be active or auto."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config muxcable prbs enable/disable",
"cmd": "config muxcable prbs enable/disable",
"desc": "System β This command is used for setting the configuration and enable/diable of prbs on a port user provides."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config muxcable loopback enable/disable",
"cmd": "config muxcable loopback enable/disable",
"desc": "Interfaces β This command is used for setting the configuration and enable/disable of loopback on a port user provides."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show mirror_session",
"cmd": "show mirror_session",
"desc": "Troubleshooting β This command displays all the mirror sessions that are configured. - Usage: show mirror_session - Example: admin@sonic:~$ show mirror_session ERSPAN Sessions Name Status SRC IP DST IP GRE DSCP TTL Queue Policer Monitorβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config mirror_session",
"cmd": "config mirror_session",
"desc": "System β This command is used to add or remove mirroring sessions. Mirror session is identified by \"session_name\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show mmu",
"cmd": "show mmu",
"desc": "Troubleshooting β This command displays MMU configuration. - Usage: bash show mmu [OPTIONS] - Options: - _-n,--namespace_: namespace name or all - _-vv,--verbose_: enable verbose output - Example: bash admin@sonic:~$ show mmu Pool: ingreβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config mmu",
"cmd": "config mmu",
"desc": "System β This command is used to manage switch MMU configuration. - Usage: bash config mmu [OPTIONS] - Options: - _-p_: profile name - _-a_: set alpha for profile type dynamic - _-s_: set staticth for profile type static - _-t_:β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "show nat config",
"cmd": "show nat config",
"desc": "NAT β This command displays the NAT configuration. - Usage: show nat config [static | pool | bindings | globalvalues | zones] With no optional arguments, the whole NAT configuration is displayed."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "show nat statistics",
"cmd": "show nat statistics",
"desc": "NAT β This command displays the NAT translation statistics for each entry. - Usage: show nat statistics - Example: admin@sonic:~$ show nat statistics Protocol Source Destination Packets Bytes -------- --------- --------------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "show nat translations",
"cmd": "show nat translations",
"desc": "NAT β This command displays the NAT translation entries. - Usage: show nat translations [count] Giving the optional count argument displays only the details about the number of translation entries."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "config nat add static",
"cmd": "config nat add static",
"desc": "NAT β This command is used to add a static NAT or NAPT entry. When configuring the Static NAT entry, user has to specify the following fields with 'basic' keyword."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "config nat add pool",
"cmd": "config nat add pool",
"desc": "NAT β This command is used to create a NAT pool used for dynamic Source NAT or NAPT translations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "config nat add binding",
"cmd": "config nat add binding",
"desc": "NAT β This command is used to create a NAT binding between a pool and an ACL. The following fields are needed for configuring the binding."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "config nat add interface",
"cmd": "config nat add interface",
"desc": "NAT β This command is used to configure NAT zone on an L3 interface. Default value of NAT zone on an L3 interface is 0."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "config nat set",
"cmd": "config nat set",
"desc": "NAT β This command is used to set the NAT timeout values. Different timeout values can be configured for the NAT entry timeout, NAPT TCP entry timeout, NAPT UDP entry timeout."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NAT",
"title": "config nat feature",
"cmd": "config nat feature",
"desc": "NAT β This command is used to enable or disable the NAT feature. - Usage: config nat feature {enable | disable} - Example: admin@sonic:~$ sudo config nat feature enable admin@sonic:~$ sudo config nat feature disable"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NTP",
"title": "show ntp",
"cmd": "show ntp",
"desc": "NTP β This command displays a list of NTP peers known to the server as well as a summary of their state."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NTP",
"title": "config ntp add",
"cmd": "config ntp add",
"desc": "NTP β This command is used to add a NTP server IP address to the NTP server list. Note that more that one NTP server IP address can be added in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NTP",
"title": "config ntp delete",
"cmd": "config ntp delete",
"desc": "NTP β This command is used to delete a configured NTP server IP address. - Usage: config ntp del <ip_address> - Example: admin@sonic:~$ sudo config ntp del 9.9.9.9 NTP server 9.9.9.9 removed from configuration Restarting ntp-β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd start <arguments>",
"cmd": "config pfcwd start <arguments>",
"desc": "System β This command starts PFC Watchdog - Usage: config pfcwd start --action drop all 400 --restoration-time 400 config pfcwd start --action forward Ethernet0 Ethernet8 400 config pfcwd start --action drop all 400 --restoratioβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd stop",
"cmd": "config pfcwd stop",
"desc": "System β This command stops PFC Watchdog - Usage: config pfcwd stop"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd interval <interval_in_ms>",
"cmd": "config pfcwd interval <interval_in_ms>",
"desc": "System β This command sets PFC Watchdog counter polling interval (in ms) - Usage: config pfcwd interval 200"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd counter_poll <enable/disable>",
"cmd": "config pfcwd counter_poll <enable/disable>",
"desc": "System β This command enables or disables PFCWD related counters polling - Usage: config pfcwd counter_poll disable"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd big_red_switch <enable/disable>",
"cmd": "config pfcwd big_red_switch <enable/disable>",
"desc": "System β This command enables or disables PFCWD's \"BIG RED SWITCH\"(BRS). After enabling BRS PFC Watchdog will be activated on all ports/queues it is configured for no matter whether the storm was detected or not - Usage: configβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd pfc_stat_history <enable/disable> <ports>",
"cmd": "config pfcwd pfc_stat_history <enable/disable> <ports>",
"desc": "System β This command enables or disables PFCWD's PFC Historical Statistics estimation. After enabling, PFC Watchdog will be configured to estimate pause transitions, total pause time, and the pause time and timstamp of the mostβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pfcwd start_default",
"cmd": "config pfcwd start_default",
"desc": "System β This command starts PFC Watchdog with the default settings. - Usage: config pfcwd start_default Default values are the following: - detection time - 200ms - restoration time - 200ms - polling interval - 200ms - action -β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pfcwd config",
"cmd": "show pfcwd config",
"desc": "Troubleshooting β This command shows current PFC Watchdog configuration - Usage: show pfcwd config"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pfcwd stats",
"cmd": "show pfcwd stats",
"desc": "Troubleshooting β This command shows current PFC Watchdog statistics (storms detected, packets dropped, etc) - Usage: show pfcwd stats Go Back To [Beginning of the document](#) or [Beginning of this section](#pfc-watchdog-commands)"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform firmware status",
"cmd": "show platform firmware status",
"desc": "Troubleshooting β This command displays platform components firmware status information. - Usage: bash show platform firmware status - Example: bash admin@sonic:~$ sudo show platform firmware status Chassis Module Component Version Descrβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform firmware updates",
"cmd": "show platform firmware updates",
"desc": "Troubleshooting β This command displays platform components firmware updates information. - Usage: bash show platform firmware updates [-i|--image] - Options: - _-i|--image_: show updates using current/next SONiC image Valid values: - cuβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform firmware version",
"cmd": "show platform firmware version",
"desc": "Troubleshooting β This command displays platform components firmware utility version. - Usage: bash show platform firmware version - Example: bash admin@sonic:~$ show platform firmware version fwutil version 2.0.0.0"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config platform firmware install",
"cmd": "config platform firmware install",
"desc": "System β This command is used to install a platform component firmware. Both modular and non modular chassis platforms are supported."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config platform firmware update",
"cmd": "config platform firmware update",
"desc": "System β This command is used to update a platform component firmware from current/next SONiC image."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show platform barefoot profile",
"cmd": "show platform barefoot profile",
"desc": "Troubleshooting β This command displays active P4 profile and lists available ones. - Usage: show platform barefoot profile - Example: admin@sonic:~$ show platform barefoot profile Current profile: x1 Available profile(s): x1 x2"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config platform barefoot profile",
"cmd": "config platform barefoot profile",
"desc": "System β This command sets P4 profile. - Usage: config platform barefoot profile <p4_profile> [-y|--yes] - Example: admin@sonic:~$ sudo config platform barefoot profile x1 Swss service will be restarted, continue?"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config portchannel",
"cmd": "config portchannel",
"desc": "System β This command is used to add or delete the portchannel. It is recommended to use portchannel names in the format \"PortChannelxxxx\", where \"xxxx\" is number of 1 to 4 digits."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config portchannel member",
"cmd": "config portchannel member",
"desc": "System β This command adds or deletes a member port to/from the already created portchannel."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show switch-trimming global",
"cmd": "show switch-trimming global",
"desc": "Troubleshooting β This command displays switch trimming global configuration. - Usage: bash show switch-trimming global [OPTIONS] - Options: - _-j,--json_: display in JSON format - Example: bash admin@sonic:~$ show switch-trimming globalβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config switch-trimming global",
"cmd": "config switch-trimming global",
"desc": "System β This command is used to manage switch trimming global configuration. - Usage: bash config switch-trimming global [OPTIONS] - Options: - _-s,--size_: size (in bytes) to trim eligible packet - _-d,--dscp_: dscp value assiβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show nvgre-tunnel",
"cmd": "show nvgre-tunnel",
"desc": "Troubleshooting β This command displays the NVGRE tunnel configuration. - Usage: bash show nvgre-tunnel - Example: bash admin@sonic:~$ show nvgre-tunnel TUNNEL NAME SRC IP ------------- -------- tunnel_1 10.0.0.1"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show nvgre-tunnel-map",
"cmd": "show nvgre-tunnel-map",
"desc": "Troubleshooting β This command displays the NVGRE tunnel map configuration. - Usage: bash show nvgre-tunnel-map - Example: bash admin@sonic:~$ show nvgre-tunnel-map TUNNEL NAME TUNNEL MAP NAME VLAN ID VSID ------------- -----------------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config nvgre-tunnel",
"cmd": "config nvgre-tunnel",
"desc": "System β This command is used to manage the NVGRE tunnel objects. It supports add/delete operations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config nvgre-tunnel-map",
"cmd": "config nvgre-tunnel-map",
"desc": "System β This command is used to manage the NVGRE tunnel map objects. It supports add/delete operations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pbh table",
"cmd": "show pbh table",
"desc": "Troubleshooting β This command displays PBH table configuration. - Usage: bash show pbh table - Example: bash admin@sonic:~$ show pbh table NAME INTERFACE DESCRIPTION --------- --------------- --------------- pbh_table Ethernet0 NVGRE anβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pbh rule",
"cmd": "show pbh rule",
"desc": "Troubleshooting β This command displays PBH rule configuration. - Usage: bash show pbh rule - Example: bash admin@sonic:~$ show pbh rule TABLE RULE PRIORITY MATCH HASH ACTION COUNTER --------- ------ ---------- --------------------------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pbh hash",
"cmd": "show pbh hash",
"desc": "Troubleshooting β This command displays PBH hash configuration. - Usage: bash show pbh hash - Example: bash admin@sonic:~$ show pbh hash NAME HASH FIELD ------------- ----------------- inner_v4_hash inner_ip_proto inner_l4_dst_port innerβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pbh hash-field",
"cmd": "show pbh hash-field",
"desc": "Troubleshooting β This command displays PBH hash field configuration. - Usage: bash show pbh hash-field - Example: bash admin@sonic:~$ show pbh hash-field NAME FIELD MASK SEQUENCE SYMMETRIC ----------------- ----------------- --------- -β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pbh statistics",
"cmd": "show pbh statistics",
"desc": "Troubleshooting β This command displays PBH statistics. - Usage: bash show pbh statistics - Example: bash admin@sonic:~$ show pbh statistics TABLE RULE RX PACKETS COUNT RX BYTES COUNT --------- ------ ------------------ ----------------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pbh table",
"cmd": "config pbh table",
"desc": "System β This command is used to manage PBH table objects. It supports add/update/remove operations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pbh rule",
"cmd": "config pbh rule",
"desc": "System β This command is used to manage PBH rule objects. It supports add/update/remove operations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pbh hash",
"cmd": "config pbh hash",
"desc": "System β This command is used to manage PBH hash objects. It supports add/update/remove operations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config pbh hash-field",
"cmd": "config pbh hash-field",
"desc": "System β This command is used to manage PBH hash field objects. It supports add/update/remove operations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show p4-table",
"cmd": "show p4-table",
"desc": "Troubleshooting β This command displays the P4RT (P4 Runtime) tables in the application database. These tables are used by PINS (P4 Integrated Network Stack) for orchagent to communicate with the P4RT application."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pfc counters",
"cmd": "show pfc counters",
"desc": "Troubleshooting β This command displays the details of Rx & Tx priority-flow-control (pfc) for all ports."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pfc asymmetric",
"cmd": "show pfc asymmetric",
"desc": "Troubleshooting β This command displays the status of asymmetric PFC for all interfaces or a given interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show pfc priority",
"cmd": "show pfc priority",
"desc": "Troubleshooting β This command displays the lossless priorities for all interfaces or a given interface."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show queue counters",
"cmd": "show queue counters",
"desc": "Troubleshooting β This command displays packet and byte counters for all queues of all ports or one specific-port given as arguement."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show queue watermark",
"cmd": "show queue watermark",
"desc": "Troubleshooting β This command displays the user watermark for the queues (Egress shared pool occupancy per queue) for either the unicast queues or multicast queues for all ports - Usage: show queue watermark (multicast | unicast) - Examβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show priority-group",
"cmd": "show priority-group",
"desc": "Troubleshooting β This command displays: 1) The user watermark or persistent-watermark for the Ingress \"headroom\" or \"shared pool occupancy\" per priority-group for all ports."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show queue persistent-watermark",
"cmd": "show queue persistent-watermark",
"desc": "Troubleshooting β This command displays the user persistet-watermark for the queues (Egress shared pool occupancy per queue) for either the unicast queues or multicast queues for all ports - Usage: show queue persistent-watermark (unicasβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show queue wredcounters",
"cmd": "show queue wredcounters",
"desc": "Troubleshooting β This command displays wred-drop packet/byte and ecn-marked packet/byte counters for all queues of all ports or one specific-port given as arguement."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show buffer_pool watermark",
"cmd": "show buffer_pool watermark",
"desc": "Troubleshooting β This command displays the user watermark for all the buffer pools - Usage: show buffer_pool watermark - Example: admin@sonic:~$ show buffer_pool watermark Shared pool maximum occupancy: Pool Bytes ---------------------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show buffer_pool persistent-watermark",
"cmd": "show buffer_pool persistent-watermark",
"desc": "Troubleshooting β This command displays the user persistent-watermark for all the buffer pools - Usage: show buffer_pool persistent-watermark - Example: admin@sonic:~$ show buffer_pool persistent-watermark Shared pool maximum occupancy:β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "QoS",
"title": "config qos clear",
"cmd": "config qos clear",
"desc": "QoS β This command is used to clear all the QoS configuration from all the following QOS Tables in ConfigDB."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "QoS",
"title": "config qos reload",
"cmd": "config qos reload",
"desc": "QoS β This command is used to reload the QoS configuration. QoS configuration has got two sets of configurations."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "QoS",
"title": "config qos reload --ports port_list",
"cmd": "config qos reload --ports port_list",
"desc": "QoS β This command is used to reload the default QoS configuration on a group of ports."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "AAA",
"title": "show radius commands",
"cmd": "show radius commands",
"desc": "AAA β This command displays the global radius configuration that includes the auth_type, retransmit, timeout and passkey."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show switch counters",
"cmd": "show switch counters",
"desc": "Troubleshooting β This command displays switch stats. - Usage: bash show switch counters [OPTIONS] show switch counters all [OPTIONS] show switch counters trim [OPTIONS] show switch counters detailed [OPTIONS] - Options: - _-p,--period_:β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show sflow",
"cmd": "show sflow",
"desc": "Troubleshooting β This command displays the global sFlow configuration that includes the admin state, collectors, the Agent ID and counter polling interval."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "show sflow interface",
"cmd": "show sflow interface",
"desc": "Interfaces β This command displays the per-interface sflow admin status and the sampling rate."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config sflow collector add",
"cmd": "config sflow collector add",
"desc": "System β This command is used to add a sFlow collector. Note that a maximum of 2 collectors is allowed."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config sflow collector del",
"cmd": "config sflow collector del",
"desc": "System β This command is used to delete a sFlow collector with the given name. - Usage: config sflow collector del <collector-name> - Parameters: - collector-name: unique name of the sFlow collector - Example: admin@sonic:~# sudβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config sflow agent-id",
"cmd": "config sflow agent-id",
"desc": "System β This command is used to add/delete the sFlow agent-id. This setting is global (applicable to both collectors) and optional."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config sflow",
"cmd": "config sflow",
"desc": "System β Globally, sFlow is disabled by default. When sFlow is enabled globally, the sflow deamon is started and sampling will start on all interfaces which have sFlow enabled at the interface level (see βconfig sflow interfaceβ¦β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config sflow sample-direction",
"cmd": "config sflow sample-direction",
"desc": "System β This command takes global sflow sample direction. If not configured, default is \"rx\" for backward compatibility."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config sflow interface",
"cmd": "config sflow interface",
"desc": "Interfaces β Enable/disable sflow at an interface level. By default, sflow is enabled on all interfaces at the interface level."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config sflow interface sample-direction",
"cmd": "config sflow interface sample-direction",
"desc": "Interfaces β Set sample direction to determine ingress sampling or egress sampling or both. If not configured, default is \"rx\"."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Interfaces",
"title": "config sflow interface sample-rate",
"cmd": "config sflow interface sample-rate",
"desc": "Interfaces β Configure the sample-rate for a specific interface. The default sample rate for any interface is (ifSpeed / 1e6) where ifSpeed is in bits/sec."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config sflow polling-interval",
"cmd": "config sflow polling-interval",
"desc": "System β This command is used to set the counter polling interval. Default is 20 seconds."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "show runningconfiguration snmp",
"cmd": "show runningconfiguration snmp",
"desc": "SNMP β This command displays the global SNMP configuration that includes the location, contact, community, and user settings."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "show runningconfiguration snmp location",
"cmd": "show runningconfiguration snmp location",
"desc": "SNMP β This command displays the SNMP location setting. - Usage: show runningconfiguration snmp location - Example: admin@sonic:~$ show runningconfiguration snmp location Location ------------ Emerald City - Usage: show runninβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "show runningconfiguration snmp contact",
"cmd": "show runningconfiguration snmp contact",
"desc": "SNMP β This command displays the SNMP contact setting. - Usage: show runningconfiguration snmp contact - Example: admin@sonic:~$ show runningconfiguration snmp contact Contact Contact Email --------- --------------- joe joe@coβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "show runningconfiguration snmp community",
"cmd": "show runningconfiguration snmp community",
"desc": "SNMP β This command display the SNMP community settings. - Usage: show runningconfiguration snmp community - Example: admin@sonic:~$ show runningconfiguration snmp community Community String Community Type ------------------ -β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "show runningconfiguration snmp user",
"cmd": "show runningconfiguration snmp user",
"desc": "SNMP β This command display the SNMP user settings. - Usage: show runningconfiguration snmp user - Example: admin@sonic:~$ show runningconfiguration snmp user User Permission Type Type Auth Type Auth Password Encryption Type Eβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "config snmp location add/del/modify",
"cmd": "config snmp location add/del/modify",
"desc": "SNMP β This command is used to add, delete, or modify the SNMP location. - Usage: config snmp location (add | del | modify) <location> - Example (Add new SNMP location \"Emerald City\" if it does not already exist): admin@sonic:β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "config snmp contact add/del/modify",
"cmd": "config snmp contact add/del/modify",
"desc": "SNMP β This command is used to add, delete, or modify the SNMP contact. - Usage: config snmp contact add <contact> <contact_email> - Example: admin@sonic:~$ sudo config snmp contact add joe joe@contoso.com Contact name joe andβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "config snmp community add/del/replace",
"cmd": "config snmp community add/del/replace",
"desc": "SNMP β This command is used to add, delete, or replace the SNMP community. - Usage: config snmp community add <community> (RO | RW) - Example: admin@sonic:~$ sudo config snmp community add testcomm ro SNMP community testcomm aβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "SNMP",
"title": "config snmp user add/del",
"cmd": "config snmp user add/del",
"desc": "SNMP β This command is used to add or delete the SNMP user for SNMPv3. - Usage: config snmp user add <user> (noAuthNoPriv | AuthNoPriv | Priv) (RO | RW) [[(MD5 | SHA | MMAC-SHA-2) <auth_password>] [(DES |AES) <encrypt_passwordβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show startupconfiguration bgp",
"cmd": "show startupconfiguration bgp",
"desc": "BGP β This command is used to display the startup configuration for the BGP module. - Usage: show startupconfiguration bgp - Example: admin@sonic:~$ show startupconfiguration bgp Routing-Stack is: quagga !"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show runningconfiguration all",
"cmd": "show runningconfiguration all",
"desc": "Troubleshooting β This command displays the entire running configuration. - Usage: show runningconfiguration all - Example: admin@sonic:~$ show runningconfiguration all"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show runningconfiguration bgp",
"cmd": "show runningconfiguration bgp",
"desc": "BGP β This command displays the running configuration of the BGP module. - Usage: show runningconfiguration bgp - Example: admin@sonic:~$ show runningconfiguration bgp"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show runningconfiguration interfaces",
"cmd": "show runningconfiguration interfaces",
"desc": "Troubleshooting β This command displays the running configuration for the \"interfaces\". - Usage: show runningconfiguration interfaces - Example: admin@sonic:~$ show runningconfiguration interfaces"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "NTP",
"title": "show runningconfiguration ntp",
"cmd": "show runningconfiguration ntp",
"desc": "NTP β This command displays the running configuration of the ntp module. - Usage: show runningconfiguration ntp - Example: admin@sonic:~$ show runningconfiguration ntp NTP Servers ------------- 1.1.1.1 2.2.2.2"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "show runningconfiguration syslog",
"cmd": "show runningconfiguration syslog",
"desc": "Logging β This command displays the running configuration of the syslog module. - Usage: show runningconfiguration syslog - Example: admin@sonic:~$ show runningconfiguration syslog Syslog Servers ---------------- 4.4.4.4 5.5.5.5"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "ACL",
"title": "show runningconfiguration acl",
"cmd": "show runningconfiguration acl",
"desc": "ACL β This command displays the running configuration of the acls - Usage: show runningconfiguration acl - Example: admin@sonic:~$ show runningconfiguration acl"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show runningconfiguration ports",
"cmd": "show runningconfiguration ports",
"desc": "Troubleshooting β This command displays the running configuration of the ports - Usage: show runningconfiguration ports [<portname>] - Examples: admin@sonic:~$ show runningconfiguration ports admin@sonic:~$ show runningconfiguration portβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show runningconfiguration copp",
"cmd": "show runningconfiguration copp",
"desc": "Troubleshooting β This command displays the running configuration of copp - Usage: show runningconfiguration copp - Example: admin@sonic:~$ show runningconfiguration copp Go Back To [Beginning of the document](#) or [Beginning of this seβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config route add",
"cmd": "config route add",
"desc": "System β This command is used to add a static route. Note that prefix /nexthop vrfs and interface name are optional."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config route del",
"cmd": "config route del",
"desc": "System β This command is used to remove a static route. Note that prefix /nexthop vrfs and interface name are optional."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show subinterfaces status",
"cmd": "show subinterfaces status",
"desc": "Troubleshooting β This command displays all the subinterfaces that are configured on the device and its current status."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config subinterface add",
"cmd": "config subinterface add",
"desc": "System β This command is used to add a subinterface. - Usage: config subinterface [-n <namespace>] [-s <redis_unix_socket_path>] add <subinterface_name> [<vid>] - Options: - _-n,--namespace_: Namespace name (required on multi-ASβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config subinterface del",
"cmd": "config subinterface del",
"desc": "System β This command is used to delete a subinterface. - Usage: config subinterface [-n <namespace>] [-s <redis_unix_socket_path>] del <subinterface_name> - Options: - _-n,--namespace_: Namespace name (required on multi-ASIC syβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config switchport mode",
"cmd": "config switchport mode",
"desc": "System β Usage: config switchport mode <access|trunk|routed> <member_portname/member_portchannel> - Example (Config switchport mode access on \"Ethernet0): admin@sonic:~$ sudo config switchport mode access Ethernet0 - Example (Coβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "show syslog",
"cmd": "show syslog",
"desc": "Logging β This command displays configured syslog servers. - Usage: show syslog - Example: admin@sonic:~$ show syslog SERVER IP SOURCE IP PORT VRF ----------- ----------- ------ ------- 2.2.2.2 1.1.1.1 514 default"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "show syslog rate-limit-host",
"cmd": "show syslog rate-limit-host",
"desc": "Logging β This command displays rate limit configuration for host. - Usage show syslog rate-limit-host - Example: admin@sonic:~$ show syslog rate-limit-host INTERVAL BURST ---------- -------- 500 50000"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "show syslog rate-limit-container",
"cmd": "show syslog rate-limit-container",
"desc": "Logging β This command displays rate limit configuration for containers. - Usage show syslog rate-limit-container [<service_name>] -n [<namespace>] - Example: admin@sonic:~$ show syslog rate-limit-container SERVICE INTERVAL BURSTβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog add",
"cmd": "config syslog add",
"desc": "Logging β This command is used to add a syslog server to the syslog server list. Note that more that one syslog server can be added in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog del",
"cmd": "config syslog del",
"desc": "Logging β This command is used to delete the configured syslog server. - Usage: config syslog del <server_address> - Parameters: - _server_address_: syslog server IP address - Example: admin@sonic:~$ sudo config syslog del 2.2.2.β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog rate-limit-host",
"cmd": "config syslog rate-limit-host",
"desc": "Logging β This command is used to configure syslog rate limit for host. - Usage: config syslog rate-limit-host - Parameters: - _interval_: determines the amount of time that is being measured for rate limiting."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog rate-limit-container",
"cmd": "config syslog rate-limit-container",
"desc": "Logging β This command is used to configure syslog rate limit for containers. - Usage: config syslog rate-limit-container <container-name> - Parameters: - _interval_: determines the amount of time that is being measured for rateβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog rate-limit-feature enable",
"cmd": "config syslog rate-limit-feature enable",
"desc": "Logging β This command is used to enable syslog rate limit feature. - Usage: config syslog rate-limit-feature enable [<service_name>] -n [<namespace>] - Example: # Enable syslog rate limit for all services in all namespaces adminβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog rate-limit-feature disable",
"cmd": "config syslog rate-limit-feature disable",
"desc": "Logging β This command is used to disable syslog rate limit feature. - Usage: config syslog rate-limit-feature disable [<service_name>] -n [<namespace>] - Example: # Disable syslog rate limit for all services in all namespaces adβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Logging",
"title": "config syslog level",
"cmd": "config syslog level",
"desc": "Logging β This command is used to configure log level for a given log identifier. - Usage: config syslog level -i <log_identifier> -l <log_level> --container [<container_name>] --program [<program_name>] config syslog level -i <lβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show processes cpu",
"cmd": "show processes cpu",
"desc": "Troubleshooting β This command displays the current CPU usage by process. This command uses linux's \"top -bn 1 -o %CPU\" command to display the output."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show processes memory",
"cmd": "show processes memory",
"desc": "Troubleshooting β This command displays the current memory usage by processes. This command uses linux's \"top -bn 1 -o %MEM\" command to display the output."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show processes summary",
"cmd": "show processes summary",
"desc": "Troubleshooting β This command displays the current summary information about all the processes - Usage: show processes summary - Example: admin@sonic:~$ show processes summary PID PPID CMD %MEM %CPU 1 0 /sbin/init 0.0 0.0 2 0 [kthreadd]β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show services",
"cmd": "show services",
"desc": "Troubleshooting β This command displays the state of all the SONiC processes running inside a docker container."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show system-memory",
"cmd": "show system-memory",
"desc": "Troubleshooting β This command displays the system-wide memory utilization information β just a wrapper over linux native βfreeβ command - Usage: show system-memory - Example: admin@sonic:~$ show system-memory Command: free -m -h total uβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show system-health summary",
"cmd": "show system-health summary",
"desc": "Troubleshooting β This command displays the current status of 'Services' and 'Hardware' under monitoring."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show system-health monitor-list",
"cmd": "show system-health monitor-list",
"desc": "Troubleshooting β This command displays a list of all current 'Services' and 'Hardware' being monitored, their status and type."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show system-health detail",
"cmd": "show system-health detail",
"desc": "Troubleshooting β This command displays the current status of 'Services' and 'Hardware' under monitoring."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show system-health dpu <option>",
"cmd": "show system-health dpu <option>",
"desc": "Troubleshooting β This is a smartswitch specific cli. This cli shows the midplane, control plane and data plane health of the DPU modules in the smartswitch."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "show vlan brief",
"cmd": "show vlan brief",
"desc": "VLAN β This command displays brief information about all the vlans configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "show vlan config",
"cmd": "show vlan config",
"desc": "VLAN β This command displays all the vlan configuration. On multi-ASIC platforms, use -n to show a specific namespace or omit to show all namespaces."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "config vlan add/del",
"cmd": "config vlan add/del",
"desc": "VLAN β This command is used to add or delete the vlan. - Usage: config vlan [-n <namespace>] (add | del) <vlan_id> - Example (Create the VLAN \"Vlan100\" if it does not already exist): admin@sonic:~$ sudo config vlan add 100"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "config vlan add/del -m",
"cmd": "config vlan add/del -m",
"desc": "VLAN β This command is used to add or delete multiple vlans via single command. - Usage: config vlan [-n <namespace>] (add | del) -m <vlan_id> - Example01 (Create the VLAN \"Vlan100, Vlan101, Vlan102, Vlan103\" if these does notβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "config vlan member add/del",
"cmd": "config vlan member add/del",
"desc": "VLAN β This command is to add or delete a member port into the already created vlan. - Usage: config vlan [-n <namespace>] member add/del [-u|--untagged] <vlan_id> <member_portname> *NOTE: Adding the -u or --untagged flag willβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "VLAN",
"title": "config vlan member add/del -m -e",
"cmd": "config vlan member add/del -m -e",
"desc": "VLAN β This command is to add or delete a member port into multiple already created vlans."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config proxy_arp enabled/disabled",
"cmd": "config proxy_arp enabled/disabled",
"desc": "System β This command is used to enable or disable proxy ARP for a VLAN interface - Usage: config vlan [-n <namespace>] proxy_arp <vlan_id> enabled/disabled - Example: admin@sonic:~$ sudo config vlan proxy_arp 1000 enabled Thisβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show mac",
"cmd": "show mac",
"desc": "Troubleshooting β This command displays the MAC (FDB) entries either in full or partial as given below."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show mac aging-time",
"cmd": "show mac aging-time",
"desc": "Troubleshooting β This command displays the default mac aging time on the switch admin@sonic:~$ show mac aging-time Aging time for switch is 600 seconds **sonic-clear fdb all** Clear the FDB table."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show vxlan tunnel",
"cmd": "show vxlan tunnel",
"desc": "BGP β This command displays brief information about all the vxlans configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show vxlan name <vxlan_name>",
"cmd": "show vxlan name <vxlan_name>",
"desc": "BGP β This command displays <vlan_name> configuration. - Usage: show vxlan [ -n <namespace> ] name <vxlan_name> - Example: admin@sonic:~$ show vxlan name tunnel3 vxlan tunnel name source ip destination ip tunnel map name tunnβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet brief",
"cmd": "show vnet brief",
"desc": "Troubleshooting β This command displays brief information about all the vnets configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet endpoint <ip/ipv6>",
"cmd": "show vnet endpoint <ip/ipv6>",
"desc": "Troubleshooting β This command displays the list or vxlan tunnel endpoints and their status. In addition it also shows the number of prefixes associated with each endpoints in the tunnels."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet name <vnet_name>",
"cmd": "show vnet name <vnet_name>",
"desc": "Troubleshooting β This command displays brief information about <vnet_name> configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet interfaces",
"cmd": "show vnet interfaces",
"desc": "Troubleshooting β This command displays vnet interfaces information about all the vnets configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet neighbors",
"cmd": "show vnet neighbors",
"desc": "Troubleshooting β This command displays vnet neighbor information about all the vnets configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet routes all [<vnet_name>]",
"cmd": "show vnet routes all [<vnet_name>]",
"desc": "Troubleshooting β This command displays either all routes information about all the vnets or a specified vnet configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet routes local [<vnet_name>]",
"cmd": "show vnet routes local [<vnet_name>]",
"desc": "Troubleshooting β This command displays either local routes information about all the vnets or a specified vnet configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show vnet routes tunnel [<vnet_name>]",
"cmd": "show vnet routes tunnel [<vnet_name>]",
"desc": "Troubleshooting β This command displays tunnel routes information about all the vnets or a specified vnet configured in the device."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vnet add",
"cmd": "config vnet add",
"desc": "System β This command creates vnet in SONiC system with provided vnet-name. - Usage: config vnet [ -n <namespace> ] add <vnet-name> <vni> <vxlan-tunnel> [<peer_list>] [<guid>] [<scope>] [<advertise_prefix>] [<overlay_dmac>] [<srβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vnet del",
"cmd": "config vnet del",
"desc": "System β This command deletes vnet with vnet-name and its associated binded interfaces and routes."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vnet add route",
"cmd": "config vnet add route",
"desc": "System β This command creates vnet route in SONiC system with provided vnet-name and prefix."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config vnet del-route <vnet-name>",
"cmd": "config vnet del-route <vnet-name>",
"desc": "System β This command deletes a vnet route with vnet-name and prefix. It deletes all routes for the provided vnet if prefix isnt specified."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show warm_restart config",
"cmd": "show warm_restart config",
"desc": "Troubleshooting β This command displays all the configuration related to warm_restart. - Usage: show warm_restart config - Example: admin@sonic:~$ show warm_restart config name enable timer_name timer_duration ------ -------- -----------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show warm_restart state",
"cmd": "show warm_restart state",
"desc": "Troubleshooting β This command displays the warm_restart state. - Usage: show warm_restart state - Example: admin@sonic:~$ show warm_restart state name restore_count state ---------- --------------- ---------- orchagent 0 vlanmgrd 0 bgpβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config warm_restart bgp_timer",
"cmd": "config warm_restart bgp_timer",
"desc": "System β This command is used to set the bgp_timer value for warm_restart of BGP service."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config warm_restart enable/disable",
"cmd": "config warm_restart enable/disable",
"desc": "System β This command is used to enable or disable the warm_restart for a particular service that supports warm reboot."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config warm_restart neighsyncd_timer",
"cmd": "config warm_restart neighsyncd_timer",
"desc": "System β This command is used to set the neighsyncd_timer value for warm_restart of \"swss\" service."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config warm_restart teamsyncd_timer",
"cmd": "config warm_restart teamsyncd_timer",
"desc": "System β This command is used to set the teamsyncd_timer value for warm_restart of teamd service."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show watermark telemetry interval",
"cmd": "show watermark telemetry interval",
"desc": "Troubleshooting β This command displays the configured interval for the telemetry. - Usage: show watermark telemetry interval - Example: admin@sonic:~$ show watermark telemetry interval Telemetry interval 120 second(s)"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config watermark telemetry interval",
"cmd": "config watermark telemetry interval",
"desc": "System β This command is used to configure the interval for telemetry. The default interval is 120 seconds."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global commands",
"cmd": "config auto-techsupport global commands",
"desc": "System"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global state",
"cmd": "config auto-techsupport global state",
"desc": "System β - Usage: config auto-techsupport global state <enabled/disabled> - Example: config auto-techsupport global state enabled"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global rate-limit-interval <uint16>",
"cmd": "config auto-techsupport global rate-limit-interval <uint16>",
"desc": "System β - Usage: config auto-techsupport global rate-limit-interval <uint16> - Parameters: - rate-limit-interval: Minimum time in seconds to wait after the last techsupport creation time before invoking a new one."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global max-techsupport-limit <float upto two decimal places>",
"cmd": "config auto-techsupport global max-techsupport-limit <float upto two decimal places>",
"desc": "System β - Usage: config auto-techsupport global max-techsupport-limit <float upto two decimal places> - Parameters: - max-techsupport-limit: A percentage value should be specified."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global max-core-limit <float upto two decimal places>",
"cmd": "config auto-techsupport global max-core-limit <float upto two decimal places>",
"desc": "System β - Usage: config auto-techsupport global max-core-limit <float upto two decimal places> - Parameters: - max-core-limit: A percentage value should be specified."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global since",
"cmd": "config auto-techsupport global since",
"desc": "System β - Usage: config auto-techsupport global since <string> - Parameters: - since: This limits the auto-invoked techsupport to only collect the logs & core-dumps generated since the time provided."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global available-mem-threshold",
"cmd": "config auto-techsupport global available-mem-threshold",
"desc": "System β Configure available memory threshold in %. System will automatically generate a techsupport dump when available memory goes below the configured threshold."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport global min-available-mem",
"cmd": "config auto-techsupport global min-available-mem",
"desc": "System β Configure minimum available memory in MB. System will automatically generate a techsupport dump when available memory goes below the configured threshold."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport-feature commands",
"cmd": "config auto-techsupport-feature commands",
"desc": "System"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport-feature add",
"cmd": "config auto-techsupport-feature add",
"desc": "System β - Usage: config auto-techsupport-feature add <feature_name> --state <enabled/disabled> --rate-limit-interval <uint16> --available-mem-threshold <float up to two decimal places> - Parameters: - state: enable/disable theβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport-feature delete",
"cmd": "config auto-techsupport-feature delete",
"desc": "System β - Usage: config auto-techsupport-feature delete <feature_name> - Example: config auto-techsupport-feature delete swss"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config auto-techsupport-feature update",
"cmd": "config auto-techsupport-feature update",
"desc": "System β - Usage: config auto-techsupport-feature update <feature_name> --state <enabled/disabled> config auto-techsupport-feature update <feature_name> --rate-limit-interval <uint16> config auto-techsupport-feature update <featβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show auto-techsupport commands",
"cmd": "show auto-techsupport commands",
"desc": "Troubleshooting"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show auto-techsupport global",
"cmd": "show auto-techsupport global",
"desc": "Troubleshooting β - Usage: show auto-techsupport global - Example: admin@sonic:~$ show auto-techsupport global STATE RATE LIMIT INTERVAL (sec) MAX TECHSUPPORT LIMIT (%) MAX CORE LIMIT (%) AVAILABLE MEM THRESHOLD (%) MIN AVAILABLE MEM (Kbβ¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show auto-techsupport-feature",
"cmd": "show auto-techsupport-feature",
"desc": "Troubleshooting β - Usage: show auto-techsupport-feature - Example: admin@sonic:~$ show auto-techsupport-feature FEATURE NAME STATE RATE LIMIT INTERVAL (sec) AVAILABLE MEM THRESHOLD (%) -------------- -------- --------------------------β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show auto-techsupport history",
"cmd": "show auto-techsupport history",
"desc": "Troubleshooting β - Usage: show auto-techsupport history - Example: admin@sonic:~$ show auto-techsupport history TECHSUPPORT DUMP TRIGGERED BY EVENT TYPE CORE DUMP ---------------------------------------- -------------- -------------- --β¦"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ip bgp summary",
"cmd": "show ip bgp summary",
"desc": "BGP β This command displays the summary of all IPv4 bgp neighbors that are configured and the corresponding states."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ip bgp neighbors",
"cmd": "show ip bgp neighbors",
"desc": "BGP β This command displays all the details of IPv4 & IPv6 BGP neighbors when no optional argument is specified."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ipv6 bgp summary",
"cmd": "show ipv6 bgp summary",
"desc": "BGP β This command displays the summary of all IPv4 bgp neighbors that are configured and the corresponding states."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "BGP",
"title": "show ipv6 bgp neighbors",
"cmd": "show ipv6 bgp neighbors",
"desc": "BGP β This command displays all the details of one particular IPv6 Border Gateway Protocol (BGP) neighbor."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "show ztp status",
"cmd": "show ztp status",
"desc": "Troubleshooting β This command displays the current ZTP configuration of the switch. It also displays detailed information about current state of a ZTP session."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config ztp enable",
"cmd": "config ztp enable",
"desc": "System β Use this command to enable ZTP administrative mode - Usage: config ztp enable - Example: root@sonic:/home/admin# config ztp enable Running command: ztp enable"
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config ztp disable",
"cmd": "config ztp disable",
"desc": "System β Use this command to disable ZTP administrative mode. This command can also be used to abort a current ZTP session and load the factory default switch configuration."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "System",
"title": "config ztp run",
"cmd": "config ztp run",
"desc": "System β Use this command to manually restart a new ZTP session. This command deletes the existing */etc/sonic/config_db.json* file and stats ZTP service."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "Show CoPP Configuration",
"cmd": "Show CoPP Configuration",
"desc": "Troubleshooting β Command to display the current CoPP configurations and hardware status of the traps."
},
{
"os": "sonic",
"role": "switch",
"vendor": "SONiC",
"cat": "Troubleshooting",
"title": "Show CoPP Configuration Detailed",
"cmd": "Show CoPP Configuration Detailed",
"desc": "Troubleshooting β Command to display the detailed CoPP configuration of a specific trap ID. bash admin@sonic:~$ show copp configuration detailed --trapid neighbor_miss **Sample Output**: bash Trap Group.................."
}
] |