Category: Cisco Commands

  • Adding Entries to an Existing ACL on an ASA

    Adding Entries (ACEs) to an Existing ACL You can add entries to ACLs on ASAs by using the line number command. Line numbers on ASAs work differently than on routers. They are not stored in the configs and they will not show up in a show access-list command (basically the ASA doesn’t keep the numbers,…

  • Default Interface Cisco Command

    I can’t even count the number of times I’ve tried to remove all the configs from an interface by doing a no interface command. The router or switch always replies with a snarky “Removal of physical interfaces is not permitted.” I then copy all the commands for the interface, open up notepad, put a no…

  • Cisco – CUE – Show Voicemail Email Notification Settings for a User from CLI

     show voicemail notification owner email

  • Check Dropped Packets

    show policy-map interface

  • Cisco Config Archive and Replace

    Sweet. http://www.fryguy.net/2011/06/06/cisco-archive-and-configure/ http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html#wp1066709

  • Cisco Command Tricks – Monitoring Performance

    Show the list of tasks running sorted by CPU usage and excluding any that are using 0% sh proc cpu sorted | ex 0.00 Show spanning tree changes show spanning-tree detail | inc ieee|occur|from|is exec Show interface counter errors sh interface counters errors  sh int | i line|error Show interface queue statuses and drops sh…

  • Cisco Routers – Use Local Timezone for Log Timestamps

    Router log timestamp entries are different from the system clock when the NTP is configured VERSION 2  Core Issue If a router is configured to get the time from a Network Time Protocol (NTP) server, the times in the router’s log entries may be different from the time on the system clock if the [localtime] option is…

  • Cisco – ISDN Plan Map

    Apparently Cisco CME creates its own ISDN call plan rule set automagically. With some vendors, when you send across a number which begins with 011 and plan type international their switches freak out. You can override this treatment by applying an ISDN MAP to the serial interface of the PRI. interface Serial0/2/0:23isdn map address 011.*…

  • Cisco CLI – Show Command Section Filter and Other CLI Shortcuts

    One of the most useful Cisco show filters ever is the new(ish) section filter. This lets you view information from the section you specify. For example, show run | section include ephone  12 will return all the config lines in the running config which pertain to your ephone 12. The section command (like all Cisco…

  • Show MAC Address Table

    Cisco command: show mac-address-table

  • Cisco CME Basic Call Debugs

    WIP: debug isdn q931 – see live calling / called numbers on PRIdebug voip ccapi inout – This is hard to read but you will see something on the screen if calls come in / out of the FX0 / POTS lines.debug ccsip messages – debug sip messagesdebug ccsip all – debug all sip traffic…

  • Resetting Cisco Phones Part 2

    Reset the phone instead of restarting the phone to be sure it completely reboots.

  • Alias for CLI Access to the CUE

    !creating an alias to enable CLI access to the CUE module much more easily. ! alias exec !do a sh ip int brief and look for the service-engine or integrated service-engine number to fill in the proper one. It is usually 0/0 though. !alias exec cue service-module service-Engine session Examples: alias exec cue service-module service-Engine…

  • Rebooting Cisco Phones

    http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/command/reference/cme_r1ht.html#wp1013890 Note that when resetting or restarting phones, the phone will not be rebooted immediately if it is currently in use. Instead, it will be rebooted once the phone call is over. Thus, resetting or restarting should both be safe to do during business hours as long as call traffic is not high at that…

  • Show ip dhcp pool

    shows you the leased DHCP IP addresses.2811#sh ip dhcp pool Pool sdm-pool1 : Utilization mark (high/low) : 100 / 0 Subnet size (first/next) : 0 / 0 Total addresses : 254 Leased addresses : 54 Pending event : none 1 subnet is currently in the pool : Current index IP address range Leased addresses 10.1.1.163…

  • Ephone-dn-templates

    ephone-dn-template To enter ephone-dn-template configuration mode and create an ephone-dn template containing a standard set of ephone-dn features, use the ephone-dn-template command in global configuration mode. To delete an ephone-dn template, use the no form of this command. ephone-dn-template template-tag no ephone-dn-template template-tag Syntax Description template-tag Identifier for this ephone-dn template. Range is from 1…

  • Cisco Commands – Remote Phone Proxy

    !show the remote phones associated with the ASA.show phone-proxy secure-phones

  • Cisco Commands – Show difference between running config and startup config

    Ever wonder exactly what changes have been made to the running config? Should you save them before reloading or would that break everything. Use show archive config differences nvram:startup-config system:running-config to view the difference between the startup config and the current running config. show archive config differences nvram:startup-config system:running-config router#show archive config differences nvram:startup-config system:running-configContextual…

  • Cisco Commands – Archive and Archive Config

    Automated backups/revisions of configs on Cisco routers. http://www.cisco.com/en/US/docs/ios/12_3t/fun/command/reference/cfrgt_01.html#wp1094316 archive To enter archive configuration mode, use the archive command in global configuration mode. archive Syntax Description This command has no arguments or keywords. Defaults No default behavior or values Command Modes Global configuration Command History Release Modification 12.3(4)T This command was introduced. 12.2(25)S This command was…

  • Cisco Commands – config replace

    Config replace allows you to overwrite your running config with the startup config or a config from flash, tftp, etc. WITHOUT reloading the router. More info:http://articles.techrepublic.com.com/5100-10878_11-6184709.html http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html Configuration Replace The configure replace command provides the capability to replace the current running configuration with any saved Cisco IOS configuration file. This functionality can be used to…