Saturday, October 6, 2018

Configuring terminal width on a Cisco ASA Firewall

There are times you got a very long hostname or context hostname configured on a Cisco ASA firewall (or any Cisco device) and it hides the commands being typed. The $ in CLI means the displayed output is maxed out. You can override the default terminal width to extend the CLI output.


ciscoasa/pri/act/CONTEXT-ABC(config-network-object)# nat (CONTEXT-INT,outside) $

ciscoasa/pri/act/admin(config)# terminal width ?

configure mode commands/options:
  0         Specify this value to set the maximum permitted width
  <40-511>  Terminal width columns, default is 80

ciscoas/pri/act/admin(config)# terminal width 120

ciscoasa/pri/act/CONTEXT-ABC# show terminal

Width = 120, no monitor

ciscoasa/pri/act/CONTEXT-ABC# configure terminal
ciscoasa/pri/act/CONTEXT-ABC(config)# nat(CONTEXT-INT,outside)11111111111111111111111111111111111111111111111111$


You can also use the terminal pager 0 privileged command to spit out the whole configuration output in one go (without hitting the spacebar). This is the equivalent of terminal length 0 in an IOS router.

ciscoasa# terminal ?

  interactive  enable '?' as help
  monitor      Syslog monitor
  no           Turn off syslogging to this terminal
  pager        Control page length for pagination. The page length set here is
               not saved to configuration.


ciscoasa# terminal pager ?

  <0-2147483647>  Pager lines, 0 means no page-limit
  lines           The number following this keyword determines the number of
                  lines in a page before ---more--- prompt appears, default is
                  24
ciscoasa# terminal pager 0

Friday, September 14, 2018

Cisco Commerce Workspace (CCW)

There's an online tool called Cisco Commerce Workspace (CCW) which quickly gives an estimate price (in US Dollars) on various Cisco products. This would aid Cisco reseller, IT and Project Managers create quotes and build their Bill of Materials (BOM). You can access the CCW tool by going to Cisco.com > Partners > Partner Tools > Deals, Quotes, Orders (CCW). A CCO login is required and here's a useful user guide for this tool.




Type under Search for Product or SKU (in this case ASA5525)



Click + to add item.

The main difference between a K8 and K9 device is the encryption license support. The K8 bundle supports a "weak" or base encryption license (DES) swhile K9 bundle supports a stronger encryption license (3DES/AES).



Clicked + on ASA5525-K9 and the selected item will appear on the right.



Click + on L-ASA-SC-5= (5 Security Context License) then click Add on the right in order to check out and CCW will give an estimated total price.




To perform a search again, click Find Products & Solutions.



To remove an item, click under a specific item > More Actions > Remove Line.