fix(console): fix udev symlink naming bug + add portable audit tooling
Console fix: generate-config.sh wrote SYMLINK+="console/$name" (singular)
but ser2net.yaml opens /dev/consoles/$name (plural). They never matched,
so after every reboot the console ports failed until setup.sh's manual
fallback re-created the symlinks. Fixed the udev rule to use "consoles/"
to match ser2net and the README.
New portable read-only audit tools (AGPLv3-friendly, config-driven):
- perf/scripts/probe-storage.sh: disk/mount/export/SMART/storage.cfg probe
- perf/scripts/probe-network.sh: NIC/bond/LLDP/NFS/nconnect probe
- perf/scripts/conman-console.py: PTY-based conman console driver (replaces
the old sw-capture.py that conflicted with ser2net)
- perf/scripts/snmp-switch-audit.py: SNMP-based switch inventory (interfaces,
LLDP, LAG, VLANs) via pysnmp or net-snmp
Removed stale pre-conman switch tooling (sw-capture-remote.sh, sw-capture.py,
sw-probe.sh, sw-conman-probe.sh) and old .cmds files. Added fresh .cmds
files for the two cross-rack trunk endpoint switches.
💘 Generated with Crush
Assisted-by: Crush:glm-5.2
This commit is contained in:
@@ -1,93 +1,11 @@
|
||||
!###############################################################################
|
||||
!# pfv-core-sw01
|
||||
!#
|
||||
!# Dell PowerConnect 5448 (48-port 1GbE copper, 4× combo SFP / 10G via stacking)
|
||||
!# OS: DNOS 4.x / PowerConnect CLI
|
||||
!#
|
||||
!# This file is a flat list of READ-ONLY show commands.
|
||||
!# Paste them in order from enable mode. Capture the whole session to
|
||||
!# returned-logs/pfv-core-sw01.log
|
||||
!#
|
||||
!# To capture from a terminal:
|
||||
!# 1. SSH/telnet in
|
||||
!# 2. enable
|
||||
!# 3. terminal datadump (disables --More-- pause)
|
||||
!# 4. paste everything below
|
||||
!###############################################################################
|
||||
|
||||
enable
|
||||
! pfv-core-sw01 — Dell PowerConnect 5448 (core switch, rack 5)
|
||||
! Read-only show commands for LAG/port-channel/VLAN audit
|
||||
terminal datadump
|
||||
|
||||
! --- Identify & versions ---------------------------------------------------
|
||||
show version
|
||||
show system
|
||||
show inventory
|
||||
show bootvar
|
||||
show running-config
|
||||
show stack
|
||||
show cpu utilization
|
||||
show memory
|
||||
show logging
|
||||
|
||||
! --- Interfaces ------------------------------------------------------------
|
||||
show interfaces status
|
||||
show interfaces configuration
|
||||
show interfaces description
|
||||
show interfaces counters
|
||||
show interfaces counters errors
|
||||
show interfaces counters detail
|
||||
show interfaces counters cable 1-52
|
||||
|
||||
! --- Port-channels / LAG (4-port LACP to pfv-r3-tor-stor) -----------------
|
||||
show interfaces port-channel
|
||||
show lacp 1
|
||||
show lacp 2
|
||||
show lacp 3
|
||||
show lacp 4
|
||||
show lacp 5
|
||||
show lacp 6
|
||||
|
||||
! --- VLANs -----------------------------------------------------------------
|
||||
show port-channel summary
|
||||
show lacp
|
||||
show vlan
|
||||
show vlan detail
|
||||
show interfaces vlan 1
|
||||
show interfaces vlan 1000
|
||||
show vlan info
|
||||
|
||||
! --- Spanning tree ---------------------------------------------------------
|
||||
show spanning-tree
|
||||
show spanning-tree active
|
||||
show spanning-tree summary
|
||||
show spanning-tree detail
|
||||
|
||||
! --- IGMP / multicast (matters for storage/iSCSI-NFS sometimes) -----------
|
||||
show ip igmp snooping
|
||||
show ip igmp snooping vlan 1
|
||||
show ip igmp snooping vlan 1000
|
||||
|
||||
! --- QoS / CoS -------------------------------------------------------------
|
||||
show qos
|
||||
show qos interface
|
||||
show class-of-service
|
||||
|
||||
! --- Storm control / loop protection --------------------------------------
|
||||
show storm-control
|
||||
show ports jumbo-frame
|
||||
|
||||
! --- ARP / MAC / FDB -------------------------------------------------------
|
||||
show mac address-table
|
||||
show arp
|
||||
show ip route
|
||||
|
||||
! --- Environmental ---------------------------------------------------------
|
||||
show environment
|
||||
show fan
|
||||
show power
|
||||
show hardware
|
||||
|
||||
! --- Flow control ----------------------------------------------------------
|
||||
show flowcontrol
|
||||
show interfaces flowcontrol
|
||||
|
||||
! --- Save the capture, then exit ------------------------------------------
|
||||
exit
|
||||
show running-config interface port-channel 1
|
||||
show running-config interface port-channel 3
|
||||
|
||||
Reference in New Issue
Block a user