{"id":891,"date":"2012-01-19T11:40:23","date_gmt":"2012-01-19T16:40:23","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?page_id=891"},"modified":"2013-08-19T08:20:30","modified_gmt":"2013-08-19T13:20:30","slug":"cisco","status":"publish","type":"page","link":"https:\/\/it.thelibrarie.com\/weblog\/cisco\/","title":{"rendered":"Cisco"},"content":{"rendered":"<p>I figured I&#8217;d start a cheat sheet of several of the cisco commands I use:<\/p>\n<p><strong>ASA<\/strong><br \/>\n<strong>Show all active VPN Sessions<\/strong><br \/>\n<code>show vpn-sessiondb<\/code><br \/>\n<code>show vpn-sessiondb remote<\/code> (ipsec connections)<br \/>\n<code>show vpn-sessiondb l2l<\/code> (site to site vpn)<br \/>\n<code>show vpn-sessiondb svc<\/code> (ssl vpn)<\/p>\n<p><strong>Show all active SSH sessions (hopefully you don&#8217;t have telnet enabled)<\/strong><br \/>\n<code>show ssh sessions<\/code><\/p>\n<p>show crypto ipsec stats<br \/>\nshow crypto ipsec sa detail<br \/>\nshow crypto isakmp peer IP<br \/>\nclear crypto ipsec sa peer IP<br \/>\nclear crypto ipsec sa<\/p>\n<p><strong>Null route blocking on router<\/strong><br \/>\n<code>ip route DEST_NETWORK SUBNETMASK null 0<\/code><\/p>\n<p><strong>Stop attacks on ASA<\/strong><br \/>\n<code>shun SRC_IP DEST_IP SRC_PORT DEST_PORT PROTOCOL<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I figured I&#8217;d start a cheat sheet of several of the cisco commands I use: ASA Show all active VPN Sessions show vpn-sessiondb show vpn-sessiondb remote (ipsec connections) show vpn-sessiondb l2l (site to site vpn) show vpn-sessiondb svc (ssl vpn) Show all active SSH sessions (hopefully you don&#8217;t have telnet enabled) show ssh sessions show &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/cisco\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cisco<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-891","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/pages\/891","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=891"}],"version-history":[{"count":4,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/pages\/891\/revisions"}],"predecessor-version":[{"id":1140,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/pages\/891\/revisions\/1140"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}