Posts

Switchport trunk configuration problem (encapsulation is "Auto" )

·        The Problem CAT1(config-if)#switchport mode trunk Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode. ·        The Solution You have to specifically set the encapsulation type first "switchport trunk encapsulation dot1q CAT1(config-if)#switchport trunk encapsulation dot1q

Remove the Port channel (etherchannel)

CAT20(config-if-range)#do show etherchannel summary  Flags:  D - down        P - bundled in port-channel         I - stand-alone s - suspended         H - Hot-standby (LACP only)         R - Layer3      S - Layer2         U - in use      f - failed to allocate aggregator         M - not in use, minimum links not met         u - unsuitable for bundling         w - waiting to be aggregated         d - default port Number of channel-groups in use: 1 Number of aggregators:           1 Group  Port-channel  Protocol    Ports ------+-------------+-----------+----------------------------------------------- 12     Po12(SD)         -         CAT20(config-if-range)#exit CAT20(config)#no interface po12 CAT20(config)#do show etherchannel summary Flags:  D - down        P - bundled in port-channel         I - stand-alone s - suspended         H - Hot-standby (LACP only)         R - Layer3      S - Layer2         U - in use      f - failed to

Cisco switch 2960/3560 Password recovery

Image
To do password recovery: Connect the power cable and in the same time press the mode button for 15 seconds until the led comes (green or off) then the led will blink green. Connect the console cable. Use the following terminal settings:  Bits per second (baud): 9600  Data bits: 8  Parity: None Stop bits: 1  The system has been interrupted prior to initializing the flash file system to finish loading the operating system software:   Then Issue the flash_init command.  Then type dir flash Then type  switch: rename flash:config.text flash:config.old switch  Then type boot Then you will enter the setup wizards  Then you can configure the switch again 

Configuration for the telnet - 4 switches

Image
The Requirements  It is required to create vlan for management for our 4 switches and to reach it from the telnet.             The Switch Cat 1 Configuration   enable configure terminal hostname  CAT1 enable secret XYZ username  admin privilege 15 secret XYZ service password-encryption line vty 0 15 login local password XYZ privilege level  15 end Vlan 2  Name Manag interface Vlan 2 ip address 10.10.10.11 255.255.255.0 no shutdown interface fastEthernet 0/1               switchport mode access switchport access vlan 2 no shutdown end interface fastEthernet 0/2               switchport mode access switchport access vlan 2 no shutdown end interface fastEthernet 0/3               switchport mode access switchport access vlan 2 no shutdown end wr The Switch Cat 2 Configuration   enable configure terminal hostname  CAT2 enable secret XYZ username  admin privilege 15 secret XYZ ser

AP show commands - lightweight

The following are show commands for LWAP you may need  Test#show capwap ip config  LWAPP Static IP Configuration IP Address         172.16.216.22 IP netmask         255.255.255.0 Default Gateway    172.16.216.20 Primary Controller 172.16.216.20 ******************************** Test#show ip interface brief  Interface                  IP-Address      OK? Method Status                Protocol BVI1                       172.16.216.22   YES TFTP   down                  down     Dot11Radio0                unassigned      NO  unset  reset                 down     Dot11Radio1                unassigned      NO  unset  reset                 down     GigabitEthernet0           unassigned      NO  unset  up                    down     GigabitEthernet0.1         unassigned      YES unset  up                    down     ************************************** Test#show interfaces bvI 1 BVI1 is down, line protocol is down    Hardware is BVI, address is c46