{"id":236,"date":"2012-11-16T13:38:21","date_gmt":"2012-11-16T12:38:21","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=236"},"modified":"2012-11-16T13:41:20","modified_gmt":"2012-11-16T12:41:20","slug":"cisco-quick-tips","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=236","title":{"rendered":"Cisco Quick Tips"},"content":{"rendered":"<h2>Restarting or Rebooting<\/h2>\n<ul>\n<li>\n<h3>Restart immediately<\/h3>\n<p>To restart or reboot a Cisco immediately, in enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#reload <\/code><\/span><\/li>\n<li>\n<h3>Restart or Reload in N Minutes<\/h3>\n<p>To restart or reboot a Cisco in a certain number of minutes, in enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#reload in 5<\/p>\n<p><\/code><\/span>Extra Tip: This is useful when you are afraid that the configuration changes you are about to make might break something or lock you out of the router. You tell the router to reload in a certain number of minutes, then make your changes. If it turns out your changes are catastrophic and you can&#8217;t log back into the router to fix them, the router will reload in a few minutes and go back to its previous configuration.<\/li>\n<\/ul>\n<h2>Cisco Routing<\/h2>\n<ul>\n<li>\n<h3>Add a Static Route on your Cisco routers<\/h3>\n<p>For example, in configuration mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router(config)#ip route 192.168.1.0 255.255.255.240 192.168.1.254 1 <\/code><\/span><\/li>\n<li>\n<h3>Show route table of Cisco router<\/h3>\n<p>In enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#show ip route <\/code><\/span><\/li>\n<\/ul>\n<h2>Cisco ARP<\/h2>\n<ul>\n<li>\n<h3>Clear ARP Table of your Cisco router or switch<\/h3>\n<p>To clear the ARP table, in enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#clear arp <\/code><\/span><\/li>\n<li>\n<h3>Show ARP table of a Cisco router or switch<\/h3>\n<p>To display the ARP table of a Cisco router, in enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#show arp <\/code><\/span><\/li>\n<\/ul>\n<h2>Cisco Load<\/h2>\n<ul>\n<li>\n<h3>Show Proccessor Load of your Cisco router or switch<\/h3>\n<p>Like any computer, a Cisco router can be limited by its processing power. To show the processor utilization, in enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#show proc cpu<\/p>\n<p><\/code><\/span>At the beginning of the output, look for a line like this:<\/p>\n<p><code>CPU utilization for five seconds: 37%\/31%; one minute: 39%; five minutes: 40% <\/code><\/li>\n<\/ul>\n<h2>Cisco Memory<\/h2>\n<ul>\n<li>\n<h3>Show Used and Available Memory of your Cisco router or switch<\/h3>\n<p>Like any computer, a Cisco router can be limited by its available memory. To show the used and available memory, in enable mode:<\/p>\n<p><span style=\"text-decoration: underline;\"><code>Router#show proc mem<\/p>\n<p><\/code><\/span>At the beginning of the output, look for a line like this:<\/p>\n<p><code>Total: 200234528, Used: 70508188, Free: 129726340 <\/code><\/li>\n<\/ul>\n<h2>Cisco Committed Access Rate (CAR)<\/h2>\n<ul>\n<li>An example that limits an IP to 512K, with a nice, fat burst.First create the access lists.<code>access-list 100 permit ip any host 192.168.100.100<br \/>\naccess-list 100 permit ip host 192.168.100.100 any<br \/>\n<\/code>Then apply rate limiting rules to the appropriate interface:<\/p>\n<p><code>rate-limit input access-group 100 512000 1024000 2048000 conform-action transmit exceed-action drop<br \/>\nrate-limit output access-group 100 512000 1024000 2048000 conform-action transmit exceed-action drop<br \/>\n<\/code>Extra Tip: If, in a rate-limit rule, you reference an access list that does not exist, the rule will match all traffic. Usually not good.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Restarting or Rebooting Restart immediately To restart or reboot a Cisco immediately, in enable mode: Router#reload Restart or Reload in N Minutes To restart or reboot a Cisco in a certain number of minutes, in enable mode: Router#reload in 5 Extra Tip: This is useful when you are afraid that the configuration changes you are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":2,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":238,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/238"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}