Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
sh run | include ^[^! ]Для железок с «отдельно стоящим» конфигом (свитчи, роутеры) команда может показать все ACL'ы, route maps, VPNы и проч секции конфига, что тоже удобно.
router#show run ? all Configuration with defaults brief configuration without certificate data class-map Show class-map information control-plane Show Control-Plane information flow Global Flow configuration subcommands full full configuration interface Show interface configuration linenum Display line numbers in output map-class Show map class information partition Configuration corresponding a partition policy-map Show policy-map information view View options vrf Show VRF aware configuration | Output modifiers
aaa Show AAA configuration information
aaa-server Show aaa-server configuration information
access-group Show access group(s)
access-list Show configured access control elements
alias Show configured overlapping addresses with dual
NAT
all Show current operating configuration including
defaults
arp Show configured ARP entries, ARP timeout
asdm Show ASDM configuration
auth-prompt Show configured authentication challenge,
reject and acceptance prompts
auto-update Show Auto Update configuration
banner Show configured login/session banners
boot Show boot configuration information
class Show class configuration
class-map Show class-map configuration
client-update Show global client-update configuration
information
clock Show clock configuration
command-alias Show configured command aliases
compression Show compression global configuration
console Show console idle timeout
crypto Show crypto configuration
ctl-file Show configured CTL file instances
ctl-provider Show configured CTL Providers
ddns Show Dynamic DNS update methods configured
dhcp-client Show dhcp-client configuration
dhcpd Show configured DHCP Server
dhcprelay Show DHCP Relay Agent configuration
dns Show DNS configuration
dns-guard Enforce one DNS response per query
domain-name Show domain name
dynamic-access-policy-record Show dynamic access policy configuration
details
dynamic-map Show crypto dynamic map configuration
enable Show enable password and levels
eou Show EOU configurationn
established Show established connections
failover Show failover config
filter Show filter configuration
fips Show fips configuration.
fixup Show configured fixup
fragment Show IP Reassembly configuration
ftp Show FTP mode
global Show global address pool configuration
group-delimiter Show group-delimiter configuration information
group-policy Show all group policy configuration details
hostname Show hostname configuration
http Show configured HTTP servers
icmp Show configured access rules for ICMP traffic
imap4s Show imap4s configuration information
interface Show interface configuration information
ip Show IP address, address pool, IDS
configuration, etc
ipsec Show crypto ipsec configuration
ipv6 Show IPv6 configuration
isakmp Show ISAKMP configuration
l2tp Show L2TP running configuration
ldap Show LDAP configuration information
logging Show logging config
mac-address Show MAC address autogeneration setting for
shared interface
mac-list Show MAC list(s)
management-access Show management-access configuration
map Show crypto map configuration
monitor-interface Show running-config failover interface
monitoring configuration
mount Show configured system mounts
mroute Show mroute configuration
mtu Show configured MTU values
multicast-routing Show run multicast-routing configuration
nac-policy Show all NAC policy configuration details
name Show names associated with IP addresses
nameif Show nameif configuration for interfaces
names Show IP address to name mappings
nat Show NAT configuration
nat-control Show NAT configuration requirement
ntp Show NTP configuration
object-group Show object group(s)
pager Show page length
passwd Show telnet console access password
phone-proxy Show configured Phone proxies
pim Show PIM configuration
policy-map Show policy-map configuration
pop3s Show pop3s configuration information
prefix-list Show configured prefix-lists
priority-queue Show the priority-queue configuration details
for the interface
privilege Show configuration of privilege level of
commands
prompt Show configured session prompt
regex Show all regex configuration
remote-access Show Remote Access Trap configuration
route Show configured routes
route-map Show configured route-maps
router Show routing processes
same-security-traffic Show same-security-traffic configuration
service Show configured system services
service-policy Show service-policy configuration
sla Display SLA configuration
smtp-server Show configured SMTP server address (primary
and secondary)
smtps Show smtps configuration information
snmp-map Show snmp-map running configuration
snmp-server Show snmp-server configuration
ssh Show configured SSH commands or SSH idle
timeout
ssl Show SSL configuration information
static Show host to global address mapping
configuration
sunrpc-server Show configured SUNRPC services
sysopt Show configured system functional options
tcp-map Show tcp-map running configuration
telnet Show configured telnet commands or telnet idle
timeout
terminal Show configured terminal line parameters
tftp-server Show configured TFTP server address and
directory
threat-detection Show threat detection configuration
time-range Show configured time-ranges
timeout Show configured maximum idle times
tls-proxy Show configured TLS proxies
track Show tracking configuration
tunnel-group Show tunnel group configuration information
tunnel-group-map Show tunnel-group-map configuration information
url-block Show URL pending block buffer and long URL
support config
url-cache Show URL cache size
url-server Show URL filter server configuration
username Show username configuration details
virtual Show addresses for authentication virtual
servers
vpdn Show vpdn running configuration
vpn Show VPN Running Configuration.
vpn-addr-assign Show vpn-addr-assign
vpn-sessiondb Show VPN Session Database configuration
wccp Show WCCP configuration
webvpn Show webvpn configuration information
zonelabs-integrity Show Zonelabs Integrity Firewall Server
Configuration
| Output modifiers
[CLI Tip]: Как сделать краткую выжимку-обзор running-config'а