simnos 2.2.0__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {simnos-2.2.0 → simnos-2.2.1}/PKG-INFO +1 -1
- {simnos-2.2.0 → simnos-2.2.1}/pyproject.toml +2 -2
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/arista_eos.yaml +175 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_asa.yaml +107 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_ios.yaml +12 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_nxos.yaml +323 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_xr.yaml +136 -0
- simnos-2.2.1/simnos/plugins/nos/platforms_yaml/fortinet.yaml +581 -0
- simnos-2.2.1/simnos/plugins/nos/platforms_yaml/huawei_smartax.yaml +1868 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/huawei_vrp.yaml +236 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/juniper_junos.yaml +206 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/paloalto_panos.yaml +129 -0
- simnos-2.2.0/simnos/plugins/nos/platforms_yaml/fortinet.yaml +0 -218
- simnos-2.2.0/simnos/plugins/nos/platforms_yaml/huawei_smartax.yaml +0 -415
- {simnos-2.2.0 → simnos-2.2.1}/README.md +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/core/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/core/host.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/core/nos.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/core/pydantic_models.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/core/servers.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/core/simnos.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/arista_eos.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/base_template.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/cisco_ios.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/configurations/arista_eos.yaml.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/configurations/cisco_ios.yaml.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/configurations/huawei_smartax.yaml.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/huawei_smartax.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/arista_eos/show_clock.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/arista_eos/show_ip_int_br.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/arista_eos/show_running-config.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/arista_eos/show_version.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/cisco_ios/show_running-config.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/cisco_ios/show_version.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_py/templates/huawei_smartax/display_board.j2 +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/alcatel_aos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/alcatel_sros.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/allied_telesis_awplus.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/aruba_aoscx.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/aruba_os.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/avaya_ers.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/avaya_vsp.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/broadcom_icos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/brocade_fastiron.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/brocade_netiron.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/checkpoint_gaia.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/ciena_saos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_apic.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_ftd.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_s300.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_viptela.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/cisco_wlc_ssh.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/dell_force10.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/dell_powerconnect.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/dlink_ds.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/edgecore.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/eltex.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/ericsson_ipos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/extreme_exos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/extreme_slxos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/hp_comware.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/hp_procurve.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/ipinfusion_ocnos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/juniper_screenos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/linux.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/mikrotik_routeros.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/oneaccess_oneos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/ruckus_fastiron.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/ubiquiti_edgerouter.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/ubiquiti_edgeswitch.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/vyatta_vyos.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/watchguard_firebox.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/yamaha.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/zte_zxros.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/nos/platforms_yaml/zyxel_os.yaml +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/servers/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/servers/ssh_server_paramiko.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/servers/tap_io.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/servers/telnet_server.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/shell/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/shell/cmd_shell.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/shell/utils.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/utils/__init__.py +0 -0
- {simnos-2.2.0 → simnos-2.2.1}/simnos/plugins/utils/cli.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "simnos"
|
|
3
|
-
version = "2.2.
|
|
3
|
+
version = "2.2.1"
|
|
4
4
|
description = "Simulated Network Operating System"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name = "KeroRoute lab" },
|
|
@@ -117,7 +117,7 @@ directory = "coverage_html_report"
|
|
|
117
117
|
|
|
118
118
|
[tool.pytest.ini_options]
|
|
119
119
|
testpaths = ["tests"]
|
|
120
|
-
addopts = "-vv"
|
|
120
|
+
addopts = "-vv -n auto"
|
|
121
121
|
|
|
122
122
|
[tool.uv.build-backend]
|
|
123
123
|
module-name = "simnos"
|
|
@@ -1538,3 +1538,178 @@ commands:
|
|
|
1538
1538
|
prompt:
|
|
1539
1539
|
- "{base_prompt}>"
|
|
1540
1540
|
- "{base_prompt}#"
|
|
1541
|
+
dir:
|
|
1542
|
+
output: "Directory of extension:/\n\nNo files in directory\n\n4093313024 bytes
|
|
1543
|
+
total (3029774336 bytes free)\n"
|
|
1544
|
+
help: execute the command "dir"
|
|
1545
|
+
prompt: &id001
|
|
1546
|
+
- '{base_prompt}>'
|
|
1547
|
+
- '{base_prompt}#'
|
|
1548
|
+
output_variants:
|
|
1549
|
+
- "Directory of flash:/\n\n -rwx 591941836 Aug 2 2017 EOS-4.18.3.1F.swi\n\
|
|
1550
|
+
\ -rwx 609823300 Feb 14 02:03 EOS-4.19.5M.swi\n -rwx\
|
|
1551
|
+
\ 29 Aug 23 2017 boot-config\n drwx 4096 \
|
|
1552
|
+
\ Aug 23 2017 debug\n -rwx 0 Apr 15 2017\
|
|
1553
|
+
\ enable3px\n -rwx 19 Apr 15 2017 enable3px.key\n\
|
|
1554
|
+
\ -rwx 31 Apr 15 2017 kickstart-config\n drwx\
|
|
1555
|
+
\ 4096 Apr 3 10:29 persist\n drwx 4096 \
|
|
1556
|
+
\ Apr 15 2017 schedule\n -rwx 20530 Jan 18 22:46\
|
|
1557
|
+
\ startup-config\n -rwx 13 Aug 23 2017 zerotouch-config\n\
|
|
1558
|
+
\n3519041536 bytes total (1725112320 bytes free)\n"
|
|
1559
|
+
- "Directory of flash:/\n\n -rw- 1465 Feb 28 07:12 .CloudInitLogs\n\
|
|
1560
|
+
\ -rw- 0 Sep 19 2022 .assetTags\n -r-- 509379353\
|
|
1561
|
+
\ Sep 19 2022 .boot-image.swi\n -rw- 250 \
|
|
1562
|
+
\ Feb 28 07:13 .veos-config-internal\n -rw- 250 Feb
|
|
1563
|
+
28 06:56 .veos-config-internal.save\n -rw- 1155 Feb
|
|
1564
|
+
28 07:11 AsuFastPktTransmit.log\n -rw- 710 Feb 28 07:11\
|
|
1565
|
+
\ SsuRestore.log\n -rw- 710 Feb 28 07:11 SsuRestoreLegacy.log\n\
|
|
1566
|
+
\ -rw- 1186 Sep 19 2022 arista5-default.txt\n \
|
|
1567
|
+
\ -rw- 24 Apr 13 2022 boot-config\n -rw- \
|
|
1568
|
+
\ 1251 Jul 21 04:15 rollback-0\n -rw- 1418 \
|
|
1569
|
+
\ Jul 21 04:15 startup-config\n -rw- 509379353 Apr 13 2022\
|
|
1570
|
+
\ vEOS-lab.swi\n -rw- 13 Sep 19 2022 zerotouch-config\n\
|
|
1571
|
+
\nDirectory of flash:/.checkpoints\n\n -rw- 1486 Jul
|
|
1572
|
+
13 08:02 ckp-20240713-5\n -rw- 1416 Jul 15 10:17 ckp-20240715-0\n\
|
|
1573
|
+
\ -rw- 1438 Jul 15 13:04 ckp-20240715-1\n -rw-\
|
|
1574
|
+
\ 1508 Jul 15 13:05 ckp-20240715-2\n -rw- 1507\
|
|
1575
|
+
\ Jul 16 04:15 ckp-20240716-0\n -rw- 1416 \
|
|
1576
|
+
\ Jul 17 08:52 ckp-20240717-0\n -rw- 1248 Jul 17 16:36\
|
|
1577
|
+
\ ckp-20240717-1\n -rw- 1275 Jul 17 16:36 ckp-20240717-2\n\
|
|
1578
|
+
\ -rw- 1302 Jul 17 16:36 ckp-20240717-3\n -rw-\
|
|
1579
|
+
\ 1329 Jul 17 16:36 ckp-20240717-4\n -rw- 1356\
|
|
1580
|
+
\ Jul 17 16:39 ckp-20240717-5\n -rw- 1248 \
|
|
1581
|
+
\ Jul 17 17:33 ckp-20240717-6\n -rw- 1590 Jul 17 17:34\
|
|
1582
|
+
\ ckp-20240717-7\n -rw- 1248 Jul 17 21:34 ckp-20240717-8\n\
|
|
1583
|
+
\ -rw- 1589 Jul 18 04:15 ckp-20240718-0\n -rw-\
|
|
1584
|
+
\ 1416 Jul 20 06:32 ckp-20240720-0\n -rw- 1590\
|
|
1585
|
+
\ Jul 20 06:33 ckp-20240720-1\n -rw- 1248 \
|
|
1586
|
+
\ Jul 20 06:36 ckp-20240720-2\n -rw- 1590 Jul 20 06:38\
|
|
1587
|
+
\ ckp-20240720-3\n -rw- 1247 Jul 21 04:15 ckp-20240721-0\n\
|
|
1588
|
+
\nDirectory of flash:/.extensions\n\nNo files in directory\n\nDirectory of flash:/.managed-config\n\
|
|
1589
|
+
\nNo files in directory\n\nDirectory of flash:/Fossil\n\nNo files in directory\n\
|
|
1590
|
+
\nDirectory of flash:/debug\n\n -rw- 3600958 Jan 12 2023\
|
|
1591
|
+
\ pre_reload_logs.tgz\n -rw- 89 Feb 28 07:13 reload_history\n\
|
|
1592
|
+
\nDirectory of flash:/debug/proc\n\n -r-- 1885 Feb 28
|
|
1593
|
+
07:11 modules\n\nDirectory of flash:/fastpkttx.backup\n\nNo files in directory\n\
|
|
1594
|
+
\nDirectory of flash:/lost+found\n\nNo files in directory\n\nDirectory of flash:/persist\n\
|
|
1595
|
+
\n -rw- 288 Feb 28 07:11 AsuEvent.log\n -rw-\
|
|
1596
|
+
\ 5120 Jul 23 02:15 local\n -rw- 0 \
|
|
1597
|
+
\ Jul 22 10:15 messages\n -rw- 30720 Feb 28 07:13\
|
|
1598
|
+
\ secure\n -rw- 5120 Jul 23 04:30 sys\n\nDirectory
|
|
1599
|
+
of flash:/persist/persistentRestartLog\n\nNo files in directory\n\nDirectory
|
|
1600
|
+
of flash:/schedule\n\nDirectory of flash:/schedule/tech-support\n\n -rw-\
|
|
1601
|
+
\ 71734 Jul 19 00:47 arista5_tech-support_2024-07-19.0047.log.gz\n\
|
|
1602
|
+
\ -rw- 71774 Jul 19 01:47 arista5_tech-support_2024-07-19.0147.log.gz\n\
|
|
1603
|
+
\ \
|
|
1604
|
+
\ \n4093313024 bytes total (3029774336 bytes free)\n"
|
|
1605
|
+
- "Directory of system:/\n\n -rw- 1349 <no date> running-config\n\
|
|
1606
|
+
\nNo space information available\n"
|
|
1607
|
+
show environment power:
|
|
1608
|
+
output: "Power Input Output Output\nSupply Model Capacity Current
|
|
1609
|
+
Current Power Status Uptime\n------ --------------- -------- ------- -------
|
|
1610
|
+
------ ------ ----------------\n1 PWR-1011-AC-RED 1000W 0.70A 11.58A 139.0W
|
|
1611
|
+
Ok 68 days, 0:11:28\n2 PWR-1011-AC-RED 1000W 0.68A 11.31A 134.0W Ok \
|
|
1612
|
+
\ 68 days, 0:11:29\nTotal -- 2000W -- -- 273.0W -- --\n"
|
|
1613
|
+
help: execute the command "show environment power"
|
|
1614
|
+
prompt: *id001
|
|
1615
|
+
output_variants:
|
|
1616
|
+
- "Power Input Output Output\nSupply Model\
|
|
1617
|
+
\ Capacity Current Current Power Status\n------- --------------------
|
|
1618
|
+
--------- -------- -------- -------- -------------\n1 PWR-460AC-F \
|
|
1619
|
+
\ 460W 0.00A 0.00A 0.0W Power Loss\n2 PWR-460AC-F\
|
|
1620
|
+
\ 460W 1.05A 10.38A 121.0W Ok\n"
|
|
1621
|
+
- "Power Input Output Output\nSupply Model Capacity
|
|
1622
|
+
Current Current Power Status Uptime\n------ ----------- --------
|
|
1623
|
+
------- ------- ------ ------ -------------------\n1 PWR-500AC-R 500W\
|
|
1624
|
+
\ 0.35A 5.34A 64.8W Ok 1087 days, 21:24:36\n2 PWR-500AC-R \
|
|
1625
|
+
\ 500W 0.38A 5.77A 70.0W Ok 617 days, 8:39:45\nTotal -- \
|
|
1626
|
+
\ 1000W -- -- 134.8W -- --\n"
|
|
1627
|
+
- "% There seem to be no power supplies connected.\n"
|
|
1628
|
+
show interfaces transceiver hardware:
|
|
1629
|
+
output: "Name: Et1\nMedia type: 1000BASE-T\nMaximum module power (W): 0.0\nMaximum
|
|
1630
|
+
slot power (W): N/A\n\nName: Et49\nMedia type: 10GBASE-CR\nMaximum module power
|
|
1631
|
+
(W): 1.0\nMaximum slot power (W): N/A\n\nName: Et51\nMedia type: 1000BASE-LX\n\
|
|
1632
|
+
Maximum module power (W): 1.0\nMaximum slot power (W): N/A\nWavelength (nm):
|
|
1633
|
+
1310\n\nName: Ethernet96\nMedia type: 5GBASE-T\n\nName: Ethernet97/1\nModule
|
|
1634
|
+
presence: not detected\nMaximum slot power (W): N/A\n\nName: Ethernet88\nMedia
|
|
1635
|
+
type: 2.5GBASE-T\n\nName: Ethernet76\nMedia type: 2.5GBASE-T\n"
|
|
1636
|
+
help: execute the command "show interfaces transceiver hardware"
|
|
1637
|
+
prompt: *id001
|
|
1638
|
+
show ip mroute vrf all detail:
|
|
1639
|
+
output: "VRF:default\nPIM Bidirectional Mode Multicast Routing Table\nRPF route:
|
|
1640
|
+
U - From unicast routing table\n M - From multicast routing table\n\
|
|
1641
|
+
PIM Sparse Mode Multicast Routing Table\nFlags: E - Entry forwarding on the
|
|
1642
|
+
RPT, J - Joining to the SPT\n R - RPT bit is set, S - SPT bit is set, L -
|
|
1643
|
+
Source is attached\n W - Wildcard entry, X - External component interest\n\
|
|
1644
|
+
\ I - SG Include Join alert rcvd, P - Programmed in hardware\n H - Joining
|
|
1645
|
+
SPT due to policy, D - Joining SPT due to protocol\n Z - Entry marked for
|
|
1646
|
+
deletion, C - Learned from a DR via a register\n A - Learned via Anycast
|
|
1647
|
+
RP Router, M - Learned via MSDP\n N - May notify MSDP, K - Keepalive timer
|
|
1648
|
+
not running\n T - Switching Incoming Interface, B - Learned via Border Router\n\
|
|
1649
|
+
\ V - Source is reachable via Evpn Tenant Domain\n F - Learned via MVPN\n\
|
|
1650
|
+
RPF route: U - From unicast routing table\n M - From multicast routing
|
|
1651
|
+
table\n* - Interface has EVPN information available in the 'detail' command
|
|
1652
|
+
output\n224.0.1.129\n 169.254.132.172, 118d18h, flags: PE\n Incoming interface:
|
|
1653
|
+
Null\n Upstream joined state: upNotJoined\n Upstream RPT joined state:
|
|
1654
|
+
upRptNotJoined\n State summarization macros:\n Could register (S,G):
|
|
1655
|
+
False\n Register stop (S,G): True\n Join desired (S,G): False\n \
|
|
1656
|
+
\ Prune desired (S,G,Rpt): False\n No interfaces in immediate olist
|
|
1657
|
+
(S,G): True\n No interfaces in inherited olist (S,G): True\n224.0.23.192\n\
|
|
1658
|
+
\ 0.0.0.0, 38d14h, RP 204.14.0.136, flags: W\n Incoming interface: Register\n\
|
|
1659
|
+
\ Outgoing interface list:\n Ethernet2/1\n Ethernet2/2\n Upstream
|
|
1660
|
+
joined state: upJoined\n Upstream RPT joined state: upRptNotJoined\n State
|
|
1661
|
+
summarization macros:\n Join desired (*,G): True\n Join desired (*,*,RP):
|
|
1662
|
+
False\n RPT join desired (*,G): True\n No interfaces in immediate
|
|
1663
|
+
olist (*,G): False\n No interfaces in immediate olist (*,*,G): True\n \
|
|
1664
|
+
\ 192.26.98.17, 8:57:21, flags: PE\n Incoming interface: Register\n Outgoing
|
|
1665
|
+
interface list:\n Ethernet2/1\n Upstream joined state: upNotJoined\n\
|
|
1666
|
+
\ Upstream RPT joined state: upRptNotPruned\n State summarization macros:\n\
|
|
1667
|
+
\ Could register (S,G): False\n Register stop (S,G): False\n \
|
|
1668
|
+
\ Join desired (S,G): False\n Prune desired (S,G,Rpt): False\n No
|
|
1669
|
+
interfaces in immediate olist (S,G): True\n No interfaces in inherited
|
|
1670
|
+
olist (S,G): False\n 192.168.98.17, 8:57:21, flags: SP\n Incoming interface:
|
|
1671
|
+
Ethernet10\n RPF route: [U] 192.168.98.0/27 [20/0] via 10.100.10.6\n Outgoing
|
|
1672
|
+
interface list:\n Ethernet2/1\n Upstream joined state: upNotJoined\n\
|
|
1673
|
+
\ Upstream RPT joined state: upRptNotPruned\n State summarization macros:\n\
|
|
1674
|
+
\ Could register (S,G): False\n Register stop (S,G): True\n Join
|
|
1675
|
+
desired (S,G): True\n Prune desired (S,G,Rpt): False\n No interfaces
|
|
1676
|
+
in immediate olist (S,G): False\n No interfaces in inherited olist (S,G):
|
|
1677
|
+
False\n224.0.23.190\n 0.0.0.0, 38d14h, RP 204.14.0.136, flags: W\n Incoming
|
|
1678
|
+
interface: Register\n Outgoing interface list:\n Ethernet0/1\n Upstream
|
|
1679
|
+
joined state: upJoined\n Upstream RPT joined state: upRptNotJoined\n State
|
|
1680
|
+
summarization macros:\n Join desired (*,G): True\n Join desired (*,*,RP):
|
|
1681
|
+
False\n RPT join desired (*,G): True\n No interfaces in immediate
|
|
1682
|
+
olist (*,G): False\n No interfaces in immediate olist (*,*,G): True\n \
|
|
1683
|
+
\ 10.205.227.165, 38d14h, flags: SBNP\n Incoming interface: Ethernet32\n\
|
|
1684
|
+
\ Outgoing interface list:\n Ethernet2/1\n Interfaces not in OIL:\n\
|
|
1685
|
+
\ Ethernet0/1: Not DR, RPT Pruned\n Upstream joined state: upJoined\n\
|
|
1686
|
+
\ Upstream RPT joined state: upRptNotPruned\n State summarization macros:\n\
|
|
1687
|
+
\ Could register (S,G): True\n Register stop (S,G): True\n Join
|
|
1688
|
+
desired (S,G): True\n Prune desired (S,G,Rpt): False\n No interfaces
|
|
1689
|
+
in immediate olist (S,G): False\n No interfaces in inherited olist (S,G):
|
|
1690
|
+
False\n 10.205.227.166, 18d7h, RP 204.14.0.136, flags: SBNP\n Incoming interface:
|
|
1691
|
+
Ethernet32\n Outgoing interface list:\n Ethernet0/1\n Ethernet2/1\n\
|
|
1692
|
+
\ Upstream joined state: upJoined\n Upstream RPT joined state: upRptNotPruned\n\
|
|
1693
|
+
\ State summarization macros:\n Could register (S,G): True\n Register
|
|
1694
|
+
stop (S,G): True\n Join desired (S,G): True\n Prune desired (S,G,Rpt):
|
|
1695
|
+
False\n No interfaces in immediate olist (S,G): False\n No interfaces
|
|
1696
|
+
in inherited olist (S,G): False\nVRF:FOO\nPIM Bidirectional Mode Multicast Routing
|
|
1697
|
+
Table\nRPF route: U - From unicast routing table\n M - From multicast
|
|
1698
|
+
routing table\nPIM Sparse Mode Multicast Routing Table\nFlags: E - Entry forwarding
|
|
1699
|
+
on the RPT, J - Joining to the SPT\n R - RPT bit is set, S - SPT bit is set,
|
|
1700
|
+
L - Source is attached\n W - Wildcard entry, X - External component interest\n\
|
|
1701
|
+
\ I - SG Include Join alert rcvd, P - Programmed in hardware\n H - Joining
|
|
1702
|
+
SPT due to policy, D - Joining SPT due to protocol\n Z - Entry marked for
|
|
1703
|
+
deletion, C - Learned from a DR via a register\n A - Learned via Anycast
|
|
1704
|
+
RP Router, M - Learned via MSDP\n N - May notify MSDP, K - Keepalive timer
|
|
1705
|
+
not running\n T - Switching Incoming Interface, B - Learned via Border Router\n\
|
|
1706
|
+
\ V - Source is reachable via Evpn Tenant Domain\n F - Learned via MVPN\n\
|
|
1707
|
+
RPF route: U - From unicast routing table\n M - From multicast routing
|
|
1708
|
+
table\n224.0.1.130\n 169.254.132.173, 1d18h, flags: PE\n Incoming interface:
|
|
1709
|
+
Null\n Upstream joined state: upNotJoined\n Upstream RPT joined state:
|
|
1710
|
+
upRptNotJoined\n State summarization macros:\n Could register (S,G):
|
|
1711
|
+
False\n Register stop (S,G): True\n Join desired (S,G): False\n \
|
|
1712
|
+
\ Prune desired (S,G,Rpt): False\n No interfaces in immediate olist
|
|
1713
|
+
(S,G): True\n No interfaces in inherited olist (S,G): True\n"
|
|
1714
|
+
help: execute the command "show ip mroute vrf all detail"
|
|
1715
|
+
prompt: *id001
|
|
@@ -1317,3 +1317,110 @@ commands:
|
|
|
1317
1317
|
prompt:
|
|
1318
1318
|
- "{base_prompt}>"
|
|
1319
1319
|
- "{base_prompt}#"
|
|
1320
|
+
show access-list brief:
|
|
1321
|
+
output: "access-list global-acl-test-show-acl-brief; 3 elements; name hash: 0xccfef45c\n\
|
|
1322
|
+
06228509 d0a2680b 00006049 6178289f\n4c8c760a d0a2680b 00000cf5 6245930b\n179f5b95
|
|
1323
|
+
00000000 00000003 61695d26\n"
|
|
1324
|
+
help: execute the command "show access-list brief"
|
|
1325
|
+
prompt: &id001
|
|
1326
|
+
- '{base_prompt}>'
|
|
1327
|
+
- '{base_prompt}#'
|
|
1328
|
+
show running-config access-group:
|
|
1329
|
+
output: "access-group INSIDE_acl in interface inside\naccess-group dmz1_acl in
|
|
1330
|
+
interface dmz1\naccess-group dmz2_acl in interface dmz2\naccess-group dmz3_acl
|
|
1331
|
+
in interface dmz3\naccess-group dmz4 in interface dmz4\naccess-group dmz5 in
|
|
1332
|
+
interface dmz5\naccess-group OUTSIDE_acl in interface outside\n"
|
|
1333
|
+
help: execute the command "show running-config access-group"
|
|
1334
|
+
prompt: *id001
|
|
1335
|
+
show running-config object service:
|
|
1336
|
+
output: "object service one\n description test one\n service tcp source eq 8000
|
|
1337
|
+
destination eq 9000\nobject service two\n description test two\n service udp
|
|
1338
|
+
source eq 8000 destination gt 9000\nobject service three\n description test
|
|
1339
|
+
three\n service tcp source eq 8000 destination lt 9000\nobject service four\n\
|
|
1340
|
+
\ description test four\n service tcp source eq 8000 destination range 9000
|
|
1341
|
+
9999\nobject service five\n description test five\n service tcp source gt 8000
|
|
1342
|
+
destination eq 9000\nobject service six\n description test six\n service udp
|
|
1343
|
+
source gt 8000 destination gt 9000\nobject service seven\n description test
|
|
1344
|
+
seven\n service tcp source gt 8000 destination lt 9000\nobject service eight\n\
|
|
1345
|
+
\ description test eight\n service tcp source gt 8000 destination range 9000
|
|
1346
|
+
9999\nobject service nine\n description test nine\n service tcp source lt 8000
|
|
1347
|
+
destination eq 9000\nobject service ten\n description test ten\n service udp
|
|
1348
|
+
source lt 8000 destination gt 9000\nobject service eleven\n description test
|
|
1349
|
+
eleven\n service tcp source lt 8000 destination lt 9000\nobject service twelve\n\
|
|
1350
|
+
\ description test twelve\n service tcp source lt 8000 destination range 9000
|
|
1351
|
+
9999\nobject service thirteen\n description test thirteen\n service tcp source
|
|
1352
|
+
range 8000 8999 destination eq 9000\nobject service fourteen\n description test
|
|
1353
|
+
fourteen\n service udp source range 8000 8999 destination gt 9000\nobject service
|
|
1354
|
+
fifteen\n description test fifteen\n service tcp source range 8000 8999 destination
|
|
1355
|
+
lt 9000\nobject service sixteen\n description test sixteen\n service tcp source
|
|
1356
|
+
range 8000 8999 destination range 9000 9999\nobject service seventeen\n description
|
|
1357
|
+
test seventeen\n service tcp source eq 8000\nobject service eighteen\n description
|
|
1358
|
+
test eighteen\n service tcp source gt 8000\nobject service nineteen\n description
|
|
1359
|
+
test nineteen\n service udp source lt 8000\nobject service twenty\n description
|
|
1360
|
+
test twenty\n service tcp source range 8000 8999\nobject service twenty-one\n\
|
|
1361
|
+
\ description test twenty-one\n service tcp destination eq 8000\nobject service
|
|
1362
|
+
twenty-two\n description test twenty-two\n service tcp destination gt 8000\n\
|
|
1363
|
+
object service twenty-three\n description test twenty-three\n service tcp destination
|
|
1364
|
+
lt 8000\nobject service twenty-four\n service udp destination range 8000 8999\n\
|
|
1365
|
+
object service twenty-five\n service tcp source range 1 1024 destination eq
|
|
1366
|
+
https\nobject service twenty-six\n service tcp destination eq http\nobject service
|
|
1367
|
+
twenty-seven\n service tcp source eq ssh\nobject service twenty-eight\n service
|
|
1368
|
+
icmp echo\nobject service twenty-nine\n service icmp\nobject service thirty\n\
|
|
1369
|
+
\ service icmp 9 16\nobject service thirty-one\n description Except for IRC-based
|
|
1370
|
+
botnet C&C traffic\n service tcp destination neq 6667\nobject service thirty-two\n\
|
|
1371
|
+
\ description Numeric protocol\n service 137\n"
|
|
1372
|
+
help: execute the command "show running-config object service"
|
|
1373
|
+
prompt: *id001
|
|
1374
|
+
show running-config object-group service:
|
|
1375
|
+
output: "object-group service one\n description TEST ONE\n service-object object
|
|
1376
|
+
alpha \n service-object object bravo \n service-object icmp echo 0\n service-object
|
|
1377
|
+
icmp echo\nobject-group service two\n description TEST TWO\n service-object
|
|
1378
|
+
object charlie\n service-object tcp destination eq ftp \n service-object tcp
|
|
1379
|
+
destination eq 5666 \n service-object icmp\n service-object 137 \nobject-group
|
|
1380
|
+
service three\n description TEST THREE\n service-object udp destination range
|
|
1381
|
+
48129 48137 \n service-object udp source range 48129 48137 \n service-object
|
|
1382
|
+
udp source eq 48129 destination eq 48137 \n service-object udp source range
|
|
1383
|
+
48129 48137 destination eq 48137 \n service-object udp source gt 1023 destination
|
|
1384
|
+
lt 40000 \nobject-group service four\n description TEST FOUR\n group-object
|
|
1385
|
+
three\nobject-group service five tcp\n port-object eq 445\n port-object eq netbios-ssn\n"
|
|
1386
|
+
help: execute the command "show running-config object-group service"
|
|
1387
|
+
prompt: *id001
|
|
1388
|
+
# ----- Manually maintained (netmiko init compat) -----
|
|
1389
|
+
# These commands are NOT sourced from NTC Templates. They are added so
|
|
1390
|
+
# netmiko's session_preparation() does not see "Unknown command" responses
|
|
1391
|
+
# for cisco_asa. Re-runs of `sync_ntc_commands.py` will not affect this
|
|
1392
|
+
# section.
|
|
1393
|
+
show curpriv:
|
|
1394
|
+
output: "Username : enable_15\nCurrent privilege level : 15\nCurrent Mode/s : P_PRIV\n"
|
|
1395
|
+
help: Execute the command show curpriv. This automatically generated. Feel
|
|
1396
|
+
free to change it!
|
|
1397
|
+
prompt:
|
|
1398
|
+
- "{base_prompt}>"
|
|
1399
|
+
- "{base_prompt}#"
|
|
1400
|
+
- "{base_prompt}(config)#"
|
|
1401
|
+
terminal pager 0:
|
|
1402
|
+
output: null
|
|
1403
|
+
help: Execute the command terminal pager 0. This automatically generated. Feel
|
|
1404
|
+
free to change it!
|
|
1405
|
+
prompt:
|
|
1406
|
+
- "{base_prompt}>"
|
|
1407
|
+
- "{base_prompt}#"
|
|
1408
|
+
- "{base_prompt}(config)#"
|
|
1409
|
+
terminal width 511:
|
|
1410
|
+
output: null
|
|
1411
|
+
help: Execute the command terminal width 511. This automatically generated. Feel
|
|
1412
|
+
free to change it!
|
|
1413
|
+
prompt:
|
|
1414
|
+
- "{base_prompt}>"
|
|
1415
|
+
- "{base_prompt}#"
|
|
1416
|
+
- "{base_prompt}(config)#"
|
|
1417
|
+
configure terminal:
|
|
1418
|
+
output: null
|
|
1419
|
+
new_prompt: "{base_prompt}(config)#"
|
|
1420
|
+
help: enter configuration mode
|
|
1421
|
+
prompt: "{base_prompt}#"
|
|
1422
|
+
end:
|
|
1423
|
+
output: null
|
|
1424
|
+
new_prompt: "{base_prompt}#"
|
|
1425
|
+
help: exit configuration mode
|
|
1426
|
+
prompt: "{base_prompt}(config)#"
|
|
@@ -4967,3 +4967,15 @@ commands:
|
|
|
4967
4967
|
default-policy-tag default policy-tag\n"
|
|
4968
4968
|
help: execute the command "show wireless tag policy summary"
|
|
4969
4969
|
prompt: *id001
|
|
4970
|
+
# ----- Manually maintained (ansible compat) -----
|
|
4971
|
+
# These commands are NOT sourced from NTC Templates. They are added so
|
|
4972
|
+
# ansible's `cisco.ios.ios` cliconf does not see "% Invalid input" responses
|
|
4973
|
+
# when it auto-runs sanity-check commands during connection. Re-runs of
|
|
4974
|
+
# `sync_ntc_commands.py` will not affect this section.
|
|
4975
|
+
show privilege:
|
|
4976
|
+
output: "Current privilege level is 15\n"
|
|
4977
|
+
help: Execute the command show privilege. This automatically generated. Feel
|
|
4978
|
+
free to change it!
|
|
4979
|
+
prompt:
|
|
4980
|
+
- "{base_prompt}>"
|
|
4981
|
+
- "{base_prompt}#"
|