Showing posts with label Cisco. Show all posts
Showing posts with label Cisco. Show all posts

Wednesday, January 27, 2016

Cisco ASAv HA Configurations

Configuring high availability requires two identical ASAs connected to each other through a dedicated failover link and, optionally, a Stateful Failover link. The health of the active interfaces and units is monitored to determine if specific failover conditions are met. If those conditions are met, failover occurs.

The ASA supports two failover configurations, Active/Active failover and Active/Standby failover. Each failover configuration has its own method for determining and performing failover.

  • In Active/Standby failover, one unit is the active unit. It passes traffic. The standby unit does not actively pass traffic. When a failover occurs, the active unit fails over to the standby unit, which then becomes active. You can use Active/Standby failover for ASAs in single or multiple context mode.
  • In an Active/Active failover configuration, both ASAs can pass network traffic. Active/Active failover is only available to ASAs in multiple context mode. In Active/Active failover, you divide the security contexts on the ASA into 2 failover groups . A failover group is simply a logical group of one or more security contexts. One group is assigned to be active on the primary ASA, and the other group is assigned to be active on the secondary ASA. When a failover occurs, it occurs at the failover group level.

Wednesday, January 20, 2016

O Errors During TFTP Cisco IOS Image Copying

I were using TFTPD32 to transfer a image to Cisco 3560 switch. It was fine at the beginning then when it was almost done I got lots of O errors.

O usually indicates that a packet was received out of order and the copy process may fail.


Symptoms:


Switch#copy tftp: flash:
Address or name of remote host []? 1.1.1.2
Source filename []? c3560-ipbasek9-mz.150-2.SE9.bin
Destination filename [c3560-ipbasek9-mz.150-2.SE9.bin]?
Accessing tftp://1.1.1.2/c3560-ipbasek9-mz.150-2.SE9.bin...
Loading c3560-ipbasek9-mz.150-2.SE9.bin from 1.1.1.2 (via Vlan1): !!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!O!OOOOOO!OOOOOO!OOOOOOOO!OOOOOOOO!OOOOOOOOOO... [timed out]

%Error reading tftp://1.1.1.2/c3560-ipbasek9-mz.150-2.SE9.bin (Timed out)
Switch#

Saturday, January 16, 2016

Comparison of Cisco Integrated Services Routers: (1800,2800,3800) vs (1900,2900,3900) vs 4000

For Branch switches, please check Comparison of Cisco Switches: (2960 vs 3560), (Cisco 3560 X vs 3650 vs 3750-X vs 3850)

Cisco 2900, 3900, and 4000 (4300 and 4400) Series Integrated Services Routers can communicate directly with Cisco Unified Communications Manager, allowing for the deployment of unified communications solutions that are ideal for small and medium-sized businesses, large enterprises, and service providers that offer managed network services.

Wednesday, January 13, 2016

Cisco Switch 2960 / 3560 Password Recovery Procedures

Worked on a used cisco switch 2960 which has been configured password. Following steps have been recorded how to get into recover mode.

1. Connect Console Cable

Cisco provides a couple of ports for console access, such as Console port, Mini USB port, AUX port. I has a previous post "Using Cisco Mini USB Console Cable to Configure Cisco Switches and Routers" for Mini USB usage. Usually old fashion way to use console port is still prevailing.

Configure the baud rate and character format of the PC or terminal to match these console port default characteristics:
  • 9600 baud
  • 8 data bits
  • No parity
  • 1 stop bit


Monday, January 4, 2016

Comparison of Cisco Switches: (2960 vs 3560), (Cisco 3560 X vs 3650 vs 3750-X vs 3850)


Cisco 2960 vs 3560 Switch

2960 series switches are L2 only switches. Meaning that you can setup VLANs but you won't be able to route between then. 3500 series switches are L3 switches. Hence you will be able to route between VLANs. Basically between 2960 and 3560 main difference is Layer 3 capabilities on the 3560 range.
Cisco WS-C2960S-24TD-L
Cisco WS-C2960S-24TD-L

Thursday, December 31, 2015

Understadning Cisco Access-Lists on Switches: PACL, VACL, RACL and MACL

This 'ACLs on Switches' diagram shows PACL, VACL and RACL location and traffic direction on switch. It is clear and easy understanding.

The following explanation is from Security Features on Switches by .

Access Lists on Switches

The switch supports the following four types of ACLs for traffic filtering:
  • Router ACL
  • Port ACL
  • VLAN ACL
  • MAC ACL

Router ACL

As the name implies, Router ACLs are similar to the IOS ACL discussed in Chapter 2, "Access Control," and can be used to filter network traffic on the switched virtual interfaces (SVI). (SVI interfaces are Layer 3 interfaces on VLANs, on Layer 3 physical interfaces, and on Layer 3 EtherChannel interfaces.) Both standard and extended ACLs are supported. For more details to configure Router ACL, refer to Chapter 2.

Port ACL

Port ACLs are similar to Router ACLs but are supported on physical interfaces and configured on Layer 2 interfaces on a switch. Port ACL supports only inbound traffic filtering. Port ACL can be configured as three type access lists: standard, extended, and MAC-extended.
Processing of the Port ACL is similar to that of the Router ACLs; the switch examines ACLs associated with features configured on a given interface and permits or denies packet forwarding based on packet-matching criteria in the ACL.
When applied to a trunk port, the ACL filters traffic on all VLANs present on the trunk port. When applied to a port with voice VLAN, the ACL filters traffic on both data and voice VLANs.
The main benefit with Port ACL is that it can filter IP traffic (using IP access lists) and non-IP traffic (using MAC access list). Both types of filtering can be achieved—that is, a Layer 2 interface can have both an IP access list and a MAC access list applied to it at the same time.

VLAN ACL (VACL)

VLAN ACL (also called VLAN map) provides packet filtering for all types of traffic that are bridged within a VLAN or routed into or out of the VLAN. Unlike Router ACL, VACL is not defined by a direction (input or output). All packets entering the VLAN (bridged or routed) are checked against the VACL. It is possible to filter traffic based on the direction of the traffic by combining VACLs and Private VLAN features.
VACLs are processed in hardware, so there is no performance penalty in processing them. Therefore, they are also referred to as wire-speed ACLs. The forwarding rate remains unchanged regardless of the size of the access list because the lookup of VACLs is performed in hardware.

