{"id":332,"date":"2019-07-06T16:30:38","date_gmt":"2019-07-06T16:30:38","guid":{"rendered":"https:\/\/cue.ciscoar.com\/?page_id=332"},"modified":"2023-01-27T19:04:06","modified_gmt":"2023-01-27T19:04:06","slug":"aim-cue-session","status":"publish","type":"page","link":"https:\/\/cue.ciscoar.com\/?page_id=332","title":{"rendered":"AIM-CUE Session"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">AIM-CUE Session<\/h2>\n\n\n\n<p>We&#8217;ve covered so far a bunch of very interesting topics on our journey to familiarize ourselves with the AIM-CUE, things like, unpackaging, physical installation, logical connection, IP addressing, IP Unnumbered and also IP Routing using an static route, we are ready to move forward to the next step, opening our very first session, let&#8217;s do that.<\/p>\n\n\n\n<p>First let&#8217;s double check we do have proper connectivity:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code class=\"\"><strong>ping 172.16.1.103<\/strong><\/code><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">vgw#ping 172.16.1.103\nType escape sequence to abort.\nSending 5, 100-byte ICMP Echos to 172.16.1.103, timeout is 2 seconds:\n!!!!!\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 1\/1\/1 ms\nvgw#<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Opening a session<\/h2>\n\n\n\n<p>You&#8217;ll see that at the end of the day, opening a new session with our CUE is just like going from one device to the other using telnet, see the CLI command we have to use below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code class=\"\"><strong>service-module Service-Engine 0\/1 session<\/strong><\/code><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">vgw#\nvgw#\nvgw#service-module service-Engine 0\/1 session\nTrying 172.16.1.1, 2386 ... Open\nSYSTEM ONLINE\nCUE-751&gt; \nCUE-751&gt; \nCUE-751&gt;<\/code><\/pre>\n\n\n\n<p>Congratulations! You are finally inside the Cisco AIM-CUE for the very first time, awesome! job well done!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Returning to the original (router) session<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Permanently<\/h3>\n\n\n\n<p>Once we are done with whatever we were doing on our AIM-CUE and we want to go back to the router, closing permanently the current connection with CUE, we must use for these cases, the &#8220;exit&#8221; CLI command, see below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">CUE-751&gt; exit\n\n[Connection to 172.16.1.1 closed by foreign host]\nvgw#<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Briefly, wanting to resume the session <\/h3>\n\n\n\n<p>Because we are just opening a new telnet session with our CUE, as you can imagine, we can also use the very well known key combination (Ctrl-Shift-6-X) to get back to the original session, but leaving the possibility to <strong>resume<\/strong> the current CUE session by just pressing Enter.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/cue.ciscoar.com\/wp-content\/uploads\/2019\/07\/crtlshift6x.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"322\" src=\"https:\/\/cue.ciscoar.com\/wp-content\/uploads\/2019\/07\/crtlshift6x.jpg\" alt=\"ctrl shift 6 x\" class=\"wp-image-347\" srcset=\"https:\/\/cue.ciscoar.com\/wp-content\/uploads\/2019\/07\/crtlshift6x.jpg 747w, https:\/\/cue.ciscoar.com\/wp-content\/uploads\/2019\/07\/crtlshift6x-300x129.jpg 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/a><figcaption class=\"wp-element-caption\"> Press Ctrl+Shift+6, then release all (three) keys, and then press &#8220;X&#8221; <\/figcaption><\/figure><\/div>\n\n\n<p>See below the effect of pressing &#8220;Enter&#8221; immediately after the key combination.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">vgw#\n[Resuming connection 1 to 172.16.1.1 ... ]\nCUE-751&gt; \nCUE-751&gt; <\/code><\/pre>\n\n\n\n<p>As you can see, the shell resumes the CUE session, and that is very useful for cases where configuring the CUE we have to wait for it to complete a given task.<\/p>\n\n\n\n<p>We don&#8217;t have to just sit in front of the computer waiting for CUE to complete its task, what we can do instead, is to go back to router to do other things meanwhile, knowing that we can quickly resume the CUE session, because it was left intentionally open.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Show sessions currently open<\/h2>\n\n\n\n<p>From the original (router) session we can check if there is any open session, see command below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>show sessions<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">vgw#show sessions \nConn Host                Address             Byte  Idle Conn Name\n*  1 172.16.1.1          172.16.1.1           0      0  172.16.1.1\n\nvgw#> <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Disconnect Session<\/h2>\n\n\n\n<p>The output of the <em><strong>&#8220;show sessions&#8221;<\/strong><\/em> command is necessary to get the <strong>session ID<\/strong>, in the example above that number is &#8220;1&#8221;, you&#8217;ll use the session ID number to close that particular session, see command below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>disconnect 1<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">vgw#disconnect 1\nClosing connection to 172.16.1.1 [confirm]\nvgw#<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The &#8220;Good Old&#8221; question mark symbol<\/h2>\n\n\n\n<p>Now that we are finally inside our CUE for the very first time, we can ask for help using the old good question mark symbol, you can see a list of the available options below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">CUE-751&gt; \nCUE-751&gt; \nCUE-751&gt; ?\n  &lt;cr&gt;         \n  CTRLZ        \n  ccn          Telephony application\n  clear        Reset functions\n  configure    Enter configuration mode\n  copy         Copy data from one location to another\n  disable      Turn off privileged commands\n  echo         print the arguments\n  enable       enter privileged mode\n  erase        Erase a configuration\n  exit         quit the cli\n  groupname    Group descriptions and accounts\n  insert-line  Insert a line of text\n  log          System event messages\n  mwi          Message Waiting Indicator\n  network      commands associated with networking\n  no           Negate a command\n  offline      Change the system to administration mode\n  ping         Send echo messages\n  reload       Reboot the system\n  remote       commands associated with remote info\n  service      Services on the system\n  show         Show running system information\n  shutdown     Halt the system\n  software     software\n  techsupport  Generate debug related information for support\n  terminal     Configure this session's terminal\n  trace        Enable trace events for debugging\n  username     User descriptions and accounts\n  voicemail    voicemail application\n  web          define username for GUI user\n  webapp       Commands associated with web applications\n  write        Write running configuration to memory or terminal\nCUE-751&gt; \nCUE-751&gt; <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Show me more<\/h2>\n\n\n\n<p>Aren&#8217;t you already curious about what the &#8220;show&#8221; CLI command have to offer? let&#8217;s take a look right now:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">CUE-751&gt; \nCUE-751&gt; show ?\n  arp          ARP table\n  backup       Print backup utility configuration\n  calendar     Print calendar schedule information\n  ccn          Telephony Application\n  clock        Display the system clock\n  configuration Contents of Non-Volatile memory\n  cores        List the core files\n  crash        Show kernel crash information\n  crypto       Encryption module\n  debugging    State of each debugging option\n  errors       Print statistics about system events\n  fax          Fax details\n  group        Print information about a single group\n  groups       Print list of known group names\n  hosts        IP domain-name, lookup style, nameservers, and host table\n  imap         IMAP server\n  interfaces   Show interface status and configuration\n  ip           IP application\n  list         Print information about a single distribution list\n  lists        Distribution lists\n  log          Print recent system event messages\n  logging      Show console logging options\n  logs         List the logs\n  memory       Memory statistics\n  messaging-gateway Messaging gateway\n  network      Networking application\n  notification Notification\n  ntp          Network time protocol\n  packets      Network traffic\n  parser       Display parser information\n  phone-authentication IP phone services authentication server\n  privilege    Print information about a single privilege\n  privileges   Print list of known privileges\n  processes    Application subsystem state\n  remote       commands associated with remote info\n  restriction-table Restriction table for outbound calls\n  running-config Current operating configuration\n  security     Print information about security settings\n  smtp         SMTP Server details\n  snmp         SNMP configuration\n  software     software\n  startup-config Contents of startup configuration\n  sysdb        System configuration database\n  system       Print system information\n  tech-support Summary of diagnostic information for Cisco TAC\n  trace        Show trace information\n  user         Print information about a single user\n  users        Print list of known usernames\n  version      System hardware and software status\n  voicemail    Telephony application\n  voiceview    Voice Mail Phone Service Application\n  web          GUI interface\n  webapp       Print list of loaded web applications\nCUE-751&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Where to go from here<\/h2>\n\n\n\n<p>I think we have now a lot of &#8220;home-work&#8221; to do, many options to check and the opportunity to finally get to know ALL about our AIM-CUE, let&#8217;s continue with a few more &#8220;show&#8221; CLI commands then.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/aim-cue-software-licenses\/\">show software licenses<\/a><\/li>\n\n\n\n<li><a href=\"\/aim-cue-show-version\/\">show version<\/a><\/li>\n\n\n\n<li><a href=\"\/aim-cue-voicemail-usage\/\">show voicemail usage<\/a><\/li>\n\n\n\n<li><a href=\"\/aim-cue-show-running-config\/\">show running-config<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AIM-CUE Session We&#8217;ve covered so far a bunch of very interesting topics on our journey to familiarize ourselves with the AIM-CUE, things like, unpackaging, physical installation, logical connection, IP addressing, IP Unnumbered and also IP Routing using an static route, we are ready to move forward to the next step, opening our very first session, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/cue.ciscoar.com\/?page_id=332\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;AIM-CUE Session&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-332","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=332"}],"version-history":[{"count":66,"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/332\/revisions"}],"predecessor-version":[{"id":730,"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/332\/revisions\/730"}],"wp:attachment":[{"href":"https:\/\/cue.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}