There are a ton of useful Cisco commands that I do not use everyday but I still use often. This post is probably going to be one that gets updated frequently with new commands that I come across that I want to hold on to. So I am apologizing in advance in case this one gets a little messy. The actual Cisco command will be in bold lettering and in quotations.
Display Cisco stateful packet inspection session created becasue a policy map is applied on a specified zone pair - "show policy-map type inspect zone-pair sessions"
To show AnyConnect connected VPN users and their session info - "show vpn-sessiondb anyconnect"
To show that detailed status for active crypto sessions (i.e. VPN) - "show crypto session detail"
To delete a router config enter in the following command and reboot the router with out saving - "delete nvram:startup-config"
Here is how to create a LACP trunk on a Cisco switch:
"interface GigabitEthernet1/0/48
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active"
Cisco 4K routers NAT ACL's can not use a Permit IP any any for the NAT overload statement. It has some issues with it, so you need to be more specific with the networks that it will be NAT'ing. For security reasons you should be specific anyways. By using a Permit IP any any NAT statement it will cause irregular behavior on the router, it very well may work but it also may just stop working.
"ip nat inside source list NAT interface GigabitEthernet0/0/0 overload
IP access-list extended NAT
10 permit ip 10.1.1.0 0.0.0.255 any
20 permit ip 10.1.2.0 0.0.0.255 any"