VACL on a Bridged Port

Figure 4-2 illustrates where the VACL is processed when VACL is applied on a bridged port for traffic from Host A in VLAN 5 that is communicating to Host B in VLAN 10 through the switch.

Figure 4-2 VACL on a Bridged Port

VACL on a Routed Port

Figure 4-3 illustrates how IOS ACL and VACL are applied on routed packets and Layer 3 switched packets. Following is the order of processing:
  1. VACL for input VLAN
  2. Input IOS ACL
  3. Output IOS ACL
  4. VACL for output VLAN

Figure 4-3 VACL on a Routed Port

Configuring VACL

Perform the following steps to configure and apply a VACL (VLAN access map) on the switch:
  1. Define the standard or extended access list to be used in VACL.
  2. Define a VLAN access map.
  3. Configure a match clause in a VLAN access map sequence.
  4. Configure an action clause in a VLAN access map sequence.
  5. Apply the VLAN access map to the specified VLANs.
  6. Display VLAN access map information.
Example 4-6 shows how to define and apply a VACL to drop packets matching access list 1 from network 192.168.1.0/24; all other packets matching access list 2 are forwarded. The VACL is applied to VLANs 5 through 10.

Example 4-6. VACL Configuration Example

Switch(config)#access-list 1 permit 192.168.1.0 0.0.0.255
Switch(config)#access-list 2 permit any
Switch(config)#vlan access-map mymap 10
Switch(config-access-map)#match ip address 1
Switch(config-access-map)#action drop
Switch(config-access-map)#exit
Switch(config)#vlan access-map mymap 20
Switch(config-access-map)#match ip address 2
Switch(config-access-map)#action forward
Switch(config-access-map)#exit
Switch(config)# vlan filter mymap vlan-list 5-10
Switch(config-access-map)#end

Switch# show vlan access-map
Vlan access-map "mymap"  10                              
  Match clauses:                                         
    ip address: 1                                        
  Action:                                                
    drop                                                 
Vlan access-map "mymap"  20                              
  Match clauses:                                         
    ip address: 2                                        
  Action:                                                
    Forward                                              

Switch# show vlan filter
VLAN Map mymap is filtering VLANs:                       
  5-10                                                   

MAC ACL

MAC ACL, also known as Ethernet ACL, can filter non-IP traffic on a VLAN and on a physical Layer 2 interface by using MAC addresses in a named MAC extended ACL. The steps to configure a MAC ACL are similar to those of extended named ACLs. MAC ACL supports only inbound traffic filtering.
To define the MAC Extended ACL, use the mac access-list extended command. Several non-IP protocols are supported.
After the MAC ACL is created, it can be applied to a Layer 2 interface using the mac access-group [acl-name] in command to filter non-IP traffic received on the interface.
Example 4-7 shows how to define and apply a MAC ACL to drop all (non-IP) AppleTalk Address Resolution Protocol (AARP) packets, allowing all other types of traffic.

Example 4-7. MAC ACL Configuration Example

Switch(config)# mac access-list extended my-mac-acl
Switch(config-ext-macl)# deny any any aarp
Switch(config-ext-macl)# permit any any
Switch(config-ext-macl)# exit
Switch(config)# interface Fastethernet0/10
Switch(config-if)# mac access-group my-mac-acl in
Switch(config-if)# end

Saturday, December 19, 2015

Steps to Upgrade Cisco ASA IOS and ASDM

Here are steps to upgrade IOS from 8.2(1) to 9.1(6) and ASDM to 7.5.2. It is simple and straightforward. By the way these steps are working for all PIX/ASA version upgrade as well.

1. Download Software from Cisco Website
You may need to use your ASA's serial number to find out latest support IOS version and ASDM version from Cisco support site. CCO account will be needed as well.

You will have two files for this upgrade:
  • asa916-k8.bin - for ASA IOS, about 26M
  • asdm-752.bin - for ASA's ASDM , about 25M
2. Basic Configuration on ASA

Configure management interface 0/0 with ip address 10.1.13. Also you will need to set up proper nameif and security level to enable this port. After all configured, do not forget to write all configuration to flash card.


ciscoasa(config)# int management 0/0
ciscoasa(config-if)# ip address 10.1.1.1 255.255.255.0
ciscoasa(config-if)# management-only
ciscoasa(config-if)#  nameif management
INFO: Security level for "management" set to 0 by default.
ciscoasa(config-if)#  security-level 100
ciscoasa(config-if)#
ciscoasa(config)# wr
Building configuration...
Cryptochecksum: 2f6ce793 14d757a0 d226a8da db8c3472

2582 bytes copied in 3.580 secs (860 bytes/sec)
[OK]

3. TFTP configuration

Set up your computer with ip address 10.1.1.2, which is same network as your ASA management interface. Start your TFTP application with proper configuration. I am using Tftpd32 by Ph.Jounin to set up my tftp server. Make sure you are selecting right server interface if you are having multiple network interfaces. I have put downloaded IOS 9.1.6 version and ASDM into d;\ios foler.

After connected ASA's management interface with your tftp server, verify the connectivity from ASA to your TFTP server by ping-ing tftp server ip 10.1.1.2. You may need to disable your local firewall on your tftp server machine.


ciscoasa(config)# ping 10.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms


4. Copy both IOS and ASDM files from TFTP to ASA Flash 

ciscoasa(config)# copy tftp: flash:
Address or name of remote host []? 10.1.1.2
Source filename []? asa916-k8.bin
Destination filename [asa916-k8.bin]?
Accessing tftp://10.1.1.2/asa916-k8.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Writing file disk0:/asa916-k8.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27150336 bytes copied in 30.390 secs (905011 bytes/sec)

ciscoasa(config)# copy tftp: flash:
Address or name of remote host [10.1.1.2]?
Source filename [asa916-k8.bin]? asdm-752.bin
Destination filename [asdm-752.bin]?
Accessing tftp://10.1.1.2/asdm-752.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Writing file disk0:/asdm-752.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25627616 bytes copied in 28.700 secs (915272 bytes/sec)


5. Boot ASA with new IOS and load new ASDM image


