网络设备配置抓取命令

=============== Cisco ===============

******** 交换机&路由器 ********
terminal length 0
show running-config
show ip route
show ip route ospf
show ip ospf neighbor
show ip bgp summary
show standby brief
show ip interface brief
show etherchannel summary
show interfaces status
show interfaces description

show mac address-table dynamic
show mac-add dynamic
show arp
show ip arp
show cdp neighbors
show cdp neighbors detail

show vtp status
show vtp password
show interfaces trunk
show vlan brief
show spanning-tree

show switch
show switch neighbors
show stack-power

show processes cpu
show processes cpu history
show processes memory
show diag
show module
show power
show environment
show env all

show inventory
dir
show flash
show file systems
show boot
show bootvar
show version
show boot
show env all

show switch virtual
show switch virtual dual-active summary
show switch virtual link
show switch virtual redundancy
show switch virtual role

show crypto isakmp sa
show crypto ipsec sa
show vpdn tunnel
show users
show users summary

show clock
show ntp status
show logging


terminal no length


show tech-support

******** 防火墙 ********
terminal page 0
show running-config
show route
show interface ip brief
show nameif
show mode
show firewall
show failover
show xlat
show crypto isakmp sa
show crypto ipsec sa
no terminal page 0

******** MDS ********

terminal page 0
show running-config
show vsan 100
show flogi database vsan 100

 

================Nexus 9000======================

copy running-config startup-config

terminal length 0
show running-config
show ip route
show ip route vrf management
show ip interface brief
show ip interface brief vrf management
show port-channel summary
show interface status
show interface description

show feature
show feature-set

show interface brief
show vtp status
show vtp password
show interface trunk
show vlan brief
show spanning-tree

show processes cpu
show processes memory

show mac address-table dynamic
show ip arp
show cdp neighbors
show cdp neighbors detail

show environment
show module
show inventory
show interface transceiver details

show boot
show version

show users

show ntp status
show clock
show logging

terminal no length


=============== H3C ===============

******** 交换机&路由器 ********
screen-length disable
display current-configuration
display ip routing-table
display ip routing-table protocol ospf
display ip routing-table protocol bgp
display ip interface brief

display ospf peer
display ospf abr-asbr
display ospf asbr-summary
display ospf brief
display ospf interface
display ospf lsdb
display ospf mpls-te
display ospf nexthop
display ospf routing
display ospf sham-link
display ospf vlink
display bgp peer

display vrrp
display interface brief
display link-aggregation summary
display interface description

display mac-address dynamic
display arp all
display ntp status
display lldp neighbor-information list

display vlan
display stp
display stp root

display wlan ap all
display wlan ap connection record all
display wlan ap-group
display wlan country-code ap all
display wlan radio-policy
display wlan rrm
display wlan service-template

display cpu-usage
display memory

display users all
display l2tp session

display device manuinfo
display device verbose
display device
display version
display environment

display clock
display logbuffer
display logbuffer summary


system-view


=============== Array(负载均衡) ===============

show running
show ha config
show ha status
show version
show system mode
show ip address
show ip route
show ip eroute
show running llb
show running sdns
show running slb

show sdns band

show nat table
show statistics nat

show slb group method
show health server
show statistics slb real all
show statistics slb virtual all
show statistics slb summary




------------------------------------------

posted @ 2022-01-21 10:49  Hope·  阅读(165)  评论(0编辑  收藏  举报
分享到: