Cisco pipe Command Examples with Regular Expressions

We use the pipe (|) command more frequently on Cisco devices to get specific output of show & troubleshooting commands. Below are the available options for Pipe (|) command from Cisco ASR1002 Router. Cisco_ASR1002#sh run | ? append   Append redirected output to URL (URLs supporting append operationonly) begin   Begin with the line that matches count  Count number of lines which match regexp exclud   eExclude lines that match format   Format the output using the specified spec file include   Include lines that match redirect  Redirect output to URL section   Filter a section of output tee    Copy output to URL Append option will send all output from the show command to be appended to a file already created at either a local (flash: disk:) or remote (ftp: tftp:) location. Example: The below command would copy the output off the show running-config command to an ftp server […]


How to trace physical interface with MAC/IP address in Cisco Devices

In this post I will explain the steps to find the client/end user computer connected physical interface in large Network environment with multiple Access Switches connecting to the core switches or routers. This will help you to trace and troubleshoot devices like a PC or a laptop or other end devices. This is not a difficult task but can certainly be time consuming. You can trace the physical interface by using MAC address or IP address. You can find the MAC address with “sh ip arp” command of particular IP address in gateway router. Let’s start with an IP address. Find out gateway router while checking traceroute to the IP address then login into second hop IP address from end and enter “sh ip arp X.X.X.X” command. C:\>tracert Tracing route to over a maximum of 30 hops 1     1 ms     1 ms     2 ms 2     1 ms    <1 ms    <1 […]

How to use /31 subnet for point-to-point links configuration

Benefits of  /31 subnets for point-to-point links In general we use the /30 bit subnet mask for point to point networks and will get two usable host IP addresses for point to point configuration except one network and one broad address. Now we can use 31-bit subnet mask for point to point networks and it will save the IPv4 address space. In this subnet there is no unused network and broadcast address and it uses only two IP addresses: all zero bits and all one bits in the host portion of the IP address. In /31 subnet the two IP addresses are used as host addresses, and do not require broadcast support because any packet that is transmitted by one host is always received by the other host at the receiving end. Therefore, directed broadcast on a point-to-point interface is eliminated. Support for an IPv4 address with a 31-bit subnet […]

Difference between Cisco CallManager Express and Cisco CallManager

Cisco CallManager Express (CME) Vs Cisco CallManager  (CCM) Now you can find the difference between Cisco CallManager Express (CME) and Cisco CallManager  (CCM). Both CallManager and CallManager Express are different products with their own strengths. CallManager Express has less feature set or scalability as compared with CallManager therefore the price to make it more viable for smaller businesses Cisco CallManager express (CUCME) is a full UC solution integrated inside the Cisco ISR Router targeting SMB customers. Cisco CallManager (CUCM) is a full UC platform, providing IP Telephony, Mobility and Collaboration services to large Enterprise Customers, Cisco Unified CME is a feature-rich entry-level IP telephony solution that is integrated directly into Cisco IOS software and it runs on a Router, specifically any of the ISR 2800/3800 or the ISR-G2 2900/3900 series Routers. Both network and voice services bundled into one Cisco IOS platform.  Cisco Unified CME allows small business customers and autonomous small enterprise branch offices to […]

How to troubleshoot Cisco VPN Client Error-Reason 442: Failed to Enable Virtual Adapter

If you are a Windows 7 or Vista users, error “Reason 442: failed to enable virtual adapter” is most common error what you will find for Cisco VPN client. When I find this error, I have noticed that the virtual adapter fails to enable. If I manually enable the adapter and then retry the VPN connection, it always works. I tried to find out why the VPN client no longer automatically enables the connection then found below reason. The following error “Secure VPN Connection terminated locally by the Client. Reason 442: failed to enable virtual adapter” appears in Windows 7 and Vista when Microsoft’s Internet Connection Sharing (ICS) service is running. When you disabled Microsoft’s Internet Connection Sharing (ICS) then issue will be resolved. Find following the steps to disable Microsoft’s Internet Connection Sharing (ICS) service:           1. Go to Windows start button, type “services.msc‘ as shown […]

Troubleshoot Slip Secs Errors on Cisco Controller T1 Interfaces

We will find Slip Secs Errors on Controller T1 interfaces in Cisco Routers. If slips are present on the T1 line means there is a clocking problem from Telco provider. The Customer Premises Equipment (CPE) will need to synchronize to the clocking from the T1 provider (Telco). Cisco#show controllers t1 T1 0/0/0 is up. Applique type is Channelized T1 Cablelength is long 0db No alarms detected. alarm-trigger is not set Soaking time: 3, Clearance time: 10 AIS State:Clear LOS State:Clear LOF State:Clear Version info FPGA Rev: 08121917, FPGA Type: PRK4 Framing is ESF, Line Code is B8ZS, Clock Source is Line. CRC Threshold is 320. Reported from firmware is 320. Data in current interval (255 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 12 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, […]