ciscoasa(config)# boot system disk0:/asa916-k8.bin
ciscoasa(config)# asdm image disk0:/asdm-752.bin
ciscoasa(config)# wr
Building configuration...
Cryptochecksum: bab14ac0 c6d4808b 1c61875d 96255622

2646 bytes copied in 3.720 secs (882 bytes/sec)
[OK]
ciscoasa(config)#
ciscoasa(config)# reload
Proceed with reload? [confirm]
ciscoasa(config)#


***
*** --- START GRACEFUL SHUTDOWN ---
Shutting down isakmp
Shutting down webvpn
Shutting down File system



***
*** --- SHUTDOWN NOW ---
Process shutdown finished
Rebooting.....
Restarting system.


Following output is from booting console:


Booting system, please wait...


CISCO SYSTEMS
Embedded BIOS Version 1.0(11)5 08/28/08 15:11:51.82

Low Memory: 631 KB
High Memory: 3968 MB
PCI Device Table.
Bus Dev Func VendID DevID Class              Irq
 00  00  00   8086   2578  Host Bridge      
 00  01  00   8086   2579  PCI-to-PCI Bridge
 00  03  00   8086   257B  PCI-to-PCI Bridge
 00  1C  00   8086   25AE  PCI-to-PCI Bridge
 00  1D  00   8086   25A9  Serial Bus         11
 00  1D  01   8086   25AA  Serial Bus         10
 00  1D  04   8086   25AB  System          
 00  1D  05   8086   25AC  IRQ Controller  
 00  1D  07   8086   25AD  Serial Bus         9
 00  1E  00   8086   244E  PCI-to-PCI Bridge
 00  1F  00   8086   25A1  ISA Bridge      
 00  1F  02   8086   25A3  IDE Controller     11
 00  1F  03   8086   25A4  Serial Bus         5
 00  1F  05   8086   25A6  Audio              5
 02  01  00   8086   1075  Ethernet           11
 03  01  00   177D   0003  Encrypt/Decrypt    9
 03  02  00   8086   1079  Ethernet           9
 03  02  01   8086   1079  Ethernet           9
 03  03  00   8086   1079  Ethernet           9
 03  03  01   8086   1079  Ethernet           9
 04  02  00   8086   1209  Ethernet           11
 04  03  00   8086   1209  Ethernet           5

Evaluating BIOS Options ...
Launch BIOS Extension to setup ROMMON

Cisco Systems ROMMON Version (1.0(11)5) #0: Thu Aug 28 15:23:50 PDT 2008

Platform ASA5550

Use BREAK or ESC to interrupt boot.
Use SPACE to begin boot immediately.
                                             
Launching BootLoader...
Boot configuration file contains 1 entry.


Loading disk0:/asa916-k8.bin... Booting...
Platform ASA5550

Loading...
IO memory blocks requested from bigphys 32bit: 78436
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Starting check/repair pass.
Starting verification pass.
/dev/hda1: 130 files, 11109/31180 clusters
dosfsck(/dev/hda1) returned 0
Processor memory 3166699520, Reserved memory: 157286400

Total SSMs found: 1
SSM-4GE-INC, SN JAF1335BEME, HW ver 1.0, FW ver 1.0(0)8

Total NICs found: 12
mcwa i82557 Ethernet at irq 11  MAC: 0023.ebc4.364c
mcwa i82557 Ethernet at irq  5  MAC: 0000.0001.0001
i82547GI rev00 Gigabit Ethernet @ irq11 dev 1 index 05 MAC: 0000.0001.0002
i82546GB rev03 Gigabit Ethernet @ irq09 dev 2 index 03 MAC: 0023.ebc4.364b
i82546GB rev03 Gigabit Ethernet @ irq09 dev 2 index 02 MAC: 0023.ebc4.364a
i82546GB rev03 Gigabit Ethernet @ irq09 dev 3 index 01 MAC: 0023.ebc4.3649
i82546GB rev03 Gigabit Ethernet @ irq09 dev 3 index 00 MAC: 0023.ebc4.3648
VCS7380 Gigabit Ethernet @ index 07 MAC: 0026.0b31.564c
VCS7380 Gigabit Ethernet @ index 08 MAC: 0026.0b31.564d
VCS7380 Gigabit Ethernet @ index 09 MAC: 0026.0b31.564e
VCS7380 Gigabit Ethernet @ index 10 MAC: 0026.0b31.564f
VCS7380 Gigabit Ethernet @ index 11 MAC: 0000.0003.0002

INFO: Unable to read cluster interface-mode from flash
       Writing default mode "None" to flash
Verify the activation-key, it might take a while...
Running Permanent Activation Key: 0xd41ee978 0xb495d93b 0x48934db8 0xbd7c2014 0xc502138f

Licensed features for this platform:
Maximum Physical Interfaces       : Unlimited      perpetual
Maximum VLANs                     : 400            perpetual
Inside Hosts                      : Unlimited      perpetual
Failover                          : Active/Active  perpetual
Encryption-DES                    : Enabled        perpetual
Encryption-3DES-AES               : Enabled        perpetual
Security Contexts                 : 2              perpetual
GTP/GPRS                          : Disabled       perpetual
AnyConnect Premium Peers          : 2              perpetual
AnyConnect Essentials             : Disabled       perpetual
Other VPN Peers                   : 5000           perpetual
Total VPN Peers                   : 5000           perpetual
Shared License                    : Disabled       perpetual
AnyConnect for Mobile             : Disabled       perpetual
AnyConnect for Cisco VPN Phone    : Disabled       perpetual
Advanced Endpoint Assessment      : Disabled       perpetual
UC Phone Proxy Sessions           : 2              perpetual
Total UC Proxy Sessions           : 2              perpetual
Botnet Traffic Filter             : Disabled       perpetual
Intercompany Media Engine         : Disabled       perpetual
Cluster                           : Disabled       perpetual

This platform has an ASA 5550 VPN Premium license.

Encryption hardware device : Cisco ASA-55xx on-board accelerator (revision 0x0)
                             Boot microcode        : CN1000-MC-BOOT-2.00
                             SSL/IKE microcode     : CNLite-MC-SSLm-PLUS-2_05
                             IPSec microcode       : CNlite-MC-IPSECm-MAIN-2.09

