{"id":342,"date":"2018-10-29T19:40:01","date_gmt":"2018-10-29T18:40:01","guid":{"rendered":"https:\/\/zed-network.fr\/?p=342"},"modified":"2020-08-24T19:28:42","modified_gmt":"2020-08-24T18:28:42","slug":"cisco-ios-shell","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=342","title":{"rendered":"How to enable shell on Cisco IOS"},"content":{"rendered":"<h1>Enable shell<\/h1>\n<pre>Enable shell linux \n\nrouter(config)#shell processing full<\/pre>\n<h1>show shell environment<\/h1>\n<pre>router#sh shell environment\n# Environment Variables:\n# User Environment Variables:\n?=1\n# Global Environment Variables:\n# Builtin Environment Variables:\nPATH=CLI%Userfunctions%Builtins%SYSTEM\n# Environment Functions:\n\n# User Environment Functions:\n\n# Global Environment Functions:\n\n# Builtin Environment Functions:\n\nFunction namespace: DEFAULT\n((              evaluate a numeric test expression\n\n\nFunction namespace: DEFAULT\n[[              evaluate a logical test expression\n\n\nFunction namespace: DEFAULT\ncat             output data from a pipe or file to the terminal\n\n\nFunction namespace: DEFAULT\ncut             edit piped output\n\n\nFunction namespace: DEFAULT\necho            echo arguments to the terminal\n\n\nFunction namespace: DEFAULT\nfalse           return false in while or if expressions, and set the result\n\n\nFunction namespace: DEFAULT\nfetch           return values from the configuration database\n\n\nFunction namespace: DEFAULT\ngrep            search for regular expressions in piped output or files\n\n\nFunction namespace: DEFAULT\nhead            print the first lines in the input\n\n\nFunction namespace: DEFAULT\ninterface       print interfaces that match the argument\n\n\nFunction namespace: DEFAULT\nlet             evaluate a numeric expression, and set the result\n\n\nFunction namespace: DEFAULT\nman             print information for builtins\n\n\nFunction namespace: DEFAULT\nmore            page piped output to the terminal\n\n\nFunction namespace: DEFAULT\nnl              number the lines in the input\n\n\nFunction namespace: DEFAULT\nnull            ignore the input\n\n\nFunction namespace: DEFAULT\nprintf          output formatted data to the terminal\n\n\nFunction namespace: DEFAULT\nread            read input into variables\n\n\nFunction namespace: DEFAULT\nset_oper        set operational values\n\n\nFunction namespace: DEFAULT\nsleep           pause execution of the terminal\n\n\nFunction namespace: DEFAULT\nsort            sort the input\n\n\nFunction namespace: DEFAULT\ntail            print the tail of the input\n\n\nFunction namespace: DEFAULT\ntrue            return true in while or if expressions, and set the result\n\n\nFunction namespace: DEFAULT\nuname           print system information\n\n\nFunction namespace: DEFAULT\nwc              count lines, words, and chars<\/pre>\n<h1>Example<\/h1>\n<pre>router#sh int desc | grep up\nEt0\/0                          up             up\nEt0\/1                          up             up\nLo0                            up             up\nNV0                            up             up\nTu0                            up             up\n\nrouter#sh int desc | grep up | wc -l\n4<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enable shell Enable shell linux router(config)#shell processing full show shell environment router#sh shell environment # Environment Variables: # User Environment Variables: ?=1 # Global Environment Variables: # Builtin Environment Variables: PATH=CLI%Userfunctions%Builtins%SYSTEM # Environment Functions: # User Environment Functions: # Global Environment Functions: # Builtin Environment Functions: Function namespace: DEFAULT (( evaluate a numeric test expression [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-342","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=342"}],"version-history":[{"count":2,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":550,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions\/550"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}