Cisco Adaptive Security Appliance Software Version 9.1(6)

  ****************************** Warning *******************************
  This product contains cryptographic features and is
  subject to United States and local country laws
  governing, import, export, transfer, and use.
  Delivery of Cisco cryptographic products does not
  imply third-party authority to import, export,
  distribute, or use encryption. Importers, exporters,
  distributors and users are responsible for compliance
  with U.S. and local country laws. By using this
  product you agree to comply with applicable laws and
  regulations. If you are unable to comply with U.S.
  and local laws, return the enclosed items immediately.

  A summary of U.S. laws governing Cisco cryptographic
  products may be found at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

  If you require further assistance please contact us by
  sending email to [email protected]
  ******************************* Warning *******************************

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
Copyright (C) 1995-1998 Eric Young ([email protected])
All rights reserved.
Copyright (c) 1998-2011 The OpenSSL Project.
All rights reserved.

This product includes software developed at the University of
California, Irvine for use in the DAV Explorer project
(http://www.ics.uci.edu/~webdav/)
Copyright (c) 1999-2005 Regents of the University of California.
All rights reserved.

Busybox, version 1.16.1, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
Busybox comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

DOSFSTOOLS, version 2.11, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307
675 Mass Ave, Cambridge, MA 02139
DOSFSTOOLS comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

grub, version 0.94, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307
grub comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

libgcc, version 4.3, Copyright (C) 2007 Free Software Foundation, Inc.
libgcc comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

libstdc++, version 4.3, Copyright (C) 2007 Free Software Foundation, Inc.
libstdc++ comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

Linux kernel, version 2.6.29.6, Copyright (C) 1989, 1991 Free Software
Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
Linux kernel comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

module-init-tools, version 3.10, Copyright (C) 1989, 1991 Free Software
Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
module-init-tools comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

numactl, version 2.0.3, Copyright (C) 2008 Author: Andi Kleen, SUSE Labs
Version 2.0.0 by Cliff Wickman, Chritopher Lameter and Lee Schermerhorn
numactl comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

pciutils, version 3.1.4, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
pciutils comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

readline, version 5.2, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111 USA
readline comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

udev, version 146, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
udev comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

util-linux, version 2.16.1, Copyright (C) 1989, 1991 Free Software Foundation, Inc.
The following components, built for inclusion in Busybox.
The following components from util-linux come with ABSOLUTELY NO WARRANTY.
fdisk:
  Copyright (C) 1992  A. V. Le Blanc ([email protected])
  Copyright (C) 2001,2002 Vladimir Oleynik <[email protected]> (initial bb port)
dmesg:
  Copyright 2006 Rob Landley <[email protected]>
  Copyright 2006 Bernhard Reutner-Fischer <[email protected]>
mkswap:
  Copyright 2006 Rob Landley <[email protected]>
mount:
  Copyright (C) 1995, 1996 by Bruce Perens <[email protected]>.
  Copyright (C) 1999-2004 by Erik Andersen <[email protected]>
  Copyright (C) 2005-2006 by Rob Landley <[email protected]>
umount:
  Copyright (C) 1999-2004 by Erik Andersen <[email protected]>
  Copyright (C) 2005 by Rob Landley <[email protected]>
This is free software, and you are welcome to redistribute it under the General
Public License v.2 (http://www.gnu.org/licenses/gpl-2.0.html)
See User Manual (''Licensing'') for details.

Cisco Adapative Security Appliance Software, version 9.1,
Copyright (c) 1996-2015 by Cisco Systems, Inc.
Certain components of Cisco ASA Software, Version 9.1 are licensed under the GNU
Lesser Public License (LGPL) Version 2.1.  The software code licensed under LGPL
Version 2.1 is free software that comes with ABSOLUTELY NO WARRANTY.  You can
redistribute and/or modify such LGPL code under the terms of LGPL Version 2.1
(http://www.gnu.org/licenses/lgpl-2.1.html).  See User Manual for licensing
details.

                Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

                Cisco Systems, Inc.
                170 West Tasman Drive
                San Jose, California 95134-1706

Reading from flash...
!
REAL IP MIGRATION: WARNING
In this version access-lists used in 'access-group', 'class-map',
'dynamic-filter classify-list', 'aaa match' will be migrated from
using IP address/ports as seen on interface, to their real values.
If an access-list used by these features is shared with per-user ACL
then the original access-list has to be recreated.
INFO: Note that identical IP addresses or overlapping IP ranges on
different interfaces are not detectable by automated Real IP migration.
If your deployment contains such scenarios, please verify your migrated
configuration is appropriate for those overlapping addresses/ranges.
Please also refer to the ASA 8.3 migration guide for a complete
explanation of the automated migration process.

INFO: MIGRATION - Saving the startup configuration to file

INFO: MIGRATION - Startup configuration saved to file 'flash:8_2_1_0_startup_cfg.sav'
*** Output from config line 4, "ASA Version 8.2(1) "
.
Cryptochecksum (unchanged): 46743c59 c0bc15d3 43afde7f 39783981
Real IP migration logs:
        No ACL was changed as part of Real-ip migration

INFO: Power-On Self-Test in process.
...........................................................
INFO: Power-On Self-Test complete.

INFO: MIGRATION - Saving the startup errors to file 'flash:upgrade_startup_errors_201512181715.log'
Type help or '?' for a list of available commands.
ciscoasa> en
Password:
ciscoasa#
ciscoasa#

ciscoasa# conf t
ciscoasa(config)#

***************************** NOTICE *****************************

Help to improve the ASA platform by enabling anonymous reporting,
which allows Cisco to securely receive minimal error and health
information from the device. To learn more about this feature,
please visit: http://www.cisco.com/go/smartcall

Would you like to enable anonymous error reporting to help improve
the product? [Y]es, [N]o, [A]sk later: n

In the future, if you would like to enable this feature,
issue the command "call-home reporting anonymous".

Please remember to save your configuration.

6. Verify ASDM

Configure ASA to allow ASDM client network to access ASA's management port.
ciscoasa(config)# http server enable
ciscoasa(config)# http 10.1.1.0 255.255.255.0 management
ciscoasa(config)# wr
Building configuration...
Cryptochecksum: d719ed8f 2578f2f0 20d50a04 fe506e2b

3754 bytes copied in 3.190 secs (1251 bytes/sec)
[OK]
ciscoasa(config)# 

Open your browser with url http://10.1.1.1, you should get following screen to install ASDM launcher.
 Here is log in window from ASDM Launcher. If it asks username and password, just leave it empty and press enter.



Reference:



Wednesday, December 2, 2015

Recover Cisco 4507 Switch from a Continuous Reboot

One of Cisco 4507R-E switch got a continuous reboot problem. It just got super engine replaced in the slot 3. During power on process, the console screen shows a rebooting cycle with the following output.

The related posts in this blog:




Thursday, October 15, 2015

Cisco IOS Router Hardening Template

Here is the router configuration template modified from Team Cymru's.

!Without service nagle on a Cisco router, each character in a Telnet !session is a separate CPU interrupt. Hence, a command such as show !tech will force a large number of CPU interrupts, impacting the !performance of the router.
service nagle
!SERVICE PAD :The packet assembler/disassembler (PAD) service !supports X.25 links. This service is on by default, but it is not !needed unless your router is using X.25. Disable it from global !configuration mode as shown below.
no service pad
!TCP-KEEPALIVES-IN and TCP-KEEPALIVES-OUT: if you are going to !permit remote administration via Telnet, enable TCP keepalive !services. These services will cause the router to generate periodic !TCP keepalive messages, thus allowing it to detect and drop !orphaned (broken) TCP connections to/from remote systems. Using !this service does not remove the need for setting an exec-timeout !time as recommended above.
service tcp-keepalives-in
service tcp-keepalives-out
! Show copious timestamps in our logs
service timestamps debug datetime msec show-timezone localtime
service timestamps log datetime msec show-timezone localtime
! Ensures all passwords and secrets are obfuscated when showing configuration
service password-encryption
no service dhcp
no ip bootp server
!
hostname xxxxx
!

Cisco IOS Switch Hardening Template

Here is my template for access layer switches in my environment. Some of blue color words will need to replace with your specific information. Red words will be the explanation for next commands. Some commands may only apply to certain devices. Not all commands will work on every device series (router/switch) or on every IOS version. Always test it first before apply them to your production devices.

version 15.0


!Without service nagle on a Cisco router, each character in a Telnet !session is a separate CPU interrupt. Hence, a command such as show !tech will force a large number of CPU interrupts, impacting the !performance of the router.
service nagle
!SERVICE PAD :The packet assembler/disassembler (PAD) service !supports X.25 links. This service is on by default, but it is not !needed unless your router is using X.25. Disable it from global !configuration mode as shown below.
no service pad
!TCP-KEEPALIVES-IN and TCP-KEEPALIVES-OUT: if you are going to !permit remote administration via Telnet, enable TCP keepalive !services. These services will cause the router to generate periodic !TCP keepalive messages, thus allowing it to detect and drop !orphaned (broken) TCP connections to/from remote systems. Using !this service does not remove the need for setting an exec-timeout !time as recommended above.
service tcp-keepalives-in
service tcp-keepalives-out
no service password-recovery
!Configure Service Timestamps for Debug and Log Messages:
service timestamps debug datetime msec show-timezone localtime
service timestamps log datetime msec show-timezone localtime
! Set and secure passwords:
service password-encryption
service sequence-numbers
!Disable DHCP server:
no service dhcp
ip dhcp bootp ignore
!
hostname SW-HW-DC-1
!

Friday, August 28, 2015

Cisco 7600 Router Got Software Forced Crash During Booting

Symptoms:

One of Cisco7606 Routers got a software crash during booting process. Here is output from console.


System Bootstrap, Version 12.2(33r)SRD5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.
C7600-RSP720/SP platform with 1048576 Kbytes of main memory

Autoboot executing command: "boot bootdisk:c7600rsp72043-advipservicesk9-mz.122-33.SRD3.bin"

Initializing ATA monitor library...

Self extracting the image... [OK]
Self decompressing the image : ################################################################################################################################################################################################################################# [OK]

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706

Friday, July 31, 2015

Using Cisco Mini USB Console Cable to Configure Cisco Switches and Routers

Cisco Device Mini USB Port
Cisco has added mini usb port into their products for many years.

The key to use this port is to get a right cable. At most situations we are using regular RJ45 console port with a USB to Serial Adapter connecting to your computers. Occasionally, you may need to have another console access for your multiple person's troubleshooting console access. Some devices may still have AUX port. For 2960x switches, AUX port is gone.

Connecting to a Cisco Standard Console Port-RJ-45
RJ-45 Console Cable with USB Adapter

Wednesday, July 29, 2015

Upgrade Cisco 3560X IOS Take 30+ Minutes

When working on IOS update for one standalone Cisco 3560x to meet our environment requirement, I was so surprising the total time for Cisco 3560x taking new IOS image, which was more than 30+ minutes. I was thinking to reset it during the process because it is way longer than other Cisco routers, switches and firewalls I updated before. Usually total IOS update takes less than 5 minutes from the beginning process of uploading ios to new ios fully loaded.

All steps and outputs from console for updating Csico 3560x are listing below:

1. Check Cisco End-of-Sale and End-of-Life Products list to make sure it is not in this list


2. Download latest suggested IOS from Cisco Support Site

Suggested version is 15.0.2-SE8(MD). But latest is 15.2.3E2(ED). 

There are two available versions - IP Base version and Universal version. By default, your device will get Universal version with IP Base license on your device. You can use license code to upgrade to IP Service.

3. Start your tftp server on your computer.

I am using an open source, fully functional, free TFTP server PumpKIN. Select your IOS folder through Options button.

4. Check the existing IOS version and storage Space:


Switch#show version
cisco WS-C3560X-48 (PowerPC405) processor (revision A0) with 262144K bytes of memory.
Processor board ID FDOxxxX0UH
Last reset from power-on
1 Virtual Ethernet interface
1 FastEthernet interface
52 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : E4:11:11:11:99:00
Motherboard assembly number     : 73-12556-06
Motherboard serial number       : FDOxxx0G0Q
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3560X-48T-S
Daughterboard assembly number   : 800-32786-02
Daughterboard serial number     : FDOxxx03QT
System serial number            : FDOxxxX0UH
Top Assembly Part Number        : 800-31330-03
Top Assembly Revision Number    : B0
Version ID                      : V03
CLEI Code Number                : COMxx00ARC
Hardware Board Revision Number  : 0x04

Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 54    WS-C3560X-48       12.2(55)SE5           C3560E-UNIVERSALK9-M

Configuration register is 0xF



Switch#dir flash:
Directory of flash:/

    2  -rwx        8225  Jan 31 2013 05:46:23 +00:00  config.text.renamed
    3  -rwx         976  Jan 17 2013 07:05:24 +00:00  vlan.dat.renamed
  503  -rwx        1048   Mar 1 1993 00:01:31 +00:00  multiple-fs
    5  -rwx          24  Jan 31 2013 05:46:23 +00:00  private-config.text.renamed
    6  drwx         512   Mar 1 1993 00:08:34 +00:00  c3560e-universalk9-mz.122-55.SE5

57671680 bytes total (38008320 bytes free)


5. Load new IOS into switch

5.1 Configure switch vlan 1 interface ip address 192.168.2.10 with following command

conf t
int vlan 1
ip address 192.168.2.10 255.255.255.0

5.2 connect your computer on int g0/1 and verify connectivity

Switch#sh ip int brie
Interface              IP-Address      OK? Method Status                Protocol
Vlan1                  192.168.2.10    YES manual up                    up
FastEthernet0          unassigned      YES unset  down                  down
GigabitEthernet0/1     unassigned      YES unset  up                    up
GigabitEthernet0/2     unassigned      YES unset  down                  down
GigabitEthernet0/3     unassigned      YES unset  down                  down


Switch#ping 192.168.2.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/9 ms

5.3 Copy ios

Switch#copy tftp: flash:
Address or name of remote host [192.168.2.100]?
Source filename [c3560e-ipbasek9-mz.150-2.SE8.bin]?
Destination filename [c3560e-ipbasek9-mz.150-2.SE8.bin]?
Accessing tftp://192.168.2.100/c3560e-ipbasek9-mz.150-2.SE8.bin...
Loading c3560e-ipbasek9-mz.150-2.SE8.bin from 192.168.2.100 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 20305408 bytes]

20305408 bytes copied in 147.833 secs (137354 bytes/sec)

5.4 verify md5 value

Switch#verify /md5 flash:c3560e-ipbasek9-mz.150-2.SE8.bin
.......................................................................................................................................................
(Omit)
..............................................................................................................................................................Done!
verify /md5 (flash:c3560e-ipbasek9-mz.150-2.SE8.bin) = fea9c868b1fdf8b385d58046786df4b2

5.5 confirm the new ios in the flash

Switch#dir flash:
Directory of flash:/

    2  -rwx        8225  Jan 31 2013 05:46:23 +00:00  config.text.renamed
    3  -rwx         976  Jan 17 2013 07:05:24 +00:00  vlan.dat.renamed
  503  -rwx        1048   Mar 1 1993 00:01:31 +00:00  multiple-fs
    4  -rwx    20305408   Mar 1 1993 00:08:29 +00:00  c3560e-ipbasek9-mz.150-2.SE8.bin
    5  -rwx          24  Jan 31 2013 05:46:23 +00:00  private-config.text.renamed
    6  drwx         512   Mar 1 1993 00:08:34 +00:00  c3560e-universalk9-mz.122-55.SE5

57671680 bytes total (17539072 bytes free)

5.6. Activate new IOS for next boot

Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#boot system flash:c3560e-ipbasek9-mz.150-2.SE8.bin
Switch(config)#exit
Switch#wr
Building configuration...
[OK]

Switch#show boot
BOOT path-list      : flash:c3560e-ipbasek9-mz.150-2.SE8.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   524288
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)

Switch#dir flash:c3560e-universalk9-mz.122-55.SE5
Directory of flash:/c3560e-universalk9-mz.122-55.SE5/

    7  drwx        5632   Mar 1 1993 00:06:20 +00:00  html
  500  -rwx    14581903   Mar 1 1993 00:07:17 +00:00  c3560e-universalk9-mz.122-55.SE5.bin
  501  -rwx     1024000   Mar 1 1993 00:08:29 +00:00  pucode_bundle.dat
  502  -rwx         533   Mar 1 1993 00:08:34 +00:00  info

57671680 bytes total (17533440 bytes free)


5.7 Reboot switch

Switch#reload
Proceed with reload? [confirm]

*Mar  1 00:14:22.986: %SYS-5-RELOAD: Reload requested by console. Reload reason: Reload command

6. New Image Booting Console Output

(This is the first reboot.)
Using driver version 1 for media type 2
Base ethernet MAC Address: e4:13:11:c7:99:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 10 files, 1 directories
mifs[2]: Total bytes     :    2097152
mifs[2]: Bytes used      :     612352
mifs[2]: Bytes available :    1484800
mifs[2]: mifs fsck took 2 seconds.
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes     :    4194304
mifs[3]: Bytes used      :       1024
mifs[3]: Bytes available :    4193280
mifs[3]: mifs fsck took 3 seconds.
mifs[4]: 5 files, 1 directories
mifs[4]: Total bytes     :     524288
mifs[4]: Bytes used      :       9216
mifs[4]: Bytes available :     515072
mifs[4]: mifs fsck took 0 seconds.
mifs[5]: 5 files, 1 directories
mifs[5]: Total bytes     :     524288
mifs[5]: Bytes used      :       9216
mifs[5]: Bytes available :     515072
mifs[5]: mifs fsck took 1 seconds.
mifs[6]: 494 files, 11 directories
mifs[6]: Total bytes     :   57671680
mifs[6]: Bytes used      :   40138240
mifs[6]: Bytes available :   17533440
mifs[6]: mifs fsck took 43 seconds.
...done Initializing Flash.
done.
Loading "flash:c3560e-ipbasek9-mz.150-2.SE8.bin"[email protected]@@@@@@@@@@@@@@@@

(Omit)
@@@@@@@@@@@@@@@@@@@@@
File "flash:c3560e-ipbasek9-mz.150-2.SE8.bin" uncompressed and installed, entry point: 0x3000
executing...

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706


Cisco IOS Software, C3560E Software (C3560E-IPBASEK9-M), Version 15.0(2)SE8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 13-May-15 23:23 by prod_rel_team
HULC:Collect Entropy thread starting on box...
Initializing flashfs...
Using driver version 3 for media type 1
mifs[4]: 0 files, 1 directories
mifs[4]: Total bytes     : 6838272
mifs[4]: Bytes used      : 1024
mifs[4]: Bytes available : 6837248
mifs[4]: mifs fsck took 1 seconds.
mifs[4]: Initialization complete.

Using driver version 3 for media type 2
mifs[7]: 10 files, 1 directories
mifs[7]: Total bytes     : 2097152
mifs[7]: Bytes used      : 612352
mifs[7]: Bytes available : 1484800
mifs[7]: mifs fsck took 0 seconds.
mifs[7]: Initialization complete.

mifs[8]: 0 files, 1 directories
mifs[8]: Total bytes     : 4194304
mifs[8]: Bytes used      : 1024
mifs[8]: Bytes available : 4193280
mifs[8]: mifs fsck took 0 seconds.
mifs[8]: Initialization complete.

mifs[9]: 5 files, 1 directories
mifs[9]: Total bytes     : 524288
mifs[9]: Bytes used      : 9216
mifs[9]: Bytes available : 515072
mifs[9]: mifs fsck took 1 seconds.
mifs[9]: Initialization complete.

mifs[10]: 5 files, 1 directories
mifs[10]: Total bytes     : 524288
mifs[10]: Bytes used      : 9216
mifs[10]: Bytes available : 515072
mifs[10]: mifs fsck took 0 seconds.
mifs[10]: Initialization complete.

mifs[11]: 494 files, 11 directories
mifs[11]: Total bytes     : 57671680
mifs[11]: Bytes used      : 40138240
mifs[11]: Bytes available : 17533440
mifs[11]: mifs fsck took 1 seconds.
mifs[11]: Initialization complete.

...done Initializing flashfs.
Checking for Bootloader upgrade..
Boot Loader upgrade not required (Stage 2)


FIPS: Flash Key Check : Begin
FIPS: Flash Key Check : End, Not Found, FIPS Mode Not Enabled

POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed

POST: MA BIST : Begin
POST: MA BIST : End, Status Passed

POST: TCAM BIST : Begin
POST: TCAM BIST : End, Status Passed

POST: SF ASIC BIST : Begin
POST: SF ASIC BIST : End, Status Passed

POST: Switch Fabric Memory Tests : Begin
POST: Switch Fabric Memory Tests : End, Status Passed

POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed


extracting front_end/front_end_ucode_info (309 bytes)
 Software version is different so extracting
 the whole bundle

front_end/ (directory)
extracting front_end/fe_type_4 (78520 bytes)
extracting front_end/fe_type_3 (78520 bytes)
extracting front_end/fe_type_2 (78520 bytes)
extracting front_end/fe_type_5_0 (594412 bytes)
extracting front_end/fe_type_5_3 (86370 bytes)
extracting front_end/fe_type_5_2 (25166 bytes)
extracting front_end/fe_type_5_1 (362114 bytes)
extracting front_end/front_end_ucode_info (309 bytes)
extracting ucode_info (77 bytes)

Front-end Microcode IMG MGR: Installed 4 image(s) in cache:

Front-end Microcode IMG MGR: found microcode images for 4 devices.
Image for front-end 0: flash:/front_end_ucode_cache/ucode.3
Image for front-end 0: flash:/front_end_ucode_cache/ucode.4
Image for front-end 0: flash:/front_end_ucode_cache/ucode.5
Image for front-end 0: flash:/front_end_ucode_cache/ucode.6

Front-end Microcode IMG MGR: Preparing to program device microcode...
Front-end Microcode IMG MGR: Preparing to program device[0]...594412 bytes.

Front-end Microcode IMG MGR: Programming device 0...rwRrrrrrrwssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssss
(Omit)(This step takes about 12 minutes. I was thinking it must be failed. The switch fan was making huge of noise during who Programming device process)
ssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssss
ssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssssssssssssssssssp

Front-end Microcode IMG MGR: Preparing to program device[0]...362114 bytes.
Front-end Microcode IMG MGR: Programming device 

0...rrrrrrwssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsss

(Omit)(This step takes about 5 minutes.)
sssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssssssssssssssssssp
Front-end Microcode IMG MGR: Preparing to program device[0]...25166 bytes.
Front-end Microcode IMG MGR: Programming device 

(This step takes about 1 minutes.)
0...rrrrrrwssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssssssssssssssss
sspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssss
sssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssssssssssss
sssssspssssssssssssssssssspssssssssssssssssssspsssssssssssssssssssp

Front-end Microcode IMG MGR: Preparing to program device[0]...86370 bytes.
Front-end Microcode IMG MGR: Programming device 

(This step takes about 3 minutes.)
0...rrrrrrwssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssssssssssssssss
sspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssss
ssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspsssssssss
sssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspssssssssssssssssssspw

% Front-end Microcode IMG MGR: HW image is upgraded. MCU reset causes the switch to reload

(This is the second reboot.)


Cisco IOS Software, C3560E Software (C3560E-IPBASEK9-M), Version 15.0(2)SE8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 13-May-15 23:23 by prod_rel_team
HULC:Collect Entropy thread starting on box...
Initializing flashfs...
Using driver version 3 for media type 1
mifs[4]: 0 files, 1 directories
mifs[4]: Total bytes     : 6838272
mifs[4]: Bytes used      : 1024
mifs[4]: Bytes available : 6837248
mifs[4]: mifs fsck took 1 seconds.
mifs[4]: Initialization complete.

Using driver version 3 for media type 2
mifs[7]: 10 files, 1 directories
mifs[7]: Total bytes     : 2097152
mifs[7]: Bytes used      : 612352
mifs[7]: Bytes used      : 612352
mifs[7]: Bytes available : 1484800
mifs[7]: mifs fsck took 0 seconds.
mifs[7]: Initialization complete.

mifs[8]: 0 files, 1 directories
mifs[8]: Total bytes     : 4194304
mifs[8]: Bytes used      : 1024
mifs[8]: Bytes available : 4193280
mifs[8]: mifs fsck took 0 seconds.
mifs[8]: Initialization complete.

mifs[9]: 5 files, 1 directories
mifs[9]: Total bytes     : 524288
mifs[9]: Bytes used      : 9216
mifs[9]: Bytes available : 515072
mifs[9]: mifs fsck took 1 seconds.
mifs[9]: Initialization complete.

mifs[10]: 5 files, 1 directories
mifs[10]: Total bytes     : 524288
mifs[10]: Bytes used      : 9216
mifs[10]: Bytes available : 515072
mifs[10]: mifs fsck took 0 seconds.
mifs[10]: Initialization complete.

mifs[11]: 494 files, 11 directories
mifs[11]: Total bytes     : 57671680
mifs[11]: Bytes used      : 40138240
mifs[11]: Bytes available : 17533440
mifs[11]: mifs fsck took 1 seconds.
mifs[11]: Initialization complete.

...done Initializing flashfs.
Checking for Bootloader upgrade..
Boot Loader upgrade not required (Stage 2)


FIPS: Flash Key Check : Begin
FIPS: Flash Key Check : End, Not Found, FIPS Mode Not Enabled

POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed

POST: MA BIST : Begin
POST: MA BIST : End, Status Passed

POST: TCAM BIST : Begin
POST: TCAM BIST : End, Status Passed

POST: SF ASIC BIST : Begin
POST: SF ASIC BIST : End, Status Passed

POST: Switch Fabric Memory Tests : Begin
POST: Switch Fabric Memory Tests : End, Status Passed

POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed

extracting front_end/front_end_ucode_info (309 bytes)
POST: Thermal, Fan Tests : Begin
POST: Thermal, Fan Tests : End, Status Passed

POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed

POST: PortASIC Macsec Loopback Tests : Begin
POST: PortASIC Macsec Loopback Tests : End, Status Passed

POST: EMAC Loopback Tests : Begin
POST: EMAC Loopback Tests : End, Status Passed

Waiting for Port download...Complete


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
[email protected].

cisco WS-C3560X-48 (PowerPC405) processor (revision A0) with 262144K bytes of memory.
Processor board ID FDOxxxxX0UH
Last reset from power-on
1 Virtual Ethernet interface
1 FastEthernet interface
52 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : E4:13:11:C7:99:00
Motherboard assembly number     : 73-12556-06
Motherboard serial number       : FDOxxxx0G0Q
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3560X-48T-S
Daughterboard assembly number   : 800-32786-02
Daughterboard serial number     : FDOxxxx03QT
System serial number            : FDOxxxxX0UH
Top Assembly Part Number        : 800-31330-03
Top Assembly Revision Number    : B0
Version ID                      : V03
CLEI Code Number                : COMJN00ARC
Hardware Board Revision Number  : 0x04

Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 54    WS-C3560X-48       15.0(2)SE8            C3560E-IPBASEK9-M


Press RETURN to get started!


*Mar  1 00:00:06.601: Read env variable - LICENSE_BOOT_LEVEL =
*Jan  2 00:00:00.713: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c3560x Next reboot level = ipbase and License = ipbase
*Jan  2 00:01:34.237: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Jan  2 00:01:34.246: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*Jan  2 00:01:37.895: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Jan  2 00:01:38.943: %DC-4-FILE_OPEN_WARNING: Not able to open flash:/dc_profile_dir/dc_default_profiles.txt
*Jan  2 00:01:38.943: %DC-6-DEFAULT_INIT_INFO: Default Profiles DB not loaded.
*Jan  2 00:01:39.740: %PLATFORM_ENV-6-FRU_PS_OIR: FRU Power Supply 1 inserted
*Jan  2 00:01:39.740: %PLATFORM_ENV-6-FRU_PS_OIR: FRU Power Supply 2 inserted
*Jan  2 00:01:39.740: %PLATFORM_ENV-1-FRU_PS_ACCESS: FRU Power Supply is not responding
*Jan  2 00:01:41.904: %SYS-5-CONFIG_I: Configured from memory by console
*Jan  2 00:01:43.834: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C3560E Software (C3560E-IPBASEK9-M), Version 15.0(2)SE8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 13-May-15 23:23 by prod_rel_team
*Jan  2 00:01:45.830: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to down
*Jan  2 00:01:46.837: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed state to down
*Jan  2 00:01:46.862: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.
*Jan  2 00:01:48.582: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
*Jan  2 00:01:49.588: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

Switch>en% Generating 1024 bit RSA keys, keys will be non-exportable...

Switch#
[OK] (elapsed time was 3 seconds)

*Jan  2 00:02:01.408: %SSH-5-ENABLED: SSH 1.99 has been enabled
*Jan  2 00:02:01.718: %PKI-6-AUTOSAVE: Running configuration saved to NVRAM[OK]

Switch#
Switch#show ver
Cisco IOS Software, C3560E Software (C3560E-IPBASEK9-M), Version 15.0(2)SE8, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 13-May-15 23:23 by prod_rel_team

ROM: Bootstrap program is C3560E boot loader
BOOTLDR: C3560E Boot Loader (C3560X-HBOOT-M) Version 12.2(53r)SE2, RELEASE SOFTWARE (fc1)

Switch uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:c3560e-ipbasek9-mz.150-2.SE8.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
[email protected].

License Level: ipbase
License Type: Permanent
Next reload license Level: ipbase

cisco WS-C3560X-48 (PowerPC405) processor (revision A0) with 262144K bytes of memory.
Processor board ID FDOxxxxX0UH
Last reset from power-on
1 Virtual Ethernet interface
1 FastEthernet interface
52 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : E4:13:11:C7:99:00
 --More--
*Jan  2 00:02:16.625: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed sMotherboard assembly number     : 73-12556-06
Motherboard serial number       : FDOxxxx0G0Q
Model revision number           : A0
Motherboard revision number     : A0
Model number                    : WS-C3560X-48T-S
Daughterboard assembly number   : 800-32786-02
Daughterboard serial number     : FDOxxx03QT
System serial number            : FDOxxxxX0UH
Top Assembly Part Number        : 800-31330-03
Top Assembly Revision Number    : B0
Version ID                      : V03
CLEI Code Number                : COMJN00ARC
Hardware Board Revision Number  : 0x04


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 54    WS-C3560X-48       15.0(2)SE8            C3560E-IPBASEK9-M


Configuration register is 0xF